/*
==================================================
STYLES.CSS - VASTUVITAA
==================================================

TABLE OF CONTENTS:
1.  GLOBAL STYLES (Variables, Reset, Typography)
2.  GENERAL UTILITIES (Buttons, Animations)
3.  SITE STRUCTURE (Header, Navigation, Footer)
4.  MOBILE NAVIGATION
5.  HERO SECTION (Video & Page Headers)
6.  INTRODUCTION SECTION (Homepage)
7.  "SELECTED WORKS" (Homepage - .project-grid)
8.  "OUR EXPERTISE" (Homepage - .focus-grid)
9.  "OUR PROCESS" (Homepage - .process-steps)
10. "OUR TEAM" SECTION
11. TESTIMONIALS (Parallax & Slider)
12. "WORKS" PAGE GALLERY (.project-gallery-grid)
13. SINGLE PROJECT PAGE
14. CONTACT PAGE
15. RESPONSIVE MEDIA QUERIES

==================================================
*/

/* --- 1. GLOBAL STYLES --- */
:root {
    /* Fonts */
    --font-serif: 'Lora', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --cursive-font: "Raleway", sans-serif;

    /* Architectural Color Palette */
    --color-dark: #1A1A1A;              /* Deep charcoal - architectural black */
    --color-light: #F5F5F0;             /* Off-white - concrete/plaster tone */
    --color-gray: #6B6B6B;              /* Medium gray - architectural steel */
    --color-accent: #2C5F7D;            /* Deep architectural blue - steel/glass */
    
    /* Architectural Secondary Palette */
    --text-dark: #2D2D2D;               /* Dark charcoal for text */
    --text-accent-gold: #8B7355;        /* Warm bronze/copper accent */
    --text-light-gray: #6B6B6B;         /* Medium gray */
    --bg-light-white: #FAFAF5;          /* Warm off-white background */
    --bg-accent-light-beige: #F0F0EB;   /* Light architectural beige */
    
    /* Architectural Accent Colors */
    --accent-warm: #B8860B;             /* Architectural bronze */
    --accent-cool: #4A6FA5;             /* Architectural blue-gray */
    --accent-earth: #8B7355;            /* Warm earth tone */
}

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

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    background-color: #FAFAF5;
    color: var(--color-dark);
    animation: fadeIn 0.8s ease-in-out;
}

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

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-cool);
}

.cursive {
    font-family: var(--cursive-font);
    font-size: 2.2rem;
    font-weight: 700;
}

.content-section {
    padding: 3rem 0;
}

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

.text-center {
    text-align: center;
}

/* --- 2. GENERAL UTILITIES (Buttons, Animations) --- */

/* General Purpose Button */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--color-dark);
    margin-top: 1rem;
    font-weight: 500;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: var(--color-dark);
}

.btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-light);
    z-index: -2;
}

.btn:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--color-dark);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover {
    color: #fff;
}

.btn:hover:before {
    width: 100%;
}

/* Page Load Fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll-Reveal Animations */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Page Loader --- */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #FAFAF5;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.architectural-loader {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 80px;
    height: 80px;
}

.loader-block {
    width: 100%;
    height: 100%;
    background-color: var(--accent-cool);
    opacity: 0.3;
    animation: architecturalPulse 1.4s ease-in-out infinite;
    border-radius: 4px;
}

.loader-block.block-1 {
    animation-delay: 0s;
}

.loader-block.block-2 {
    animation-delay: 0.2s;
}

.loader-block.block-3 {
    animation-delay: 0.4s;
}

.loader-block.block-4 {
    animation-delay: 0.6s;
}

@keyframes architecturalPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.loader-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

/* --- 3. SITE STRUCTURE (Header, Navigation, Footer) --- */

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1rem;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.4s ease-in-out;
    background-color: rgba(245, 245, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(26, 26, 26, 0.08);
    border-bottom: 1px solid rgba(107, 107, 107, 0.1);
}

.logo-link {
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--color-dark);
}

.main-nav {
    transition: transform 0.5s ease-in-out;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 2rem;
}

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

/* Smooth Animated Underline for Nav Links */
.main-nav a {
    position: relative;
}

.main-nav a.active {
    color: var(--accent-cool) !important;
    font-weight: 600;
}

.main-nav a:not(.active):after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: currentColor;
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
    left: 0;
}

.menu-toggle {
    display: none;
}

/* Footer */
.main-footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 4rem 0;
}

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

