/* --- ModernSmiles Design System --- */
:root {
    /* Colors */
    --primary-color: #00A3C4;
    /* Medical Teal */
    --primary-hover: #008ba8;
    --secondary-color: #9D7AD2;
    /* Soft Purple */
    --accent-bg: #F9F9F9;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;

    /* Decoration */
    --gradient-primary: linear-gradient(135deg, #00A3C4 0%, #008ba8 100%);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-accent: 0 4px 15px rgba(0, 163, 196, 0.3);

    /* Shapes - Round & Soft */
    --radius-full: 50px;
    /* Pill buttons */
    --radius-card: 24px;
    --radius-input: 15px;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

/* Glassmorphism Utility */
.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: var(--header-height);
    /* For fixed header */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-card);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 163, 196, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-dark);
    /* Default dark text */
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- Navbar --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
}

/* --- Hero Section --- */
.hero {
    background: radial-gradient(circle at top right, rgba(0, 163, 196, 0.05), transparent 70%),
        radial-gradient(circle at bottom left, rgba(157, 122, 210, 0.05), transparent 70%);
    background-color: var(--accent-bg);
    padding: 100px 0 0;
    /* Reduced padding, no more overlap */
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    /* Expand max-width for split layout */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    text-align: left;
    /* Explicit left align */
}

.hero-text-wrapper {
    max-width: 600px;
    z-index: 2;
    /* Ensure text is above blobs if they overlap */
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin-top: 60px;
    perspective: 1000px;
}

/* Decorative Morphing Blob */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 110%;
    height: 110%;
    background: linear-gradient(135deg, rgba(0, 163, 196, 0.15) 0%, rgba(157, 122, 210, 0.15) 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: -1;
    animation: morph 8s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Second Decorative Blob for Depth */
.hero-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 90%;
    height: 90%;
    background: linear-gradient(135deg, rgba(157, 122, 210, 0.1) 0%, rgba(0, 163, 196, 0.1) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -2;
    animation: morph 10s ease-in-out infinite alternate-reverse;
    pointer-events: none;
}

.hero-img {
    width: 100%;
    height: 500px;
    /* Slightly taller for grandeur */
    object-fit: cover;
    border-radius: 40px;
    /* Softer, more modern radius */
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 0 0 10px rgba(255, 255, 255, 0.3);
    /* Glass-like border ring */
    animation: float 6s ease-in-out infinite;
    transition: all 0.5s ease;
    backdrop-filter: blur(5px);
}

.hero-img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 0 0 12px rgba(255, 255, 255, 0.4);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* Left align buttons */
    margin-top: 30px;
}



.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00A3C4 0%, #2D3748 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -1px;
    /* Tighter cleaner look */
}

.hero p {
    font-size: 1.1rem;
    /* Smaller as requested */
    color: var(--text-light);
    /* Ensure good contrast */
    margin-bottom: 30px;
    max-width: 500px;
    /* Tighter width for readability */
    line-height: 1.6;
}

/* --- Trust Bar --- */
/* --- Trust Bar (Marquee) --- */
/* --- Trust Bar (Marquee Carousel) --- */
.info-bar {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px 0;
    margin: 350px 0 0 0;
    /* Increased from 250px to move lower */
    /* Flush with bottom */
    width: 100%;
    max-width: none;
    overflow: hidden;
    position: relative;
    border-radius: 0;
    box-shadow: 0 15px 40px rgba(0, 163, 196, 0.2);
    z-index: 10;
}

.info-content {
    display: flex;
    flex-direction: row;
    /* Explicitly horizontal */
    flex-wrap: nowrap;
    /* Prevent wrapping (list view) */
    width: max-content;
    /* Ensure enough width for all items */
    animation: scroll 40s linear infinite;
    /* Slow loop */
}

