/* ============================================
   SLIMRCHAT NEW HEADER STYLES
   Add this to your theme's CSS file or enqueue separately
   ============================================ */

/* ============================================
   FONTS
   ============================================ */
@font-face {
    font-family: 'ClashDisplay-Variable';
    src: url("fonts/ClashDisplay-Variable.woff2") format("woff2");
    font-weight: 200 700;
    font-display: swap;
    font-style: normal;
}

/* ============================================
   MAIN HEADER
   ============================================ */
header.siteHead {
    background-color: #fff;
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 9999999;
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
}

/* Force full width on all header sections */
header.siteHead .header-top,
header.siteHead .header-cta,
header.siteHead .header-live,
header.siteHead .header-divider {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Navigation bar - sticky on desktop (now outside header element) */
.header-nav {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 9999998;
    border-bottom: 1px solid #e5e5e5;
    padding: 0 40px;
}

/* Override any theme container constraints */
header.siteHead,
header.siteHead * {
    box-sizing: border-box;
}

/* CTA and Live bars now outside header too */
.header-cta,
.header-live {
    width: 100%;
    max-width: 100%;
}

/* Top row: Sign in | Logo | Search */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
}

/* Left section - Sign In (Desktop) */
.header-top .header-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.header-top .sign-in-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #004559;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

.header-top .sign-in-link:hover {
    opacity: 0.7;
}

.header-top .sign-in-link svg {
    width: 22px;
    height: 22px;
}

/* Center section - Logo */
.header-top .header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.header-top .header-center a.logo {
    display: inline-block;
}

.header-top .header-center a.logo img {
    height: 38px;
    width: auto;
    display: block;
}

/* Right section - Search */
.header-top .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 15px;
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    padding: 0;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #004559;
    transition: all 0.3s ease;
}

/* Mobile icons (hidden on desktop) */
.mobile-icon {
    display: none;
    align-items: center;
    justify-content: center;
    color: #004559;
}

.mobile-icon svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   SEARCH BAR
   ============================================ */
.searchBar {
    display: inline-block;
    margin: 0;
    max-width: none;
    width: 280px;
}

.searchBar form {
    border: 1px solid #d6d6d6;
    border-radius: 50px;
    background-color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 44px;
}

.searchBar form .search-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-right: 10px;
}

.searchBar form .search-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.searchBar form input[type="search"],
.searchBar form input[type="text"] {
    border: 0;
    padding: 0;
    font-size: 14px;
    background: transparent;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    color: #555;
    width: 100%;
    outline: none;
}

.searchBar form input[type="search"]::placeholder,
.searchBar form input[type="text"]::placeholder {
    color: #999;
}

.searchBar form input[type="submit"] {
    display: none;
}

/* ============================================
   DIVIDING LINE
   ============================================ */
.header-divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 0;
}

/* ============================================
   MAIN NAVIGATION
   ============================================ */
.header-nav {
    padding: 0 40px;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 9999998;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
}

.header-nav > nav > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav > nav > ul > li {
    display: inline-block;
    position: relative;
}

.header-nav > nav > ul > li > a {
    display: block;
    padding: 12px 20px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #004559;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-nav > nav > ul > li > a:hover {
    color: #3d8a9e;
}

/* ============================================
   DROPDOWN MENUS
   ============================================ */
.header-nav .dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 25px 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 99999;
    white-space: nowrap;
    pointer-events: none;
}

/* Multi-column dropdown - centered to page */
.header-nav .dropdown.multi-column {
    display: flex;
    gap: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
}

/* Simple dropdown - vertical list */
.header-nav .dropdown.simple-column {
    display: block;
    left: 0;
    min-width: 180px;
    transform: translateY(10px);
}

.header-nav .dropdown.simple-column ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav .dropdown.simple-column ul li {
    margin-bottom: 0;
}

.header-nav .dropdown.simple-column ul li a {
    display: block;
    padding: 12px 0;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #004559;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header-nav .dropdown.simple-column ul li a:hover {
    color: #3d8a9e;
}

/* Position the parent li as static so we can position dropdown relative to nav */
.header-nav > nav > ul > li.has-mega-menu {
    position: static;
}

.header-nav .dropdown.multi-column.five-col {
    min-width: 900px;
    left: 50%;
    right: auto;
}

