:root {
    /* "Prestige & Nature" Palette - VIVANT & PRO */
    --primary: #1a4d2e;
    /* Deep Forest - Stable base */
    --primary-light: #4f9a6c;
    /* Living Leaf - Vibrant highlight */
    --primary-dark: #11301e;

    --secondary: #d4a373;
    /* Sand Gold - Warmth */
    --gold: #d4a373;
    --secondary-light: #e9c496;
    --accent: #bc6c25;
    /* Terracotta - "Vie" */

    --dark: #1f2421;
    --light: #fefae0;
    /* Soft Cream - MUCH warmer than cold white */
    --white: #ffffff;
    --surface: #ffffff;

    --text: #2b2d42;
    --text-muted: #5d6d7e;

    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    --gradient-primary: linear-gradient(135deg, #1a4d2e 0%, #4f9a6c 100%);
    --gradient-gold: linear-gradient(135deg, #bc6c25 0%, #d4a373 100%);
    --shadow-soft: 0 10px 30px rgba(26, 77, 46, 0.08);
    --shadow-hover: 0 20px 40px rgba(26, 77, 46, 0.15);
}

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

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: #f7f3ec;
    /* Beige/Cream chaud pour le fond global */
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

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

.bg-light {
    background-color: var(--light);
    /* Warm Cream Background */
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(at 10% 10%, rgba(212, 163, 115, 0.05) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(79, 154, 108, 0.05) 0px, transparent 50%);
    pointer-events: none;
}

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

/* Background Decorations */
.bg-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
    filter: blur(80px);
    border-radius: 50%;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-gradient);
    bottom: -50px;
    right: -50px;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(45, 90, 39, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 90, 39, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

.bg-grid.light {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.blob-3 {
    width: 600px;
    height: 600px;
    background: var(--secondary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
}

/* FAQ Accordion */
.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
}

.faq-question i {
    transition: transform 0.4s ease;
    color: var(--primary);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: var(--primary-light);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 200px;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: url('https://upload.wikimedia.org/wikipedia/commons/c/c1/Google_\"G\"_logo.svg') no-repeat center center;
    background-size: contain;
}

.testimonial-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Horizontal Slider Wrapper */
.testimonials-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
    overflow: hidden;
    padding: 10px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    gap: 2rem;
    width: 100%;
}

.testimonial-card {
    flex: 0 0 calc(50% - 1rem);
    /* 2 per view on large screens */
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
        /* 1 per view on mobile */
    }
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonials-nav-btn {
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.testimonials-nav-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonials-nav-btn i {
    width: 24px;
    height: 24px;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
}

.star-filled {
    width: 18px;
    height: 18px;
    fill: #fbbc04;
    stroke: none;
    color: #fbbc04;
}

.testimonial-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f3f4;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: #f1f3f4;
    color: #5f6368;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid #dadce0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 1rem;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-stars .star-fill {
    width: 16px;
    height: 16px;
}

.review-time {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
    flex-grow: 1;
}

.more-reviews-btn-container {
    text-align: center;
    margin-top: 3rem;
}

.google-btn {
    border-color: #dadce0;
    color: var(--text-muted);
}

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

@media (max-width: 1024px) {
    .google-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .google-reviews-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

/* Fix mobile menu scrolling issue */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo-img {
    height: 40px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img-right {
    height: 40px;
    width: auto;
    border-radius: 4px;
    /* Optional: give it a slight roundness like a favicon */
}

header:not(.scrolled) .logo-img-right {
    filter: brightness(0) invert(1);
}

header.scrolled .logo-img-right {
    height: 35px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    /* Adjusted: a bit less than 3rem */
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
    /* Prevent wrapping */
}

.nav-links a:not(.btn-primary) {
    padding: 10px 0;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    box-shadow: 0 0 10px var(--accent), 0 0 5px var(--accent);
    border-radius: 2px;
}

.nav-links a:not(.btn-primary):hover::after,
.nav-links a:not(.btn-primary).active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

header:not(.scrolled) .nav-links a:not(.btn-primary)::after {
    background: var(--white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 5px var(--white);
}

header:not(.scrolled) .nav-links a:hover,
header:not(.scrolled) .nav-links a.active {
    color: var(--white);
    opacity: 1;
}

header:not(.scrolled) .nav-links a {
    color: var(--white);
}

header:not(.scrolled) .logo-img {
    filter: brightness(0) invert(1);
}

header:not(.scrolled) .logo-text {
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
}

header.scrolled .mobile-menu-btn {
    color: var(--dark);
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 1rem 2.5rem;
    /* Larger, more readable */
    border-radius: 50px;
    /* Modern Pill Shape */
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(26, 77, 46, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(26, 77, 46, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.bg-dark .btn-secondary,
#hero .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    /* Gradient on hover */
    border-color: transparent;
    /* Seamless look */
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 77, 46, 0.2);
}

/* Swipe effect for secondary button */
.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.btn-secondary:hover::after {
    left: 100%;
}



.w-full {
    width: 100%;
}

/* Partners Marquee - Text/Icons */
.partners-track {
    background: var(--white);
    color: var(--dark);
    padding: 0.75rem 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.partners-list {
    display: inline-flex;
    align-items: center;
    animation: scroll 60s linear infinite;
    /* Adjusted speed */
    gap: 3rem;
    width: max-content;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    opacity: 0.9;
    transition: var(--transition);
}

.partner-logo img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Hero Section */
#hero {
    height: 100vh;
    background-image: url('assets/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 15%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    /* Evite le chevauchement avec le logo du header */
}

.hero-content h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    display: block;
}

.hero-brand-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-pre-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    /* Slightly smaller */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    /* Reduced from 0.3em for readability */
    color: var(--white);
    margin-bottom: 0.5rem;
    display: inline-block;
    opacity: 0.9;
}

.hero-pre-title::after {
    display: none;
}

.hero-pre-title:hover {
    transform: none;
    color: var(--white);
    opacity: 1;
}

.hero-brand-line {
    display: none;
}

.hero-main-title {
    display: inline-block;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-accent {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    background: linear-gradient(45deg, #4f9a6c, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.1em;
    opacity: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 3rem;
    max-width: 700px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    /* Removed border-left for centered look */
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
}

/* Stats */
#stats {
    transform: translateY(-50%);
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    z-index: 20;
    position: relative;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Services Section (Redesigned) */
#services {
    background-color: var(--white);
    /* On remet en blanc pour que les icônes beiges ressortent */
    position: relative;
}

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

.view-project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 1rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 2px;
}

.view-project-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.view-project-link:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.view-project-link:hover::after {
    width: 100%;
}

/* Solutions section bg fix */
#services .section-header {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    border: none;
    margin-bottom: 4rem;
}

#services .section-header h2 {
    color: var(--primary);
}

#services .section-header .section-line {
    background: var(--secondary);
}

/* Background refinement */
.section-label {
    color: var(--accent);
    letter-spacing: 2px;
    font-weight: 700;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    /* Softer corners */
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-gold);
    transition: var(--transition);
    border-radius: 0 0 16px 16px;
}

.service-card:hover::after {
    width: 100%;
}

.service-card.detailed {
    text-align: left;
    height: 100%;
}

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

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.35rem;
    font-family: 'Playfair Display', serif;
    margin: 0;
    color: var(--dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    margin-top: auto;
    border-top: 1px solid var(--light);
    padding-top: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.8rem;
}

.service-features li i {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

/* Tablet/Mobile Responsive for Services */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem;
    }
}

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

