.about-door {
    position: relative;
    color: #2a2a2a;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background */
.about-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    transition: transform 10s ease;
}

.about-door:hover .about-bg {
    transform: scale(1.06);
}

/* Natural light overlay */
.about-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(-100deg, rgba(250, 247, 240, 0.92) 45%, rgba(255, 250, 245, 0.75) 100%);
    backdrop-filter: blur(3px);
    z-index: 1;
}

/* Door panels (for the opening effect) */
.door {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background: rgba(250, 247, 240, 0.98);
    z-index: 2;
    transform-origin: center;
    transition: transform 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.door-left {
    right: 0;
    transform: translateX(0);
}

.door-right {
    left: 0;
    transform: translateX(0);
}

.about-door.is-visible .door-left {
    transform: translateX(100%);
}

.about-door.is-visible .door-right {
    transform: translateX(-100%);
}

/* Content */
.about-content {
    position: relative;
    max-width: 580px;
    z-index: 3;
    padding: 5rem 1rem;
}

/* Typography */
.about-eyebrow {
    display: inline-block;
    color: #323583;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    position: relative;
}

.about-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(-90deg, #323583, transparent);
    margin-top: 1rem;
}

.about-text {
    color: #4a4a4a;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 2rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-gold {
    background: linear-gradient(-90deg, #d4af37, #f6e4a7);
    color: #fff;
    border: none;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(191, 167, 111, 0.35);
}

.btn-outline-gold {
    border: 1.5px solid #323583;
    color: #323583;
    background: transparent;
}

.btn-outline-gold:hover {
    background: #323583;
    color: #fff;
}

/* Progressive text fade */
.fade-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.about-door.is-visible .fade-item:nth-child(1) {
    transition-delay: 0.7s;
    opacity: 1;
    transform: translateY(0);
}

.about-door.is-visible .fade-item:nth-child(2) {
    transition-delay: 1s;
    opacity: 1;
    transform: translateY(0);
}

.about-door.is-visible .fade-item:nth-child(3) {
    transition-delay: 1.3s;
    opacity: 1;
    transform: translateY(0);
}

.about-door.is-visible .fade-item:nth-child(4) {
    transition-delay: 1.6s;
    opacity: 1;
    transform: translateY(0);
}

/* ==================== KOOVEX FOOTER – FINAL FIX ==================== */
footer {
    background: rgba(24, 24, 114, 0.97);
    color: #fff;
    font-family: 'Inter', sans-serif;
    padding: 35px 0 25px;
    /* Reduced vertical padding */
}

/* Reduce side padding globally */
.footer-main .container,
.footer-bottom .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 8px !important;
    /* Forcefully reduced side padding */
}

/* ---------- TOP AREA ---------- */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 35px;
    align-items: flex-start;
}

/* Logo section */
.footer-logo {
    flex: 1 1 300px;
    min-width: 250px;
}

.footer-logo img {
    width: 135px;
    margin-bottom: 30px;
}

.footer-logo p {
    font-size: 15px;
    color: #d9dcf3;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* App download badges */
.app-download {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.app-download a {
    display: block;
    width: 135px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    transition: transform .3s ease, box-shadow .3s ease;
}

.app-download a.playstore {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/7/78/Google_Play_Store_badge_EN.svg');
}

.app-download a.appstore {
    background-image: url('https://developer.apple.com/assets/elements/badges/download-on-the-app-store.svg');
}

.app-download a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, .25);
}

/* ---------- FOOTER LINKS ---------- */
.footer-links {
    display: flex;
    flex: 2 1 600px;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 35px;
}

.footer-column {
    flex: 1 1 200px;
}

.footer-column h5 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    /* Prevent wrapping */
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 6px;
}

.footer-column ul li a {
    color: #d9dcf3;
    font-size: 14px;
    text-decoration: none;
    transition: color .3s;
}

.footer-column ul li a:hover {
    color: #fff;
}

/* ---------- NEWSLETTER STACKED ---------- */
.newsletter {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    gap: 8px;
}

.newsletter input {
    width: 100%;
    padding: 9px 12px;
    border: none;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    color: #fff;
}

.newsletter button {
    width: 100%;
    background: #c0a04c;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    padding: 10px 0;
    cursor: pointer;
    transition: background .3s;
}

.newsletter button:hover {
    background: #b28f3b;
}

/* ---------- CHANNEL PARTNER ---------- */
.channel-partner a {
    display: block;
    width: 100%;
    background: #fff;
    color: rgba(24, 24, 114, 1);
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    border-radius: 6px;
    padding: 10px 0;
    margin-top: 10px;
    transition: .3s;
    text-decoration: none;
    white-space: nowrap;
}

