/* ================= GOOGLE FONTS ================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Montserrat:wght@400;500;600&display=swap');


/* ================= ROOT COLORS ================= */

:root{
    --bg-main:transparent;
    --bg-main:#f5f7fb;
    --bg-card:#ffffff;
    --bg-soft:#f1f5f9;

    --primary:#1e3a8a;
    --accent:#2563eb;

    --text-dark:#0f172a;
    --text:#334155;
    --border:#e5e7eb;

    --header-bg:#ffffff;
    --menu-text:#0f172a;
    --menu-hover:#2563eb;
    --submenu-bg:#ffffff;
    --submenu-text:#334155;

    --footer-bg:#020617;
    --footer-text:#cbd5f5;

    --body-gradient:linear-gradient(
        180deg,
        #f9f4ea 0%,
        #f3ecd9 45%,
        #ede4cf 100%
    );

    --font-size:16px;

    /* Theme-controlled image radius */
    --image-radius:22px;
    --slider-radius:22px;
}


/* ================= RESET ================= */

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}


html,
body{
    height:100%;
}


body{
    font-family:'Montserrat',Arial,sans-serif;
    background:var(--body-gradient);
    color:var(--text);
    font-size:var(--font-size);
    line-height:1.75;
}


/* ================= HEADER ================= */

.header{
    position:sticky;
    top:0;
    background:var(--header-bg);
    z-index:1000;
    box-shadow:0 4px 14px rgba(0,0,0,.08);
}


.header-inner{
    max-width:1300px;
    margin:auto;
    padding:18px 26px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}


/* ================= LOGO ================= */

.logo{
    display:flex;
    align-items:center;
}


.logo img{
    height:78px;
    width:auto;
    max-width:150px;
    display:block;
    object-fit:contain;
}


/* ================= TOGGLE ================= */

.menu-toggle{
    display:none;
    background:none;
    border:none;
    font-size:28px;
    color:var(--text-dark);
    cursor:pointer;
    z-index:10002;
}


/* ================= DESKTOP MENU ================= */

.menu{
    list-style:none;
    display:flex;
    gap:34px;
}


.menu-item{
    position:relative;
}


.menu-item > a{
    text-decoration:none;
    font-size:15.5px;
    font-weight:600;
    color:var(--menu-text);
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 0;
}


.menu-item > a:hover{
    color:var(--menu-hover);
}


/* ================= DESKTOP SUBMENU ================= */

.submenu{
    position:absolute;
    top:100%;
    left:0;
    min-width:220px;
    background:var(--submenu-bg);
    border-radius:14px;
    box-shadow:0 30px 60px rgba(0,0,0,.15);
    padding:10px 0;

    opacity:0;
    visibility:hidden;
    transform:translateY(12px);

    transition:.3s ease;

    z-index:10001;
}


.menu-item:hover > .submenu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}


.submenu li{
    list-style:none;
}


.submenu a{
    display:block;
    padding:12px 22px;
    color:var(--submenu-text);
    font-size:14.5px;
    text-decoration:none;
}


.submenu a:hover{
    background:var(--bg-soft);
    color:var(--accent);
}


/* ================= PAGE ================= */

.page-wrapper{
    max-width:calc(100% - 160px);
    margin:70px auto;
    padding:0;
}


/* ================= NORMAL SECTION CARD ================= */

.page-wrapper section{
    background:rgba(255,255,255,0.18);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-radius:28px;
    padding:52px;
    margin-bottom:50px;
    box-shadow:0 20px 50px rgba(0,0,0,0.15);
    overflow:hidden;
}


/* ================= TYPOGRAPHY ================= */

.page-wrapper h1,
.page-wrapper h2,
.page-wrapper h3{
    font-family:'Playfair Display',serif;
    color:var(--text-dark);
    margin-bottom:18px;
}


.page-wrapper h1{
    font-size:36px;
}


.page-wrapper h2{
    font-size:28px;
}


.page-wrapper h3{
    font-size:22px;
}


