.elementor-155 .elementor-element.elementor-element-27e3fc7{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-339d814 *//* GLOBAL BACKGROUND */
body {
    margin: 0;
    background: linear-gradient(to bottom right, #031A39, #0D1B2A);
    color: #FFFFFF;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden !important;
}

:root {
    --obsidian: #031A39;
    --twilight: #0A2647;
    --sapphire: #133B7A;
    --charcoal: #0D1B2A;
    --text-main: #FFFFFF;
    --text-soft: #D7E2F3;
    --azure: #1F7CFF;
}

/* SECTION */
.video-gallery-section {
    width: 100%;
    padding: 100px 30px 120px;
    position: relative;
    box-sizing: border-box;
    overflow-x: hidden;
}

.video-gallery-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 8%, rgba(19,59,122,0.28), transparent),
        radial-gradient(circle at 88% 92%, rgba(10,38,71,0.28), transparent);
    pointer-events: none;
    z-index: 1;
}

/* TITLE */
.gallery-title {
    text-align: center;
    position: relative;
    color: var(--text-main);
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 700;
    margin-bottom: 50px;
    z-index: 2;
}

/* GRID */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* THUMBNAILS */
.video-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    border: 3px solid var(--sapphire);
    background: var(--twilight);
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
    box-shadow: 0 0 25px rgba(19,59,122,0.6);
}

.video-thumb:hover {
    transform: translateY(-8px) scale(1.02);
    filter: brightness(1.08);
    box-shadow: 0 0 55px rgba(19,59,122,0.95);
}

.video-thumb img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 8px 16px;
    background: var(--sapphire);
    color: #fff;
    border-radius: 6px;
    font-size: 18px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.video-thumb:hover .play-btn {
    transform: scale(1.12);
    background: var(--azure);
}

/* LABELS */
.video-label {
    background: rgba(0,0,0,0.6);
    color: var(--text-soft);
    padding: 12px;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
}

/* MODALS */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 20, 0.92);
    z-index: 9999;
    opacity: 0;
}

.video-modal:target {
    display: block;
    animation: fadeInModal 0.4s ease forwards;
}

@keyframes fadeInModal {
    to { opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 22px;
    right: 28px;
    font-size: 45px;
    color: var(--text-soft);
    text-decoration: none;
    z-index: 99999;
}

.video-modal iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 82%;
    height: 72%;
    transform: translate(-50%, -50%);
    border-radius: 14px;
    border: none;
}

/* SMOOTH FADE-IN EFFECT */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s ease, transform .8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE — TABLETS */
@media (max-width: 1024px) {

    .video-gallery-section {
        padding: 80px 20px 100px;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

/* RESPONSIVE — MOBILE */
@media (max-width: 768px) {

    .video-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .video-thumb img {
        height: 190px;
    }
}

/* VERY SMALL PHONES */
@media (max-width: 480px) {

    .video-gallery-section {
        padding: 60px 15px 80px;
    }

    .video-thumb img {
        height: 170px;
    }

    .close-btn {
        font-size: 38px;
        right: 20px;
        top: 16px;
    }

    .video-modal iframe {
        width: 90%;
        height: 60%;
    }
}
/* ====================================================== */
/* LEFT GLOW BAR (MATCH ABOUT PAGE)                       */
/* ====================================================== */

.gallery-wrapper {
    position: relative;
    padding-left: 30px;
    border-left: 4px solid transparent;
}

.gallery-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -2px;
    width: 6px;
    background: linear-gradient(
        to bottom,
        rgba(31,124,255,0.65),
        rgba(119,184,255,0.55),
        rgba(31,124,255,0.65)
    );
    filter: blur(9px);
    opacity: 0.55;
    border-radius: 6px;
    z-index: -1;
    transition: 0.35s ease;
}

.gallery-wrapper:hover::before {
    filter: blur(14px);
    opacity: 0.85;
}

/* VIDEO GALLERY HEADING — MATCH ABOUT PAGE */
.gallery-title {
    color: #77B8FF; /* MAIN HEADING BLUE */
    text-shadow: 0 0 25px rgba(119,184,255,0.5);
    font-weight: 800;
}

/* OPTIONAL: If you consider the label a sub-heading */
.video-label {
    color: #1F7CFF; /* SUB-HEADING BLUE */
}/* End custom CSS */