.footer-col h4 {
    font-family: var(--font-serif);
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* Enhanced Footer (Option 2) */
.enhanced-footer {
    background: #1A1A1A !important;
    color: #F5F5F0 !important;
    padding: 5rem 0 3rem;
    width: 100%;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(107, 107, 107, 0.2);
}

.enhanced-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.enhanced-footer .footer-section h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #F5F5F0 !important;
    letter-spacing: -0.5px;
}

.enhanced-footer .footer-section h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #F5F5F0 !important;
    letter-spacing: -0.3px;
}

.enhanced-footer .company-section .tagline {
    font-style: italic;
    color: var(--color-gray);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.enhanced-footer .company-section .copyright {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.enhanced-footer .contact-section .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.enhanced-footer .contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--accent-cool);
    margin-top: 0.2rem;
}

.enhanced-footer .contact-section a {
    color: #F5F5F0 !important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.enhanced-footer .contact-section a:hover {
    color: var(--accent-cool);
}

.enhanced-footer .address-text {
    color: #F5F5F0 !important;
    font-size: 1rem;
    line-height: 1.6;
}

.enhanced-footer .address-text p {
    margin: 0;
    color: #F5F5F0 !important;
}

.enhanced-footer .actions-section {
    display: flex;
    flex-direction: column;
}

.enhanced-footer .social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.enhanced-footer .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 245, 240, 0.1);
    border: 1px solid rgba(245, 245, 240, 0.2);
    border-radius: 50%;
    color: #F5F5F0 !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.enhanced-footer .social-link svg {
    width: 20px;
    height: 20px;
}

.enhanced-footer .social-link:hover {
    background: var(--accent-cool);
    border-color: var(--accent-cool);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 125, 0.3);
}

.enhanced-footer .quick-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.enhanced-footer .action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(245, 245, 240, 0.1);
    border: 1px solid rgba(245, 245, 240, 0.2);
    border-radius: 4px;
    color: #F5F5F0 !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.enhanced-footer .action-btn svg {
    width: 18px;
    height: 18px;
}

.enhanced-footer .action-btn:hover {
    background: var(--accent-cool);
    border-color: var(--accent-cool);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 125, 0.3);
}

.enhanced-footer .call-btn:hover {
    background: #4CAF50;
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.enhanced-footer .email-btn:hover {
    background: #2196F3;
    border-color: #2196F3;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.enhanced-footer .whatsapp-link:hover {
    background: #25D366;
    transform: translateY(-2px);
}

.enhanced-footer .whatsapp-btn:hover {
    background: #25D366;
    border-color: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* --- 4. MOBILE NAVIGATION --- */

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-light);
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-overlay.is-open {
    transform: translateX(0);
}

.mobile-nav-overlay ul {
    list-style: none;
    text-align: center;
}

.mobile-nav-overlay ul li {
    margin: 2rem 0;
}

.mobile-nav-overlay ul li a {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-dark);
    font-weight: 600;
}

/* --- 5. HERO SECTION (Video & Page Headers) --- */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-video,
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

.hero-content h1,
.hero-content p {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

/* Generic Page Header (like on Works page) */
.page-header {
    background-color: var(--color-light);
    padding: 6rem 0;
    text-align: center;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--color-gray);
    max-width: 600px;
    margin: 1rem auto 0;
}

.works-page .hero-section {
    height: 50vh;
    min-height: 400px;
}

/* Final CTA Section */
.cta-section h2 {
    font-size: 3rem;
}

.cta-section p {
    margin-top: 0;
    margin-bottom: 2rem;
}

/* --- 6. INTRODUCTION SECTION (Homepage) --- */

/* .introduction-section {
    padding: 80px 0;
    font-family: 'Poppins', sans-serif;
    background-image: url('/images/Perfection.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #efe9d5;
    filter: blur(5px);
} */

.introduction-section {
    position: relative; /* Needed for absolute positioning of the pseudo-element */
    padding: 80px 0;
    font-family: 'Poppins', sans-serif;
    background-color: #F0F0EB; /* Architectural light beige */
    overflow: hidden; /* Ensures the blurred background doesn't bleed outside */
}

.introduction-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/Perfection.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    filter: blur(5px); /* Apply blur only to the pseudo-element */
    z-index: -1; /* Place it behind the content */
}

/* Add styles for your actual content within .introduction-section if needed */
.introduction-section h1,
.introduction-section p {
    position: relative; /* Ensure content is above the pseudo-element */
    z-index: 1;
    /* other text styles */
    color: #333; /* Example text color */
}

