/* === Custom Fonts === */
@font-face {
    font-family: 'Alta';
    src: url('../Websitefonts/Alta_regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../Websitefonts/Montserrat-Medium.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-color: #345635;
    --text-color: #E3EFD3;
    --accent-color: #AEC3B0;
    /* Light sage accent */
    --surface-color: #0D2B1D;
    --secondary-accent: #6B8F71;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', 'Manrope', sans-serif;
    --font-logo: 'Alta', 'Cormorant Garamond', serif;
    --gap: 2rem;
    --container-width: 1400px;

    /* Brand Color Palette */
    --brand-primary: #345635;
    --brand-secondary: #0D2B1D;
    --brand-accent: #E3EFD3;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: auto;
    /* Handled by Lenis */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor */
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    color: #E3EFD3;
}

/* Section Titles - Brand Font */
.section-title {
    font-family: 'Alta', 'Cormorant Garamond', serif;
    /* Same font as logo for brand consistency */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
    cursor: none;
    /* Custom cursor handling */
}

/* --- Custom Cursor --- */
.cursor-dot,
.cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: white;
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

body.hovering .cursor-circle {
    width: 60px;
    height: 60px;
    background-color: rgba(174, 195, 176, 0.2);
    border-color: transparent;
}

/* Cursor color change for Services Section - CORRECTED */
body.in-services .cursor-dot {
    background-color: #345635 !important;
    /* Dark green for visibility on light background */
}

body.in-services .cursor-circle {
    border-color: rgba(52, 86, 53, 0.6) !important;
    /* Dark green border for visibility */
}

body.in-services.hovering .cursor-circle {
    background-color: rgba(52, 86, 53, 0.3) !important;
    /* Dark green hover state */
}

/* --- Logo Text Styling (All Locations) --- */
.logo-text {
    font-family: 'Alta', 'Cormorant Garamond', serif;
    font-weight: normal;
    font-style: normal;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #E3EFD3;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* --- Logo Font Utility Class --- */
.logo-font {
    font-family: 'Alta', 'Cormorant Garamond', serif !important;
    /* Apply brand font to any element */
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0D2B1D;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Curtain Panels - Split from Center */
.preloader-curtain {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: #0D2B1D;
    /* Deep emerald green */
    z-index: 10001;
    /* Above logo initially */
}

.preloader-curtain-left {
    left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle center line */
}

.preloader-curtain-right {
    right: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle center line */
}

/* Logo Container - Much Larger */
.preloader-logo {
    position: relative;
    z-index: 10000;
    /* Below curtains initially */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
    /* Extra large container */
    padding: 0 2rem;
}

.preloader-logo .logo-text {
    font-size: clamp(60px, 12vw, 150px);
    /* Massive logo text - scales from 60px to 150px */
    opacity: 0;
    /* Start invisible, will fade in with animation */
}

/* Mobile Adjustments for Preloader */
@media (max-width: 768px) {
    .preloader-logo {
        max-width: 90%;
    }
}


/* --- Layout --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gap);
}

section {
    padding: 120px 0;
    position: relative;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 0;
    /* Minimal padding for elegant appearance */
    max-height: 103px;
    /* Fixed height - logo grows but navbar stays same */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: padding 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease, max-height 0.4s ease;
}

.nav-container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gap);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    /* Fill navbar height */
}

.nav-logo {
    display: flex;
    align-items: center;
    /* Vertically center logo */
}

.nav-logo .logo-text {
    font-size: clamp(28px, 4vw, 45px);
    /* Larger for stronger brand presence - navbar height stays fixed */
    letter-spacing: 0;
    /* No spacing like preloader logo */
    transition: font-size 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(2rem, 3vw, 2.5rem);
    /* Refined spacing */
}

