/* ============================================================
    STRATFIN ADVISORY — DESIGN SYSTEM
    ============================================================ */

:root {
    --black: #0A0A0A;
    --charcoal: #36454F;
    --primary: var(--gold);   /* or your preferred primary color */
    --close-btn: #b70101;     /* if this is the red you are using */

    --navy: rgb(10, 35, 66);
    --navy-light: #0d2e56;
    --navy-dark: #071a30;
    --emerald: #0B6E4F;
    --emerald-light: #0d855e;
    --gold: #C8A24F;
    --gold-light: #cfa95656;
    --cream: #F7F5F0;
    --cream-dark: #EDEAE3;
    --dark-blue: #20283b;
    --light-gray: #FAFAF8;
    --white: #FFFFFF;
    --text-white: #FFFFFF;
    --text-primary: #0A2342;
    --text-secondary: #4A5568;
    --text-tertiary: #4c4a47;
    --text-muted: #A0AEC0;
    --border: rgba(10, 35, 66, 0.08);
    --border-strong: rgba(10, 35, 66, 0.15);
    --shadow-sm: 0 1px 3px rgba(10, 35, 66, 0.04);
    --shadow-md: 0 4px 12px rgba(10, 35, 66);
    --shadow-lg: 0 12px 40px rgba(10, 35, 66, 0.10);
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'SourceSansPro-Regular', sans-serif;
    
    --nav-text-primary: 'SourceSansPro-Semibold', sans-serif;

    --font-body2: 'Inter', sans-serif;
    --font-size-body: 16px; 
    --bg-glass: #ffffff99;

    --link-underline-end: 0px;
    --link-underline-start: 0px;

    --varHeight: 0.1rem;
    --varOffset: 0px;
    
    /* 1. Crisp text */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* 2. Advanced Micro-Typography */
    text-rendering: optimizeLegibility; /* Enables high-quality kerning and ligatures */
    -webkit-font-smoothing: antialiased; /* Smoother font rendering on macOS */
    -moz-osx-font-smoothing: grayscale;

    
}

* { margin: 0; padding: 0; box-sizing: border-box; }


/* 1. Hide the calendar icon in Chrome, Safari, and Edge */
.modal-input::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

/* 2. Optional: Hide the up/down arrows (spin buttons) */
.modal-input::-webkit-inner-spin-button,
.modal-input::-webkit-clear-button {
    display: none;
    -webkit-appearance: none;
}

/* 3. Ensure the input-group container handles the absolute positioning */
.input-group {
    position: relative;
}