.introduction-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: var(--accent-cool);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.intro-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.intro-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-cool);
    display: block;
    line-height: 1.1;
}

.stat-description {
    font-size: 1rem;
    color: #333;
    margin-top: 5px;
}

/* --- 7. "SELECTED WORKS" (Homepage - .project-grid) --- */

/* * This is the style for the "Selected Works" grid on the homepage.
 * It features an text overlay on hover.
*/

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

/* We scope this card style to its parent grid */
.project-grid .project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(26, 26, 26, 0.08);
    border: 1px solid rgba(107, 107, 107, 0.1);
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.project-grid .project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-grid .project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    /* This transform is for the old "slide-in" effect. 
       If you want the overlay permanent, remove the transform/opacity lines. */
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.project-grid .project-info h3 {
    margin: 0;
    font-size: 1.5rem;
}

.project-grid .project-info p {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Hover Effects for "Selected Works" */
.project-grid .project-card:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.15);
    border-color: var(--accent-cool);
}

.project-grid .project-card:hover img {
    transform: scale(1.1); /* Image zooms *inside* the card */
}

/* This makes the text overlay slide in */
.project-grid .project-card:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

/* Blur effect for other cards */
.project-grid:hover .project-card:not(:hover) {
    filter: blur(2px);
    opacity: 0.85;
}


/* --- 8. "OUR EXPERTISE" (Homepage - .focus-grid) --- */

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.focus-grid .service-card {
    background-color: #FAFAF5;
    border: 1px solid rgba(107, 107, 107, 0.15);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
    position: relative;
    overflow: visible;
    z-index: 10;
    transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Focus & Blur Effect */
.focus-grid:hover .service-card {
    filter: blur(2px);
    opacity: 0.85;
    transform: scale(0.98);
}

.focus-grid .service-card:hover {
    filter: blur(0);
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.12);
    border-color: var(--accent-cool);
    z-index: 20;
}

.card-inner-content {
    background-color: transparent;
    border-radius: 8px;
    padding: 2.5rem;
    position: relative;
    z-index: 5;
}

/* "Roots" Effect - Architectural lines */
.root {
    position: absolute;
    width: 2px;
    height: 20px;
    background-color: var(--accent-cool);
    opacity: 0;
    transform: scaleY(0);
    transition: all 0.3s ease-out;
}

.service-card:hover .root {
    opacity: 1;
    transform: scaleY(1);
}

.root-1 {
    top: -20px;
    left: 30%;
    transform-origin: bottom;
    transition-delay: 0.1s;
}

.root-2 {
    bottom: -20px;
    left: 60%;
    transform-origin: top;
    transition-delay: 0.2s;
}

.root-3 {
    top: 50%;
    left: -20px;
    width: 20px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition-delay: 0.3s;
}

.service-card:hover .root-3 {
    transform: scaleX(1);
}

.focus-grid .service-icon {
    margin: 0 auto 1.5rem auto;
    width: 60px;
    height: 60px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.focus-grid .service-icon svg {
    width: 30px;
    height: 30px;
    color: #AC8F60;
}

.focus-grid .service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1rem;
}

.focus-grid .service-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Simple Services Grid (if used elsewhere) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
    margin-top: 3rem;
    align-items: stretch;
}

.service-card {
    border: 1px solid #e0e0e0;
    padding: 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--accent-cool);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(26, 26, 26, 0.1);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon {
    color: var(--accent-cool);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

/* --- 9. "OUR PROCESS" (Homepage - .process-steps) --- */

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.process-step {
    background: #FAFAF5;
    border: 1px solid rgba(107, 107, 107, 0.15);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.12);
    border-color: var(--accent-cool);
}
.process-steps:hover .process-step:not(:hover) {
    filter: blur(2px);
    opacity: 0.85;
}

.process-step .step-number {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(44, 95, 125, 0.08);
    z-index: 1;
    user-select: none;
    font-family: var(--font-serif);
    letter-spacing: -3px;
}

.process-step h3,
.process-step p {
    position: relative;
    z-index: 2;
}

.process-step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #AC8F60;
    margin-bottom: 1rem;
}

.process-step p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.process-step.reveal:nth-of-type(2) {
    transition-delay: 0.2s;
}

.process-step.reveal:nth-of-type(3) {
    transition-delay: 0.4s;
}

/* --- 10. "OUR TEAM" SECTION --- */

.team-section {
    background-color: var(--bg-light-white);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.team-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 70px;
    font-weight: 700;
}

