/* style.css */

/* -------------------- */
/* VARIABLES & RESET    */
/* -------------------- */
:root {
    --primary-color: #547792;
    --accent-color: #d98e18;
    --dark-bg: #121826;
    --light-text: #f0f4f8;
    --dark-text: #1a202c;
    --card-bg: #1a202c; /* For general cards */
    --card-bg-alt: #21293a; /* Slightly different for specific cards like team */
    --border-color: #2d3748;
    --font-primary: 'Jost', sans-serif;
    --font-display: 'Orbitron', sans-serif;
    --container-width: 1140px;
    --spacing-unit: 1rem; /* 16px */
    --header-height: 80px; /* Approximate height of the fixed header */
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

/* Smooth scrolling with offset for fixed header */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.7;
    font-size: 16px;
    padding-top: var(--header-height); /* Account for fixed header on all pages */
}

/* -------------------- */
/* GENERAL TYPOGRAPHY & LINKS */
/* -------------------- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--light-text);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    line-height: 1.3;
}

/* Homepage specific H1 size */
.hero-section h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
/* Subpage H1 size */
.page-header h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }

/* General H2, H3 */
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }


/* Headings within cards/content using primary font for readability */
.feature-card h3,
.content-column h2,
.footer-column h4,
.stat-item p,
.section-title span,
.team-member-card h3,
.about-section h2 {
    font-family: var(--font-primary);
}
.content-column h2 { /* Override for split section content headings */
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 600;
}
.about-section h2 {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-unit);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}


p {
    margin-bottom: calc(var(--spacing-unit) * 1.25);
    color: #cbd5e0;
    line-height: 1.8;
    max-width: 75ch;
}
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #ffb74d;
}

/* -------------------- */
/* HEADER & NAVIGATION  */
/* -------------------- */
.site-header {
    background-color: rgba(18, 24, 38, 0.85);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    padding: var(--spacing-unit) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled {
    background-color: rgba(18, 24, 38, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: calc(var(--spacing-unit) * 0.7) 0;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%; /* Ensure container takes full header height */
}
.logo-area {
    display: flex;
    align-items: center;
}
.logo-area img {
    height: 50px;
    width: 50px;
    margin-right: calc(var(--spacing-unit) * 0.75);
}
.logo-area .site-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--light-text);
    margin: 0;
}
.logo-area .tagline {
    font-size: 0.8rem;
    color: var(--accent-color);
    display: block;
    margin-top: -5px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}
.main-nav ul li {
    margin-left: calc(var(--spacing-unit) * 1.5);
}
.main-nav ul li a {
    color: var(--light-text);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.95rem;
}
.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}
.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
    left: 50%;
}

.main-nav ul li a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    color: var(--light-text);
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* -------------------- */
/* BUTTONS              */
/* -------------------- */
.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-bg);
    padding: calc(var(--spacing-unit)*0.8) calc(var(--spacing-unit)*2);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--accent-color);
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
    width: 300px;
    height: 300px;
}
.btn:hover {
    background-color: #ffb74d;
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(217, 142, 24, 0.4);
}
.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(217, 142, 24, 0.3);
}
.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}
.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--dark-bg);
    box-shadow: 0 8px 20px rgba(217, 142, 24, 0.3);
}

/* -------------------- */
/* COMMON SECTION STYLING */
/* -------------------- */
section {
    padding: calc(var(--spacing-unit) * 5) 0;
}

section:nth-child(even) {
    position: relative;
}

section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.section-title {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 4);
    font-weight: 700;
    font-family: var(--font-display);
    background: linear-gradient(135deg, var(--light-text) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: calc(var(--spacing-unit) * 1.5) auto 0;
    border-radius: 2px;
}

.section-title span { /* Sub-heading for section title */
    display: block;
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
    font-family: var(--font-primary);
    font-weight: 600;
    -webkit-text-fill-color: var(--accent-color);
    background: none;
}

/* ---------------------------- */
/* HOMEPAGE SPECIFIC SECTIONS   */
/* ---------------------------- */