.nav-link {
    font-size: 0.85rem;
    /* Slightly smaller for elegance */
    font-weight: 300;
    /* Lighter weight for refined feel */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    /* Increased tracking for sophistication */
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #E3EFD3;
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    /* Mobile only */
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -15%;
    /* Start offset to prevent gaps */
    left: 0;
    width: 100%;
    height: 130%;
    /* Extra height for parallax range */
    background-size: cover;
    background-position: center;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 43, 29, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-family: 'Alta', 'Cormorant Garamond', serif;
    /* Using same font as logo */
    font-size: clamp(2.5rem, 7vw, 7rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
}

.hero-title .line {
    display: block;
    overflow: visible;
    /* Changed from hidden to visible to allow potential glow/shadow, but if reveal animation needs hidden, we might need a wrapper. Keeping hidden for now if JS relies on it, but checking context. JS reveals 'y' transform. Hidden is fine for crop. */
    overflow: hidden;

    /* Text Gradient: Emerald Shimmer */
    background: linear-gradient(to right, #E3EFD3, #AEC3B0, #6B8F71, #AEC3B0, #E3EFD3);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;

    /* Animation */
    animation: shine 5s linear infinite;
}

/* Shine Animation */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    margin-top: 2rem;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;

    /* Light accent color */
    color: #AEC3B0;

    opacity: 0;
    /* JS handles reveal */
}

.scroll-indicator {
    margin-top: 5rem;
    /* Moves it down below the subtitle */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #E3EFD3;
    transform: translateY(-100%);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* --- About Section --- */
.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text .section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.2rem;
    color: #AEC3B0;
    margin-bottom: 3rem;
    max-width: 500px;
}

.btn-text {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
}

.about-image {
    height: 600px;
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 130%;
    top: -15%;
    position: absolute;
    object-fit: cover;
}

/* Philosophy Image - Show Full Image Without Crop */
.about-image img.philosophy-img {
    width: 100%;
    height: 100%;
    top: 0;
    object-fit: contain;
    /* Show entire image without cropping */
}

/* --- Full Parallax Interstitial --- */
.full-parallax-section {
    padding: 0;
    /* Override default section padding */
    height: 80vh;
    /* Tall cinematic area */
    width: 100%;
    position: relative;
    margin-bottom: 5rem;
}

.full-parallax-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    /* Basic Mask for clean edges */
}

.full-parallax-wrapper img {
    width: 120%;
    height: 140%;
    object-fit: cover;
    position: absolute;
    top: -20%;
    left: -10%;
}

.parallax-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 80%;
}

.parallax-caption h3 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 300;
    line-height: 1.2;
    color: #fff;
    opacity: 0.9;
}

/* --- Services / Our Expertise --- */
.services-section {
    background-color: #E3EFD3;
    padding: 8rem 0;
}