.page-wrapper p{
    font-size:18.5px;
    line-height:1.9;
    color:#1f2937;
    font-weight:500;
    letter-spacing:0.2px;
}


/* =========================================================
   NORMAL IMAGES
   ========================================================= */

.page-wrapper img{
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
    border-radius:var(--image-radius);
    object-fit:initial;
}


/* =========================================================
   IMAGE-ONLY SECTIONS
   ========================================================= */

section.image-only img{
    width:100%;
    max-width:100%;
    height:auto;
    display:block;
    border-radius:var(--image-radius);
}


/* =========================================================
   IMAGE + TEXT
   ========================================================= */

section.image-text{
    display:grid;
    grid-template-columns:1.15fr 1fr;
    gap:42px;
    align-items:center;
}


section.image-text img{
    width:100%;
    max-width:100%;
    height:auto;
    display:block;
    border-radius:var(--image-radius);
}


/* =========================================================
   SLIDER / SWIPER CARD
   ========================================================= */

.page-wrapper section:has(.swiper){
    padding:0 !important;
    margin-bottom:30px;
    height:auto !important;
    min-height:0 !important;
    overflow:hidden;
    border-radius:var(--slider-radius);
}


/* ================= SWIPER ================= */

.page-wrapper section:has(.swiper) .swiper{
    width:100%;
    height:auto !important;
    min-height:0 !important;
    overflow:hidden;
}


.page-wrapper section:has(.swiper) .swiper-wrapper{
    height:auto !important;
    min-height:0 !important;
}


.page-wrapper section:has(.swiper) .swiper-slide{
    height:auto !important;
    min-height:0 !important;
    overflow:hidden;
    cursor:pointer;
}


/* ================= SLIDER IMAGE ================= */

.page-wrapper section:has(.swiper) .swiper-slide img{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    max-height:none !important;
    object-fit:initial !important;
    border-radius:var(--slider-radius);
}


/* ================= SLIDE LINK ================= */

.slide-link{
    display:block;
    height:auto;
    color:inherit;
    text-decoration:none;
}


/* ================= SLIDE OVERLAY ================= */

.swiper-slide::before{
    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
        90deg,
        rgba(0,0,0,0.05),
        rgba(0,0,0,0.05)
    );

    z-index:1;
    pointer-events:none;
}


/* ================= SLIDE CONTENT ================= */

.slide-content{
    position:absolute;
    bottom:20%;
    left:10%;
    max-width:550px;
    color:#fff;
    z-index:2;
}


/* ================= SLIDER TITLE ================= */

.slide-content h2{
    font-family:'Playfair Display',serif;
    font-size:38px;
    margin-bottom:12px;
    color:#fff;
}


/* ================= SLIDER TEXT ================= */

.slide-content p{
    font-size:18px;
    margin-bottom:18px;
    color:#f3f4f6;
}


/* ================= SLIDER BUTTON ================= */

.slider-btn{
    display:inline-block;
    padding:12px 28px;
    background:var(--accent);
    color:#fff;
    font-weight:600;
    border-radius:30px;
    margin-top:12px;
    text-decoration:none;
    transition:.3s;
}


.slider-btn:hover{
    background:var(--primary);
    color:#fff;
}


/* ================= SLIDER ARROWS ================= */

.swiper-button-next,
.swiper-button-prev{
    color:#fff;
}


/* ================= FOOTER ================= */

.site-footer{
    background:var(--footer-bg);
    color:var(--footer-text);
}


.footer-inner{
    max-width:1200px;
    margin:auto;
    padding:32px;
    text-align:center;
}


/* =========================================================
   FORM THEME
   ========================================================= */

.form-wrapper{
    color:var(--form-text);
}


.form-wrapper h1,
.form-wrapper h2,
.form-wrapper h3{
    color:var(--form-label);
}


.form-wrapper .form-group label,
.form-wrapper .form-label{
    color:var(--form-label);
    font-weight:600;
}


/* ================= INPUT ================= */