.team-grid {
    display: grid;
    /* This forces a 2-column grid */
    grid-template-columns: repeat(2, 1fr); 
    gap: 50px 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
}


.team-image.shape-arch {
    width: 200px !important;
    height: 300px !important;
    margin: 0 auto 20px auto !important;
    overflow: hidden !important;
    border-radius: 100px 100px 0 0 !important; /* 60px top, 0px bottom */
    clip-path: none !important; /* Just in case */
}
.team-image-reverse.shape-arch-reverse {
    width: 200px !important;
    height: 300px !important;
    margin: 0 auto 20px auto !important;
    overflow: hidden !important;
    border-radius: 0 0 100px 100px !important; /* 60px top, 0px bottom */
    clip-path: none !important; /* Just in case */
}
.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.team-image-reverse img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Team Image Shapes */
.shape-circle {
    border-radius: 50%;
}



.shape-blob {
    clip-path: polygon(41% 0, 75% 15%, 100% 50%, 75% 85%, 41% 100%, 15% 79%, 0 50%, 15% 21%);
}

.team-info {
    padding: 0 10px;
}

.team-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0 0 8px 0;
}

.team-info p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text-accent-gold);
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
}

/* Team Decorative Shapes */
.team-section::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: var(--bg-accent-light-beige);
    border-radius: 30px;
    top: 10%;
    left: 5%;
    transform: rotate(45deg);
    z-index: 0;
    opacity: 0.8;
}

.team-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: var(--bg-accent-light-beige);
    border-radius: 50%;
    top: 40%;
    right: -50px;
    z-index: 0;
    opacity: 0.8;
}

/* --- 11. TESTIMONIALS (Parallax & Slider) --- */