/* Animation: Left to Right */
@keyframes scroll {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.trust-item {
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    /* Prevent wrapping */
    padding: 0 40px;
    /* Spacing between items */
}

.trust-item i {
    font-size: 1.2rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.trust-item:hover i {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1) rotate(5deg);
}

/* --- Services --- */
#services {
    padding-top: 150px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border: none;
    padding: 40px 30px;
    border-radius: var(--radius-card);
    text-align: left;
    /* Left align for cleaner look */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align items to start */
}

/* ... existing before/hover ... */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 163, 196, 0.05) 0%, rgba(157, 122, 210, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 163, 196, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    /* Soft square instead of circle for change */
    background: #f0fbfc;
    border: 1px solid rgba(0, 163, 196, 0.1);
    transition: all 0.4s ease;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 163, 196, 0.3);
    transform: rotate(5deg);
    border-color: transparent;
}

/* --- Features Section (Why Choose Us) --- */
#why-choose-us {
    background: linear-gradient(rgba(0, 50, 70, 0.9), rgba(0, 50, 70, 0.95)), url('assets/img/clinic-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
}

#why-choose-us h2 {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    /* Subtle highlight on hover */
    box-shadow: none;
}

/* Feature Icon */
.feature-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--white);
}

.feature-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

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

/* --- Testimonials --- */
.testimonials {
    background-color: var(--accent-bg);
    position: relative;
    overflow: hidden;
}

/* Background blob decoration */
.testimonials::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(157, 122, 210, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.review-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 163, 196, 0.15);
    border-color: rgba(0, 163, 196, 0.1);
}

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

.quote-icon {
    font-size: 2rem;
    color: rgba(0, 163, 196, 0.15);
}

.stars {
    color: #FFB400;
    font-size: 0.9rem;
}

.review-text {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.7;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    /* Push to bottom */
}

.reviewer-initials {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 163, 196, 0.2);
}

.reviewer-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.reviewer-info span {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* --- Contact Section --- */
/* --- Contact Section --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    /* Slightly wider form area */
    gap: 80px;
    /* Generous gap for separation */
    align-items: center;
    /* Center vertically for visual balance */
    padding-top: 20px;
}

.contact-info {
    text-align: center;
    /* Centered alignment */
    padding-right: 0;
    /* Removed spacing */
}

.contact-info h2 {
    font-size: 2rem;
    /* Reduced to standard H2 size */
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.contact-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 100%;
    /* Allow full width of its column */
    font-weight: 400;
    margin: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    /* Semi-transparent white */
    backdrop-filter: blur(20px);
    /* Strong blur for "frosted glass" look */
    -webkit-backdrop-filter: blur(20px);
    /* Safari support */
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    /* Lighter, more subtle shadow */
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Subtle smooth border */
    position: relative;
    overflow: hidden;
    text-align: left;
}

/* Removed Accent Strip ::before */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    /* Match standard grid gap */
}

/* Mobile responsive for grid */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-group {
    margin-bottom: 20px;
    /* Tighter vertical spacing */
    position: relative;
    z-index: 1;
    text-align: left;
    /* Ensure labels stay left */
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    /* Dark text */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: left;
    /* Double assurance */
}

.form-control {
    width: 100%;
    height: 50px;
    /* Fixed height for symmetry */
    padding: 0 15px;
    /* Horizontal padding only, height handles vertical */
    background: #f8fafc;
    /* Subtle off-white bg */
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    /* Standard professional radius */
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

textarea.form-control {
    height: auto;
    padding: 15px;
    resize: vertical;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 163, 196, 0.1);
}

.form-control::placeholder {
    color: #a0aec0;
}

/* Custom Select Dropdown Arrow */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    /* Dark arrow */
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
}

/* Submit Button Override */
/* Submit Button Override - Matching Hero Style */
.contact-form .btn-primary {
    width: 100%;
    height: auto;
    padding: 12px 30px;
    /* Match global .btn padding */
    line-height: normal;
    background: var(--gradient-primary);
    /* Keep brand gradient */
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    /* Match global .btn typically */
    text-transform: none;
    /* Hero buttons usually aren't uppercase unless specified, but global .btn didn't specify case. Reverting to default or standard */
    border-radius: var(--radius-full);
    /* Match hero pill shape */
    margin-top: 10px;
    box-shadow: var(--shadow-accent);
    /* Match global btn shadow */
    z-index: 1;
    position: relative;
    border: none;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 163, 196, 0.4);
    /* Match global hover */
    color: var(--white);
}