.channel-partner a:hover {
    background: #c0a04c;
    color: #fff;
}

/* ---------- FOOTER BOTTOM ---------- */
.footer-bottom {
    background: #11123b;
    margin-top: 0px;
    padding: 12px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #cfd0e9;
    font-size: 13px;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-icons a img {
    width: 22px;
    height: 22px;
    transition: all .3s ease;
}

.social-icons a:hover img {
    transform: scale(1.1);
    filter: brightness(150%);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        width: 100%;
        gap: 25px;
    }
}

@media (max-width: 768px) {

    .footer-main .container,
    .footer-bottom .container {
        padding: 0 10px !important;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .social-icons {
        justify-content: center;
    }
}

/* ===== MOBILE FULL-WIDTH NEWSLETTER FIX ===== */
@media (max-width: 768px) {
    .newsletter {
        flex-direction: row;
        width: 100%;
        max-width: 100%;
        gap: 10px;
    }

    .newsletter input,
    .newsletter button {
        flex: 1;
        width: 100%;
        font-size: 15px;
        height: 50px;
    }

    .newsletter button {
        white-space: nowrap;
        padding: 10px;
    }
}

/* ===============================
   KOOVEX LANGUAGE LINKS
   =============================== */
.search-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.search-section a {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    color: #ffffff;
    /* inactive color */
    position: relative;
}

/* hover & active (gold accent) */
.search-section a:hover {
    color: #c8a566;
    transform: translateY(-1px);
}

.search-section a.active {
    color: #c8a566;
}

/* subtle underline accent for active */
.search-section a.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    right: 0;
    left: 0;
    height: 1px;
    background: #c8a566;
    border-radius: 2px;
}

/* divider between langs */
.search-section .divider {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    user-select: none;
    margin: 0 4px;
}

/* ============ RTL Support ============ */
[dir="rtl"] .search-section {
    justify-content: flex-start;
}

[dir="rtl"] .search-section a {
    color: #ffffff;
}

/* ============ Mobile ============ */
@media (max-width: 992px) {
    .search-section {
        justify-content: center;
        margin-top: 10px;
        gap: 10px;
    }

    .search-section a {
        font-size: 12px;
        color: #00205b;
    }

    .search-section .divider {
        color: rgba(0, 32, 91, 0.3);
    }

    .search-section a.active {
        color: #c8a566;
    }

    .search-section a.active::after {
        display: none;
        /* cleaner on mobile */
    }
}

@media (min-width: 1200px) {
    header .search-section {
        margin-right: 50px;
        margin-left: -140px;
    }
}


/* ===== Mobile Language Styles ===== */
.mobile-lang {
    margin-top: 0px;
    margin-left: 25px;
}

.mobile-lang a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-lang a:hover {
    color: #c8a566;
}

.mobile-lang a.active {
    color: #c8a566;
    font-weight: 600;
}

.mobile-lang .divider {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
}


/* ==============================
   FINAL OVERRIDE – GUARANTEED VERTICAL DROPDOWN
   ============================== */

/* Make sure the main menu stays inline and white */
.nav-links > li {
  display: inline-block !important;
  position: relative;
}
.nav-links > li > a.level-1-menu {
  color: #fff !important;
}

/* Dropdown container always vertical */
.dropdown-menu {
  display: block !important;
  background: #fff !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  list-style: none !important;
  min-width: 230px !important;
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  flex-direction: column !important;  /* override any flex-row */
  float: none !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 9999;
}

/* Show dropdown on hover */
.has-dropdown:hover > .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
}

/* Ensure list items behave vertically */
.dropdown-menu > li {
  display: block !important;
  float: none !important;
  width: 100% !important;
  clear: both !important;
}

/* Links inside dropdown */
.dropdown-menu > li > a {
  display: block !important;
  width: 100% !important;
  color: #000 !important; /* black dropdown text */
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  padding: 10px 18px !important;
  white-space: nowrap !important;
  transition: background 0.2s ease, color 0.2s ease;
}
.dropdown-menu > li > a:hover {
  background: #f6f6f6 !important;
  color: #323584 !important; /* gold hover */
}

/* Extra cleanup for legacy mega-menu wrappers */
.dropdown-wrapper,
.dropdown-left,
.dropdown-right,
.dropdown-content {
  all: unset !important;
  display: contents !important;
}

/* Language dropdown uses same vertical style */
.lang-dropdown .dropdown-menu {
  min-width: 130px !important;
  text-align: right !important;
}

/* ==============================
   MOBILE
   ============================== */