/* Hero Section (Homepage) */
.hero-section {
    height: 100vh; /* Full viewport height */
    min-height: 600px; /* Minimum height */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* padding-top removed here as body already has padding-top */
}
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}
.hero-section::before { /* Overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1;
}
.hero-content {
    max-width: 800px;
    z-index: 1;
}
/* hero-content h1 is handled by general H1 styles now */
.hero-content h1:not(.subtitle) {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(217, 142, 24, 0.3);
}

.hero-content .subtitle { /* Smaller hero title line */
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-unit);
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hero-content p {
    font-size: 1.15rem;
    margin-bottom: calc(var(--spacing-unit) * 2.5);
    color: #e8eef3;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Features Section (Homepage) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
}

.feature-card {
    background-color: var(--card-bg);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(217, 142, 24, 0.1), transparent);
        transition: left 0.5s ease;
    }

    .feature-card:hover::before {
        left: 100%;
    }

    .feature-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 15px 35px rgba(0,0,0,0.3),
                    0 5px 15px rgba(217, 142, 24, 0.2);
        border-color: var(--accent-color);
    }

    /* MODIFIED/NEW CSS FOR IMAGE ICONS IN FEATURE CARDS */
    .feature-card img.icon {
        display: block; /* Helps with margin auto centering */
        margin-left: auto;
        margin-right: auto;
        margin-bottom: calc(var(--spacing-unit) * 1.5); /* Space below icon */
        height: 190px; /* Adjust this value as desired for icon height */
        width: auto; /* Allows width to scale proportionally to height */
        /*max-width: 120px;*/ /* Optional: to prevent very wide icons from overstretching */
        object-fit: contain; /* Ensures the entire image fits within the dimensions without cropping, maintaining aspect ratio */
    }

    .feature-card h3 {
        font-size: 1.5rem;
        color: var(--light-text);
        font-family: var(--font-primary);
        font-weight: 600;
        margin-bottom: 0.5rem; /* Added space between h3 and p */
    }

/* Services Overview Section with Background (Homepage) */
.services-overview-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.services-overview-section .overlay { /* Generic overlay class if needed */
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(18, 24, 38, 0.85);
    z-index:0;
}
.services-overview-section .container {
    position:relative;
    z-index:1;
}
.services-overview-section .section-title { /* For the "Our Offerings" title */
     font-family: var(--font-primary); /* Using Jost here for less intensity */
     font-weight: 600;
}


/* Split Section (Homepage & About page) */
.split-section {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 3);
}
.split-section .content-column, .split-section .media-column {
    flex: 1;
}
.split-section.reverse {
    flex-direction: row-reverse;
}
.media-column img, .media-column video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    max-height: 400px;
}
/* .content-column h2 handled by common typography rules */

/* Stats Section (Homepage) - Now used for value props */
#stats, #why-choose { background-color: var(--card-bg); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-item h3 { /* The numbers OR value prop headings */
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
    font-weight: 600;
}
.stat-item i {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-item:hover i {
    transform: scale(1.1);
    color: #ffb74d !important;
}
/* .stat-item p is handled by common typography rules */

/* Pillars Grid - Three Main Pillars Layout */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing-unit) * 2.5);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.pillar-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, #1f2937 100%);
    padding: calc(var(--spacing-unit) * 3);
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(217, 142, 24, 0.08), transparent);
    transition: left 0.6s ease;
}

.pillar-card:hover::before {
    left: 100%;
}

.pillar-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4),
                0 8px 20px rgba(217, 142, 24, 0.25);
    border-color: var(--accent-color);
}

.pillar-featured {
    background: linear-gradient(135deg, #1f2937 0%, var(--card-bg) 100%);
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}

.pillar-featured:hover {
    transform: translateY(-12px) scale(1.05);
}

.pillar-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto calc(var(--spacing-unit) * 2);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(217, 142, 24, 0.3);
}

.pillar-card:hover .pillar-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(217, 142, 24, 0.5);
}

.pillar-icon i {
    font-size: 2.8rem;
    color: #fff;
}

.pillar-card h3 {
    font-size: 1.8rem;
    color: var(--light-text);
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    background: linear-gradient(135deg, var(--light-text) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pillar-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #cbd5e0;
    margin: 0 auto;
    max-width: 100%;
}

/* Benefits Row - Supporting Benefits */
.benefits-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing-unit) * 3);
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: calc(var(--spacing-unit) * 1.5);
    padding: calc(var(--spacing-unit) * 2);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
    transform: translateX(8px);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--accent-color);
    min-width: 40px;
    margin-top: 4px;
    transition: all 0.3s ease;
}

.benefit-item:hover i {
    transform: scale(1.15);
    color: #ffb74d;
}

.benefit-item h4 {
    font-size: 1.2rem;
    color: var(--light-text);
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.benefit-item p {
    font-size: 0.95rem;
    color: #a0aec0;
    margin: 0;
    line-height: 1.6;
}

/* Partners Section (Homepage) */
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
}
.partners-logos img {
    max-height: 60px;
    max-width: 150px;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s ease;
}
.partners-logos img:hover {
    filter: grayscale(0%) opacity(1);
}

/* CTA Section (Homepage) */
#cta {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    text-align: center;
}
#cta h2 { /* Using display font Orbitron here */
    color: var(--light-text);
}
#cta p {
    color: var(--light-text);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}
#cta .btn {
    background-color: var(--light-text);
    color: var(--dark-bg);
    border-color: var(--light-text);
}
#cta .btn:hover {
    background-color: #e0e0e0;
}