/* --- Footer --- */
/* --- Footer --- */
.footer {
    background-color: #2D3748;
    color: var(--white);
    padding: 80px 0 30px;
    /* More top padding for "massive" feel */
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    text-align: left;
    /* Reset text align */
}

.footer-col h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

/* Underline for H4 headers */
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-text {
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #cbd5e0;
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
}

/* Link Lists */
.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    /* Slide effect */
}

/* Hours List */
.footer-hours {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #cbd5e0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.footer-hours li span:last-child {
    font-weight: 600;
    color: var(--white);
}

.footer-legal a {
    color: #718096;
    font-size: 0.85rem;
    margin-right: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #718096;
    font-size: 0.9rem;
}

.footer-bottom .social-icons {
    display: flex;
    gap: 15px;
}

.footer-bottom .social-icons a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-bottom .social-icons a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

/* Footer Mobile */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* --- Global Section Headers --- */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {

    /* Navbar */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .btn-nav-cta {
        display: none;
        /* Often hidden or moved into menu on mobile */
    }

    /* Stacking Layouts & Mobile Hero Adjustment */
    .about-container,
    .contact-container,
    .hero-content {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: left;
        /* Enforce left align on mobile */
        gap: 30px;
    }

    .hero-buttons {
        justify-content: flex-start;
        /* Enforce left align on mobile */
    }

    /* Typography & Spacing */
    .hero h1 {
        font-size: 2rem;
        /* Reduced for better fit */
        margin-bottom: 16px;
    }

    h2 {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }

    p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .section-padding {
        padding: 50px 0;
    }

    /* Layout Adjustments */
    .service-card {
        padding: 24px;
    }

    .contact-form,
    .about-text,
    .contact-info {
        padding: 20px;
        text-align: center;
        /* Center align text on mobile for better balance */
    }

    .hero-img {
        height: 300px;
        /* Smaller on mobile */
        margin-top: 40px;
        /* Increased separation on mobile */
    }

    .info-bar {
        margin-top: 20px;
        padding: 15px 0;
    }

    /* Improved Mobile About Section */
    .about-container {
        display: flex;
        flex-direction: column;
    }

    .about-image {
        order: -1;
        /* Image first */
        margin-bottom: 10px;
    }

    .about-text {
        text-align: left;
        /* Better readability than center */
        padding: 0 10px;
        /* Slight padding for edge safety */
    }
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: var(--radius-card);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 163, 196, 0.1);
    transform: translateY(-2px);
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    /* Remove default marker */
    background: transparent;
    transition: background 0.3s ease;
}

/* Remove default triangle for Webkit */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.faq-toggle {
    color: var(--text-light);
    transition: transform 0.3s ease;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    flex-shrink: 0;
    /* Prevent flattening */
}

.faq-item[open] summary {
    background: rgba(0, 163, 196, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-item[open] .faq-toggle {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: var(--white);
}

.faq-item[open] .faq-question {
    color: var(--primary-color);
}

.faq-answer {
    /* Padding moved to inner p for smooth height animation */
    padding: 0;
    color: var(--text-light);
    line-height: 1.7;
    overflow: hidden;
    /* Essential for height animation */
    opacity: 0;
    /* Default hidden state for JS animation */
    height: 0;
}

.faq-answer p {
    padding: 20px 20px 20px 60px;
    /* Indent applied here */
    margin: 0;
    /* Removing default margin to prevent jumpiness */
}

/* Removed fadeIn keyframes as JS handles the smooth transition now */

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

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

/* Stagger Delays */
.delay-100 {
    transition-delay: 0.1s;
}

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

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