/* Show dropdown on hover */
.header-nav > nav > ul > li:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.header-nav > nav > ul > li.has-mega-menu:hover > .dropdown.multi-column {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.header-nav > nav > ul > li:hover > .dropdown.simple-column {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dropdown column */
.header-nav .dropdown-column {
    min-width: 150px;
}

.header-nav .dropdown-column h3 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #004559;
    margin-bottom: 15px;
    padding-bottom: 0;
    white-space: nowrap;
}

.header-nav .dropdown ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav .dropdown ul li {
    margin-bottom: 10px;
}

.header-nav .dropdown ul li:last-child {
    margin-bottom: 0;
}

.header-nav .dropdown ul li a {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #004559;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header-nav .dropdown ul li a:hover {
    color: #3d8a9e;
}

/* Single column dropdown (for simpler menus) */
.header-nav .dropdown.single-column ul li {
    margin-bottom: 12px;
}

.header-nav .dropdown.single-column ul li:last-child {
    margin-bottom: 0;
}

.header-nav .dropdown.single-column ul li a {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #004559;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header-nav .dropdown.single-column ul li a:hover {
    color: #3d8a9e;
}

/* ============================================
   WORDPRESS 3-LEVEL SUBMENUS
   ============================================ */
/* WordPress adds .menu-item-has-children to parent items */
.header-nav .dropdown ul li.menu-item-has-children,
.header-nav .dropdown-column ul li.menu-item-has-children {
    position: relative;
}

.header-nav .dropdown ul li.menu-item-has-children > a,
.header-nav .dropdown-column ul li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Arrow indicator for items with submenus */
.header-nav .dropdown ul li.menu-item-has-children > a::after,
.header-nav .dropdown-column ul li.menu-item-has-children > a::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #004559;
    border-bottom: 1.5px solid #004559;
    transform: rotate(-45deg);
    flex-shrink: 0;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.header-nav .dropdown ul li.menu-item-has-children:hover > a::after,
.header-nav .dropdown-column ul li.menu-item-has-children:hover > a::after {
    border-color: #3d8a9e;
}

/* WordPress nests child menus as ul.sub-menu */
.header-nav .dropdown ul li.menu-item-has-children > ul.sub-menu,
.header-nav .dropdown-column ul li.menu-item-has-children > ul.sub-menu {
    position: absolute;
    left: calc(100% + 10px);
    top: -10px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 15px 20px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    margin: 0;
}

/* Show third level on hover */
.header-nav .dropdown ul li.menu-item-has-children:hover > ul.sub-menu,
.header-nav .dropdown-column ul li.menu-item-has-children:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Third level menu items */
.header-nav .dropdown ul.sub-menu li,
.header-nav .dropdown-column ul.sub-menu li {
    margin-bottom: 8px;
}

.header-nav .dropdown ul.sub-menu li:last-child,
.header-nav .dropdown-column ul.sub-menu li:last-child {
    margin-bottom: 0;
}

.header-nav .dropdown ul.sub-menu li a,
.header-nav .dropdown-column ul.sub-menu li a {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #004559;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
    display: block;
    padding: 3px 0;
}

.header-nav .dropdown ul.sub-menu li a:hover,
.header-nav .dropdown-column ul.sub-menu li a:hover {
    color: #00c9a7;
}

/* For multi-column dropdowns - adjust submenu position */
.header-nav .dropdown.multi-column ul li.menu-item-has-children > ul.sub-menu {
    left: calc(100% + 15px);
    top: -15px;
}

/* ============================================
   CTA BAR - DARK TEAL
   ============================================ */
.header-cta {
    background-color: #004559;
    padding: 7px 0;
}

.header-cta-inner {
    max-width: calc(100% - 230px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-cta p {
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 300;
    margin: 0;
    line-height: 1.4;
}

.header-cta p strong {
    font-weight: 500;
}

/* Line break before "Feel Supported" on mobile only */
.header-cta p .mobile-break {
    display: none;
}

.header-cta .cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #a1f1fd 0%, #a8fecb 100%);
    color: #004559;
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0;
    padding: 14px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    transform: scale(0.95);
    transform-origin: center;
}

.header-cta .cta-button:hover {
    opacity: 0.85;
}

/* ============================================
   LIVE BAR - PRICES & CHATS
   ============================================ */
.header-live {
    background-color: #fff;
    padding: 8px 0;
    border-bottom: 1px solid #e5e5e5;
}

.header-live-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 230px);
    margin: 0 auto;
}

/* Live indicator with pulse glow */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ff4757;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #ff4757;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 71, 87, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

/* Left column - Live Prices */
.live-prices {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    padding-right: 40px;
}

.live-prices-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.live-prices-text h4 {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #004559;
    margin: 0;
    padding: 0;
}