.services-section .section-title {
    color: var(--brand-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2×2 balanced grid */
    gap: 3rem;
    margin-top: 5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    padding: 4rem 3rem;
    border: 1px solid rgba(52, 86, 53, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-color: rgba(255, 255, 255, 0.4);
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.7);
    border-color: var(--brand-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(52, 86, 53, 0.25);
}

.service-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--brand-secondary);
    margin-bottom: 1.5rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-num {
    opacity: 1;
}

.service-card h3 {
    font-family: 'Alta', 'Cormorant Garamond', serif;
    /* Brand font for service titles */
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
    color: var(--brand-primary);
}

.service-card p {
    color: var(--brand-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- Projects --- */
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.view-all-btn {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 8rem;
    align-items: center;
}

.project-item.reverse {
    grid-template-columns: 1.5fr 1fr;
}

.project-image {
    height: 500px;
    overflow: hidden;
    position: relative;
    cursor: none;
    /* For hover effect */
}

.project-image img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-image:hover img {
    transform: scale(1.05);
    /* Slight zoom on hover, parallax handled by script */
}

.project-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.project-year {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
}

/* --- Gallery (Grid Layout) --- */
.gallery-section {
    padding: 10vh 0;
    background-color: var(--bg-color);
}

.gallery-header {
    text-align: center;
    margin-bottom: 5rem;
}

.gallery-header .section-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    /* Bigger size for Visual Archive */
    letter-spacing: 0.15em;
    /* Same as logo for brand consistency */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background-color: var(--surface-color);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 43, 29, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.view-icon {
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 300;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .view-icon {
    transform: scale(1);
}

/* Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    /* CRITICAL: Force cursor visibility in modal */
    cursor: auto !important;
}

.image-modal * {
    /* Ensure ALL children of modal have visible cursor */
    cursor: auto !important;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* CRITICAL: Ensure cursor is visible and indicates clickability */
    cursor: pointer !important;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 10001;
}

.modal-close:hover {
    background: var(--text-color);
    color: var(--bg-color);
    transform: rotate(90deg);
}

/* Modal Navigation Arrows */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(227, 239, 211, 0.1);
    border: 2px solid rgba(227, 239, 211, 0.5);
    color: var(--text-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.modal-nav:hover {
    background: rgba(227, 239, 211, 0.25);
    border-color: var(--text-color);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.modal-prev {
    left: 2rem;
}

.modal-next {
    right: 2rem;
}

.modal-nav svg {
    width: 28px;
    height: 28px;
    stroke-width: 3;
}

/* Hide navigation on desktop hover (show on hover) */
@media (min-width: 769px) {
    .modal-nav {
        opacity: 0;
        transition: opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    }

    .image-modal:hover .modal-nav,
    .modal-nav:focus {
        opacity: 1;
    }
}

/* Always visible on mobile/tablet */
@media (max-width: 768px) {
    .modal-nav {
        opacity: 1;
        width: 50px;
        height: 50px;
    }

    .modal-prev {
        left: 1rem;
    }

    .modal-next {
        right: 1rem;
    }

    .modal-nav svg {
        width: 24px;
        height: 24px;
    }
}


/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-column {
        gap: 1.5rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}

/* --- Contact --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-content .section-title {
    margin-bottom: 1.5rem;
}

.contact-content p {
    margin-bottom: 3rem;
    color: #AEC3B0;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: #666;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #fff;
}

.btn-primary {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 1rem 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: none;
    /* Custom cursor */
    margin-top: 2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #6B8F71;
    color: #E3EFD3;
    transform: translateY(-2px);
}

.contact-image {
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 120%;
    object-fit: cover;
}

/* --- Footer --- */
.footer {
    position: relative;
    padding: 0;
    background: #0D2B1D;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

/* Professional overlay with background image */
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(13, 43, 29, 0.85),
            rgba(13, 43, 29, 0.95)),
        url('../assets/project-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

/* Remove the ::after texture layer - no longer needed */

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 80px;
    padding: 120px 0 80px;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    padding-right: 3rem;
}

.footer-brand .logo-text {
    font-size: clamp(50px, 7vw, 80px);
    /* Maximum size for dominant footer brand presence */
    letter-spacing: 0;
    /* No spacing like preloader logo */
    margin-bottom: 2rem;
    display: block;
    transition: transform 0.3s ease;
}

.footer-brand .logo-text:hover {
    transform: translateY(-2px);
}

.footer-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6B8F71;
    margin-bottom: 1.5rem;
    /* Slightly tightened for single-line location */
    font-weight: 500;
    opacity: 0.6;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 2;
    color: #aaa;
    margin-bottom: 0.8rem;
    font-weight: 300;
}

.footer-phone,
.footer-email {
    color: #e0e0e0;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-weight: 400;
}

.footer-phone:hover,
.footer-email:hover {
    opacity: 0.7;
}

.footer-link {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #666;
    text-decoration: none;
    margin-top: 1rem;
    display: inline-block;
    transition: opacity 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.footer-link:hover {
    opacity: 0.7;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.footer-social {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
}

.footer-social a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social a svg {
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.footer-social a:hover svg {
    stroke: #AEC3B0;
}

.footer-bottom {
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.copyright {
    font-size: 0.7rem;
    color: #555;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 300;
}

/* --- Responsive --- */
@media (max-width: 768px) {

    .cursor-dot,
    .cursor-circle {
        display: none;
    }

    /* Hide custom cursor on touch */
    body {
        cursor: auto;
    }

    .grid-layout,
    .services-grid,
    .project-item,
    .project-item.reverse,
    .contact-wrapper {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 1.5rem;
        /* Reduced gap for better mobile spacing */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        background-color: #345635;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 99;
        /* Behind logo/toggle but on top of content */
    }

    .nav-links.nav-active {
        transform: translateY(0);
    }

    .nav-link {
        font-size: 1.5rem;
        opacity: 0;
        color: #fff;
        /* Ensure visible on black background */
        /* Animated in by JS */
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 100;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s ease;
    }

    /* Hamburger Animation */
    .menu-toggle.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.toggle .line2 {
        opacity: 0;
    }

    .menu-toggle.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Reduce section padding on mobile */
    section {
        padding: 40px 0;
        /* Significantly reduced from 120px for mobile */
    }

    /* Reduce about section text margins */
    .about-text .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    /* Fix about-image mobile layout */
    .about-image {
        height: auto;
        /* Remove fixed height on mobile */
        min-height: unset;
        /* Remove any min-height */
        overflow: visible;
        /* Allow natural sizing */
    }

    .about-image img {
        position: static;
        /* Remove absolute positioning on mobile */
        height: auto;
        /* Let image size naturally */
        width: 100%;
        object-fit: contain;
        /* Show full image */
        top: 0;
    }

    .about-image img.philosophy-img {
        position: static;
        height: auto;
        width: 100%;
    }

    .hero-title {
        font-size: clamp(2rem, 12vw, 3.5rem);
    }

    .navbar {
        padding: 1rem 0;
        /* Refined mobile padding */
    }

    .nav-links {
        padding: 0 10%;
    }

    .nav-logo img {
        height: 85px;
        /* Balanced mobile logo - visible yet refined */
    }

    .footer-logo-img {
        height: 90px;
        /* Prominent mobile footer logo */
    }

}

/* Large Screens Optimization */
@media (min-width: 2000px) {
    :root {
        --container-width: 1800px;
    }

    html {
        font-size: 18px;
    }
}