/* Section Styling */
.section-header {
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.section-label-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.section-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--primary);
    white-space: nowrap;
}

.section-line {
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
    width: 80px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin: 0;
    padding: 0;
    line-height: 1.1;
    color: var(--dark);
    font-family: 'Playfair Display', serif;
}

.section-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--primary);
    white-space: nowrap;
}

/* FAQ Specific Visuals */
#faq {
    background: radial-gradient(circle at 90% 10%, rgba(45, 90, 39, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(181, 131, 90, 0.05) 0%, transparent 40%);
}

#faq .bg-grid {
    opacity: 0.3;
    background-size: 30px 30px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.features-list i {
    color: var(--primary);
    width: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 20px 20px 0 var(--light);
}

/* Who We Are Section Styles */
.who-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.leadText {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.values-flex {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.value-icon {
    background: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(212, 163, 115, 0.15);
    border: 1px solid rgba(212, 163, 115, 0.3);
    flex-shrink: 0;
}

.value-icon i,
.value-icon svg {
    color: var(--gold);
    width: 28px;
    height: 28px;
}

.feature-number {
    background: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(212, 163, 115, 0.15);
    border: 1px solid rgba(212, 163, 115, 0.3);
    flex-shrink: 0;
    color: var(--gold);
    transition: var(--transition);
}

.feature-number i,
.feature-number svg {
    width: 28px;
    height: 28px;
}

.metier-feature-item:hover .feature-number {
    color: var(--primary);
    transform: translateX(5px);
}

.value-item h4 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.value-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.image-stack {
    position: relative;
    padding-bottom: 3rem;
}

.img-large {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: -20px;
    background: var(--white);
    color: var(--primary);
    /* Dark Green Text */
    padding: 2.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border: none;
}

.badge-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

@media (max-width: 968px) {
    .who-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .experience-badge {
        right: 20px;
    }
}

/* Metier Section - ITE Description */
#metier {
    position: relative;
    padding: 8rem 0;
    overflow: visible;
}

.relative-container {
    position: relative;
}

.metier-shape-bg {
    position: absolute;
    top: -10%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: linear-gradient(135deg, var(--light) 0%, rgba(244, 247, 244, 0.5) 100%);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: -1;
    border-radius: 50px;
}

.metier-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.metier-features {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
}

.metier-feature-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.feature-number {
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    color: var(--gold);
    transition: var(--transition);
}

.feature-number i {
    width: 24px;
    height: 24px;
}

.metier-feature-item:hover .feature-number {
    color: var(--primary);
    transform: translateX(5px);
}

.feature-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 400px;
}