.live-prices-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.price-button {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    background: linear-gradient(180deg, #a1f1fd 0%, #a8fecb 100%);
    color: #004559;
    font-family: "Inter", sans-serif;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 4px 4px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    transform: scale(0.9);
    transform-origin: right center;
}

.price-button:hover {
    opacity: 0.85;
}

.price-button .arrow-circle {
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.price-button .arrow-circle svg {
    width: 12px;
    height: 12px;
}

/* Vertical Divider */
.live-divider {
    width: 1px;
    height: 50px;
    background-color: #e5e5e5;
    flex-shrink: 0;
}

/* Right column - Live Chats */
.live-chats {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    flex: 1;
    padding-left: 40px;
}

.live-chats-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    flex-shrink: 0;
}

.live-chats-label h4 {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #004559;
    margin: 0;
    padding: 0;
}

.live-chats-ticker {
    width: 320px;
    overflow: hidden;
    position: relative;
    height: 48px;
}

.ticker-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #004559;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.ticker-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 999999999;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: none;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.mobile-menu-header .logo img {
    height: 32px;
    width: auto;
}

.mobile-menu-close {
    width: 28px;
    height: 28px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close svg {
    width: 28px;
    height: 28px;
    stroke: #004559;
    stroke-width: 1.5;
}

.mobile-menu-content {
    padding: 0;
}

/* Mobile Menu Sections */
.mobile-menu-section {
    border-bottom: 1px solid #e5e5e5;
    padding: 20px;
}

.mobile-menu-section h3 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #004559;
    margin: 0 0 15px 0;
    padding: 0;
}

.mobile-menu-section h3 a {
    color: #004559;
    text-decoration: none;
}

.mobile-menu-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu-section ul li {
    margin-bottom: 12px;
}

.mobile-menu-section ul li:last-child {
    margin-bottom: 0;
}

.mobile-menu-section ul li a {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #004559;
    text-decoration: none;
}

/* Section without heading (first section) */
.mobile-menu-section.no-heading ul li a {
    font-weight: 500;
}