.testimonial-section {
    background-image: url('/images/parallax-bg.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #2C3E50;
    color: #fff;
    min-height: 400px;
    padding: 80px 0;
    position: relative;
}

.testimonial-block {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    font-weight: 500;
}

.testimonial-author {
    font-family: var(--font-sans);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* Testimonial Slider */
#testimonial-slider {
    position: relative;
    height: 300px; /* Fixed height for desktop */
    overflow: hidden; /* Hide overflow to show only one slide at a time */
}

.testimonial-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.testimonial-slide {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    min-height: 300px; /* Ensure minimum height for content */
}

/* Fading testimonial style (if used) */
.testimonial-block.fade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.testimonial-block.fade.active {
    opacity: 1;
}


/* --- 12. "WORKS" PAGE GALLERY (.project-gallery-grid) --- */

/* * This is the style for the main "Works" page.
 * It features a permanent beige label below the image.
*/

.filter-controls {
    text-align: center;
    margin-bottom: 4rem;
}

.filter-btn {
    background: none;
    border: 1px solid #e0e0e0;
    color: var(--color-gray);
    padding: 0.6rem 1.5rem;
    margin: 0 0.5rem;
    cursor: pointer;
    border-radius: 20px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: var(--color-light);
    border-color: var(--color-dark);
    color: var(--color-dark);
}

.filter-btn.active {
    background-color: var(--color-dark);
    border-color: var(--accent-cool);
    color: #fff;
    box-shadow: 0 2px 8px rgba(26, 26, 26, 0.2);
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* We scope this card style to its parent grid */
.project-gallery-grid .project-card {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    /* Added filter to transition for the focus effect */
    transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-gallery-grid .project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* The permanent beige label */
.project-gallery-grid .project-info {
    background: #F7F3E8;
    padding: 1.25rem 1.5rem;
}

.project-gallery-grid .project-info h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.15rem;
    color: #333;
}

.project-gallery-grid .project-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Hover Effect for "Works Gallery" (Image zoom only) */
.project-gallery-grid .project-card:hover img {
    transform: scale(1.1);
}

/* Blur effect for other cards */
.project-gallery-grid:hover .project-card:not(:hover) {
    filter: blur(2px);
    opacity: 0.85;
}

/* Class added by JS for filtering */
.project-card.hide {
    transform: scale(0.8);
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* --- 13. SINGLE PROJECT PAGE --- */

.project-hero img {
    width: 100%;
    height: auto;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.project-meta h3 {
    margin-bottom: 1rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    font-weight: 600;
}

.project-meta ul {
    list-style: none;
}

.project-meta ul li {
    margin-bottom: 0.5rem;
    color: var(--color-gray);
}

.project-meta ul li strong {
    color: var(--color-dark);
}

.project-narrative h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.project-narrative p {
    margin-bottom: 2rem;
    color: var(--color-gray);
}

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

.image-gallery-grid img {
    width: 100%;
    height: auto;
}

/* --- 14. CONTACT PAGE --- */

.contact-page .container {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-details .page-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.contact-details .contact-intro {
    font-family: var(--font-sans);
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 500px;
}

.contact-details .info-section {
    margin-bottom: 2rem;
}

.contact-details .info-section h4 {
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.contact-details .info-section p,
.contact-details .info-section a {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-gray);
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background-color: var(--color-light);
    color: var(--color-dark);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.submit-btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border: 1px solid var(--color-dark);
    margin-top: 1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    transition: all 0.4s ease;
    background-color: var(--color-dark);
    color: var(--color-light);
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background-color: var(--accent-cool);
    border-color: var(--accent-cool);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 125, 0.3);
}

.map-container {
    padding-bottom: 6rem;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}
/* =================================== */
/* ==   CONTACT PAGE (Vanta Update)   == */
/* =================================== */
#contact-animation-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* This is the key: it puts it behind everything */
    background-color:#FDFBF5 /* Fallback background */
}
/* 1. Make the <main> tag our stacking container */
main.contact-page {
    position: relative;
    z-index: 1;
    /* This makes sure the background covers the whole form area */
    overflow: hidden; 
}

/* 2. Make the content sit on top of the animation */
.contact-grid,
.map-container {
    position: relative;
    z-index: 2; /* Sits on top of the z-index: 1 <main> */
}

/* 3. Give the form and details a "frosted" card look */
.contact-details,
.contact-form-container {
    /* Using your --color-light with 85% opacity */
    background-color: rgba(253, 251, 245, 0.85); 
    
    /* The frosted glass blur */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); 
    
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 4. Make the map look clean and contained */
.map-container {
    border-radius: 12px;
    overflow: hidden; /* This will clip the map to the rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 5. Make the footer semi-transparent */
.main-footer:not(.enhanced-footer) {
    /* Using your --color-dark with 85% opacity */
    background: rgba(44, 62, 80, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
/* --- 15. RESPONSIVE MEDIA QUERIES --- */

/* For Tablets and smaller */
@media (max-width: 992px) {
    .introduction-section .container {
        flex-direction: column;
        gap: 50px;
    }

    .intro-stats {
        width: 100%;
    }

    .intro-text h2,
    .stat-item {
        text-align: center;
    }
}

/* For Mobile */
@media (max-width: 768px) {
    /* General Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Header & Mobile Menu */
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: 1px solid var(--color-dark);
        color: var(--color-dark);
        padding: 0.5rem 1rem;
        cursor: pointer;
        font-size: 1rem;
        z-index: 101;
    }

    /* Grid Layouts to 1 Column */
    .project-grid,
    .project-gallery-grid,
    .footer-grid,
    .enhanced-footer .footer-content {
        grid-template-columns: 1fr;
    }

    .enhanced-footer .footer-content {
        gap: 3rem;
    }

    .enhanced-footer .quick-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .enhanced-footer .action-btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    .footer-grid,
    .project-details-grid,
    .image-gallery-grid,
    .services-grid,
    .process-steps,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Enhanced Footer Responsive */
    .enhanced-footer .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .enhanced-footer .quick-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .enhanced-footer .action-btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    .project-details-grid {
        gap: 2rem;
    }

    /* Section Specifics */
    .cta-section h2 {
        font-size: 2.5rem;
    }

    .testimonial-quote {
        font-size: 1.2rem;
        line-height: 1.6;
        padding: 0 1rem;
    }
    
    /* Fix testimonial slider for mobile - allow full text to show */
    #testimonial-slider {
        height: auto; /* Auto height on mobile to accommodate full text */
        min-height: 400px; /* Minimum height for mobile to show full text */
        overflow: visible; /* Show full content on mobile */
    }
    
    .testimonial-track {
        height: auto; /* Auto height on mobile */
    }
    
    .testimonial-slide {
        min-height: 400px; /* Ensure enough space for full text on mobile */
        padding: 2rem 1rem;
        height: auto; /* Allow slide to expand based on content */
    }
    
    .testimonial-author {
        margin-top: 1rem;
        font-size: 0.9rem;
    }

    /* Make homepage project card info static on mobile */
    .project-grid .project-card .project-info {
        position: static;
        opacity: 1;
        transform: translateY(0);
        background: var(--color-dark);
        padding: 1rem;
    }

    /* Hide decorative team shapes on mobile */
    .team-section::before,
    .team-section::after {
        display: none;
    }
}

/* =================================== */
/* ==   ABOUT US - 80/20 ASIDE LAYOUT   == */
/* =================================== */

/* This is the main grid for the 80/20 sections */
.about-aside-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stacks on mobile by default */
    gap: 2.5rem;
    margin-top: 3rem; /* Adds space below the centered h2 */
}

/* This styles the main paragraph text in both sections */
.philosophy-text {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-gray);
    text-align: left;
}

/* This styles the 20% GIF/Image block */
.about-aside-grid .about-gif-aside img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    
    /* On mobile, center the GIF and don't let it get too wide */
    max-width: 300px;
    margin: 0 auto;
}

/* ======================================= */
/* CSS for Project Detail Pages           */
/* Add this to the bottom of your CSS file */
/* ======================================= */

.project-detail-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    box-sizing: border-box;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap; /* For mobile */
}