.metier-visual {
    position: relative;
}

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

.metier-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    display: block;
}

.visual-decoration {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    border-left: 5px solid var(--gold);
    border-top: 5px solid var(--gold);
    z-index: -1;
}

.floating-card {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.floating-card i {
    color: var(--primary);
    width: 30px;
    height: 30px;
}

.floating-card span {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
}

@media (max-width: 968px) {
    .metier-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .metier-shape-bg {
        display: none;
    }

    .metier-visual {
        order: -1;
    }
}

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

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    /* Softer corners */
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-gold);
    transition: var(--transition);
    border-radius: 0 0 16px 16px;
}

.service-card:hover::after {
    width: 100%;
}

.service-card.detailed {
    text-align: left;
    height: 100%;
}

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

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.35rem;
    margin: 0;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    margin-top: auto;
    border-top: 1px solid var(--light);
    padding-top: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.8rem;
}

.service-features li i {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

/* Gallery & Comparison Slider */
.subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.projects-grid>* {
    width: 100%;
}



@media (max-width: 968px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

#gallery {
    background-color: #f8f9fa;
    /* Very soft grey */
    position: relative;
    overflow: hidden;
}

#gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#2c3e50 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.03;
    pointer-events: none;
}

.comparison-container {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.comparison-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.comparison-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.image-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.image-before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    max-width: none !important;
}

.slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    z-index: 10;
    cursor: ew-resize;
}

.slider-input::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 40px;
    height: 100vh;
    background: transparent;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--white);
    z-index: 5;
    pointer-events: none;
    transform: translateX(-50%);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    color: var(--primary);
}

.label {
    position: absolute;
    bottom: 2rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    pointer-events: none;
}

.label.before {
    left: 2rem;
    z-index: 3;
    white-space: nowrap;
}

.label.after {
    right: 2rem;
    z-index: 1;
}

.comparison-info {
    padding: 2.5rem;
}

.comparison-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.comparison-info p {
    color: var(--text-muted);
}

.gallery-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 300px;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Testimonials Grid */
/* Testimonials Slider */
.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    padding-bottom: 2rem;
    text-align: center;
}