.form-wrapper .theme-input{
    color:var(--form-text);
    -webkit-text-fill-color:var(--form-text);
    caret-color:var(--form-text);

    background:var(--form-bg);
    border:1px solid var(--form-border);
    border-radius:14px;
    backdrop-filter:blur(8px);
    transition:all .25s ease;
}


.form-wrapper .theme-input:focus{
    outline:none;
    border:1px solid var(--form-focus);
    box-shadow:0 0 0 2px rgba(255,255,255,0.1);
    background:var(--form-bg);
}


.form-wrapper .theme-input::placeholder{
    color:var(--form-placeholder);
}


.form-wrapper input:-webkit-autofill,
.form-wrapper textarea:-webkit-autofill{
    -webkit-text-fill-color:var(--form-text);
    transition:background-color 9999s ease-in-out 0s;
}


.form-wrapper select.theme-input{
    appearance:none;
}


/* ================= BUTTON ================= */

.form-wrapper .theme-btn{
    background:var(--form-button);
    color:#fff;
    border:none;
    padding:12px 22px;
    border-radius:12px;
    font-weight:600;
    transition:.25s;
}


.form-wrapper .theme-btn:hover{
    background:var(--form-button-hover);
}


/* ================= HEIGHT FIX ================= */

.form-wrapper input.theme-input,
.form-wrapper textarea.theme-input,
.form-wrapper select.theme-input{
    min-height:52px;
    padding:14px 18px;
}


.form-wrapper textarea.theme-input{
    min-height:120px;
}


/* ================= FORM GRID ================= */

.form-grid{
    max-width:600px;
}


.form-wrapper .form-group{
    margin-bottom:20px;
}


.form-wrapper .form-label{
    display:block;
    margin-bottom:8px;
}


.form-wrapper .theme-input{
    width:100%;
}


/* ================= CAPTCHA ================= */

.captcha-row{
    margin-top:10px;
}


.captcha-box{
    display:flex;
    gap:12px;
    align-items:center;
}


.captcha-label{
    min-width:90px;
    text-align:center;
    padding:12px 14px;
    border-radius:10px;
    font-weight:600;
    letter-spacing:1px;

    background:var(--form-focus);

    color:var(--form-text) !important;

    -webkit-text-fill-color:var(--form-text) !important;

    opacity:1;
    backdrop-filter:none;

    box-shadow:0 4px 10px rgba(0,0,0,.15);
}


.form-wrapper .captcha-label{
    color:var(--form-text) !important;
}


/* =========================================================
   VIDEO GRID
   ========================================================= */

.video-grid{
    display:grid;
    gap:20px;
    width:100%;
}


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


.video-grid.cols-3{
    grid-template-columns:repeat(3,1fr);
}


.video-grid.cols-4{
    grid-template-columns:repeat(4,1fr);
}


.video-grid iframe{
    width:100%;
    aspect-ratio:16/9;
    border:none;
    border-radius:12px;
}


.video-card{
    background:#fff;
    padding:10px;
    border-radius:14px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:.3s;
}