/* Base hidden state */
.reveal,
.bounce-element {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active,
.bounce-element.animate-once {
  opacity: 1;
  transform: translateY(0);
}

/* Direction-aware variant */
[data-scroll-dir] {
  opacity: 0;
  transition: all 0.5s ease;
}
[data-scroll-dir].in-view {
  opacity: 1;
}
[data-scroll-dir].in-view[data-scroll-dir="down"] {
  transform: translateY(0);
}
[data-scroll-dir].in-view[data-scroll-dir="up"] {
  transform: translateY(0);
}

        
/* Directional Logic */
.from-up { animation-name: slideBounceUp; }
.from-down { animation-name: slideBounceDown; }
.from-left { animation-name: slideBounceLeft; }
.from-right { animation-name: slideBounceRight; }

/* 🚀 KEYFRAMES: The Double Bounce Logic 
   Logic: Slide In (0-50%) -> Bounce 1 (70%) -> Bounce 2 (90%) -> Settle (100%)
*/

@keyframes slideBounceLeft {
    0% { opacity: 0; transform: translateX(-100px); }
    50% { opacity: 1; transform: translateX(10px); } 
    70% { transform: translateX(-5px); }               
    90% { transform: translateX(2px); }              
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideBounceRight {
    0% { opacity: 0; transform: translateX(100px); }
    50% { opacity: 1; transform: translateX(-10px); } 
    70% { transform: translateX(5px); }               
    90% { transform: translateX(-2px); }              
    100% { opacity: 1; transform: translateX(0); }
}

/* 🚀 More Aggressive Keyframes (Increase the 'overshoot' from 10px to 25px) */
@keyframes slideBounceUp {
    0% { opacity: 0; transform: translateY(-100px); }
    45% { opacity: 1; transform: translateY(25px); }  /* Aggressive overshoot */
    70% { transform: translateY(-12px); }             /* Bounce 1 */
    85% { transform: translateY(5px); }               /* Bounce 2 */
    100% { opacity: 1; transform: translateY(0); }    /* Settle */
}

/* Apply similar logic to from-down, from-left, and from-right... */
@keyframes slideBounceDown {
    0% { opacity: 0; transform: translateY(100px); }
    45% { opacity: 1; transform: translateY(-25px); } 
    70% { transform: translateY(12px); }               
    85% { transform: translateY(-5px); }              
    100% { opacity: 1; transform: translateY(0); }
}


/* Bouncing animation */
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

.bounce-element {
    /* Your element's initial styles */
    /* Ensure it's positioned for the translate to work (e.g., relative, absolute) */
    position: relative;
    /*left: 50%; /* Center horizontally if needed */
}

.bounce-element.animate-once {
    animation: bounce 0.5s ease-in-out; /* Adjust duration and easing as needed */
}

hr{
	height: 1px;
	width: 100%;
	margin: 10px 0;
	border: none; 
	box-sizing: border-box;
	/*background-color: #333 !important;*/
}

@keyframes fade-in-header {
	0%   { opacity: 0; }
	30%  { opacity: .3; }
	50%  { opacity: .5; }
	70%  { opacity: .7; }
	100% { opacity: 1; } 
  }  
  
  @keyframes fade-in-element {
	0%   { display: block; opacity: .0; }
	30% { display: block; opacity: .3; }
	60% { display: block; opacity: .5; }
	80% { display: block; opacity: .7; }
	100% { display: block; opacity: 1; } 
  }
  
  
  @keyframes fade-in-main-content {
	0%   { display: block; opacity: .0; }
	30% { display: block; opacity: .3; }
	60% { display: block; opacity: .5; }
	80% { display: block; opacity: .7; }
	100% { display: block; opacity: 1; }	
  }

  
	img{
	display: block;
	object-position: center;
 	image-rendering: crisp-edges;}

	@keyframes pulse{
		0%{background-color: rgba(255, 255, 255, 0);
		}
		50%{background-color: rgba(255, 255, 255, 0.1);
		}
		100%{background-color: rgba(255, 255, 255, 0);
		}
	}
  
	.blur-load::before{
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("images/gifs/blank.gif");
        background-size: 100px;
        background-position: center center;
        background-repeat: no-repeat;
    }

	.blur-load{
        position: relative;
        background-size: cover;
        background-position: center;
    }

	.blur-load.loaded > img {
		opacity:1;
	}

	.blur-load > img {
		opacity:0;
		transition: opacity 200ms ease-in-out;
	}


	.arrow {
		display: flex;
		flex-wrap:wrap;
		flex-direction: row;
		box-sizing:border-box;
		width: 300px;	
		position: relative;
		right: 0;
		margin: 0 auto 20px auto ;	
		justify-content: center;
		align-content: center;
		text-align: center;
	}
	
	.arrow a{
        text-decoration: none;
        color: #FFF;   /* if you actually wanted white text */
        width: 300px;
        display: flex;
        justify-content: center;
        align-content: center;
        text-align: center;
	}

	.bounce {
        -moz-animation: bounce 2s infinite;
        -webkit-animation: bounce 2s infinite;
        animation: bounce 2s infinite;
	}
	
	@keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-30px);
        }
        60% {
            transform: translateY(-15px);
        }
	}


    @keyframes burgerPop {
        0%   { opacity: 0; transform: scale(0.8); }
        70%  { transform: scale(1.05); }
        100% { opacity: 1; transform: scale(1); }
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }


    @media screen and (max-width:767px){       
        .about-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 60px;
            max-width: 1100px;
            margin: 0 auto;
            padding: 2.5rem 1.25rem;
            align-items: start;           /* prevents equal-height stretching */
        }

        .about-card {
            background: #ffffff;
            border-left: 4px solid #C89B3C;   /* gold accent */
            padding: 0 2rem 0 1.75rem;
            position: relative;
        }

        .about-card:nth-child(2), .about-card:nth-child(4){
            margin-left: 50px;
            padding: 0 0 0 1.75rem;
        }

         

        /* Staggered offset — push right-column cards down */
        .about-card.offset {
            margin-top: 0; 
        }

        .card-label {
            display: inline-block;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: #C89B3C;
            margin-bottom: 0.75rem;
            font-family: var(--nav-text-primary);
        }

        .about-card h2 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #0A1D3E;               /* navy */
        margin: 0 0 1rem 0;
        line-height: 1.3;
        }

        .about-card p {
        font-size: 1rem;
        line-height: 1.7;
        color: #475569;
        margin: 0;
        }

        .about-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
        }

        .about-card li {
        position: relative;
        padding-left: 1.25rem;
        margin-bottom: 0.6rem;
        font-size: 0.95rem;
        line-height: 1.6;
        color: #334155;
        }

        /* Gold square bullets */
        .about-card li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.55em;
        width: 5px;
        height: 5px;
        background: #C89B3C;
        flex-shrink: 0;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        
        body {
            font-size: var(--font-size-body);
            font-family: var(--font-body);
            color: var(--text-primary);
            background: var(--white);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        svg, img {
            shape-rendering: crispEdges;
            text-rendering: optimizeLegibility;
            image-rendering: -webkit-optimize-contrast;
            image-rendering: optimizeQuality;
            transform: translateZ(0);
            will-change: transform;
        }

        /* Typography Scale */
        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-heading);
            font-weight: 500;
            line-height: 1.2;
            color: var(--navy);
        }
        
        h1 { font-size: clamp(36px, 5vw, 4rem); letter-spacing: -0.02em; }

        h2 { font-size: clamp(32px, 3vw, 2.5rem); }

        h3 { font-size: clamp(28px, 2vw, 1.5rem); }

        h4 { font-size: 22px; font-family: var(--font-heading); font-weight: 600; }
        
        p { color: var(--text-secondary); font-size: 16px; line-height: 1.7; }
        
        a { color: inherit; text-decoration: none; transition: var(--transition); }
        
        .text-gold { color: var(--gold); }
        .text-emerald { color: var(--emerald); }
        .text-muted { color: var(--text-muted); }

        .text-center h2{
            margin: 40px 0 !important;
        }
        
        .overline {
            font-family: var(--font-body);
            font-size: 0.6875rem;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 1rem;
            display: block;
        }

        /* Layout */
        .container {
            width: 100%;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* Layout */
        .hero .container {
            display: flex;
            flex-direction: row;
            flex-wrap:wrap;
            width: 100%;
            margin: 0 auto;
            padding: 0;
        }
        
        .section {
            padding: 6rem 0;
        }
        
        .section-light { background: var(--white); }
        .section-cream { background: var(--cream); }
        .section-navy { background: var(--navy); color: var(--white); }
        .section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }
        .section-navy p { color: rgba(255,255,255,0.75); }

        /* Grid Systems */
        .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
        .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
        .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
        
        @media (max-width: 1024px) {
            .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 640px) {
            .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
            .container { padding: 0 1.25rem; }
            .section { padding: 4rem 0; }
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            text-align: center;
            align-self: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 10px 20px;
            font-family: var(--font-body);            
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: var(--transition);
            border: none;
            width: 100%;
        }
        
        .btn-primary {
            background: var(--navy);
            color: var(--white);
        }

        .btn-primary:hover {             
            background: var(--gold);
            transform: translateY(-1px);           
        }
        
        .btn-outline {
            color: var(--navy);
            background: #0A234245;
            border: 1px solid var(--border-strong);
        }

        .btn-outline:hover {             
            background: var(--navy); 
            color: var(--white); 
            border-color: var(--navy); 
        }
        
        .btn-gold {
            background: var(--gold-light);
            color: var(--navy);
        }
        .btn-gold:hover { 
            background: var(--gold); }

        /* Cards */
        .card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 2rem;
            transition: var(--transition);
        }
        .card:hover {
            border-color: var(--border-strong);
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        /* Navigation */
        .navbar {
            
            display: block;
            flex-direction: row;
            flex-wrap: nowrap;  
            box-sizing: border-box;  
            /*width: 100%;        
            */
            z-index: 1000;            
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            transition: var(--transition);
            overflow: visible;
        }

        .navbarExt{
            width: 100vw!important;  
            position: fixed !important;
            top: 0;
            left: 0;
            right: 0;
        }
        
        .navbar.scrolled {
            box-shadow: var(--shadow-sm);
        }
        
        .navbar-inner {
            position: relative;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;            
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 0 !important;
            margin: 0 !important;
            overflow: visible;
            background-color: #FFF !important;
        }
        
        .logo {  
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;      
            margin: 20px 0 20px  20px ;
            padding: 0;
        }

        .logo svg{
            display: flex;
            width: 120px;
            height: auto;
        }

        .logo span { color: var(--gold); font-weight: 400; }
        
        .nav-links {
            display: flex;
            align-items: center;
            gap: 20px;
            list-style: none;
        }
        
        .nav-links a {
            font-weight: 500;
            color: var(--text-secondary);
            letter-spacing: 0.5px;
            position: relative;
            padding: 0.25rem 0;
            font-family: var(--font-body);
            font-size: 16px;
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -2px; left: 0;
            width: 0; height: 1.5px;
            background: var(--gold);
            transition: var(--transition);
        }
        
        .nav-links a:hover, .nav-links a.active {
            color: var(--navy);
        }
        .nav-links a:hover::after, .nav-links a.active::after {
            width: 100%;
        }
        
        .mobile-menu-btn {
            display: block;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
        }
        
        @media (max-width: 1024px) {
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 72px; left: 0; right: 0; bottom: 0;
            background: var(--white);
            z-index: 999;
            padding: 2rem;
            transform: translateX(100%);
            transition: transform 0.3s ease;
        }
        .mobile-menu.open { transform: translateX(0); }
        .mobile-menu a {
            display: block;
            padding: 1rem 0;
            font-size: 1.125rem;
            font-weight: 500;
            border-bottom: 1px solid var(--border);
            color: var(--navy);
        }

        /* ============================================================
           PAGE TRANSITIONS
           ============================================================ */
        
        .page {
            display: none;
            animation: fadeIn 0.5s ease;
            padding: 0;
            padding-top: 56px;
        }

        .page.active { display: block; }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* ============================================================
           HOME PAGE
           ============================================================ */
        /* FOR HERO */
        .hero {
            position: relative;
            min-height: calc(100vh - 72px);
            display: flex;
            align-items: center;
            /*background: linear-gradient(135deg, var(--navy) 0%, #0d2e56 50%, var(--navy-dark) 100%);*/
            overflow: hidden;
            /*margin: 0 2rem;*/
        }
        
        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            /*background: url('../images/svg/hero_1_landing_page1.svg') top center/cover no-repeat;*/
            /*opacity: 0.15;*/
        }
        
        .hero-content {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            position: relative;
            z-index: 2;
            /*max-width: 800px;*/
            width: 100%;            
            order: 2;
            padding: 20px;
        }

        .hero-image {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            margin: 0;
            width: 100%;
        }

         .hero-image img {
            /* Modern browsers */
            mask-image: linear-gradient(to top, transparent 0%, black 30%);
            mask-size: 100% 100%;
            mask-repeat: no-repeat;

            /* Safari / older WebKit */
            -webkit-mask-image: linear-gradient(to top, transparent 0%, black 30%);
            -webkit-mask-size: 100% 100%;
            -webkit-mask-repeat: no-repeat;
            }

        .hero-image img, .hero-image svg{
            display: flex;
            flex-direction: row;
            margin: 0 auto;
            width: 100%;
            height: auto;
        }
        
        .hero .overline {
            color: var(--gold);
            margin-bottom: 1.5rem;
        }
        
        .hero h1 {
            /*color: var(--white);*/
            margin-bottom: 1.5rem;
            font-weight: 500;
            
        }
        
        .hero p {
            /*color: rgba(255,255,255,0.8);*/  
            font-size: 16.4px;
            font-weight: 300;
            line-height: 28px  
        }
        
        .hero-cta {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin: 20px 0 0 0;
        }

        /* FOR ABOUT */
        .about {
            position: relative;
            min-height: calc(100vh - 72px);
            display: flex;
            align-items: center;
            /*background: linear-gradient(135deg, var(--navy) 0%, #0d2e56 50%, var(--navy-dark) 100%);*/
            overflow: hidden;
        }
        
        .about::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('../images/jpg/about_stratfin_advisory.jpg') center/cover;
            /*opacity: 0.15;*/
        }
        
        .about-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
        }
        
        .about .overline {
            color: var(--gold);
            margin-bottom: 1.5rem;
        }
        
        .about h1 {
            color: var(--white);
            margin-bottom: 1.5rem;
            font-weight: 500;
        }
        
        .about p {
            color: rgba(255,255,255,0.8);
            font-size: 1.125rem;
            max-width: 600px;
            margin-bottom: 2.5rem;
            line-height: 1.7;
        }
        
        .about-cta {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        /* Stats Bar */
        .stats-bar {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
            align-content: center;
            align-items: center;            
            /*background: var(--cream);*/
            /*background: linear-gradient(to top, #F7F5F0 0%, #FAFAF8 50%, #FFFFFF 100%);*/
            /*border-bottom: 1px solid var(--border);*/
            padding: 0;
        }

        .stats-bar:nth-child(2) {
            padding: 0 0 50px 0 !important;
            background:none !important;
        }

        .stats-bar .container{
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
            align-content: center;
            align-items: center; 
            padding: 0 !important;
            margin: 0 0 60px 0;
        }
                
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            align-items: center;
            justify-items: center;
            justify-content: center;
        }
        
        .stat-item {
            text-align: center;
            padding: 0 1rem;
            /*border-right: 1px solid var(--border);*/
        }
        .stat-item:last-child { border-right: none; }
        
        .stat-value {
            font-family: var(--font-heading);
            font-size: 36px;
            font-weight: 500;
            color: var(--gold);
            line-height: 1;
            margin-bottom: 0.5rem;
        }

        .stat-value-title{
            font-family: var(--font-heading);
            font-size: 36px;
            font-weight: 500;
            color: var(--dark-blue);
            line-height: 1;
            padding: 40px 0;
            margin:0;
            text-align: center;
        }
        
        .stat-value-p{
            font-family: var(--font-heading);
            font-weight: 500;
            color: var(--navy);
            line-height: 1;
            margin: 60px 40px 0 40px;
            font-size: 20px;
            font-weight: 300;
            line-height: 30px;
            text-align: center;
        }

        .stat-label {
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--text-tertiary);
        }

        /* ═══════════════════════════════════════════════════════════════
        BRANDED SEPARATOR
        ═══════════════════════════════════════════════════════════════ */

        .branded-separator {
            width: 100%;
            padding: 3rem 1.25rem;          /* vertical breathing room */
            box-sizing: border-box;
        }

        /* Flex container: line | logo | line */
        .branded-separator__inner{
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            max-width: 1200px;              /* optional: constrain width */
            margin: 20px auto;
        }

        .branded-separator__inner2{
            width: 50% !important;
            margin: 0px auto 40px auto;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        

        /* The horizontal rules */
        .separator-line {
            flex: 1;                        /* grow to fill space */
            height: 1px;
            border-top: solid 1px #d6d1ca;
            opacity: 0.5;      
        }

        /* The SVG logo mark */
        .branded-separator__inner svg, .branded-separator__inner2 svg{
            width: 20px;
            height: 20px;
            flex-shrink: 0;                 /* never squish the icon */
            display: block;
        }

        /* If you keep the double-wrapped inner div, ensure it also flexes */
        .branded-separator__inner .branded-separator__inner{
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
        }

        .branded-separator__inner2 .branded-separator__inner2{
            width: 50% !important;
            margin: 20px 0;
        }

       .branded-separator__hr {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }

        .branded-separator__hr__inner {
            width: 1px;
            height: 70px;
            margin: 50px 0 0 0;
            border-right: solid 1px #d6d1ca;
        }
        
        @media (max-width: 768px) {
            .stats-grid { 
                grid-template-columns: 
                repeat(1, 1fr); }

            .stat-item:nth-child(2) { 
                border-right: none; }

            .stat-item { 
                /*border-bottom: 1px solid var(--border);*/ 
                padding: 0; }
        }

        /* Who We Are Home */
        .who-we-are-home {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }
        
        .who-we-are-home .image-wrapper {
            position: relative;
            order: 1;
        }
        
        .who-we-are-home img {
            width: 100%;
            height: 500px;
            object-fit: cover;
            border-radius: var(--radius-md);
        }
        
        .who-we-are-home .image-accent {
            position: absolute;
            bottom: -20px; right: -20px;
            width: 150px; height: 150px;
            border: 2px solid var(--gold);
            border-radius: var(--radius-md);
            background-color: var(--gold);
            z-index: -1;
        }
        
        @media (max-width: 768px) {
            .who-we-are-home { grid-template-columns: 1fr; gap: 2rem; }
            .who-we-are-home img { height: 300px; }

            .who-we-are-home .desc{
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                order: 2;
            }
        }

        /* Services Preview */
        .services-grid {
            /*display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            max-width: 1200px;*/
            margin: 0 auto;
        }
        
        .service-card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            /*padding: 2rem;*/
            transition: var(--transition);
            cursor: pointer;
            position: relative;
            overflow: visible;
            width: 100%;
            box-sizing: border-box;
        }
        
        .service-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 3px; height: 0;
            background: var(--gold);
            transition: height 0.3s ease;
        }
        
        .service-card:hover {
            border-color: var(--border-strong);
            /*box-shadow: var(--shadow-md);*/
            transform: translateY(-3px);
        }
        .service-card:hover::before { height: 100%; }
        
        .service-card .service-icon {
            width: 48px; height: 48px;
            background: var(--cream);
            border-radius: var(--radius-sm);
            display: none;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.25rem;
            font-size: 1.25rem;
            color: var(--gold);
        }

        .service-card .info {  
            padding: 20px;          
            background: var(--cream);
            border-radius: var(--radius-sm);
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            margin: 0 20px;
            position: relative;
            bottom: 50px;
        }

        .service-card img{
            display: inline-block;
            width: 100%;
        }
        
        .service-card h4 {
            display: flex;
            font-size: 24px;
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: var(--navy);
            width: 100%;
        }
        
        .service-card p {            
            color: var(--text-tertiary);
            font-size: 16px;
            line-height: 1.7;
        }

                
        @media (max-width: 1024px) {
            .services-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 640px) {
            .services-grid { grid-template-columns: 1fr; }
        }

        /* Why Stratfin */
        .why-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 2rem;
        }
        
        .why-item {
            padding: 2rem;
            border-left: 2px solid var(--gold);
            background: linear-gradient(90deg, rgba(200, 162, 79, 0.03) 0%, transparent 100%);
        }

        .why-item img{
            display: block;
            width: 50px;
            height: auto;
            padding: 0;
            margin: 0 0 20px 0;
        }
        
        .why-item h4 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--navy);
        }
        
        .why-item p {
            
            color: var(--text-tertiary);
        }

        /* Insights Preview */
        .insights-list {
            display: flex;
            flex-direction: column;
            gap: 1px;
            background: var(--border);
            border-radius: var(--radius-md);
            overflow: hidden;
        }
        
        .insight-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            background: var(--white);
            transition: var(--transition);
            cursor: pointer;
            width: 100%;
            flex-direction: row;
            flex-wrap: wrap;
        }
        
        .insight-row:hover {
            background: var(--cream);
            padding-left: 2.5rem;
        }
        
        .insight-row .insight-meta {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: center;
            gap: 1rem;
        }
        
        .insight-tag {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--emerald);
            background: rgba(11, 110, 79, 0.08);
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius-sm);
        }
        
        .insight-row h4 {
            font-family: var(--font-body);
            font-size: 1rem;
            font-weight: 500;
            color: var(--navy);
        }
        
        .insight-row .date {
            
            color: var(--text-muted);
        }

        /* CTA Section */
        .cta-section {
            text-align: center;
            padding: 40px;
            background-image: url("../images/png/city-sky.png");
            position: relative;
            overflow: hidden;
        }

        .cta-section .container{
            display: block;
            padding: 40px;
            backdrop-filter: blur(1.25rem);
            background: linear-gradient(180deg,#414141b5);
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
        }
        
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(200,162,79,0.05)" stroke-width="0.5"/></svg>');
            background-size: 120px;
            opacity: 0.5;
        }
        
        .cta-section h2 {
            color: var(--white);
            margin-bottom: 1rem;
            position: relative;
        }
        
        .cta-section p {
            color: rgba(255,255,255,0.7);
            max-width: 500px;
            margin: 40px auto;
            position: relative;
        }



        /* ============================================================
           ABOUT PAGE
           ============================================================ */
        
        .page-header {
            background: var(--navy);
            padding: 8rem 0 4rem;
            text-align: center;
        }
        
        .page-header h1 {
            color: var(--white);
            margin-bottom: 1rem;
        }
        
        .page-header p {
            color: rgba(255,255,255,0.7);
            max-width: 600px;
            margin: 0 auto;
            font-size: 1.125rem;
        }
        
        .values-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }
        
        .value-card {
            text-align: center;
            padding: 2.5rem 2rem;
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            transition: var(--transition);
        }
        
        .value-card:hover {
            border-color: var(--gold);
            box-shadow: var(--shadow-md);
        }
        
        .value-card .value-number {
            font-family: var(--font-heading);
            font-size: 3rem;
            color: var(--gold);
            opacity: 0.3;
            line-height: 1;
            margin-bottom: 1rem;
        }
        
        .value-card h4 {
            font-size: 1.125rem;
            margin-bottom: 0.75rem;
        }

        /* Process Timeline */
        .process-timeline {
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        
        .process-step {
            display: grid;
            grid-template-columns: 80px 1fr;
            gap: 2rem;
            padding: 2rem 0;
            border-bottom: 1px solid var(--border);
            position: relative;
        }
        
        .process-step:last-child { border-bottom: none; }
        
        .process-number {
            font-family: var(--font-heading);
            font-size: 2.5rem;
            font-weight: 500;
            color: var(--gold);
            line-height: 1;
            opacity: 0.4;
        }
        
        .process-content h4 {
            font-size: 1.125rem;
            margin-bottom: 0.5rem;
        }

        /* Leadership */
        .leadership-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }
        
        .leader-card {
            text-align: center;
        }
        
        .leader-card .leader-photo {
            width: 200px; height: 200px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 1.5rem;
            border: 3px solid var(--cream);
            box-shadow: var(--shadow-md);
        }
        
        .leader-card h4 {
            font-size: 1.125rem;
            margin-bottom: 0.25rem;
        }
        
        .leader-card .role {
            
            color: var(--gold);
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 0.75rem;
        }
        
        .leader-card p {
            
            color: var(--text-tertiary);
        }

        /* ============================================================
           SERVICES PAGE
           ============================================================ */
        
        .service-detail {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start;
            padding: 4rem 0;
            border-bottom: 1px solid var(--border);
        }
        
        .service-detail:nth-child(even) {
            direction: rtl;
        }
        .service-detail:nth-child(even) > * {
            direction: ltr;
        }
        
        .service-detail:last-child { border-bottom: none; }
        
        .service-detail-content h3 {
            font-size: 1.75rem;
            margin-bottom: 1rem;
        }
        
        .service-list {
            list-style: none;
            margin-top: 1.5rem;
        }
        
        .service-list li {
            padding: 0.5rem 0;
            padding-left: 1.5rem;
            position: relative;
            font-size: 0.9375rem;
            color: var(--text-secondary);
        }
        
        .service-list li::before {
            content: '—';
            position: absolute;
            left: 0;
            color: var(--gold);
            font-weight: 600;
        }
        
        .service-detail-image {
            width: 100%;
            height: 350px;
            object-fit: cover;
            border-radius: var(--radius-md);
        }
        
        @media (max-width: 768px) {
            .service-detail { grid-template-columns: 1fr; gap: 2rem; }
            .service-detail:nth-child(even) { direction: ltr; }
        }

        /* ============================================================
           INDUSTRIES PAGE
           ============================================================ */
        
        .industries-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }
        
        .industry-card {
            padding: 2rem;
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            text-align: center;
            transition: var(--transition);
            cursor: pointer;
        }
        
        .industry-card:hover {
            background: var(--navy);
            border-color: var(--navy);
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }
        
        .industry-card:hover h4 { color: var(--white); }
        .industry-card:hover p { color: rgba(255,255,255,0.7); }
        
        .industry-card .industry-icon {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--emerald);
        }
        
        .industry-card:hover .industry-icon { color: var(--gold); }
        
        .industry-card h4 {
            font-size: 0.9375rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            transition: var(--transition);
        }
        
        .industry-card p {
            
            color: var(--text-tertiary);
            transition: var(--transition);
        }
        
        @media (max-width: 1024px) {
            .industries-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (max-width: 640px) {
            .industries-grid { grid-template-columns: repeat(2, 1fr); }
        }

        /* ============================================================
           TRANSACTIONS PAGE
           ============================================================ */
        
        .transaction-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .transaction-table th {
            text-align: left;
            padding: 1rem 1.5rem;
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--text-tertiary);
            border-bottom: 2px solid var(--border);
        }
        
        .transaction-table td {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--border);
            font-size: 0.9375rem;
        }
        
        .transaction-table tr {
            transition: var(--transition);
            cursor: pointer;
        }
        
        .transaction-table tr:hover {
            background: var(--cream);
        }
        
        .transaction-table .tx-sector {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--emerald);
            background: rgba(11, 110, 79, 0.08);
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius-sm);
        }
        
        .transaction-table .tx-size {
            font-family: var(--font-heading);
            font-weight: 500;
            color: var(--navy);
        }
        
        .transaction-table .tx-status {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--gold);
        }

        /* ============================================================
           INSIGHTS PAGE
           ============================================================ */
        
        .insights-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }
        
        .insight-card {
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: var(--transition);
            cursor: pointer;
        }
        
        .insight-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-4px);
        }
        
        .insight-card .insight-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        
        .insight-card .insight-body {
            padding: 1.5rem;
        }
        
        .insight-card .insight-category {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--emerald);
            margin-bottom: 0.75rem;
        }
        
        .insight-card h4 {
            font-size: 1.125rem;
            margin-bottom: 0.75rem;
            line-height: 1.4;
        }
        
        .insight-card .insight-excerpt {
            
            color: var(--text-tertiary);
            margin-bottom: 1rem;
            line-height: 1.6;
        }
        
        .insight-card .read-more {            
            font-weight: 500;
            color: var(--navy);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .insight-card .read-more::after {
            content: '→';
            transition: transform 0.2s;
        }
        
        .insight-card:hover .read-more::after {
            transform: translateX(4px);
        }

        /* ============================================================
           CAREERS PAGE
           ============================================================ */
        
        .careers-hero {
            background: var(--navy);
            padding: 8rem 0 4rem;
            text-align: center;
        }
        
        .careers-hero h1 { color: var(--white); margin-bottom: 1rem; }
        .careers-hero p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }
        
        .job-listing {
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 1.5rem 2rem;
            margin-bottom: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: var(--transition);
            cursor: pointer;
        }
        
        .job-listing:hover {
            border-color: var(--emerald);
            background: rgba(11, 110, 79, 0.02);
        }
        
        .job-listing .job-info h4 {
            font-size: 1.0625rem;
            margin-bottom: 0.25rem;
        }
        
        .job-listing .job-meta {
            
            color: var(--text-tertiary);
        }
        
        .job-listing .job-meta span {
            margin-right: 1rem;
        }

        /* ============================================================
           CONTACT PAGE
           ============================================================ */
        
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
        }
        
        .contact-info h3 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .contact-detail {
            margin-bottom: 2rem;
        }
        
        .contact-detail h5 {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 0.5rem;
        }
        
        .contact-detail p {
            font-size: 1rem;
            color: var(--text-secondary);
        }
        
        
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            
            font-weight: 500;
            color: var(--navy);
            margin-bottom: 0.5rem;
        }
        
        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 0.875rem 1rem;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            font-family: var(--font-body);
            font-size: 0.9375rem;
            color: var(--text-primary);
            background: var(--white);
            transition: var(--transition);
        }
        
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--emerald);
            box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.1);
        }
        
        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }
        
        @media (max-width: 768px) {
            .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
        }

        /* ============================================================
           FOOTER
           ============================================================ */
        footer{}
        
        .footer {
            background: var(--navy);
            color: var(--white);
            padding: 4rem 0 2rem;
            font-size: 14px !important;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
        }

        .footer-brand{}
        
        .footer-brand svg {           
            display: block;
            width: 50px;
        }
        
        .footer-brand p {
            color: rgba(255,255,255,0.6);            
            line-height: 1.7;
            max-width: 300px;
        }
        
        .footer-column h5 {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 1.25rem;
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column li {
            margin-bottom: 0.75rem;
        }
        
        .footer-column a {
            color: rgba(255,255,255,0.6);
            
            transition: var(--transition);
        }
        
        .footer-column a:hover {
            color: var(--white);
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .footer-bottom p {
            color: rgba(255,255,255,0.4);            
        }        
        
        .footer-grid { grid-template-columns: 1fr ; gap: 2rem; }


        .footer-grid .footer-brand{ 
            width: 70px;
            height: auto;
         }

         .footer-grid .footer-brand svg, .footer-grid .footer-brand img{ 
            width: 100%;
            height: auto;
         }

        
        .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

        .footer-links{ 
            display: flex;
            flex-direction: row; 
            flex-wrap: wrap;
            gap: 7px; 
            text-align: center;            
            width: 100%;
        }

        .footer-links-inner{ 
            display: flex;
            flex-direction: row; 
            flex-wrap: wrap;
            text-align: center;            
            width: 100%;
            margin: 20px 0;
            row-gap: 10px;
        }

        .footer-links a{ 
            display: flex;
            flex-direction: row; 
            flex-wrap: nowrap;
            width: 100%;
        }

        .footer-links a p{ 
            display: flex;
            flex-direction: row; 
            flex-wrap: nowrap;
            width: 100%;
            color: var(--text-white);
        }

        .footer-links a img, .footer-links a svg{ 
            display: flex;
            flex-direction: row; 
            flex-wrap: nowrap;
            width: 25px;
            height: auto;
            margin: 0 20px 0 0;
        }

        
        .footer-heading {
            box-sizing: border-box;
            margin: 0px 0px -5px 0;
            font-family: "SourceSansPro-Semibold" !important;
            color: var(--gold);
        }

        /* ============================================================
           UTILITIES
           ============================================================ */
        
        .text-center { text-align: center; }
        .mb-1 { margin-bottom: 0.5rem; }
        .mb-2 { margin-bottom: 1rem; }
        .mb-3 { margin-bottom: 1.5rem; }
        .mb-4 { margin-bottom: 2rem; }
        .mb-5 { margin-bottom: 3rem; }
        .mt-5 { margin-top: 3rem; }
        
        .max-w-2xl { 
            max-width: 42rem; 
            margin-left: auto; 
            margin-right: auto; 
        }

        .max-w-3xl { 
            max-width: 48rem; 
            margin-left: auto; 
            margin-right: auto; 
        }

        .whatsapp-chat{
            display: flex;
            flex-direction:row;
            justify-content: center;
            align-content: center;
            width: 40px;
            height: 40px;		
            box-sizing: border-box;	
            overflow: hidden;
            z-index: 8000;
            border: none;	
            text-decoration: none;
            animation: fade-in-main-content .3s ease-in forwards;
            -webkit-animation: fade-in-main-content .3s ease-in forwards;
            -moz-animation: fade-in-main-content .3s ease-in forwards;
        }

	#openForm{        
		display: none;
        position: fixed;
        z-index: 999999999999999999999999;
        right: 20px;
        bottom: 20px;
		flex-direction:row;
		justify-content: center;
		align-content: center;
		align-items: center;		
		justify-items: center;		
		width: 30px;
		height: 30px;		
		box-sizing: border-box;	
		overflow: hidden;
		border: none;	
		text-decoration: none;
		animation: fade-in-main-content .3s ease-in forwards;
		-webkit-animation: fade-in-main-content .3s ease-in forwards;
		-moz-animation: fade-in-main-content .3s ease-in forwards;
	}


	.whatsapp-chat img, .whatsapp-chat svg{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-content: center;
		width: 40px;
		height: 40px;		
		box-sizing: border-box;	
		overflow: hidden;
		z-index: 8000;
		border: none;	
		text-decoration: none;
		animation: burgerPop 0.4s ease forwards;
	}

	

	#openForm img, #openForm svg{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-content: center;
		width: auto;
		height: 26px;		
		box-sizing: border-box;	
		overflow: hidden;
		z-index: 8000;
		border: none;	
		text-decoration: none;
		animation: burgerPop 0.4s ease forwards;
	}

	.mail_to a, .whatsapp-chat a, #openForm a{
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	text-decoration: none;}

    /* 1. LAYOUT & POSITIONING */
    .cookie-notice-wrapper {
        position: absolute;
        box-sizing: border-box;
        bottom: 20px;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999; /* Ensure it stays above everything */
        background: var(--navy);        
        padding: 20px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
        display: none; /* Hidden by default, shown via JS */
        /*animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);*/
        /* backdrop-filter: blur(10px);*/ 
        /* max-width: 450px;  */ 
		animation: burgerPop 0.4s ease forwards;
    }

    /* 2. TYPOGRAPHY */
    .cookie-text h2 {
        font-size: 22px;
        font-weight: 400;
        color: var(--gold);
        line-height: 1.6;
        margin: 0 0 20px 0;
        font-family: var(--font-heading);
    }

    .cookie-text p {
        color: #FFFFFF;
        font-size: 13px;
		word-spacing: 1px;
        margin-bottom: 20px;
        font-family: var(--font-body);
		font-weight: 100 !important;
        font-weight: normal;
        letter-spacing: 0.4px;
    }    

    .gold-link {
        color: #3D5DAA;
        text-decoration: underline;
        transition: opacity 0.3s;
    }
	
    .gold-link:hover { opacity: 0.8; }

    /* 3. BUTTONS */
    .cookie-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        border-top: solid 1px var(--gold);
    }

	.cookie-actions .settings-wrap{
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
	}

	.cookie-actions .settings-wrap img, .cookie-actions .settings-wrap svg {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 20px;
		height: auto;
	}

    .btn-sharing {
        font-size: 13px;
		color: var(--text-white);
		text-transform: uppercase;
		letter-spacing: 2px;		
		transition: color 0.3s;
		text-decoration: none !important;
		text-underline-offset: 7px;
		animation: burgerPop 0.7s ease forwards;
    }

    .btn-sharing:hover { 
        color: #fff; 
        text-decoration-style: solid;
        text-decoration-thickness: 1px;
        text-decoration: underline;
        text-underline-offset: 7px;
        text-decoration-color: var(--gold);
        /*text-decoration-color: rgba(200, 155, 60, 0.3);*/
    }

    .btn-agree {
        background: var(--gold);
        color: #fff;
        letter-spacing: 1.2px;
        font-size: 13px;
        cursor: pointer;
		animation: burgerPop 0.7s ease forwards;
        /*transition: transform 0.2s, background 0.3s;*/
        align-items: center;
        padding: 10px 20px;
        font-family: var(--font-body);
        font-weight: 500;
        text-transform: uppercase;
        border-radius: var(--radius-sm);
        cursor: pointer;
        transition: var(--transition);
        border: none;
    }

    .btn-agree:hover {
        background: var(--gold-light);     
        /*border: 2px solid rgba(200, 155, 60, 0.3); */
        transition: transform 0.2s, background 0.5s;
		cursor: pointer;
    }

    /* COOKIE SHARING SETTING - RESTORED & FIXED */
    .settings-modal {
        display: none;        
        position: absolute;
        box-sizing: border-box;       
        width: 100%;
        z-index: 9999999999999999999; /* Ensure it stays above everything */
        inset: 0;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(5px);
        z-index: 9999999999; /* Restored your z-index */
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .modal-content {
        background: var(--navy);
        width: 100%;
        max-width: 500px;
        border: 1px solid var(--gold);
        color: #fff;
        overflow: hidden;
        padding: 0 0 20px 0;
        margin: 160px 0 0 0;
    }

    .modal-header {
        padding: 20px;
        border-bottom: 1px solid #333;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .modal-header h3 { 	
        color: var(--gold);
        margin: 0;
        font-size: 22px;
        font-family: var(--font-heading);
	}

    .close-modal { 
        background: none; 
        border: none; 
        color: #b70101;
        cursor: pointer; 
        line-height: 1;
        padding: 0;
    }

	.close-modal:hover { 
       animation: spin 0.8s linear infinite;
    }

    .modal-body { padding: 20px; }

    .modal-footer { padding: 0 20px; }

    .setting-item {
        display: flex;
		align-items: center;
		justify-items: center;
        justify-content: space-between;
        align-items: flex-start;
        padding: 15px 0;
        border-bottom: 1px solid #333;
    }

	.setting-info{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.toggle-container{
		display: flex;
	}

	.setting-label { font-weight: 300; font-size: 16px; letter-spacing: .9px; }

    .setting-info p { 
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		width: 100%;
		font-size: 14px; 
		color: #FFFFFF; 
		margin: 5px 0 0; 
        font-family: var(--font-body);
	}

    .setting-label { 
		color: var(--gold);
        margin: 0;
        font-size: 18px;
        font-family: var(--font-heading);
	}

    /* FIXED SLIDER LOGIC */
    .setting-item .switch { 
		position: relative; 
		display: inline-block; 
		width: 70px; 
		height: 20px; }

    .switch input { 
		opacity: 0; 
		width: 0; 
		height: 0; }

    .setting-item .switch .slider {
        position: absolute; 
        cursor: pointer; 
        inset: 0;
        background-color: #444;
		background-image: none !important; 
        transition: .4s; 
        border-radius: 34px;
		width: 38px; 
    }

    .setting-item .switch  .slider::before {
        position: absolute; 
        content: ""; 
        height: 14px; 
        width: 16px; /* Your original wide knob */
        bottom: 3px;
        background-color: white; 
        transition: .4s; 
        border-radius: 15px; /* Adjusted to fit the wider shape */		
    }
	

    .setting-item input:checked + .slider { 
		background-color: #BA0B0B !important;    
        display: flex;
        align-items: center;
        justify-items: center;
		background-image:none !important;		
	}

    /* THE FIX: Translation calculated for a 60px track with a 28px knob */
    .setting-item input:checked + .slider::before { 
        transform: translateX(20px) !important; 
        background-color: #fff; 
    }

    /* #tinSider */
    .toggle-switch input:checked + .switch .slider::before { 
        transform: translateX(20px); 
        background-color: #fff; 
    }

    .btn-save {
        width: 100%; 
        padding: 15px; 
        border: none; 
        background: var(--gold);
        color: white; 
        font-weight: bold; 
        cursor: pointer; 
        font-size: var(--font-size-body);
        font-family: var(--font-body);
    }

    .nav .active-page{
        color: var(--gold) !important;
    }

    .visible-sm{display: block !important;}

    .visible-lg{display: none;}

    /* Initial Form Styling */
    .main-form-wrapper { max-width: 400px; margin: 50px auto; }
    .btn-submit-main {
        width: 100%; padding: 15px; background: var(--gold);
        border: none; border-radius: 50px; color: #fff; font-weight: 700; cursor: pointer;
    }

    /* Modal Overlay */
    /* CRITICAL: High Z-Index to ensure it's on top */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #061023;
        backdrop-filter: blur(10px);
        z-index: 999999 !important; /* Force to front */
        display: none; /* JS will change this to flex */
        justify-content: center;
        align-items: center;
        padding: 20px;
        box-sizing: border-box;
    }

    .modal-content {
        /*background: var(--background--light);*/
        /*padding: 40px 0 0 0;*/
        box-sizing: border-box;
        width: 100%;
        /*height: 100%;*/
        position: relative;
        color: var(--white);
        overflow: scroll;
		animation: burgerPop 0.4s ease forwards;
    }

    .modal-content form{
        display: flex;
        flex-direction: row;
        flex-wrap:wrap;
        /*background: var(--background--light);*/
        box-sizing: border-box;        
        height: 100%;
        padding: 0;        
        margin:0 20px 10px 20px;
        overflow: scroll;
    }

    .modal-content h2{
        font-family: 'playfair_display', sans-serif;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        color: var(--white);
        font-size: 22px;
        padding: 0;
        margin: 50px 0 5px 0;
        text-align: center;

    }

    .modal-input, input, input[type="date"] {
        width: 100%;
        padding: 12px;
        margin: 10px 0;
        background: transparent;
        border: 1px solid #444;
        color: var(--charcoal);
        box-sizing: border-box;
    }

    @keyframes slideUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Custom Styled Checkbox */
    /**/

    input[type="checkbox"]{
        transition: all 0.2s ease-in-out;
        animation: burgerPop 0.4s ease forwards;
    }    

    /* Specific override for disabled*/
    #disabled{
        border-color: var(--white); /* A bright blue for analytics */
    }

    #disabled:checked::before {
        box-shadow: inset 1em 1em #BA0B0B; /* Blue checkmark instead of Gold */
    }

    /* Specific override for Analytics and pref-marketing*/
    #pref-analytics, #pref-marketing, #form-toggle {
        transition: all 0.2s ease-in-out;
        animation: burgerPop 0.4s ease forwards;
        border-color:transparent; /* A bright blue for analytics */
    }

    #pref-analytics:checked::before, #pref-marketing:checked::before, #form-toggle:checked::before  {
        box-shadow: inset 1em 1em transparent; /* Blue checkmark instead of Gold */
    }

    /* The Checkmark (using a pseudo-element) */
    input[type="checkbox"]::before {
        content: "";
        width: 10px;
        height: 10px;
        transform: scale(0);
        transition: 120ms transform ease-in-out;
        box-shadow: inset 1em 1em #BA0B0B;
        transform-origin: bottom left;
        clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    }

    /* Display checkmark when checked */
    input[type="checkbox"]:checked::before {
        transform: scale(1);
    }

    /* Subtle 'Locked' effect for disabled state */
    input[type="checkbox"]:disabled {       
        background-color: #001a38 !important; /* Deeper Navy */
        opacity: 0.9;
        filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.2));
        width: 38px;
        height: 20px;
        border-radius: 4px;
        transition: all 0.2s ease-in-out;
        appearance: none !important;        
        margin: 0 !important;
        padding: 0 !important;
        display: grid !important;
        place-content: center !important;
    }

    /* The Checkmark (using a pseudo-element) */
    input[type="checkbox"]::before {
        content: "";
        width: 10px;
        height: 10px;
        transform: scale(0);
        transition: 120ms transform ease-in-out;
        box-shadow: inset 1em 1em #BA0B0B;
        transform-origin: bottom left;
        clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    }

    /* Display checkmark when checked */
    input[type="checkbox"]:checked::before {
        transform: scale(1);
    }    


    /* Overlay & Form Styling */
    .form-overlay {        
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(10px);
        /*background: rgba(0,0,0,0.7);*/
        display: none; /* Hidden by default */
        justify-content: center;
        align-items: center;
        z-index: 777777;
    }

    .form-card {   
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        row-gap: 20px;     
        padding: 30px;        
        width: 100%;
        max-width: 500px;
        position: relative;
        animation: slideUp 0.3s ease;
        font-family: var(--font-body);
        background-color: var(--navy);
    }

    .form-card p{
        color: var(--text-white);
    }

    .form-card .top{
        display: flex; 
        flex-direction:row; 
        flex-wrap:nowrap; width: 100%; 
        justify-content:space-between; 
        align-content:space-between; 
        align-items: center; 
        justify-items:center; 
        border-bottom: 1px solid #333;
        padding: 0 0 20px 0;
    }

    .form-card .top h2{
        color: var(--gold);
        margin: 0;
        font-size: 28px;
        font-family: var(--font-heading);
    }     
    


    .form-card #contactForm .form-actions .btn-reset {
        background: #f0f0f0;
        border: none;
		font-weight: 500;
		font-size: 18px;
        cursor: pointer;
        flex: 1;
        color: #666;
        animation: burgerPop 0.4s ease forwards;
        padding: 10px 20px;
        font-family: var(--font-body);
    }

    .form-card #contactForm .form-actions .btn-submit{ 
        animation: burgerPop 0.4s ease forwards;
		background: var(--gold);
		color: #fff;
		border: none;
		padding: 10px 20px;
        font-family: var(--font-body);
		font-weight: 500;
		font-size: 18px;
		cursor: pointer;
		transition: transform 0.2s, background 0.3s;
    }

     .form-card #contactForm .form-actions .btn-submit:hover{ 
        animation: burgerPop 0.4s ease forwards;
		background: var(--gold-light);
		color: #fff;
		border: none;
		padding: 10px 20px;
        font-family: var(--font-body);
		font-weight: 500;
		font-size: 18px;
		cursor: pointer;
		transition: transform 0.2s, background 0.3s;
    }

    .form-card #contactForm .form-group input{
        width: 100%;
        padding: 12px;
        font-size: 16px;
        box-sizing: border-box;
        font-family: var(--font-body);
        animation: burgerPop 0.4s ease forwards; 
        background-color: var(--white);
    }

    .form-card #contactForm .form-group textarea {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        border: none;
        box-sizing: border-box;
        font-family: var(--font-body);
        animation: burgerPop 0.4s ease forwards;        
		border: solid 1px var(--gold);
    }
    

    .close-modal {			
        background: none;
        border: none;
        color: #b70101;
        font-size: 30px;
        cursor: pointer;
    }

    @keyframes slideUp {
        from { transform: translateY(50px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    .close-call-back{
        display: flex;
        position: absolute;       
        right: 20px;
        margin: 0;        
    }

    .close-btn {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 30px;
        background: none;
        border: none;
        cursor: pointer;
        color: #b70101;
        animation: burgerPop 0.4s ease forwards;
    }

    #contactForm, .form-group{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        font-family: var(--font-body);
        font-size: 18px;
    }

    /* Form Elements */
    .form-group input[type="tel"], 
    .form-group input[type="text"], 
    .form-group input[type="number"],
    .form-group textarea {
        display: flex;
        width: 100%;
        margin: 0;
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        box-sizing: border-box;
        font-family: 'SpaceGrotesk-Lite' !important;
        animation: burgerPop 0.4s ease forwards;
        background-color: transparent !important;
        color: #FFF;
    }

    .form-actions {
        display: flex;
        gap: 10px;
        margin: 0;
        width: 100%;
        justify-content: space-between;
        align-content: space-between;
        align-items: center;
        justify-items: center;
    }

    .btn-submit { 
        background: var(--close-btn); 
        color: white; 
        border: none; 
        padding: 10px 20px;  
        cursor: pointer; 
        flex: 2; 
        font-family: 'SpaceGrotesk-Bold', sans-serif !important;
        animation: burgerPop 0.4s ease forwards;            
    }

    .btn-submit:hover {
        padding: 8px 16px;
        background: linear-gradient(135deg, #012957 0%, #0c4a9c 50%, #196cdf 100%);
        /*border: 2px solid rgba(200, 155, 60, 0.3);*/
        transition: transform 0.2s, background 0.3s;
    }
            
    .btn-reset { 
        background: #f0f0f0; 
        border: none; 
        padding: 10px 20px;
        font-family: var(--font-body);
        cursor: pointer; 
        /*flex: 1;*/ 
        color: #666; 
        animation: burgerPop 0.4s ease forwards;
    }

	.sm{
		display: block !important;
	}
	
	.lg{
		display: none !important;
	}

    .scroll-btn {        
        cursor: pointer;
        z-index: 2;
        transition: transform 0.3s ease, opacity 0.3s ease;
        display: none;
        position: relative;
        /*bottom: 30px;
        right: 22.4px;*/
        width: 30px;
        height: 30px;
        border: none;
        background: transparent;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
        z-index: 1000;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        justify-self: right;
        margin: 0 0 0 auto;
    }
    

        .scroll-btn img {            
            /* Optional: Add a CSS bounce if the image isn't already animated */
            animation: bounce 2s infinite;
            transform: rotate(90deg);
            transform-origin: left;
        }

        .scroll-btn:hover {
            transform: scale(1.1);
        }

        /* Optional CSS Animation */
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
            40% {transform: translateY(-10px);}
            60% {transform: translateY(-5px);}
        }

        .scroll-btn.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            pointer-events: auto;
        }

        .scroll-btn img {
            width: 100%;
            height: 100%;
            display: block;
        }

        @media (prefers-reduced-motion: reduce) {
            .scroll-btn {
                transition: none;
            }
            html {
                scroll-behavior: auto;
            }
        }


	/* DATE AND TIME */
	.datetime-container {
		display: none;
		background-color: #fff;
		padding: 20px;
		border-radius: 8px;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
		text-align: center;
	}

	.datetime-container p {
		margin: 8px 0;
		font-size: 1.1em;
		color: #333;
	}

	.datetime-container p#region {
		font-style: italic;
		color: #777;
	}
}


    @media screen and (min-width:971px){  
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2.5rem 3.5rem;
            max-width: 1100px;
            margin: 0 auto;
            padding: 4rem 1.5rem;
            align-items: start;           /* prevents equal-height stretching */
        }

        .about-card {
            background: #ffffff;
            border-left: 3px solid #C89B3C;   /* gold accent */
            padding: 40px;
            position: relative;
        }

        /* Staggered offset — push right-column cards down */
        .about-card.offset {
            margin-top: 100px;
        }

        .card-label {
        display: inline-block;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: #C89B3C;
        margin-bottom: 0.75rem;
        }

        .about-card h2 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #0A1D3E;               /* navy */
        margin: 0 0 1rem 0;
        line-height: 1.3;
        }

        .about-card p {
        font-size: 1rem;
        line-height: 1.7;
        color: #475569;
        margin: 0;
        }

        .about-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
        }

        .about-card li {
        position: relative;
        padding-left: 1.25rem;
        margin-bottom: 0.6rem;
        font-size: 0.95rem;
        line-height: 1.6;
        color: #334155;
        }

        /* Gold square bullets */
        .about-card li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.55em;
        width: 5px;
        height: 5px;
        background: #C89B3C;
        flex-shrink: 0;
        }

        .hero-image img {
            /* Modern browsers
            mask-image: linear-gradient(to right, transparent 0%, black 20%);
            mask-size: 100% 100%;
            mask-repeat: no-repeat;   */

            /* Safari / older WebKit
            -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%);
            -webkit-mask-size: 100% 100%;
            -webkit-mask-repeat: no-repeat;   */
            }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        
        body {
            font-size: var(--font-size-body);
            font-family: var(--font-body);
            color: var(--text-primary);
            background: var(--white);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        svg, img {
            shape-rendering: crispEdges;
            text-rendering: optimizeLegibility;
            image-rendering: -webkit-optimize-contrast;
            image-rendering: optimizeQuality;
            transform: translateZ(0);
            will-change: transform;
        }

        /* Typography Scale */
        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-heading);
            font-weight: 500;
            line-height: 1.2;
        }
        
        h1 { font-size: clamp(76px, 5vw, 4rem); letter-spacing: -0.02em; }

        h2 { font-size: clamp(60px, 3vw, 2.5rem); }

        h3 { font-size: clamp(46px, 2vw, 1.5rem); }

        h4 { font-size: 28px; font-family: var(--font-heading); font-weight: 600; }
        
        /*p { color: var(--text-secondary); font-size: 18px; line-height: 1.7; }*/
        
        a { color: inherit; text-decoration: none; transition: var(--transition); }
        
        .text-gold { color: var(--gold); }
        .text-emerald { color: var(--emerald); }
        .text-muted { color: var(--text-muted); }
        
        .overline {
            font-family: var(--font-body);
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 1rem;
            display: block;
        }

        /* Layout */
        .container {
            width: 100%;
            margin: 0 auto;
        }

        /* Layout */
        .hero .container {
            display: flex;
            flex-direction: row;
            flex-wrap:wrap;
            align-content: center;
            width: 100%;
            margin: 0 20px;
            padding: 0;
        }
        
        .section {
            padding: 6rem 0;
        }
        
        .section-light { background: var(--white); padding:80px; }
        .section-cream { background: var(--cream); }
        .section-navy { background: var(--navy); color: var(--white); }
        .section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }
        .section-navy p { color: rgba(255,255,255,0.75); }

        /* Grid Systems */
        .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
        .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
        .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
        
        @media (max-width: 1024px) {
            .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 640px) {
            .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
            .container { padding: 0 1.25rem; }
            .section { padding: 4rem 0; }
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 10px 20px;
            font-family: var(--font-body);            
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: var(--transition);
            border: none;
        }
        
        .btn-primary {
            background: var(--navy);
            color: var(--white);
        }

        .btn-primary:hover {             
            background: transparent;
            transform: translateY(-1px); 
            box-shadow: var(--shadow-md); 
        }
        
        .btn-outline {
            color: var(--white);
            background: var(--navy-light); 
            border: 1px solid var(--border-strong);
        }

        .btn-outline:hover { 
            background: var(--navy); 
            color: var(--white); 
            border-color: var(--navy); 
        }
        
        .btn-gold {
            background: var(--gold);
            color: var(--navy);
        }
        .btn-gold:hover { background: var(--gold-light); }

        /* Cards */
        .card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 2rem;
            transition: var(--transition);
        }
        .card:hover {
            border-color: var(--border-strong);
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 1000;
            background: rgba(250, 250, 248, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            transition: var(--transition);
            overflow: visible;
        }
        
        .navbar.scrolled {
            box-shadow: var(--shadow-sm);
        }
        
        .navbar-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            overflow: visible;
            width: 100%;
            padding: 25px;
            gap: 40px;
        }
        
        .logo {
            display: flex;
            flex-direction: row;   
            flex-wrap: nowrap;         
            animation: burgerPop 0.4s ease forwards;
        }

        .logo svg{
            display: flex;
            width: 220px;
            height: auto;
        }

        .logo span { color: var(--gold); font-weight: 400; }
        
        .nav-links {
            display: flex;
            align-items: center;
            gap: 20px;
            list-style: none;
        }
        
        .nav-links a {
            font-weight: 500;
            color: var(--text-secondary);
            letter-spacing: 0.5px;
            position: relative;
            padding: 0.25rem 0;
            font-family: var(--font-body);
            font-size: 16px;
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -2px; left: 0;
            width: 0; height: 1.5px;
            background: var(--gold);
            transition: var(--transition);
        }
        
        .nav-links a:hover, .nav-links a.active {
            color: var(--navy);
        }
        .nav-links a:hover::after, .nav-links a.active::after {
            width: 100%;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
        }
        
        @media (max-width: 1024px) {
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 72px; left: 0; right: 0; bottom: 0;
            background: var(--white);
            z-index: 999;
            padding: 2rem;
            transform: translateX(100%);
            transition: transform 0.3s ease;
        }
        .mobile-menu.open { transform: translateX(0); }
        .mobile-menu a {
            display: block;
            padding: 1rem 0;
            font-size: 1.125rem;
            font-weight: 500;
            border-bottom: 1px solid var(--border);
            color: var(--navy);
        }

        /* ============================================================
           PAGE TRANSITIONS
           ============================================================ */
        
        .page {
            display: none;
            animation: fadeIn 0.5s ease;
            padding-top: 92.4px;
        }

        .page.active { display: block; }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* ============================================================
           HOME PAGE
           ============================================================ */
        /* FOR HERO */
        .hero {
            position: relative;
            /* min-height: calc(100vh - 92.4px);*/
            height: 87vh;
            display: flex;
            /*align-items: center;*/
            align-items: center;
            /*background: linear-gradient(135deg, var(--navy) 0%, #0d2e56 50%, var(--navy-dark) 100%);*/
            overflow: hidden;
            /*margin: 0 2rem;*/            
            background-image: url("../images/png/all_currency_bg.png");
            background-size: contain;
            background-repeat: no-repeat;
            background-position: top right;
            margin:  0 -20px 0 0;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            /*background: url('../images/svg/hero_1_landing_page1.svg') top center/cover no-repeat;*/
            /*opacity: 0.15;*/
        }
        
        .hero-content {           
            display: flex;
            flex-direction: row;
            position: relative;
            flex-wrap:wrap;
            justify-content: left;
            align-content: center;
            justify-items: center;
            align-items: center;
            width: 50%;
            margin: 0;
            padding: 0 0 0 80px;
            z-index: 2;
        }

        .hero-image {
            display: none;
            flex-direction: row;
            flex-wrap: wrap;
            margin: 0;
            width: 50%;
        }

        .hero-image img, .hero-image svg{
            display: flex;
            flex-direction: row;
            margin: 0 auto;
            width: 100%;
            height: auto;

            mask-image: linear-gradient(to right, transparent 0%, black 30%);
            mask-size: 100% 100%;
            mask-repeat: no-repeat;

            /* Safari / older WebKit */
            -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
            -webkit-mask-size: 100% 100%;
            -webkit-mask-repeat: no-repeat;
        }
        
        .hero .overline {
            color: var(--gold);
            margin-bottom: 1.5rem;
        }
        
        .hero h1 {
            /*color: var(--white);*/
            margin-bottom: 1.5rem;
            font-weight: 500;
        }
        
        .hero p {
            /*color: rgba(255,255,255,0.8);*/
            font-size: 1.125rem;
            max-width: 600px;
            margin-bottom: 2.5rem;
            line-height: 1.7;
        }
        
        .hero-cta {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        /* FOR ABOUT */
        .about {
            position: relative;
            min-height: calc(100vh - 72px);
            display: flex;
            align-items: center;
            /*background: linear-gradient(135deg, var(--navy) 0%, #0d2e56 50%, var(--navy-dark) 100%);*/
            overflow: hidden;
        }
        
        .about::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('../images/jpg/about_stratfin_advisory.jpg') center/cover;
            /*opacity: 0.15;*/
        }
        
        .about-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
        }
        
        .about .overline {
            color: var(--gold);
            margin-bottom: 1.5rem;
        }
        
        .about h1 {
            color: var(--white);
            margin-bottom: 1.5rem;
            font-weight: 500;
        }
        
        .about p {
            color: rgba(255,255,255,0.8);
            font-size: 1.125rem;
            max-width: 600px;
            margin-bottom: 2.5rem;
            line-height: 1.7;
        }
        
        .about-cta {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }


        /* Stats Bar */
        .stats-bar {
            /*background: var(--cream);
            border-bottom: 1px solid var(--border);*/
            padding: 50px 0;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, auto);
            /*justify-items: center;*/
            justify-content: center;
            align-content: center;
            gap: 24px;
        }
        
        .stat-item {
            text-align: center;
            padding: 0 1rem;
            /*border-right: 1px solid var(--border);*/
        }

        .stat-item:last-child { 
            border-right: none; 
        }
        
        .stat-value {
            font-family: var(--font-heading);
            font-size: 46px;
            font-weight: 500;
            color: var(--gold);
            line-height: 1;
            margin-bottom: 0.5rem;
            text-align: left;
        }

        .stat-value-title{
            font-family: var(--font-heading);
            font-size: 60px;
            font-weight: 500;
            color: var(--dark-blue);
            line-height: 1;
            margin:40px 0;
            text-align: center;
        }
        
        .stat-value-p{
            font-family: var(--font-heading);
            font-weight: 500;
            color: var(--navy);
            margin: 40px auto;
            font-size: 28px;
            font-weight: 300;
            line-height: 50px;
            width: 60%;
            text-align: center;
        }

        .stat-label {
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--text-tertiary);
        }


        /* ═══════════════════════════════════════════════════════════════
        BRANDED SEPARATOR
        ═══════════════════════════════════════════════════════════════ */

        .branded-separator {
        width: 100%;
        padding: 3rem 1.25rem;          /* vertical breathing room */
        box-sizing: border-box;
        }

        /* Flex container: line | logo | line */
        .branded-separator__inner {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 60%;
            margin: 50px auto 20px auto;
        }

        .branded-separator__inner2{
            width: 50% !important;
            margin: 0 auto 50px auto;
        }

        /* The horizontal rules */
        .separator-line {
            flex: 1;                        /* grow to fill space */
            height: 1px;
            border-top: solid 1px #d6d1ca;
            opacity: 0.5;      
        }

        /* The SVG logo mark */
        .branded-separator__inner svg, .branded-separator__inner2 svg{
            width: 20px;
            height: 20px;
            flex-shrink: 0;                 /* never squish the icon */
            display: block;
        }

        /* If you keep the double-wrapped inner div, ensure it also flexes */
        .branded-separator__inner2 .branded-separator__inner2{
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 80%;

        }

        .branded-separator__hr {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .branded-separator__hr__inner {
            width: 1px;
            height: 100px;
            margin: 50px 0 0 0;
            border-right: solid 1px #d6d1ca;
        }

     
        @media (max-width: 768px) {
            .stats-grid { grid-template-columns: repeat(1, 1fr); }
            .stat-item:nth-child(2) { border-right: none; }
            .stat-item { border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
        }

        /* Who We Are Home */
        .who-we-are-home {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }
        
        .who-we-are-home .image-wrapper {
            position: relative;
        }
        
        .who-we-are-home img {
            width: 100%;
            height: 500px;
            object-fit: cover;
            border-radius: var(--radius-md);
        }
        
        .who-we-are-home .image-accent {
            position: absolute;
            bottom: -20px; right: -20px;
            width: 150px; height: 150px;
            border: 2px solid var(--gold);
            border-radius: var(--radius-md);
            z-index: -1;
        }
        
        @media (max-width: 768px) {
            .who-we-are-home { grid-template-columns: 1fr; gap: 2rem; }
            .who-we-are-home img { height: 300px; }
        }

        /* Services Preview */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .service-card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            /*padding: 2rem;*/
            transition: var(--transition);
            cursor: pointer;
            position: relative;
            overflow: visible;
        }
        
        .service-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 3px; height: 0;
            background: var(--gold);
            transition: height 0.3s ease;
        }
        
        .service-card:hover {
            border-color: var(--border-strong);
            box-shadow: var(--gold-lightd);
            transform: translateY(-3px);
        }
        .service-card:hover::before { height: 100%; }
        
        .service-card .service-icon {
            width: 48px; height: 48px;
            background: var(--cream);
            border-radius: var(--radius-sm);
            display: none;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.25rem;
            font-size: 1.25rem;
            color: var(--gold-light);
        }

        .service-card .info {  
            padding: 40px;          
            background: var(--cream);
            border-radius: var(--radius-sm);
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            margin: 0 40px;
            position: relative;
            bottom: 50px;
        }

        .service-card img{
            display: inline-block;
            width: 100%;
        }
        
        .service-card h4 {
            display: flex;
            font-size: 28px;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--navy);
            width: 100%;
            letter-spacing: 1px;
        }
        
        .service-card p {
            
            color: var(--text-tertiary);
            line-height: 1.6;
        }
        
        @media (max-width: 1024px) {
            .services-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 640px) {
            .services-grid { grid-template-columns: 1fr; }
        }

        /* Why Stratfin */
        .why-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }
        
        .why-item {
            padding: 2rem;
            border-left: 2px solid var(--gold);
            background: linear-gradient(90deg, rgba(200, 162, 79, 0.03) 0%, transparent 100%);
        }

        .why-item img{
            display: block;
            width: 50px;
            height: auto;
            padding: 0;
            margin: 0 0 20px 0;
        }
        
        .why-item h4 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--navy);
        }
        
        .why-item p {            
            color: var(--text-tertiary);
        }

        /* Insights Preview */
        .insights-list {
            display: flex;
            flex-direction: column;
            gap: 1px;
            background: var(--border);
            border-radius: var(--radius-md);
            overflow: hidden;
        }
        
        .insight-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 40px 80px;
            background: var(--white);
            transition: var(--transition);
            cursor: pointer;
        }
        
        .insight-row:hover {
            background: var(--gold-light);
            padding-left: 2.5rem;
        }
        
        .insight-row .insight-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .insight-tag {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--emerald);
            background: rgba(11, 110, 79, 0.08);
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius-sm);
        }
        
        .insight-row h4 {
            font-family: var(--font-body);
            font-size: 1rem;
            font-weight: 500;
            color: var(--navy);
        }
        
        .insight-row .date {
            
            color: var(--text-muted);
        }

        /* CTA Section */       
        .cta-section {
            text-align: center;
            padding: 80px;
            background-image: url("../images/png/city-sky.png");
            position: relative;
            overflow: hidden;
        }

        .cta-section .container{
            display: block;
            padding: 40px;
            backdrop-filter: blur(1.25rem);
            background: linear-gradient(180deg,#414141b5);
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
        }

        
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(200,162,79,0.05)" stroke-width="0.5"/></svg>');
            background-size: 120px;
            opacity: 0.5;
        }
        
        .cta-section h2 {
            color: var(--white);
            margin-bottom: 1rem;
            position: relative;
        }
        
        .cta-section p {
            color: rgba(255,255,255,0.7);
            max-width: 500px;
            margin: 0 auto 2rem;
            position: relative;
        }

        /* ============================================================
           ABOUT PAGE
           ============================================================ */
        
        .page-header {
            background: var(--navy);
            padding: 8rem 0 4rem;
            text-align: center;
        }
        
        .page-header h1 {
            color: var(--white);
            margin-bottom: 1rem;
        }
        
        .page-header p {
            color: rgba(255,255,255,0.7);
            max-width: 600px;
            margin: 0 auto;
            font-size: 1.125rem;
        }
        
        .values-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }
        
        .value-card {
            text-align: center;
            padding: 2.5rem 2rem;
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            transition: var(--transition);
        }
        
        .value-card:hover {
            border-color: var(--gold);
            box-shadow: var(--shadow-md);
        }
        
        .value-card .value-number {
            font-family: var(--font-heading);
            font-size: 3rem;
            color: var(--gold);
            opacity: 0.3;
            line-height: 1;
            margin-bottom: 1rem;
        }
        
        .value-card h4 {
            font-size: 1.125rem;
            margin-bottom: 0.75rem;
        }

        /* Process Timeline */
        .process-timeline {
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        
        .process-step {
            display: grid;
            grid-template-columns: 80px 1fr;
            gap: 2rem;
            padding: 2rem 0;
            border-bottom: 1px solid var(--border);
            position: relative;
        }
        
        .process-step:last-child { border-bottom: none; }
        
        .process-number {
            font-family: var(--font-heading);
            font-size: 2.5rem;
            font-weight: 500;
            color: var(--gold);
            line-height: 1;
            opacity: 0.4;
        }
        
        .process-content h4 {
            font-size: 1.125rem;
            margin-bottom: 0.5rem;
        }

        /* Leadership */
        .leadership-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }
        
        .leader-card {
            text-align: center;
        }
        
        .leader-card .leader-photo {
            width: 200px; height: 200px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 1.5rem;
            border: 3px solid var(--cream);
            box-shadow: var(--shadow-md);
        }
        
        .leader-card h4 {
            font-size: 1.125rem;
            margin-bottom: 0.25rem;
        }
        
        .leader-card .role {
            
            color: var(--gold);
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 0.75rem;
        }
        
        .leader-card p {
            
            color: var(--text-tertiary);
        }

        /* ============================================================
           SERVICES PAGE
           ============================================================ */
        
        .service-detail {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start;
            padding: 4rem 0;
            border-bottom: 1px solid var(--border);
        }
        
        .service-detail:nth-child(even) {
            direction: rtl;
        }
        .service-detail:nth-child(even) > * {
            direction: ltr;
        }
        
        .service-detail:last-child { border-bottom: none; }
        
        .service-detail-content h3 {
            font-size: 1.75rem;
            margin-bottom: 1rem;
        }
        
        .service-list {
            list-style: none;
            margin-top: 1.5rem;
        }
        
        .service-list li {
            padding: 0.5rem 0;
            padding-left: 1.5rem;
            position: relative;
            font-size: 0.9375rem;
            color: var(--text-secondary);
        }
        
        .service-list li::before {
            content: '—';
            position: absolute;
            left: 0;
            color: var(--gold);
            font-weight: 600;
        }
        
        .service-detail-image {
            width: 100%;
            height: 350px;
            object-fit: cover;
            border-radius: var(--radius-md);
        }
        
        @media (max-width: 768px) {
            .service-detail { grid-template-columns: 1fr; gap: 2rem; }
            .service-detail:nth-child(even) { direction: ltr; }
        }

        /* ============================================================
           INDUSTRIES PAGE
           ============================================================ */
        
        .industries-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }
        
        .industry-card {
            padding: 2rem;
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            text-align: center;
            transition: var(--transition);
            cursor: pointer;
        }
        
        .industry-card:hover {
            background: var(--navy);
            border-color: var(--navy);
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }
        
        .industry-card:hover h4 { color: var(--white); }
        .industry-card:hover p { color: rgba(255,255,255,0.7); }
        
        .industry-card .industry-icon {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--emerald);
        }
        
        .industry-card:hover .industry-icon { color: var(--gold); }
        
        .industry-card h4 {
            font-size: 0.9375rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            transition: var(--transition);
        }
        
        .industry-card p {
            
            color: var(--text-tertiary);
            transition: var(--transition);
        }
        
        @media (max-width: 1024px) {
            .industries-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (max-width: 640px) {
            .industries-grid { grid-template-columns: repeat(2, 1fr); }
        }

        /* ============================================================
           TRANSACTIONS PAGE
           ============================================================ */
        
        .transaction-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .transaction-table th {
            text-align: left;
            padding: 1rem 1.5rem;
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--text-tertiary);
            border-bottom: 2px solid var(--border);
        }
        
        .transaction-table td {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--border);
            font-size: 0.9375rem;
        }
        
        .transaction-table tr {
            transition: var(--transition);
            cursor: pointer;
        }
        
        .transaction-table tr:hover {
            background: var(--cream);
        }
        
        .transaction-table .tx-sector {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--emerald);
            background: rgba(11, 110, 79, 0.08);
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius-sm);
        }
        
        .transaction-table .tx-size {
            font-family: var(--font-heading);
            font-weight: 500;
            color: var(--navy);
        }
        
        .transaction-table .tx-status {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--gold);
        }

        /* ============================================================
           INSIGHTS PAGE
           ============================================================ */
        
        .insights-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }
        
        .insight-card {
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: var(--transition);
            cursor: pointer;
        }
        
        .insight-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-4px);
        }
        
        .insight-card .insight-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        
        .insight-card .insight-body {
            padding: 1.5rem;
        }
        
        .insight-card .insight-category {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--emerald);
            margin-bottom: 0.75rem;
        }
        
        .insight-card h4 {
            font-size: 1.125rem;
            margin-bottom: 0.75rem;
            line-height: 1.4;
        }
        
        .insight-card .insight-excerpt {
            
            color: var(--text-tertiary);
            margin-bottom: 1rem;
            line-height: 1.6;
        }
        
        .insight-card .read-more {
            
            font-weight: 500;
            color: var(--navy);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .insight-card .read-more::after {
            content: '→';
            transition: transform 0.2s;
        }
        
        .insight-card:hover .read-more::after {
            transform: translateX(4px);
        }

        /* ============================================================
           CAREERS PAGE
           ============================================================ */
        
        .careers-hero {
            background: var(--navy);
            padding: 8rem 0 4rem;
            text-align: center;
        }
        
        .careers-hero h1 { color: var(--white); margin-bottom: 1rem; }
        .careers-hero p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }
        
        .job-listing {
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 1.5rem 2rem;
            margin-bottom: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: var(--transition);
            cursor: pointer;
        }
        
        .job-listing:hover {
            border-color: var(--emerald);
            background: rgba(11, 110, 79, 0.02);
        }
        
        .job-listing .job-info h4 {
            font-size: 1.0625rem;
            margin-bottom: 0.25rem;
        }
        
        .job-listing .job-meta {
            
            color: var(--text-tertiary);
        }
        
        .job-listing .job-meta span {
            margin-right: 1rem;
        }

        /* ============================================================
           CONTACT PAGE
           ============================================================ */
        
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
        }
        
        .contact-info h3 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .contact-detail {
            margin-bottom: 2rem;
        }
        
        .contact-detail h5 {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 0.5rem;
        }
        
        .contact-detail p {
            font-size: 1rem;
            color: var(--text-secondary);
        }
        
        .contact-form {
            /*background: var(--cream);
            padding: 2.5rem;*/
            border-radius: var(--radius-md);
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            
            font-weight: 500;
            color: var(--navy);
            margin-bottom: 0.5rem;
        }
        
        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 0.875rem 1rem;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            font-family: var(--font-body);
            font-size: 0.9375rem;
            color: var(--text-primary);
            background: var(--white);
            transition: var(--transition);
        }
        
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--emerald);
            box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.1);
        }
        
        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }
        
        @media (max-width: 768px) {
            .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
        }

        /* ============================================================
           FOOTER
           ============================================================ */
        
        .footer {
            background: var(--navy);
            color: var(--white);
            padding: 80px 80px 0 80px;
        }

        .footer .container{
            display: flex;
            flex-direction: row; 
            flex-wrap:wrap;            
            margin: 0;
        }
        
        .footer-grid {
            display: flex;
            flex-direction: row; 
            flex-wrap: nowrap;            
            column-gap: 80px;
        }

        .footer-grid .footer-brand{
            display: flex;
            flex-direction: row; 
            flex-wrap: wrap;
            align-items: flex-start;
        }

        .footer-links{ 
            display: flex;
            flex-direction: row; 
            align-content: flex-start;
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 10px; 
            text-align: left; 
        }

        .footer-links:nth-child(2) {
            width: 500px !important; /* default 1 */
        }


        .footer-links:nth-child(3) {
            
        }


        .footer-links:nth-child(6) {
            
        }

        .footer-links-inner{ 
            display: flex;
            flex-direction: row; 
            flex-wrap: wrap;
            text-align: center;            
            width: 100%;
            margin: 20px 0;
            row-gap: 10px;
        }

        .footer-links a{ 
            display: flex;
            flex-direction: row; 
            flex-wrap: nowrap;
            width: 100%;
            font-family: 'SourceSansPro-Regular' !important;
            font-size: 16px;  
        }

        .footer-links a p{ 
            display: flex;
            flex-direction: row; 
            flex-wrap: nowrap;
            width: 100%;
            color: var(--text-white);
        }

        .footer-links a img, .footer-links a svg{ 
            display: flex;
            flex-direction: row; 
            flex-wrap: nowrap;
            width: 25px;
            height: auto;
            margin: 0 20px 0 0;
        }         

        .footer-heading{
            box-sizing: border-box;
            margin: 0 0 20px 0;
            font-family: 'SourceSansPro-Semibold' !important;
            color: var(--gold);
        }        
        
        .footer-brand svg {
            display: inline-block;
            width: 120px;
            height: auto;
        }
        
        .footer-brand p {
            color: rgba(255,255,255,0.6);
            
            line-height: 1.7;
            max-width: 300px;
        }
        
        .footer-column h5 {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 1.25rem;
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column li {
            margin-bottom: 0.75rem;
        }
        
        .footer-column a {
            color: rgba(255,255,255,0.6);
            
            transition: var(--transition);
        }
        
        .footer-column a:hover {
            color: var(--white);
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            margin: 40px 0 0 0;
            padding: 40px 0;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }
        
        .footer-bottom p {
            color: rgba(255,255,255,0.4);
            
        }
        
        @media (max-width: 768px) {
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
            .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
        }

        /* ============================================================
           UTILITIES
           ============================================================ */
        
        .text-center { text-align: center; }
        .mb-1 { margin-bottom: 0.5rem; }
        .mb-2 { margin-bottom: 1rem; }
        .mb-3 { margin-bottom: 1.5rem; }
        .mb-4 { margin-bottom: 2rem; }
        .mb-5 { margin-bottom: 3rem; }
        .mt-5 { margin-top: 3rem; }

        p.mb-4 { width: 80%; }
        
        .max-w-2xl { max-width: 42rem; margin: 20px auto;  }

        .max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }


        .whatsapp-chat{
            position: fixed;
            right: 30px;
            bottom: 30px;
            display: block;
            box-sizing: border-box;
            width: 40px;
            height: 40px;
            text-decoration: none;		
            animation: burgerPop 0.4s ease forwards;
        }

        #openForm {            
            display: none;
            position: fixed;
            right: 30px;
            bottom: 100px;
            box-sizing: border-box;
            width: 40px;
            height: 40px;
            padding: 10px;
            text-decoration: none;		
            animation: burgerPop 0.4s ease forwards;
            cursor: pointer;
            background-color: #FFFFFF;
        }

        .whatsapp-chat img, .whatsapp-chat svg, #openForm img, #openForm svg{		
            display: block;
            box-sizing: border-box;
            width:100%;
            height: 100%;
            text-decoration: none;
        }
        
        .whatsapp-chat:hover, #openForm:hover  {		
            text-decoration: none;
        }

        /* Overlay & Form Styling */
    @keyframes slideUp {
        from { transform: translateY(50px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    .form-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        display: none; /* Hidden by default */
        justify-content: center;
        align-items: center;
        z-index: 999999999;
    }

    .form-card {   
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        row-gap: 40px;     
        padding: 30px;        
        width: 100%;
        max-width: 500px;
        position: relative;
        animation: slideUp 0.3s ease;
        font-family: var(--font-body);
		border: solid 1px var(--gold);
        background-color: var(--navy);
    }

    .form-card .top{
        display: flex; 
        flex-direction:row; 
        flex-wrap:nowrap; width: 100%; 
        justify-content:space-between; 
        align-content:space-between; 
        align-items: center; 
        justify-items:center; 
        border-bottom: 1px solid #333;
        padding: 0 0 20px 0;
    }

    .form-card .top h2{
        color: var(--gold);
        margin: 0;
        font-size: 28px;
        font-family: var(--font-heading);
    }
    
    .form-card #contactForm .form-actions .btn-reset {
        background: #f0f0f0;
        border: none;
		font-weight: 500;
		font-size: 18px;
        cursor: pointer;
        flex: 1;
        color: #666;
        animation: burgerPop 0.4s ease forwards;
        padding: 10px 20px;
        font-family: var(--font-body);
    }

    .form-card #contactForm .form-actions .btn-submit{ 
        animation: burgerPop 0.4s ease forwards;
		background: var(--gold);
		color: #fff;
		border: none;
		padding: 10px 20px;
        font-family: var(--font-body);
		font-weight: 500;
		font-size: 18px;
		cursor: pointer;
		transition: transform 0.2s, background 0.3s;
    }

     .form-card #contactForm .form-actions .btn-submit:hover{ 
        animation: burgerPop 0.4s ease forwards;
		background: var(--gold-light);
		color: #fff;
		border: none;
		padding: 10px 20px;
        font-family: var(--font-body);
		font-weight: 500;
		font-size: 18px;
		cursor: pointer;
		transition: transform 0.2s, background 0.3s;
    }

    .form-card #contactForm .form-group input{
        width: 100%;
        padding: 12px;
        font-size: 16px;
        border: none;
        box-sizing: border-box;
        font-family: var(--font-body);
        animation: burgerPop 0.4s ease forwards; 
    }

    .form-card #contactForm .form-group textarea {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        border: none;
        box-sizing: border-box;
        font-family: var(--font-body);
        animation: burgerPop 0.4s ease forwards;
    }


    /* Form Elements */
        #tax-filing {
        display: flex;
        flex-direction: row;
        flex-wrap:wrap;
        justify-content: space-between;
        align-content: space-between;
        width:100%;
        height: auto;
        text-align: left;
        background: #DDC798;
        margin: 80px auto 200px auto;
        padding: 0;

    }

    #tax-filing wrapper-inner {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        padding: 0;
        overflow: visible;
        align-self: center;
        align-items: center;
        justify-items: center;
        row-gap: 20px;
        margin: 0;
    }
    
    #tax-filing h2{
        display: flex;
        flex-direction: row;
        flex-wrap:nowrap; 
        width: 100%;
        margin: 0 ;
        padding: 0;
        line-height: 40px;
        font-family: 'Lato', sans-serif;
    }

    #tax-filing h2.quote {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        margin: 0;
        padding: 54px;
        border-left: #F4F5F7 solid 4px;
        overflow: hidden;
        align-self: center;
        align-items: center;
        justify-items: center;
        line-height: 40px;
        background-color: #0A1D3E;
        border-radius: 0 13px 13px 0;
    }

    #tax-filing h1 {
        font-family: 'playfair_display', sans-serif;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        margin: 0;
        font-size: 36px;
        font-weight: 700;
        color: white;
        text-align: left;
        color: var(--black);
    }
    
    #tax-filing .tax-filing{
        display: flex;
        flex-direction: row;
        flex-wrap:nowrap;
        justify-content: space-between;
        align-content: space-between;
        width: 100%;
        row-gap: 40px;
        column-gap: 20px;
        padding: 0 0 10px 0;
        overflow: visible;
    }

    #tax-filing tax-filing{
        display: flex;
        position: relative;
        top: 120px;
        flex-direction: row;
        flex-wrap:nowrap;
        justify-content: space-between;
        align-content: space-between;
        width: 100%;
        height: auto;
        row-gap: 40px;
        column-gap: 20px;
        padding: 0 0 10px 0;
        overflow: visible;
        margin: 0;
    }

    #tax-filing tax-filing wrapper{ 
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap:nowrap;
    }

    #tax-filing new-tax-filing wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
    }

    #tax-filing new-tax-filing wrapper #tax-filing-form{
        display: flex;
        flex-direction: row;             
        flex-wrap: wrap;           
        width: 100%;
        font-family: "SpaceGrotesk-Lite", sans-serif;
    }

    #tax-filing new-tax-filing wrapper #tax-filing-form .form-group {
        display: flex;
        flex-direction: row;             
        flex-wrap: wrap;           
        width: 100%;
        margin: 0;
    }

    #tax-filing new-tax-filing wrapper #tax-filing-form .form-group input{
        border: solid 3px var(--black);
        font-family: 'Inter', sans-serif;   /* moved to its own line */
        letter-spacing: .36px;
        font-size: 24px;
        background-color: var(--white);        
    }

    #tax-filing new-tax-filing wrapper #tax-filing-form .form-group textarea{
        border: solid 3px var(--black);
        border-radius: 20px;
        font-family: 'Inter', sans-serif;
        letter-spacing: .36px;
        font-size: 24px;
        background-color: var(--white);
        
    }

    #tax-filing new-tax-filing wrapper #tax-filing-form .form-actions {
        display: flex;
        flex-direction: row;             
        flex-wrap: wrap;           
        width: 100%;
    }

    #tax-filing new-tax-filing wrapper #tax-filing-form .form-actions .btn-submit{
        width: 100%;
        display: flex;
        flex-direction: row;             
        flex-wrap: wrap;     
        padding: 10px 20px;  
        animation: burgerPop 0.4s ease forwards;
        cursor: pointer; 
        justify-items: center;
        align-items: center;
    }

    #tax-filing new-tax-filing wrapper #tax-filing-form .form-actions .btn-submit p{
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-content: space-between;
        justify-items: center;
        padding: 0;
        margin: 0;
        width: 100%;
        box-sizing: border-box;                       
        font-size: 24px;
        letter-spacing: .36px;
        font-weight: 300;
        font-family: 'Inter', sans-serif;
        animation: burgerPop 0.4s ease forwards;            
        cursor: pointer;
    }

    .btn-submit{ 
        background: var(--gold);
        border: none; 
    }

        .btn-submit svg {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-content: space-between;
        padding: 0;
        margin: 0;
        width: 20px;
        height: 20px;
    }

    .btn-submit p{             
        color: var(--navy);      
    }

    .btn-submit p:hover{ 
        color: var(--gold) !important;      
    }

    .btn-submit:hover{ 
        background:var(--navy) !important;  
        color:var(--gold) !important;  
        fill:var(--gold);     
    }

    .btn-submit:hover .fil77{            
        fill:var(--gold);           
    }

    /* Optional: Make the arrow move slightly to the right */
    .btn-submit:hover .dynamic-link-arrow{
        transform: translateX(5px);
    }   

    .dynamic-link-arrow {
    transition: transform 0.3s ease; /* For the nudge effect */}  
    
    

    .btn-reset { 
        background: #f0f0f0; 
        border: none; 
        padding: 10px 20px; 
        cursor: pointer; 
        flex: 1; 
        color: #666; 
        animation: burgerPop 0.4s ease forwards;
        font-family: "SpaceGrotesk-Lite", sans-serif;
    }

    .close-btn {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 30px;
        background: none;
        border: none;
        cursor: pointer;
        color: #b70101;
        animation: burgerPop 0.4s ease forwards;
    }

    /* Get TAX ID */
    .tax-filing-form {
        
        padding: 40px;
        border-radius: 50px 50px 50px 30px;
        border: 6px solid var(--gold);
        width: 90%;
        max-width: 400px;
        position: relative;
        animation: slideUp 0.3s ease;
        font-family: "SpaceGrotesk-Lite", sans-serif;
        margin: 0 0 0 -6px;
    }

       
    

    /* Form Elements */
    .form-group { margin-bottom: 15px; }
    input, 
    textarea {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        border: 2px solid;
        box-sizing: border-box;
        font-family: "SpaceGrotesk-Lite", sans-serif;
        animation: burgerPop 0.4s ease forwards;
    }

    .form-actions {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin-top: 20px;
    }

    .tax-filing-form .btn-submit { 
        background: var(--primary); 
        color: var(--navy);
        border: none; 
        padding: 6px 20px;
        font-size: 24px; 
        font-weight: 400;
        line-height: 40px;
        letter-spacing: 0.36; 
        cursor: pointer; 
        flex: 2;
        animation: burgerPop 0.4s ease forwards; 
        font-family: "SpaceGrotesk-Lite", sans-serif;
    }


        /* 1. LAYOUT & POSITIONING */
        .cookie-notice-wrapper {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            margin: 0 auto;
            z-index: 999999999999999999999999999; /* Ensure it stays above everything */
            background: var(--navy);
            backdrop-filter: blur(10px);       
            padding: 25px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
            display: none; /* Hidden by default, shown via JS */		
            animation: burgerPop 0.4s ease forwards;
            /*animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);*/
        }

        .cookie-content{
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            width: 100%;
            gap: 20px;
        }


        /* 2. TYPOGRAPHY */
        .cookie-text{
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            width: 80%;
        }

        .cookie-text h2 {
            color: var(--gold);       
            line-height: 1.6;        
            margin: 0 0 20px 0;
            display: flex;
            font-size: 28px;
            font-weight: 600;
            font-family: var(--font-heading);
            margin-bottom: 0.5rem;
            width: 100%;
            letter-spacing: 1px;
        }

        .cookie-text p {
            color: #e0e0e0;
            margin: 0;
            font-weight: 300;
            font-size: 16px;
            width: 100%;            
            line-height: 1.7;
        }
        

        .gold-link {
            color: #3D5DAA;
            text-decoration: underline;
            transition: opacity 0.3s;
            font-family: var(--font-heading);
            letter-spacing: 1.2;
        }

        .gold-link:hover { 
            color: #FFF;
            /*opacity: 0.4; */
        }

        /* 3. BUTTONS */
        .cookie-actions {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            width: 20%;
        }

        .btn-sharing {
            font-size: 12px;
            width: 100%;
            background: var(--navy-light);
            font-size: var(--font-size-body);
            padding: 10px 20px;
            color: white;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }

        .btn-sharing:hover { 
            color: #fff; 
            text-decoration-style: solid;
            text-decoration-thickness: 1px;
            text-decoration: underline;
            text-underline-offset: 7px;
            text-decoration-color: #fff;
            /*text-decoration-color: rgba(200, 155, 60, 0.3);*/
        }

        .btn-agree {    
            width: 100%;       
            font-size: var(--font-size-body);
            letter-spacing: 1.2px;
            cursor: pointer;
            transition: transform 0.2s, background 0.3s;
            text-align: center;
            align-items: center;
            gap: 0.5rem;
            padding: 10px 20px;
            font-family: var(--font-body);
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: var(--transition);
            border: none;

            background: var(--gold);
            color: var(--navy);        
        }

        .btn-agree:hover {
            padding: 10px 20px;
            background: var(--gold-light);    
            /*border: 2px solid rgba(200, 155, 60, 0.3); */    
            transition: transform 0.2s, background 0.3s;
        }

        .cookie-actions .settings-wrap {
            display: flex;
            flex-direction: row;
            width: 100%;
            align-items: center;
            justify-content: space-between;
            gap: 10px;

        }

        .cookie-actions .settings-wrap img, .cookie-actions .settings-wrap svg {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 20px;
            height: auto;
        }

        /* COOKIE SHARING SETTING - RESTORED & FIXED */
        .settings-modal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
            z-index: 9999999999; /* Restored your z-index */
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .modal-content {
            background: #19191B;
            width: 100%;
            max-width: 500px;
            border: 1px solid var(--gold);
            color: #fff;
            overflow: hidden;
        }

        .modal-header {
            padding: 20px;
            border-bottom: 1px solid #333;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h3 { 
            color: var(--gold);
            margin: 0; 
            font-size: 28px;
            font-family: var(--font-heading);
        }

        .close-modal { 
            background: none; 
            border: none; 
            color: #b70101;
            font-size: 32px; /* Made slightly larger for easier clicking */
            cursor: pointer; 
            line-height: 1;
            padding: 0 5px;
            position: relative;
            z-index: 10; /* Ensures it stays on top of header text */
        }

        .modal-body { padding: 20px; }

        .setting-item {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 15px 0;
            border-bottom: 1px solid #333;
        }

        .setting-item .switch .slider {
            position: absolute; 
            cursor: pointer; 
            inset: 0;
            background-color: #444;
            background-image: none !important; 
            transition: .4s; 
            border-radius: 34px;
            width: 38px; 
        }

        .setting-item .switch  .slider::before {
            position: absolute; 
            content: ""; 
            height: 14px; 
            width: 16px; /* Your original wide knob */
            bottom: 3px;
            background-color: white; 
            transition: .4s; 
            border-radius: 15px; /* Adjusted to fit the wider shape */		
        }
        

        input:checked + .setting-item .switch .slider { 
            background-color: #BA0B0B !important;    
            display: flex;
            align-items: center;
            justify-items: center;
            background-image:none !important;		
        }

        /* THE FIX: Translation calculated for a 60px track with a 28px knob */
        input:checked + .setting-item .switch .slider::before { 
            transform: translateX(20px) !important; 
            background-color: #fff; 
        }

        /* #tinSider */
        .toggle-switch input:checked + .switch .slider::before { 
            transform: translateX(20px); 
            background-color: #fff; 
        }

        #form-toggle input[type="checkbox"]{
            -webkit-appearance: none;
            appearance: none;
            display: none;
        }

        #form-toggle input[type="checkbox"]::before {
            display: none;
        }

        /* Specific override for disabled*/
        #disabled{
            border-color: var(--white); /* A bright blue for analytics */
        }

        #disabled:checked::before {
            box-shadow: inset 1em 1em #BA0B0B; /* Blue checkmark instead of Gold */
        }

        /* Specific override for Analytics and pref-marketing*/
        #pref-analytics, #pref-marketing {
            border-color:transparent; /* A bright blue for analytics */
        }

        #pref-analytics:checked::before, #pref-marketing:checked::before {
            box-shadow: inset 1em 1em transparent; /* Blue checkmark instead of Gold */
        }

        /* The Checkmark (using a pseudo-element) */
        input[type="checkbox"]::before {
            content: "";
            width: 10px;
            height: 10px;
            transform: scale(0);
            transition: 120ms transform ease-in-out;
            box-shadow: inset 1em 1em #BA0B0B;
            
            /* Creating a sharp checkmark shape */
            transform-origin: bottom left;
            clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
        }

        /* Display checkmark when checked */
        input[type="checkbox"]:checked::before {
            transform: scale(1);
        }

        /* Subtle 'Locked' effect for disabled state */
        input[type="checkbox"]:disabled {
            border: none !important; /* Slightly darker gold */
            background-color: #3D5DAA !important; /* Deeper Navy */
            opacity: 0.9;
            filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.2));
            width: 38px;
            height: 20px;
            border-radius: 8px;
            transition: all 0.2s ease-in-out;
            appearance: none !important;        
            margin: 0 !important;
            padding: 0 !important;
            display: grid !important;
            place-content: center !important;
        }

        /* The Checkmark (using a pseudo-element) */
        input[type="checkbox"]::before {
            content: "";
            width: 10px;
            height: 10px;
            transform: scale(0);
            transition: 120ms transform ease-in-out;
            box-shadow: inset 1em 1em #BA0B0B;
            transform-origin: bottom left;
            clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
        }

        /* Display checkmark when checked */
        input[type="checkbox"]:checked::before {
            transform: scale(1);
        }    

        /**/
        .setting-info p { 
            font-size: 14px; 
            color: #aaa; 
            margin: 5px 0 0; 
            font-family: var(--font-body);
        }

        .setting-label { 
            font-family: var(--font-heading);
            font-weight: 300; 
            font-size: 20px; 
        }

        /* FIXED SLIDER LOGIC */
        .switch { 
            position: relative; 
            display: inline-block; 
            width: 50px; 
            height: 20px; 
        }    

        .switch input { 
            opacity: 0; width: 0; height: 0; }

        .slider {
            position: absolute; 
            cursor: pointer; 
            inset: 0;
            background-color: #444; 
            transition: .4s; 
            border-radius: 34px;
        }

        .slider:before {
            position: absolute; 
            content: ""; 
            height: 14px; 
            width: 28px; /* Your original wide knob */
            left: 3px; 
            bottom: 3px;
            background-color: white; 
            transition: .4s; 
            border-radius: 4px; /* Adjusted to fit the wider shape */
        }

        input:checked + .slider { 
            background-color: #BA0B0B; 
        }

        /* THE FIX: Translation calculated for a 60px track with a 28px knob */
        input:checked + .slider:before { 
            transform: translateX(26px); 
            background-color: #fff; 
        }

        .btn-save {           
           
            width: 100%;
            font-size: var(--font-size-body);            
            text-align: center;            
            padding: 10px 20px;
            font-family: var(--font-body);
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: var(--transition);
            border: none;
            background: var(--gold);
            color: var(--navy);
        }

        .nav .active-page{
        color: var(--gold) !important;
        }

        .visible-lg{display: block !important;}

        .visible-sm{display: none;}

        /* Initial Form Styling */
        .main-form-wrapper { max-width: 400px; margin: 50px auto; }
        .btn-submit-main {
            width: 100%; padding: 15px; background: var(--gold);
            border: none; border-radius: 50px; color: #fff; font-weight: 700; cursor: pointer;
        }

        /* Modal Overlay */
        /* CRITICAL: High Z-Index to ensure it's on top */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
            z-index: 999999 !important; /* Force to front */
            display: none; /* JS will change this to flex */
            justify-content: center;
            align-items: center;
        }

        .modal-content h2{
            font-family: 'playfair_display', sans-serif;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            color: #FFF;
            font-size: 28px;
            padding: 20px 0;
            margin: 20px 0 0 0;
            line-height: 30px;
            text-align: center;
        }

        .modal-content {
            background: var(--navy);
            padding: 40px;
            width: 90%;
            max-width: 500px;
            position: relative;
            color: white;		
            animation: burgerPop 0.4s ease forwards;
        }

        .modal-content #tin-registration-form{display: flex;
            flex-wrap: wrap;
            flex-direction: row;
            width: 100%;
        }

        .modal-content #tin-registration-form #section-personal{
            display: flex;
            flex-wrap: nowrap;
            flex-direction: row;
            width: 100%;
            column-gap: 20px;
            justify-content: space-around;
            align-content: space-between;
        }

        .modal-content #tin-registration-form #section-personal left{
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            width: 50%;
            justify-content: space-around;
            align-content: space-between;
        }

        .modal-content #tin-registration-form #section-personal right{
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            width: 50%;
            justify-content: space-around;
            align-content: space-between;
        }

        .modal-content #tin-registration-form #section-corporate{
            display: flex;
            flex-wrap:nowrap;
            flex-direction: row;
            width: 100%;
            column-gap: 40px;
            justify-content: space-around;
            align-content: space-between;
        }

        .modal-content #tin-registration-form #section-corporate left{
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            width: 50%;
            justify-content: space-around;
            align-content: space-between;
        }

        .modal-content #tin-registration-form #section-corporate right{
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            width: 50%;
            justify-content: space-around;
            align-content: space-between;
        }

        .modal-content #tin-registration-form .modal-input {
            width: 100%;
            padding: 12px;
            margin: 10px 0;
            background: transparent;
            border: 1px solid #444;
            border-radius: 50PX;
            color: white;
        }
      

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .btn-gold-final { 
            width: 100%; 
            padding: 15px; 
            background: var(--gold); 
            border: none; 
            border-radius: 50px; 
            color: #fff; 
            font-weight: 700; 
            cursor: pointer; 
            margin: 12px 0 0 0;
        }
        
        .close-modal { 
            /*position: absolute; 
            right: 40px;*/
            background: none; 
            border: none; 
            color: #b70101; 
            font-size: 60px; 
            cursor: pointer; 
            width: 40px;
            height: 40px;
        }

        .sm{
            display: none !important;
        }
        
        .lg{
            display: block !important;
        }        

        .scroll-btn {    
            cursor: pointer;
            z-index: 2;
            transition: transform 0.3s ease, opacity 0.3s ease;
            position: relative;           
            width: 40px;
            height: auto;
            border: none;
            background: transparent;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transform: translateY(12px);
            transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
            z-index: 1000;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            align-items: end;
            justify-self: right;
            pointer-events: none; /* prevent clicks when hidden */            
        }


        .scroll-btn img, .scroll-btn svg{
            width: 100%;
            height: auto;
            /* Optional: Add a CSS bounce if the image isn't already animated */
            animation: bounce 2s infinite;
            transform: rotate(90deg);
            transform-origin: left;
        }

        .scroll-btn:hover {
            transform: scale(1.1);
        }

        /* Optional CSS Animation */
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
            40% {transform: translateY(-10px);}
            60% {transform: translateY(-5px);}
        }


        .scroll-btn.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            pointer-events: auto;
        }

        .scroll-btn img {
            width: 100%;
            height: 100%;
            display: block;
        }

        @media (prefers-reduced-motion: reduce) {
            .scroll-btn {
                transition: none;
            }
            html {
                scroll-behavior: auto;
            }
        }



        /* DATE AND TIME */
        .datetime-container {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            position: relative;
            top: 150px;
            text-align: center;
            font-family: 'FFDINWebLight';
            margin: 0 auto;
            row-gap: 0;
            text-transform: uppercase;
            z-index: 9999999999999999999999999999999999999999999999999999999;
            height: 100px;
            justify-content: center;
            align-content: center;
            width: auto;
        }

        .datetime-container p {
            display: inline-flex;
            flex-direction: row;
            flex-wrap: nowrap;
            font-size: 64px;
            margin: 0;
            padding: 10px;
        }

        .datetime-container p#region {
            display: inline-flex;
            flex-direction: row;
            flex-wrap: wrap;
            font-style: italic;
            margin: 0;
            padding: 10px;
        }
}