:root {
    --primary-color: #2A004E;
    /* Deep Regal Purple */
    --accent-color: #C5A059;
    /* Muted Gold */
    --text-dark: #1A1A1A;
    --text-light: #F5F5F5;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --transition-speed: 0.4s;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

/* ... existing code ... */

/* Fallback/Overlay if image fails or for readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 0, 78, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* ... existing code ... */

.image-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 0, 78, 0.6);
    /* Purple overlay */
}

/* ... existing code ... */

/* Footer */
.footer {
    background-color: #1a052b;
    /* Darker purple/black for footer */
    color: #a0aec0;
    padding: 4rem 0 2rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 3rem;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.logo .highlight {
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
}

.nav-list a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--transition-speed);
}

.nav-list a:not(.btn):hover::after {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    /* Professional sharp edges */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-text {
    color: var(--white);
    margin-left: 1.5rem;
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed);
}

.btn-text:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--white);
}


/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, rgba(42, 0, 78, 0.75) 0%, rgba(26, 5, 43, 0.65) 100%), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 0 1rem;
}

/* Fallback/Overlay if image fails or for readability */
.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: 60px;
    /* Offset for header */
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.9;
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background-color: var(--white);
    margin-top: 10px;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* About Section */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.link-arrow::after {
    content: '→';
    margin-left: 0.5rem;
    transition: margin-left var(--transition-speed);
}

.link-arrow:hover::after {
    margin-left: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    border-left: 1px solid #ddd;
    padding-left: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-symbol {
    font-size: 2rem;
    color: var(--accent-color);
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Image Divider */
.image-divider {
    background-image: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&q=80');
    /* Modern Office/Meeting */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0;
}

.image-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 0, 78, 0.6);
    /* Purple overlay */
}

.divider-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

.divider-content h2 {
    font-size: 3rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .divider-content h2 {
        font-size: 2rem;
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-top: 3px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Stat Number Text Alternative */
.stat-number-text {
    font-size: 4rem;
    line-height: 1;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    /* Removed opacity: 0 to ensure visibility. Parent container handles fade-in. */
}

.visible .stat-number-text {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.visible .stat-item:nth-child(2) .stat-number-text {
    animation-delay: 0.5s;
}

.visible .stat-item:nth-child(3) .stat-number-text {
    animation-delay: 0.7s;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-desc {
    margin-bottom: 3rem;
    opacity: 0.9;
    font-size: 1.125rem;
}

/* Footer */
.footer {
    background-color: #1a052b;
    /* Darker purple/black for footer */
    color: #a0aec0;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-footer {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul li a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Insights Section */
.insights {
    background-image: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&q=80');
    /* Modern Office/Meeting */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: var(--white);
}

.insights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 0, 78, 0.9);
    /* Stronger Purple overlay to cover blue tint */
}

.insights .container {
    position: relative;
    z-index: 2;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.insight-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 2rem;
    transition: all var(--transition-speed);
    cursor: pointer;
}

.insight-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.insight-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.insight-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--white);
}

.insight-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-list {
        display: none;
        /* In a real implementation, this would be a slide-out menu */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .nav-list.active {
        display: flex;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        border-left: none;
        border-top: 1px solid #ddd;
        padding-left: 0;
        padding-top: 2rem;
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}