.video-card:hover{
    transform:translateY(-4px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:768px){

    /* ================= BODY ================= */

    body.menu-open{
        overflow:hidden;
    }


    /* ================= HEADER ================= */

    .header{
        background:var(--header-bg);
    }


    .header-inner{
        padding:10px 14px;
    }


    .logo img{
        height:44px;
        width:auto;
        max-width:145px;
        object-fit:contain;
    }


    .menu-toggle{
        display:block;
        font-size:24px;
    }


    /* =====================================================
       MOBILE MENU - FULL SCREEN + SCROLL
       ===================================================== */

    .menu{
        position:fixed;

        top:0;
        left:0;
        right:0;
        bottom:0;

        width:100vw;
        height:100dvh;
        min-height:100vh;

        background:var(--submenu-bg);

        backdrop-filter:blur(8px);
        -webkit-backdrop-filter:blur(8px);

        padding:
            90px
            16px
            30px
            16px;

        display:flex;
        flex-direction:column;

        gap:12px;

        /*
         * MAIN MOBILE MENU SCROLL
         */
        overflow-y:auto;
        overflow-x:hidden;

        /*
         * Smooth scrolling on mobile
         */
        -webkit-overflow-scrolling:touch;
        overscroll-behavior:contain;

        /*
         * Prevent flex children from being squeezed
         */
        align-items:stretch;

        transform:translateX(100%);
        transition:transform .35s ease;

        z-index:9999;
    }


    .menu.open{
        transform:translateX(0);
    }


    /* =====================================================
       MOBILE MENU ITEM
       ===================================================== */

    .menu-item{
        position:relative;

        flex:0 0 auto;
        width:100%;

        background:#fff;

        border-radius:18px;

        overflow:visible;

        box-shadow:
            0 6px 18px rgba(0,0,0,0.08);
    }


    /* Main menu link */

    .menu-item > a{
        display:flex;

        width:100%;

        padding:16px 18px;

        font-size:16px;
        font-weight:600;

        flex-shrink:0;

        align-items:center;
        justify-content:space-between;
    }


    /* =====================================================
       MOBILE SUBMENU
       ===================================================== */

    .submenu{
        position:static !important;

        width:100%;

        /*
         * Closed
         */
        max-height:0;

        /*
         * IMPORTANT:
         * Do not let opacity/visibility from desktop
         * hide mobile submenu.
         */
        opacity:1 !important;
        visibility:visible !important;
        transform:none !important;

        overflow:hidden;

        background:#faf7f2;

        padding:0;

        border-radius:0 0 18px 18px;

        box-shadow:none;

        transition:
            max-height .35s ease,
            padding .35s ease;
    }


    /* =====================================================
       OPEN SUBMENU
       ===================================================== */

    .menu-item.open > .submenu{
        /*
         * Enough height for all submenu links.
         * Main menu itself remains scrollable.
         */
        max-height:1000px;

        opacity:1 !important;
        visibility:visible !important;
        transform:none !important;

        overflow:visible;

        padding:4px 0 6px;
    }


    /* =====================================================
       SUBMENU LINKS
       ===================================================== */

    .submenu li{
        list-style:none;
        width:100%;
    }


    .submenu a{
        display:block;

        width:100%;

        padding:13px 24px;

        font-size:15px;
        line-height:1.5;

        color:var(--submenu-text);

        text-decoration:none;

        background:#faf7f2;
    }


    .submenu a:hover{
        background:#f1f5f9;
        color:var(--accent);
    }


    .submenu li + li{
        border-top:1px solid rgba(0,0,0,0.06);
    }


    /* =====================================================
       PAGE
       ===================================================== */

    .page-wrapper{
        max-width:100% !important;
        margin:20px 0 !important;
        padding:0 12px !important;
    }


    .page-wrapper section{
        padding:22px 18px !important;
        margin-bottom:18px;
        border-radius:22px;
    }


    .page-wrapper p{
        font-size:16.5px !important;
        line-height:1.75;
    }


    /* =====================================================
       NORMAL MOBILE IMAGE
       ===================================================== */

    .page-wrapper img{
        width:100%;
        max-width:100%;
        height:auto;
        display:block;
        object-fit:initial;
        border-radius:var(--image-radius);
    }


    /* =====================================================
       MOBILE SLIDER CARD
       ===================================================== */

    .page-wrapper section:has(.swiper){
        padding:0 !important;

        margin-bottom:18px;

        border-radius:var(--slider-radius);

        height:auto !important;
        min-height:0 !important;

        overflow:hidden;
    }


    .page-wrapper section:has(.swiper) .swiper{
        width:100%;

        height:auto !important;
        min-height:0 !important;

        overflow:hidden;
    }


    .page-wrapper section:has(.swiper) .swiper-wrapper{
        height:auto !important;
        min-height:0 !important;
    }


    .page-wrapper section:has(.swiper) .swiper-slide{
        height:auto !important;
        min-height:0 !important;

        overflow:hidden;
    }


    /* =====================================================
       MOBILE SLIDER IMAGE
       ===================================================== */

    .page-wrapper section:has(.swiper) .swiper-slide img{
        width:100% !important;
        max-width:100% !important;

        height:auto !important;
        max-height:none !important;

        display:block !important;

        object-fit:initial !important;

        border-radius:var(--slider-radius);
    }


    /* =====================================================
       MOBILE SLIDE CONTENT
       ===================================================== */

    .slide-content{
        bottom:12%;
        left:5%;
        right:5%;
    }


    .slide-content h2{
        font-size:24px;
    }


    .slide-content p{
        font-size:15px;
    }


    /* =====================================================
       MOBILE FORM
       ===================================================== */

    .form-wrapper input.theme-input,
    .form-wrapper select.theme-input{
        min-height:48px;
        padding:12px 16px;
    }


    .form-wrapper textarea.theme-input{
        min-height:100px;
    }


    /* =====================================================
       MOBILE CAPTCHA
       ===================================================== */

    .captcha-box{
        flex-direction:column;
        align-items:stretch;
    }


    .captcha-label{
        width:100%;
    }


    /* =====================================================
       MOBILE VIDEO
       ===================================================== */

    .video-grid{
        grid-template-columns:1fr !important;
    }
}


/* =========================================================
   TABLET VIDEO GRID
   ========================================================= */

@media(max-width:992px){

    .video-grid{
        grid-template-columns:repeat(2,1fr) !important;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media(max-width:600px){

    .page-wrapper{
        padding:0 10px !important;
    }


    .page-wrapper section{
        padding:18px 14px !important;
    }


    /* Slider stays edge-to-edge */

    .page-wrapper section:has(.swiper){
        padding:0 !important;
        border-radius:16px;
    }


    .page-wrapper section:has(.swiper) .swiper-slide img{
        border-radius:16px;
    }


    /* Smaller mobile menu spacing */

    .menu{
        padding:
            80px
            12px
            24px
            12px;

        gap:10px;
    }


    .menu-item{
        border-radius:16px;
    }


    .menu-item > a{
        padding:15px 16px;
    }


    .submenu a{
        padding:12px 20px;
        font-size:14.5px;
    }
}

/* =========================================================
   MOBILE MENU ICON ALIGNMENT FIX
   Keep icon + label together on the left and arrow on right.
   ========================================================= */
@media (max-width:768px) {
    .header-inner .menu > .menu-item > a {
        display:flex !important;
        align-items:center !important;
        justify-content:flex-start !important;
        gap:12px !important;
        text-align:left !important;
        width:100% !important;
        box-sizing:border-box !important;
    }

    .header-inner .menu .menu-visual {
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        flex:0 0 24px !important;
        width:24px !important;
        min-width:24px !important;
        height:24px !important;
        margin:0 !important;
        line-height:1 !important;
    }

    .header-inner .menu .menu-visual i {
        display:inline-block !important;
        font-size:17px !important;
        line-height:1 !important;
        font-style:normal;
        /* Do not set font-weight here: Font Awesome needs 900 for solid and 400 for brands. */
    }

    .header-inner .menu .menu-visual img {
        display:block !important;
        width:22px !important;
        height:22px !important;
        object-fit:contain !important;
    }

    .header-inner .menu > .menu-item > a .menu-arrow {
        margin-left:auto !important;
        flex:0 0 auto !important;
    }

    .header-inner .menu .submenu .submenu-link {
        display:flex !important;
        align-items:center !important;
        justify-content:flex-start !important;
        gap:10px !important;
        text-align:left !important;
    }

    .header-inner .menu .submenu .menu-visual {
        flex:0 0 20px !important;
        width:20px !important;
        min-width:20px !important;
        height:20px !important;
    }

    .header-inner .menu .submenu .menu-visual i {
        font-size:15px !important;
        line-height:1 !important;
    }
}
