:root {
    --earth-dark: #2c3e2c;
    --earth-medium: #4a6741;
    --earth-light: #7a9b71;
    --sage: #9db391;
    --sage-light: #c5d4c0;
    --cream: #f5f2e8;
    --white: #ffffff;
    --terracotta: #d4764f;
    --sand: #e8dcc4;
    --deep-green: #1a2e1a;
    --text-dark: #1f2d1f;
    --border-light: rgba(42, 62, 42, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    animation: slideDown 0.6s ease;
}


@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%; /* Remove this line if you want the logo to be square */
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--earth-medium);
    font-weight: 400;
}

.nav-links {
    display: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a.active {
    background: var(--text-dark);
    color: white;
}

.nav-links a:hover:not(.active) {
    background: var(--sage-light);
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Hamburger button */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--earth-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 999;
    padding: 2rem 0;
    border-radius: 12px 0 0 12px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0 1.5rem;
}

.mobile-menu .nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu .nav-links li:last-child a {
    border-bottom: none;
}

.mobile-menu .nav-links a.active {
    color: var(--earth-medium);
}

.mobile-menu .nav-links a:hover {
    color: var(--earth-medium);
    padding-left: 0.5rem;
}

.mobile-menu .nav-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    margin-top: 1rem;
}

.mobile-menu .btn-quote,
.mobile-menu .btn-call {
    width: 100%;
    text-align: center;
    display: block;
}