.testimonial-slide {
    display: none;
    animation: fadeInSlide 0.8s ease forwards;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-icon {
    color: var(--primary);
    width: 48px;
    height: 48px;
    margin-bottom: 2rem;
    opacity: 0.3;
}

.testimonial-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--text);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: block;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.testimonial-role {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 3rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.contact-details {
    list-style: none;
    margin-top: 2rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-details i {
    color: var(--secondary);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--white);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }

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

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        padding: 8rem 2rem;
        transition: var(--transition);
        z-index: 1000;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--dark) !important;
    }

    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1002;
    }

    .mobile-menu-btn.active {
        color: var(--dark);
    }


    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    #stats {
        transform: translateY(-30px);
        padding: 2rem 1rem;
        margin-bottom: -30px;
    }

    .testimonials-nav {
        gap: 1rem;
    }

    .testimonials-track {
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    /* Hero Buttons Mobile Polish */
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .hero-btns .btn-primary,
    .hero-btns .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 3.5rem 0;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    #stats {
        transform: none;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-features {
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    body {
        padding-bottom: 90px;
    }
}

/* Animations System */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal.visible,
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Delay Utilities */
.delay-100 {
    transition-delay: 0.1s;
}

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

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

.delay-400 {
    transition-delay: 0.4s;
}

/* Additional Decor */
.floating-circle {
    position: absolute;
    border: 1px solid rgba(45, 90, 39, 0.08);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float-around 25s infinite linear;
}

@keyframes float-around {
    0% {
        transform: rotate(0deg) translate(20px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translate(30px) rotate(-360deg);
    }
}

.line-decor {
    position: absolute;
    background: linear-gradient(to bottom, var(--primary), transparent);
    width: 1px;
    height: 150px;
    opacity: 0.08;
    z-index: 0;
}

/* Renovation Section */
.renovation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.renovation-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Thin elegant border */
    padding: 2.5rem;
    border-radius: 8px;
    /* Sharper corners */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: left;
    /* Architectural alignment */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.renovation-card::before {
    display: none;
}

/* Hover Effect: Subtle Dark Highlight */
.renovation-card:hover {
    background: rgba(255, 255, 255, 0.05);
    /* Slight lightening of dark bg */
    transform: translateY(-5px);
    border-color: #2a5a3b;
    /* Green border highlight */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.renovation-icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
    /* Gold initially */
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.renovation-card:hover .renovation-icon {
    color: #2a5a3b;
    /* Green on hover */
    transform: scale(1.1);
}

.renovation-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-family: 'Playfair Display', serif;
}

.renovation-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 968px) {
    .renovation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .renovation-grid {
        grid-template-columns: 1fr;
    }
}

/* Partners Scroll Section */
#partners {
    background: var(--light);
    padding: 3rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.partners-track {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

.partners-list {
    display: inline-flex;
    align-items: center;
    gap: 5rem;
    padding-right: 5rem;
}

.partner-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-muted);
    opacity: 0.6;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.partner-logo:hover {
    color: var(--primary);
    opacity: 1;
    cursor: default;
}

.partner-logo i {
    color: var(--gold);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Gradient overlay for smooth fade */
#partners::before,
#partners::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

#partners::before {
    left: 0;
    background: linear-gradient(to right, var(--light), transparent);
}

#partners::after {
    right: 0;
    background: linear-gradient(to left, var(--light), transparent);
}

/* --- Project Detail Modal --- */
/* --- Project Detail Modal (Carousel Style) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Neutral Dark Overlay */
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 2rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--light);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    /* Fixed height to allow internal scroll if needed */
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    /* Hide overflow for slider */
    transform: translateY(30px);
    transition: all 0.4s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    z-index: 20;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

/* --- Carousel Styles --- */
.modal-slider-container {
    position: relative;
    width: 100%;
    height: 350px;
    /* Reduced from 450px */
    background: #000;
    overflow: hidden;
    flex-shrink: 0;
}

/* ... styles ... */

/* --- Content Below Slider (Editorial Style) --- */
.modal-content-scroll {
    padding: 3rem 2rem;
    text-align: left;
    background: linear-gradient(to bottom, #ffffff, #fcfcfc);
    flex: 1;
    overflow-y: auto;
    max-height: calc(90vh - 350px);
    /* Adjusted to match new slider height */
    overscroll-behavior: contain;
}

.modal-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed from cover to show full image */
    transition: transform 0.5s ease;
    cursor: zoom-in;
    background: #1a1a1a;
    /* Dark background to blend with contain */
}

.modal-slide img:hover {
    transform: scale(1.1);
}

.modal-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.modal-description h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 1.2rem;
}

.modal-description ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-description p {
    margin-bottom: 1rem;
}

/* Slider Navigation Buttons */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: var(--transition);
    z-index: 10;
}

.slider-nav-btn:hover {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.slider-nav-btn.prev {
    left: 20px;
}

.slider-nav-btn.next {
    right: 20px;
}

/* Dots for slider */
.modal-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.modal-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.modal-dot.active {
    background: var(--white);
    transform: scale(1.2);
}


/* Old block removed by replacement - The correct one is now above line 1880 */

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

/* Elegant gold underline separator */
.modal-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto 0;
    border-radius: 2px;
    opacity: 0.8;
}