/* Mobile Menu Social Icons */
.mobile-menu-social {
    display: flex;
    gap: 18px;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.mobile-menu-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.mobile-menu-social a:hover {
    opacity: 0.7;
}

.mobile-menu-social svg {
    width: 22px;
    height: 22px;
    fill: #004559;
}

/* Mobile CTA in menu */
.mobile-menu-cta {
    padding: 25px 20px;
}

.mobile-menu-cta .cta-button {
    display: block;
    text-align: center;
    background: linear-gradient(180deg, #a1f1fd 0%, #a8fecb 100%);
    color: #004559;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large Desktop (1400px and up) - No changes needed */

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    .header-cta-inner,
    .header-live-inner {
        max-width: calc(100% - 150px);
    }
    
    .live-chats-ticker {
        width: 280px;
    }
    
    .header-nav .dropdown.multi-column.five-col {
        min-width: 850px;
        gap: 30px;
    }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    .header-top {
        padding: 14px 30px;
    }
    
    .header-nav {
        padding: 0 30px;
    }
    
    .header-cta {
        padding: 7px 0;
    }
    
    .header-live {
        padding: 8px 0;
    }
    
    .header-cta-inner,
    .header-live-inner {
        max-width: calc(100% - 80px);
    }
    
    .live-prices {
        padding-right: 30px;
    }
    
    .live-chats {
        padding-left: 30px;
        gap: 25px;
    }
    
    .live-chats-ticker {
        width: 220px;
    }
    
    .header-nav .dropdown.multi-column.five-col {
        min-width: 750px;
        gap: 25px;
        padding: 20px 25px;
    }
    
    .header-nav .dropdown-column {
        min-width: 130px;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    /* Show hamburger and mobile icons, hide desktop elements */
    .hamburger {
        display: flex;
    }
    
    .mobile-icon {
        display: flex;
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    .header-nav {
        display: none;
        position: relative;
        top: auto;
        border-bottom: none;
    }
    
    /* Hide live bar on tablet/mobile */
    .header-live {
        display: none;
    }
    
    /* Rearrange header for mobile: hamburger left, logo center, icons right */
    .header-top {
        padding: 12px 20px;
    }
    
    .header-top .header-left {
        order: 1;
        flex: 0 0 auto;
    }
    
    .header-top .header-center {
        order: 2;
        flex: 1;
    }
    
    .header-top .header-right {
        order: 3;
        flex: 0 0 auto;
    }
    
    /* Hide desktop sign in link, show hamburger */
    .header-top .sign-in-link {
        display: none;
    }
    
    /* Hide search bar on mobile */
    .searchBar {
        display: none;
    }
    
    /* Show mobile line break */
    .header-cta p .mobile-break {
        display: block;
    }
    
    /* CTA Bar adjustments for mobile */
    .header-cta {
        padding: 15px 20px;
    }
    
    .header-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        max-width: 100%;
    }
    
    .header-cta p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .header-cta .cta-button {
        background: linear-gradient(180deg, #a1f1fd 0%, #a8fecb 100%);
        padding: 10px 20px;
        font-size: 10px;
        transform: scale(1);
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .header-top .header-center a.logo img {
        height: 32px;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    .header-top {
        padding: 12px 15px;
    }
    
    .header-top .header-center a.logo img {
        height: 28px;
    }
    
    .header-cta {
        padding: 15px;
    }
    
    .header-cta p {
        font-size: 13px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: #004559;
    color: #fff;
    width: 100%;
}

.footer-main {
    padding: 32px 40px;
}

.footer-main-inner {
    max-width: calc(100% - 150px);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

/* Footer Left - Logo & Social */
.footer-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
}

.footer-logo img {
    height: 38px;
    width: auto;
    display: block;
}

.footer-social {
    display: flex;
    gap: 18px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-social svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

/* Footer Right - Newsletter & Nav */
.footer-right {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* Footer Navigation */
.footer-nav {
    padding-right: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-nav ul li a {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-nav ul li a:hover {
    opacity: 0.7;
}

/* Footer Newsletter */
.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 320px;
}

.footer-newsletter h4 {
    font-family: "ClashDisplay-Variable", sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.footer-newsletter-form,
.footer-newsletter #mc_embed_signup form {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 30px;
    padding: 3px;
    position: relative;
}

.footer-newsletter-form input[type="email"],
.footer-newsletter #mc_embed_signup input[type="email"] {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #555;
    outline: none;
    padding: 8px 15px;
}

.footer-newsletter-form input[type="email"]::placeholder,
.footer-newsletter #mc_embed_signup input[type="email"]::placeholder {
    color: #999;
}

.footer-newsletter-form button,
.footer-newsletter #mc_embed_signup button,
.footer-newsletter #mc_embed_signup input[type="submit"] {
    background: linear-gradient(180deg, #a1f1fd 0%, #a8fecb 100%);
    border: none;
    border-radius: 25px;
    padding: 10px 22px;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #004559;
    cursor: pointer;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-newsletter-form button:hover,
.footer-newsletter #mc_embed_signup button:hover,
.footer-newsletter #mc_embed_signup input[type="submit"]:hover {
    opacity: 0.85;
}

/* Footer Bottom */
.footer-bottom {
    padding: 0 40px;
}

.footer-bottom-inner {
    max-width: calc(100% - 150px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    padding: 12px 0;
}

.footer-disclaimer {
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 200;
    color: #fff;
    margin: 0;
    transform: scale(0.8);
    transform-origin: left center;
}

.footer-disclaimer a {
    color: #fff;
    text-decoration: underline;
}

.footer-disclaimer a:hover {
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    gap: 10px;
    transform: scale(0.8);
    transform-origin: right center;
}

.footer-legal a {
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 200;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 0.8;
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
}

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

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    .footer-main-inner,
    .footer-bottom-inner {
        max-width: calc(100% - 80px);
    }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    .footer-main {
        padding: 32px 30px;
    }
    
    .footer-bottom {
        padding: 0 30px;
    }
    
    .footer-main-inner,
    .footer-bottom-inner {
        max-width: 100%;
    }
    
    .footer-right {
        gap: 30px;
    }
    
    .footer-nav {
        padding-right: 30px;
    }
}

/* Tablet Portrait (768px - 991px) - Mobile centered layout */
@media (max-width: 991px) {
    .footer-main {
        padding: 30px 20px;
    }
    
    .footer-main-inner {
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-width: 100%;
    }
    
    .footer-left {
        align-self: auto;
        align-items: center;
        gap: 20px;
        padding-bottom: 25px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Reorder footer sections on mobile */
    .footer-right {
        width: 100%;
        flex-direction: column;
        gap: 0;
        order: 2;
    }
    
    /* Newsletter comes first after social */
    .footer-newsletter {
        order: 1;
        max-width: 100%;
        width: 100%;
        padding: 25px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        align-items: center;
        text-align: center;
    }
    
    .footer-newsletter h4 {
        text-align: center;
    }
    
    .footer-newsletter-form,
    .footer-newsletter #mc_embed_signup form {
        width: 100%;
        max-width: 320px;
    }
    
    /* Nav comes after newsletter */
    .footer-nav {
        order: 2;
        padding: 25px 0;
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
    }
    
    .footer-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-nav ul li a {
        font-size: 16px;
        font-weight: 400;
    }
    
    .footer-bottom {
        padding: 0 20px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        max-width: 100%;
        padding: 20px 0;
    }
    
    .footer-disclaimer {
        transform-origin: center;
        order: 2;
    }
    
    .footer-legal {
        transform-origin: center;
        order: 1;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    .footer-main {
        padding: 25px 15px;
    }
    
    .footer-logo img {
        height: 32px;
    }
    
    .footer-nav ul li a {
        font-size: 18px;
    }
    
    .footer-bottom {
        padding: 0 15px;
    }
}