.btn-quote {
    padding: 0.6rem 1.25rem;
    background: var(--cream);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.btn-quote:hover {
    background: var(--sage-light);
}

.btn-call {
    padding: 0.6rem 1.25rem;
    background: transparent;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.btn-call:hover {
    background: var(--sage-light);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 6rem 5% 3rem;
    position: relative;
    background: linear-gradient(135deg, rgba(74, 103, 65, 0.2) 0%, rgba(122, 155, 113, 0.18) 50%, rgba(157, 179, 145, 0.15) 100%),
                url('https://images.unsplash.com/photo-1523348837708-15d4a09cfac2?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

/* Animated gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(197, 212, 192, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(122, 155, 113, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(157, 179, 145, 0.15) 0%, transparent 40%);
    animation: gradientShift 15s ease infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Sparkle effect overlay */
.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle, rgba(255,255,255,0.6) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.4) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 60px;
    opacity: 0.2;
    animation: sparkle 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.3; }
}

@keyframes leafFloat {
    0%, 100% { 
        background-position: 0 0, 50% 50%; 
    }
    50% { 
        background-position: 100px 100px, 60% 40%; 
    }
}

.hero-main {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.hero-left {
    padding-top: 0rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 100%; /* ADD THIS */
    box-sizing: border-box; /* ADD THIS */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--earth-medium);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.badge-icon {
    width: 18px;
    height: 18px;
    background: var(--sage);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}
.hero-badge .badge-icon {
    flex-shrink: 0;
    min-width: auto;
}
.hero-left h1 {
    color: var(--earth-medium);
}

.hero-left h1 .highlight {
    color: var(--earth-dark);
}

.hero-description {
    color: var(--earth-medium);
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    margin-top: 2.5rem; 
    justify-content: center;  /* center the two buttons */
}

.btn-primary {
    padding: 0.9rem 1.75rem;
    background: var(--earth-medium);
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid var(--earth-medium);
    white-space: nowrap; 
    display: inline-flex;
    align-items: center;  
    justify-content: center; 
}

.btn-primary:hover {
    background: var(--earth-dark);
    border-color: var(--earth-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    padding: 0.9rem 1.75rem;
    background: transparent;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 25px;
    border: 2px solid var(--text-dark);
    transition: all 0.3s ease;
    text-align: center;  
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 700px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.25rem 1rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.stat-box .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.25rem;
}

.stat-box .stat-label {
    font-size: 0.75rem;
    color: var(--earth-medium);
    line-height: 1.3;
}

/* Featured Service Card */
.service-card-featured {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
    max-width: 100%; /* ADD THIS */
    box-sizing: border-box; /* ADD THIS */
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.popular-badge {
    font-size: 0.75rem;
    color: var(--earth-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.card-icon {
    font-size: 1.5rem;
}

.service-card-featured h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.checklist {
    list-style: none;
    margin-bottom: 1.5rem;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.checklist .check {
    color: var(--earth-medium);
    font-weight: 600;
}

.card-details {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.85rem;
}

.detail-label {
    color: var(--earth-medium);
}

.detail-value {
    color: var(--text-dark);
    font-weight: 500;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tag {
    padding: 0.35rem 0.85rem;
    background: var(--cream);
    color: var(--earth-medium);
    border-radius: 15px;
    font-size: 0.75rem;
    border: 1px solid var(--border-light);
}

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

.rating {
    font-size: 0.85rem;
}

.rating-text {
    color: var(--earth-medium);
    margin-left: 0.25rem;
}

.book-link {
    color: var(--earth-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.book-link:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

/* Services Section */
.services {
    padding: 8rem 5%;
    background: var(--cream);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--earth-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--earth-medium);
    margin-bottom: 4rem;
    font-size: 1.1rem;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    transition: all 0.4s ease;
    border: 1px solid rgba(42, 62, 42, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--terracotta), var(--earth-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

.service-card p {
    color: var(--earth-medium);
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 8rem 5%;
    background: var(--sand);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--earth-dark);
}

.about-text p {
    color: var(--earth-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.stat {
    text-align: center;
}

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

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

.about-image {
    position: relative;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--earth-light), var(--sage));
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image::after {
    content: '🌿';
    font-size: 8rem;
    opacity: 0.3;
}

/* Gallery Section - Updated */
.gallery {
    padding: 8rem 5%;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Before/After Comparison Slider */
.comparison-slider {
    width: 100%;
}

.comparison-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    cursor: ew-resize;
    user-select: none;
}

.comparison-after {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

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

.comparison-before-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.comparison-before {
    width: calc(100vw); /* This is key - needs to be calculated */
    max-width: 1400px; /* Match your gallery-grid max-width */
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.comparison-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 3;
    margin: 0;
    padding: 0;
}

.comparison-slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 4;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.comparison-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 0 0.5rem;
}

.label-before,
.label-after {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--earth-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Remove old gallery-item styles */
.gallery-item {
    display: none;
}

/*
.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item::after {
    content: attr(data-title);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover::after {
    transform: translateY(0);
}*/

/* Contact Section */
.contact {
    padding: 8rem 5%;
    background: var(--deep-green);
    color: var(--cream);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    text-align: left;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid rgba(245, 242, 232, 0.2);
    background: rgba(245, 242, 232, 0.1);
    color: var(--cream);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    background: rgba(245, 242, 232, 0.15);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1.2rem 3rem;
    background: var(--terracotta);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    justify-self: center;
}

.submit-button:hover {
    background: var(--earth-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    padding: 3rem 5%;
    background: var(--earth-dark);
    color: var(--sage);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--sage);
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--terracotta);
}

/* Footer Alternative Site Buttons */
.footer-alt-sites {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.alt-site-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    background: rgba(197, 212, 192, 0.15);
    border: 1px solid rgba(197, 212, 192, 0.3);
    border-radius: 25px;
    color: var(--sage-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.alt-site-btn:hover {
    background: rgba(197, 212, 192, 0.25);
    border-color: var(--terracotta);
    color: var(--terracotta);
    transform: translateY(-2px);
}

.alt-site-btn span:first-child {
    font-size: 1.25rem;
}

/*changed ui*/
.testimonials-mobile {
    padding: 3rem 0;
    background: var(--bg-white);
}

.section-header-mobile {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1.25rem;
}

.section-tag-mobile {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sage-medium);
    margin-bottom: 0.5rem;
}

.section-title-mobile {
    font-size: 2rem;
    font-weight: 600;
    color: var(--earth-dark);
}

.testimonials-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.25rem;
}

.testimonial-card-mobile {
    background: var(--sage-light);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.stars-mobile {
    color: #FFB800;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-text-mobile {
    color: var(--earth-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-author-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-author-mobile strong {
    font-weight: 600;
    color: var(--earth-dark);
}

.testimonial-author-mobile span {
    font-size: 0.9rem;
    color: var(--earth-medium);
}

/* Contact form from styles1 */
.contact-alt {
    padding: 120px 2rem;
    background: var(--cream-white);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info-side h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

.contact-info-side > p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--sage-light);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-detail svg {
    flex-shrink: 0;
    color: var(--sage-light);
    margin-top: 0.25rem;
}

.contact-detail strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--cream);
}

.contact-detail p {
    color: var(--sage-light);
    margin: 0;
}

.form-alt {
    background: var(--sage-light);
    padding: 3rem;
    border-radius: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--earth-dark);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--sage-medium);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: white;
    color: var(--earth-dark);
    transition: all 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--sage-dark);
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    padding: 1.25rem 2rem;
    background: var(--earth-dark);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.phone-input-wrapper {
    display: flex;
    border: 2px solid var(--sage-medium);
    border-radius: 8px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}
.phone-input-wrapper:focus-within {
    border-color: var(--sage-dark);
}
.prefix-input-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    background: #f0f4ee;
    border-right: 2px solid var(--sage-medium);
    min-height: 54px;
}

.prefix-flag-display { font-size: 1.2rem; }

#prefixInput {
    width: 48px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    padding: 0;
    color: var(--earth-dark);
}
.phone-input-wrapper input[type="tel"] {
    border: none;
    outline: none;
    padding: 0 1rem;
    flex: 1;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: transparent;
    color: var(--earth-dark);
    min-height: 54px;
}
input[type="email"].invalid {
    border-color: #f0c040 !important;
    background: #fffbe6 !important;
    box-shadow: 0 0 0 3px rgba(240,192,64,0.2);
}
/* Responsive */
@media (max-width: 1024px) {
    .hero-main {
        grid-template-columns: 1fr;
    }
    
    .service-card-featured {
        position: static;
        max-width: 500px;
        margin: 3rem auto 0;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-left{
        margin: 0 auto;
        max-width: 600px;
    }
}

@media (max-width: 768px) {

    /* stop iOS "tap = hover" */
    .service-card:hover {
        transform: none;
        box-shadow: none;
    }
    .service-card:hover::before {
        transform: scaleX(0);
    }

    /* make the hover look happen on scroll instead */
    .service-card.reveal.active {
        transform: translateY(0); /* already handled by .reveal.active, safe to keep */
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }
    .service-card.reveal.active::before {
        transform: scaleX(1);
    }

    .hero-left h1{
        text-align: center;
    }
    .hero-left h1 .highlight{
        display: inline-block; /* ensures the span centers nicely */
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-alt {
        padding: 60px 1.25rem;
    }
    .footer-alt-sites {
        flex-direction: column;
        align-items: center;
    }
    
    .alt-site-btn {
        width: 100%;
        max-width: 300px;
    }
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1400px;
        margin: 0 auto;
        position: relative;
    }
    /*
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 0.25rem;
        flex-wrap: wrap;
    }*/
    
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 6rem 1.25rem 3rem;
        min-height: auto;
        background-attachment: scroll; /* optional but helps on mobile */
    }
    
    .hero-main, .hero-left, .hero-right { 
        min-width: 0;
        max-width: 100%;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
    .hero-badge{
        flex-wrap: nowrap;        /* keep icon + text on the same line */
        align-items: flex-start;  /* nicer vertical alignment */
    }
    .hero-badge .badge-text{
        min-width: 0;             /* allow the text to shrink and wrap */
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-buttons a {
        width: 100%;
    }
/*
    .hero-badge {
        margin-top: 0rem;
    }
    header nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .logo-container {
        justify-content: center;
    }*/
    
    .nav-actions {
        display: none;    
    }

    .hero-left {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .contact-details{
        align-items: flex-start;   /* right side */
    }

    .contact-detail{
        justify-content: flex-start;
        text-align: left;
    }

    .contact-detail > div{
        text-align: left;
    }

    /* optional: keep icons nicely aligned */
    .contact-detail svg{
        margin-left: 1rem;
        margin-right: 0;
    }

    .comparison-container {
        height: 350px;
    }
    
    .label-before,
    .label-after {
        font-size: 0.9rem;
    }
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Smooth reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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