.project-header h1 {
    font-size: 2.5rem;
    margin: 0;
}

.back-link {
    text-decoration: none;
    font-weight: 600;
    color: #333;
    background-color: #f4f4f4;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.back-link:hover {
    background-color: #ddd;
}

.project-hero-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover; /* This crops the image nicely */
    border-radius: 10px;
    margin-bottom: 40px;
}

.project-content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

/* On mobile, stack the columns */
@media (max-width: 768px) {
    .project-content-wrapper {
        flex-direction: column;
    }
}

/* (!!!) UPDATE HERE (!!!) */
/* LEFT COLUMN: Project Info */
.project-info-new {
    flex: 1; /* Takes 1/3 of the space */
    min-width: 280px;
    background-color: #fafafa;
    padding: 24px;
    border-radius: 8px;
    height: fit-content; /* Makes it only as tall as its content */
}

.project-info-new h3 {
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.project-info-new ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-info-new li {
    margin-bottom: 16px;
    font-size: 1rem;
}

.project-info-new li strong {
    display: block; /* Makes the label appear on its own line */
    color: #555;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.project-info-new li span {
    color: #111;
    font-weight: 500;
}

/* RIGHT COLUMN: Description & Gallery */
.project-description-gallery {
    flex: 2; /* Takes 2/3 of the space */
}

.project-description-gallery h2 {
    font-size: 2rem;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 0;
}

.project-description-gallery h2:not(:first-child) {
    margin-top: 4rem;
    margin-bottom: 1.5rem;
}

.project-description-gallery h3 {
    font-size: 1.5rem;
    color: #444;
    margin-top: 30px;
}

.project-description-gallery p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 3rem;
}

.project-description-gallery h2:last-of-type,
.project-description-gallery h2 + .project-gallery,
.project-description-gallery h3 + .project-gallery {
    margin-top: 3rem;
}

.project-gallery {
    display: grid;
    /* This makes a responsive grid: */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.project-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.about-gif-aside {
    display: flex; /* Make it a flex container */
    justify-content: center; /* Center horizontally if SVG is smaller than column */
    align-items: center; /* Vertically center the SVG within its column */
    height: 100%; /* Ensure it takes full height of its grid cell for centering */
    margin-top: -20px;
}
/* --- Desktop 80/20 Split --- */
@media (min-width: 768px) {

    /* This creates the 80/20 split for "Origin" */
    .about-aside-grid {
        /* 4fr = 4 parts (80%), 1fr = 1 part (20%) */
        grid-template-columns: 4fr 1fr;
        gap: 3rem;
        align-items: start; /* Aligns the top of the text with the top of the GIF */
    }

    /* This flips the split for "Philosophy" */
    .about-aside-grid.layout-reverse-aside {
        grid-template-columns: 1fr 4fr;
    }

    /* This styles the GIF/Image block on desktop */
    .about-aside-grid .about-gif-aside img {
        max-width: 100%; /* Allows it to fill the 20% column */
        margin: 0; /* Resets mobile centering */
    }
}


/* --- Desktop 80/20 Split --- */
@media (min-width: 768px) {
    .about-aside-grid {
        /* This creates the 80/20 split */
        /* 4fr = 4 parts (80%), 1fr = 1 part (20%) */
        grid-template-columns: 4fr 1fr;
        gap: 3rem;
        align-items: start; /* Aligns the top of the text with the top of the GIF */
    }

    .about-aside-grid .about-gif-aside img {
        max-width: 100%; /* Allows it to fill the 20% column */
        margin: 0; /* Resets mobile centering */
    }
}