.modal-description {
    font-family: 'Outfit', sans-serif;
    color: #555;
    /* Soft dark grey */
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 700px;
    /* Optimal reading width */
    margin: 0 auto;
    font-weight: 400;
}

/* Button to open modal in card */
.view-project-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    cursor: pointer;
    padding: 0;
    font-size: 0.95rem;
    transition: var(--transition);
}

.view-project-btn:hover {
    color: var(--gold);
    gap: 0.8rem;
}

/* --- Modal Project Features (New) --- */
.modal-features-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.modal-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    animation: fadeInUp 0.5s ease backwards;
}

/* Stagger animation for items */
.modal-feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.modal-feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.modal-feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-icon-circle {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    color: var(--gold);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-icon-circle i {
    width: 24px;
    height: 24px;
}

.modal-feature-item:hover .feature-icon-circle {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 77, 46, 0.15);
    /* Primary color shadow hint */
    background: var(--primary);
    color: var(--white);
    border-color: transparent;
}

.feature-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
}

/* --- Modal Technical Details Bar --- */
.modal-details-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.detail-item i {
    color: var(--gold);
    width: 20px;
    height: 20px;
}

/* --- Modal CTA --- */
.modal-cta-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    padding-bottom: 2rem;
    width: 100%;
}

.modal-cta-container .btn-primary {
    /* Background handled by btn-primary class */
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    /* Pill shape */
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: none;
    /* Keep natural case */
    box-shadow: 0 10px 20px rgba(42, 90, 59, 0.25);
    /* Colored shadow */
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: none;
    width: 90%;
    /* Wide on mobile */
    max-width: 500px;
    /* Max width on desktop */
    justify-content: center;
}

.modal-cta-container .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(42, 90, 59, 0.35);
    background: #234a31;
    /* Slightly darker on hover */
}

.modal-cta-container .btn-primary:hover i {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .modal-body {
        padding: 1.5rem;
    }

    .modal-slider-container {
        height: 250px;
        /* Even smaller for mobile */
    }

    .modal-content-scroll {
        max-height: calc(90vh - 250px);
        padding: 2rem 1.5rem;
    }

    .modal-title {
        font-size: 1.8rem;
    }

    .modal-details-bar {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* --- Navbar Clean & Sharp Styling --- */
.header {
    transition: all 0.3s ease;
}

.header.scrolled {
    background: #ffffff;
    /* Solid White */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Clean shadow */
    padding: 1rem 0;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-link:hover {
    color: #2a5a3b;
    background: rgba(42, 90, 59, 0.05);
    /* Subtle background on hover */
}

.nav-link::after {
    display: none;
    /* No underline */
}

/* --- Renovation Section - High Contrast Cards --- */
#renovation {
    position: relative;
    overflow: hidden;
}

.renovation-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.renovation-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Thin elegant border */
    padding: 2.5rem;
    border-radius: 8px;
    /* Sharper corners */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: left;
    /* Architectural alignment */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.renovation-card::before {
    display: none;
}

/* Hover Effect: Subtle Dark Highlight */
.renovation-card:hover {
    background: rgba(255, 255, 255, 0.05);
    /* Slight lightening of dark bg */
    transform: translateY(-5px);
    border-color: #2a5a3b;
    /* Green border highlight */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.renovation-icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
    /* Gold initially */
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.renovation-card:hover .renovation-icon {
    color: #2a5a3b;
    /* Green on hover */
    transform: scale(1.1);
}

.renovation-card h3 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.renovation-card:hover h3 {
    color: var(--white);
    /* Keep white text */
}

.renovation-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.renovation-card:hover p {
    color: rgba(255, 255, 255, 0.9);
    /* Slightly brighter text */
}

/* --- Gallery Filters --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f3f4f6;
    /* Light Grey background for inactive */
    border: none;
    color: var(--text);
    padding: 0.8rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50px;
    /* Pill shape */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    z-index: -1;
}

.filter-btn:hover::after {
    left: 100%;
}

.filter-btn:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--gradient-primary);
    /* Deep Green Gradient */
    color: var(--white);
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(26, 77, 46, 0.3);
    /* Green shadow matching brand */
}