@media (max-width: 992px) {
  .dropdown-menu {
    position: static !important;
    box-shadow: none !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    padding: 0 !important;
  }
  .dropdown-menu > li > a {
    color: #000 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .dropdown-menu > li:last-child > a {
    border-bottom: none;
  }
}
/* ===== Dropdown open spacing fix ===== */
.dropdown-menu {
  top: calc(100% + 10px) !important; /* adds 10px gap below the menu item */
  /* or if your layout uses transform animations, this works better: */
  transform: translateY(15px);
}

.has-dropdown:hover > .dropdown-menu {
  transform: translateY(5px); /* smooth slide with visible gap */
}

/* Optional: subtle fade + movement */
.dropdown-menu {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ===== Header default (transparent) ===== */
header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  background: transparent;
  transition: all 0.4s ease;
  z-index: 9999;
}

/* ===== Header when scrolled ===== */
header.scrolled {
  background-color: #323583 !important; /* solid navy color */
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ===== Menu link colors ===== */
header .level-1-menu {
  color: #fff !important; /* white when header has background */
  transition: color 0.3s ease;
}

header:not(.scrolled) .level-1-menu {
  color: #fff !important; /* also white on transparent (so consistent) */
}

header.scrolled .level-1-menu:hover {
  color: #c8a566 !important; /* gold hover accent */
}

/* ===== Mobile bar ===== */
.mobile-header{
  position:fixed; top:0; right:0; left:0; height:64px;
  background:#323583; z-index:1050; display:flex; align-items:center;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
}
.mobile-nav{ width:100%; height:100%; }

/* ===== Drawer + overlay ===== */
.mobile-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.45);
  opacity:0; visibility:hidden; transition:.25s ease; z-index:1051;
}
.mobile-overlay.show{ opacity:1; visibility:visible; }

.mobile-drawer{
  position:fixed; top:0;
  /* LTR default from left; RTL from right */
  right:0; left:auto;
  width:min(320px,80%); height:100vh; background:#2b2e6f; color:#fff;
  transform:translateX(100%); transition:transform .28s ease; z-index:1052;
  display:flex; flex-direction:column;
  padding-top:64px; /* under the mobile header */
}
[dir="rtl"] .mobile-drawer{ right:auto; left:0; transform:translateX(-100%); }
.mobile-drawer.open{ transform:translateX(0); }

.drawer-head{
  position:absolute; top:12px; right:14px; left:14px; height:40px;
}
.drawer-title{ font-weight:600; letter-spacing:.5px; }

/* Drawer list */
.drawer-list{ list-style:none; margin:0; padding:10px 18px 14px; overflow-y:auto; }
.drawer-list > li{ border-bottom:1px solid rgba(255,255,255,.08); }
.drawer-list > li:last-child{ border-bottom:none; }
.drawer-list a, .sub-toggle{
  display:flex; align-items:center; justify-content:space-between;
  width:100%; padding:14px 2px; color:#fff; text-decoration:none;
  font-size:15.5px; font-weight:500; background:none; border:0;
}
.drawer-list a:hover, .sub-toggle:hover{ color:#c8a566; }

.has-sub .sub-list{
  max-height:0; overflow:hidden; transition:max-height .25s ease;
  padding-right:0;
}
[dir="rtl"] .has-sub .sub-list{ padding-left:0; }
.has-sub .sub-list li a{ padding:12px 12px 12px 2px; font-size:14.5px; opacity:.95; }
[dir="rtl"] .has-sub .sub-list li a{ padding:12px 2px 12px 12px; }

.sub-toggle i{ transition:transform .2s ease; }
.sub-toggle[aria-expanded="true"] i{ transform:rotate(-180deg); }
.sub-toggle[aria-expanded="true"] + .sub-list{ max-height:400px; }

/* Language inside drawer */
.drawer-lang{ margin:10px 18px 24px; padding-top:10px; border-top:1px solid rgba(255,255,255,.08); }
.drawer-lang .lang-title{ font-size:13px; text-transform:uppercase; letter-spacing:.6px; opacity:.9; margin-bottom:10px; }
.drawer-lang .lang-links a{
  display:inline-block; margin:0 0 8px 8px; padding:8px 12px; border-radius:20px;
  background:rgba(255,255,255,.1); color:#fff; text-decoration:none; font-size:13px;
}
.drawer-lang .lang-links a.active{ background:#c8a566; color:#1b1b1b; }

/* Icon hover */
#muteToggle:hover i, .menu-toggle-btn:hover i{ color:#c8a566; }

/* Push main content down on mobile (so hero doesn't hide under bar) */
@media (max-width: 991.98px){
  body{ padding-top:64px; }
}
/* ===== Remove legacy mute/audio icon in mobile ===== */
@media (max-width: 991.98px) {
  .audio-icon,
  .menu-right .bi-volume-up,
  .menu-right .bi-volume-mute {
    display: none !important;
  }
}