/* ---------------------------- */
/* ABOUT PAGE SPECIFIC STYLES   */
/* ---------------------------- */
.page-header { /* For About, Contact, etc. subpages */
    background-color: var(--card-bg);
    padding: calc(var(--spacing-unit) * 3) 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: calc(var(--spacing-unit) * 3);
}
/* .page-header h1 handled by general H1 rules */
.page-header .breadcrumb a {
    color: var(--accent-color);
}
.page-header .breadcrumb span { /* The ">" separator */
    color: #777;
    margin: 0 0.5em;
}

.about-content { /* Main content wrapper for about page */
    padding: calc(var(--spacing-unit) * 2) 0;
}
.about-section { /* Individual content blocks on about page */
    margin-bottom: calc(var(--spacing-unit) * 3);
    padding: calc(var(--spacing-unit) * 2);
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
/* .about-section h2 handled by common typography rules */
.about-section img.content-image { /* For images within .about-section */
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    margin: var(--spacing-unit) auto;
    display: block;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    margin-top: var(--spacing-unit);
}
.team-member-card {
    background-color: var(--card-bg-alt);
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}
.team-member-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--spacing-unit);
    border: 3px solid var(--accent-color);
}
/* .team-member-card h3 handled by common typography rules */
.team-member-card .role {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.values-list {
    list-style: none;
    padding-left: 0;
}
.values-list li {
    margin-bottom: calc(var(--spacing-unit)*0.75);
    padding-left: calc(var(--spacing-unit)*1.5);
    position: relative;
}
.values-list li::before {
    content: "\f00c"; /* Font Awesome check icon */
    font-family: "Font Awesome 5 Free", "FontAwesome"; /* Add fallback for older FA versions */
    font-weight: 900; /* Required for solid icons in FA5 */
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 4px; /* Adjust vertical alignment as needed */
}

/* ---------------------------- */
/* CONTACT SECTION (HOMEPAGE)   */
/* AND CONTACT FORM ELEMENTS    */
/* ---------------------------- */
#contact { /* The section wrapper if used on homepage */
    /* Add specific background or padding if needed for the contact section on homepage */
}
#contact .contact-wrapper { /* A div to center content within the contact section */
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
#contact .contact-info-box {
    margin-top: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 2);
    padding:var(--spacing-unit);
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
#contact .contact-info-box p { margin-bottom: 0.5rem; }

/* Basic Form Styling (can be expanded) */
form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-align: left; /* Ensure labels are left-aligned even if form is centered */
}
form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--dark-bg); /* Darker than card, for contrast */
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--light-text);
    margin-bottom: var(--spacing-unit);
    font-family: var(--font-primary);
    font-size: 1rem;
}
form textarea {
    resize: vertical;
    min-height: 120px;
}
form button[type="submit"] {
    /* Uses .btn styles */
    margin-top: var(--spacing-unit);
}


