@import url('images/image_11.jpg');

:root {
    /* Colors */
    --color-primary-dark: #1a202c; /* Deep Charcoal */
    --color-primary-light: #2d3748; /* Dark Slate Gray */
    --color-accent: #a07b46; /* Muted Gold/Bronze */
    --color-accent-light: #d4af37; /* Richer Gold for highlights */
    --color-text-light: #cbd5e0; /* Light Gray for contrast on dark */
    --color-text-dark: #ffffff; /* White */
    --color-background-gradient: linear-gradient(135deg, var(--color-primary-dark), #0d121c); /* Dark gradient */
    --color-card-background: #2a3340; /* Slightly lighter than primary-light for cards */
    --color-border-subtle: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --section-padding: 6rem 0; /* Standard section padding */

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* Global Resets and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-light);
    background: var(--color-background-gradient);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; /* Allow main content to grow */
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--color-accent-light);
    transform: translateY(-2px);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
p { margin-bottom: var(--spacing-sm); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Helpers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-padding {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: var(--spacing-xl);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

/* Header */
.main-header {
    background-color: transparent;
    padding: var(--spacing-md) 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Subtle border */
}

.main-header.scrolled {
    background-color: var(--color-primary-dark);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-sm) 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
}

.logo a {
    color: var(--color-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: var(--color-accent);
    transform: none; /* Override general anchor hover */
}

.logo::before { /* Subtle accent under logo */
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 1.5px;
    opacity: 1;.8;
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
}

.main-nav .nav-list li {
    margin-left: var(--spacing-lg);
}

.main-nav .nav-list a {
    color: var(--color-text-light);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px; /* Space for underline */
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.main-nav .nav-list a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('images/image_12.jpg') no-repeat center center/cover; /* Blurred background image */
    background-attachment: fixed; /* Parallax effect */
    overflow: hidden; /* Ensure gradients don't spill */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%); /* Fading overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: var(--spacing-lg);
    animation: fadeInScale 1s ease-out forwards;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-dark);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, var(--color-text-dark), var(--color-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.7rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xl);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInScale {
    from {
        opacity: 1;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* About Section */
.about-section {
    background-color: var(--color-primary-dark); /* Slightly different background for visual break */
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    text-align: left;
    margin-bottom: var(--spacing-md);
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    max-height: 400px;
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Services and Insights Grid (General Card Styling) */
.services-grid, .insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.service-card, .insight-card {
    background-color: var(--color-card-background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover, .insight-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card img, .insight-card img {
    width: 100%;
    height: 200px; /* Fixed height for images in cards */
    object-fit: cover;
    border-bottom: 1px solid var(--color-border-subtle);
}

.service-card h3, .insight-card h3 {
    padding: var(--spacing-md) var(--spacing-lg) var(--spacing-sm);
    font-size: 1.5rem;
    color: var(--color-accent-light);
}

.service-card p, .insight-card p {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    font-size: 1rem;
    color: var(--color-text-light);
    flex-grow: 1; /* Ensure paragraphs take available space, making cards same height */
}

/* Approach Section */
.approach-section {
    background: var(--color-primary-dark); /* Match about section for continuity */
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    text-align: center;
}

.approach-item {
    background-color: var(--color-card-background);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.approach-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.3); /* Ring effect */
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.approach-item:hover .icon-circle {
    background: var(--color-accent-light);
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.4);
}

.approach-item h3 {
    color: var(--color-accent-light);
    margin-bottom: var(--spacing-sm);
}

.approach-item p {
    font-size: 1rem;
    color: var(--color-text-light);
}

/* Call to Action Section (Passive) */
.cta-section {
    text-align: center;
    background: var(--color-primary-light);
    padding: var(--section-padding);
    border-top: 1px solid var(--color-border-subtle);
}

.cta-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-dark);
}

.cta-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.main-footer {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid var(--color-border-subtle);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--color-border-subtle);
    margin-bottom: var(--spacing-md);
}

.footer-brand, .footer-links, .footer-social {
    flex: 1;
    min-width: 200px;
    margin-bottom: var(--spacing-md);
}

.footer-brand .logo {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}
.footer-brand .logo a {
    color: var(--color-text-dark);
}
.footer-brand .logo::before {
    display: none; /* Hide underline for footer logo */
}

.footer-content h4 {
    color: var(--color-text-dark);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 5px;
}

.footer-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
    border-radius: 1px;
}

.footer-links ul, .footer-social ul {
    list-style: none;
}

.footer-links li, .footer-social li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a, .footer-social a {
    color: var(--color-text-light);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-social a:hover {
    color: var(--color-accent-light);
    transform: translateX(5px);
}

.footer-social i {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .main-nav .nav-list li {
        margin-left: var(--spacing-md);
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        order: -1; /* Image above text on mobile */
    }

    .services-grid, .insights-grid, .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        justify-content: center;
        text-align: center;
    }

    .footer-brand, .footer-links, .footer-social {
        min-width: unset;
        width: 100%;
    }
    
    .footer-content h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }

    .main-nav {
        margin-top: var(--spacing-md);
    }

    .main-nav .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav .nav-list li {
        margin: var(--spacing-xs) var(--spacing-sm);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: var(--spacing-lg);
    }

    .services-grid, .insights-grid, .approach-grid {
        grid-template-columns: 1fr; /* Stack to 1 column */
    }

    .section-padding {
        padding: 4rem 0;
    }

    .cta-title {
        font-size: 2rem;
    }
    .cta-subtitle {
        font-size: 1.2rem;
    }

    .about-image img {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.8rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    .icon-circle {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    .main-nav .nav-list li {
        margin: var(--spacing-xs) var(--spacing-xs);
    }
    .cta-title {
        font-size: 1.8rem;
    }
    .cta-subtitle {
        font-size: 1rem;
    }
}
/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