.filter-btn.active:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(26, 77, 46, 0.4);
    background: var(--gradient-primary);
    /* Keep gradient */
}

@media (max-width: 1024px) {
    .renovation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .renovation-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Mobile Menu Responsive --- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
    z-index: 1001;
}

@media (max-width: 1200px) {

    /* Increased breakpoint */
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    /* Backdrop blur effect when menu is open */
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 999;
        pointer-events: none;
    }
}

/* --- Mobile Sticky Bar --- */
.mobile-sticky-bar {
    display: none;
    /* Hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 8000;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    justify-content: space-around;
    gap: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sticky-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.sticky-btn.call {
    background: var(--primary);
    /* Green */
    color: white;
}

.sticky-btn.quote {
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: flex;
    }

    /* Add padding to body so bar doesn't hide footer */
    body {
        padding-bottom: 90px;
    }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    /* Hidden via slide down */
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 99999;
    transition: bottom 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    justify-content: center;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: var(--container-width);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text);
    margin: 0;
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 1rem;
}

.btn-cookie-accept {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    /* Match pill shape if desired, or keep 4px? Request said "exactly like contact". Contact is 50px */
    cursor: pointer;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(26, 77, 46, 0.3);
}

.btn-cookie-accept::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.btn-cookie-accept:hover::after {
    left: 100%;
}

.btn-cookie-accept:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(26, 77, 46, 0.4);
}

.btn-cookie-decline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid #ddd;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.btn-cookie-decline:hover {
    background: #f5f5f5;
    color: var(--dark);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* --- DYNAMISME & ANIMATIONS --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-gold);
    z-index: 10001;
    width: 0%;
    transition: width 0.1s;
}

/* Background Blob Float Animation */
@keyframes float-blob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.blob-1,
.blob-2,
.blob-3 {
    animation: float-blob 20s infinite alternate ease-in-out;
}

.blob-2 {
    animation-duration: 25s;
    animation-delay: -5s;
}

.blob-3 {
    animation-duration: 22s;
    animation-delay: -10s;
}

/* Hero Button Pulse */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(188, 108, 37, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(188, 108, 37, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(188, 108, 37, 0);
    }
}

.btn-primary.pulse-effect {
    animation: pulse-gold 2s infinite;
}

/* Reveal Text Effect */
.reveal-text span {
    opacity: 0;
    transform: translateY(20px);
    display: inline-block;
    transition: all 0.5s ease;
}

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

/* Enhanced Card Tilt on Hover */
.service-card:hover,
.renovation-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Smooth Scroll Behavior Enhancement */
html {
    scroll-behavior: smooth;
}

/* Parallax Background Helper */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* --- LUXURY SMOOTH SCROLL (Lenis) --- */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* --- CUSTOM INTERACTIVE CURSOR --- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    display: none;
}

@media (pointer: fine) {

    .cursor-dot,
    .cursor-outline {
        display: block;
    }
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(188, 108, 37, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body.hovering .cursor-dot {
    width: 12px;
    height: 12px;
    background-color: var(--primary);
}

body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    border-color: var(--primary);
    background-color: rgba(26, 77, 46, 0.05);
}


/* --- MAGNETIC BUTTONS --- */
.btn-magnetic {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
}

/* --- IMAGE ZOOM REVEAL ON SCROLL --- */
.img-reveal-container {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.img-reveal-container img {
    transform: scale(1.2);
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
}

.img-reveal-container.visible img {
    transform: scale(1);
}

/* --- FOOTER REVEAL (STICKY EFFECT) --- */
/* We need a wrapper for all content except footer */
/* This is tricky without changing HTML structure extensively. Let's do a simpler parallax footer */

footer {
    position: relative;
    z-index: 1;
}

/* --- WORD REVEAL ANIMATION --- */
.word-reveal {
    overflow: hidden;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.3em;
}

.word-reveal span {
    transform: translateY(110%);
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-block;
}

.word-reveal.visible span {
    transform: translateY(0);
}


/* Partner Logo Updates */
.partner-logo {
    opacity: 1 !important;
}

/* Integrated Partners Banner */
#partners {
    background-color: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.partners-integrated {
    background: transparent !important;
    /* Let section bg show */
    border: none !important;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: none;
    overflow: hidden;
}

.partner-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
    transition: transform 0.3s ease;
}

.partner-logo:hover img {
    transform: scale(1.1);
}