/* -------------------- */
/* FOOTER               */
/* -------------------- */
.site-footer {
    background-color: var(--card-bg);
    color: #a0aec0;
    padding: calc(var(--spacing-unit) * 3) 0 calc(var(--spacing-unit) * 1);
    border-top: 1px solid var(--border-color);
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 2);
}
/* .footer-column h4 handled by common typography */
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 0.5rem;
}
.footer-column ul li a {
    color: #a0aec0;
}
.footer-column ul li a:hover {
    color: var(--accent-color);
}
.social-links a {
    font-size: 1.5rem;
    margin-right: var(--spacing-unit);
    color: #a0aec0;
}
.social-links a:hover {
    color: var(--accent-color);
}
.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-unit);
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* -------------------- */
/* RESPONSIVE STYLES    */
/* -------------------- */
@media (max-width: 768px) {
    :root {
        --spacing-unit: 0.875rem; /* Slightly smaller spacing on mobile */
    }

    .menu-toggle {
        display: block;
        padding: 0.5rem;
        -webkit-tap-highlight-color: transparent;
        min-width: 44px;
        min-height: 44px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: rgba(26, 32, 44, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: var(--spacing-unit);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .main-nav.active { display: flex; }
    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    .main-nav ul li {
        margin: 0;
        padding: calc(var(--spacing-unit) * 0.5) 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav ul li a {
        display: block;
        padding: calc(var(--spacing-unit) * 0.75);
        font-size: 1.1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Touch-optimized buttons */
    .btn {
        min-height: 48px;
        padding: calc(var(--spacing-unit)*0.9) calc(var(--spacing-unit)*2.5);
        font-size: 0.9rem;
    }

    /* Hero mobile optimization */
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    .page-header h1 { font-size: 2rem; }
    .hero-content .subtitle {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    .hero-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Better spacing on mobile */
    section {
        padding: calc(var(--spacing-unit) * 3) 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: calc(var(--spacing-unit) * 2.5);
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    /* Split sections mobile */
    .split-section, .split-section.reverse {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2);
    }
    .media-column, .content-column {
        width: 100%;
    }
    .media-column { order: -1; }
    .split-section.reverse .media-column { order: -1; }

    /* Features grid mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 1.5);
    }

    /* Stats grid mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: calc(var(--spacing-unit) * 1.5);
    }

    /* Pillars grid mobile */
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 2);
    }

    .pillar-featured {
        transform: scale(1);
    }

    .pillar-featured:hover {
        transform: translateY(-8px) scale(1);
    }

    .pillar-icon {
        width: 80px;
        height: 80px;
    }

    .pillar-icon i {
        font-size: 2.2rem;
    }

    .pillar-card h3 {
        font-size: 1.5rem;
    }

    /* Benefits row mobile */
    .benefits-row {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 2);
    }

    .benefit-item:hover {
        transform: translateY(-4px);
    }

    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: calc(var(--spacing-unit) * 2);
    }
    .social-links { text-align: center; }

    /* Sticky CTA mobile */
    .sticky-cta {
        bottom: 20px;
        right: 20px;
    }

    .sticky-cta .btn {
        padding: calc(var(--spacing-unit)*0.7) calc(var(--spacing-unit)*1.5);
        font-size: 0.85rem;
    }

    /* Scroll indicator mobile */
    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-indicator i {
        font-size: 1.5rem;
    }

    /* Improved touch targets */
    a, button, .btn {
        -webkit-tap-highlight-color: rgba(217, 142, 24, 0.2);
    }

    /* Reduce motion for mobile if preferred */
    @media (prefers-reduced-motion: reduce) {
        .feature-card:hover {
            transform: none;
        }
        .btn:hover {
            transform: none;
        }
    }
}

/* -------------------- */
/* SCROLL ANIMATIONS    */
/* -------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Default state before animation */
.feature-card,
.stat-item,
.section-title,
.about-section,
.team-member-card {
    opacity: 0;
    transform: translateY(30px);
}

/* Animated state */
.feature-card.animate-in,
.stat-item.animate-in,
.section-title.animate-in,
.about-section.animate-in,
.team-member-card.animate-in {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: var(--animation-delay, 0s);
}

/* Split sections animations */
.split-section {
    opacity: 0;
}

.split-section.animate-in .content-column {
    animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.split-section.animate-in .media-column {
    animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.2s;
}

.split-section.reverse.animate-in .content-column {
    animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.split-section.reverse.animate-in .media-column {
    animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.2s;
}

.split-section.animate-in {
    opacity: 1;
}

/* Hero content animation */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content.hero-loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Button ripple effect */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* -------------------- */
/* ENHANCED HERO EFFECTS */
/* -------------------- */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--dark-bg));
    z-index: 1;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--accent-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* -------------------- */
/* STICKY CTA BUTTON    */
/* -------------------- */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.sticky-cta .btn {
    box-shadow: 0 10px 30px rgba(217, 142, 24, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.sticky-cta .btn:hover {
    animation: none;
}

    /* Add this to your existing CSS file */

    .agent-tags-container {
        margin-top: 10px; /* Adjust spacing as needed */
        display: flex;
        flex-wrap: wrap; /* Allow tags to wrap to the next line */
        gap: 5px; /* Space between tags */
    }

    .agent-tag {
        background-color: #555; /* A neutral dark background for tags */
        color: #eee; /* Light text color for tags */
        padding: 3px 8px; /* Small padding */
        border-radius: 12px; /* Rounded corners */
        font-size: 0.75em; /* Smaller font size */
        display: inline-block; /* Keep tags inline but allow padding */
        line-height: 1.2;
    }

    /* Example of card styling (you likely have your own) */
    .agent-card {
        background-color: #2d3748; /* Example card background */
        color: #f0f4f8; /* Example card text color */
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 15px;
        cursor: pointer; /* Indicate it's clickable */
        /* Add other styles from your design */
    }

    .agent-icon-initial {
        /* Your existing styles for icon */
        width: 40px;
        height: 40px;
        background-color: var(--accent-color, #d98e18); /* Fallback accent color */
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 1.5em;
        font-weight: bold;
        margin-bottom: 10px; /* Or use flexbox for layout */
    }

    .agent-info h3.agent-name {
        margin-top: 0;
        margin-bottom: 5px;
        font-size: 1.2em;
    }

    .agent-info h4.agent-title {
        margin-top: 0;
        margin-bottom: 10px;
        font-size: 0.9em;
        font-style: italic;
        color: #adb5bd; /* Softer color for title */
    }

    .agent-info p.agent-short-description {
        font-size: 0.9em;
        margin-bottom: 10px;
        color: #adb5bd; /* Softer color for description */
    }

}