:root {
    --primary: #1e40af;
    --primary-hover: #1e3a8a;
    --primary-color: var(--primary);
    --secondary-color: #0f172a;
    --accent-color: #3b82f6;
    --text-main: #111827;
    --text-muted: #4b5563;
    --bg-color: #f8fafc;
    --white: #ffffff;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(29, 104, 255, 0.3);
    
    --transition: 0.3s ease;
    
    --font-sans: 'Inter', sans-serif;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: all var(--transition);
}

#main-nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    color: var(--primary);
    font-size: 2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.logo-subtitle {
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
}

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

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

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

.phone-link .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 104, 255, 0.4);
}

.btn-primary .material-symbols-outlined {
    font-size: 1.2rem;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-main);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
}

.btn-secondary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary .icon-right {
    background-color: #eef2ff;
    color: var(--primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-left: 0.5rem;
    transition: transform var(--transition);
}

.btn-secondary:hover .icon-right {
    transform: translateX(4px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 5rem; /* Account for navbar */
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #e5effd; /* Fallback light blue background */
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    z-index: 0;
    /* Soft gradient mask to blend with left side */
    mask-image: linear-gradient(to right, transparent, black 30%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 30%);
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg-img.active {
    opacity: 1;
}

.hero-container {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
}

.hero-content {
    max-width: 600px;
    padding: 4rem 0;
}

.badge-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.badge-icon {
    color: #93c5fd;
    font-size: 1.2rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1e3a8a; /* Deep blue text */
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.text-gradient {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
    max-width: 500px;
}
.hero-buttons .btn {
    width: 100%;
}

/* Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 500px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.25rem 1.25rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
    line-height: 1.3;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: #ffffff;
}

.feature-icon {
    color: var(--primary);
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    padding: 0.6rem;
    border-radius: 12px;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(29, 104, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Elements */
.hero-visuals {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    pointer-events: auto;
}

/* Glowing Tooth */
.glowing-tooth {
    top: 45%;
    left: 10%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.5);
    animation: float 6s ease-in-out infinite;
}

.tooth-icon {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pulse-ring.delay {
    animation-delay: 1.5s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

/* Google Review Badge */
.google-review {
    bottom: 15%;
    right: 5%;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    animation: float-small 4s ease-in-out infinite reverse;
}

.google-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-content {
    display: flex;
    flex-direction: column;
}

.review-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.review-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.star-icon {
    font-size: 1rem;
}

.star-icon.filled {
    color: #fbbc04;
    font-variation-settings: 'FILL' 1;
}

.star-icon.half {
    color: #fbbc04;
    font-variation-settings: 'FILL' 1;
}

.review-score {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-left: 0.5rem;
}

@keyframes float-small {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-bg {
        width: 100%;
        mask-image: linear-gradient(to top, transparent, black 50%);
        -webkit-mask-image: linear-gradient(to top, transparent, black 50%);
        opacity: 0.3;
    }
    .hero-visuals {
        display: none;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 10;
    }
    .nav-links {
        display: none;
    }
    .hero-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 100%;
    }
    .feature-card {
        padding: 1rem 0.5rem;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 0.5rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .container {
        padding: 0 1rem;
    }
    .nav-container {
        padding: 1rem 1rem;
    }
}

/* Services Section */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-primary {
    color: var(--primary) !important;
}

.services-section {
    padding: 6rem 0;
    background-color: var(--white);
    position: relative;
    z-index: 10;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.services-title-area .badge-text {
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.services-title-area .badge-icon {
    font-size: 1.2rem;
    color: var(--primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.services-desc-area {
    max-width: 400px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.link-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.link-with-icon:hover {
    gap: 0.75rem;
}

.link-with-icon .material-symbols-outlined {
    border: 1px solid #bfdbfe;
    color: var(--primary);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

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

.service-card-new {
    background: var(--white);
    border: 1px solid #f8fafc;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-image-wrapper {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-new:hover .service-photo {
    transform: scale(1.05);
}

.service-card-new .service-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.3;
    min-height: 3rem;
}

.service-card-new .service-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.service-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    color: var(--primary);
    transition: var(--transition);
    align-self: flex-start;
}

.service-card-new:hover .service-arrow {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.service-arrow .material-symbols-outlined {
    font-size: 1.1rem;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* About Section */
.about-section {
    padding: 6rem 0;
    background-color: var(--white);
    position: relative;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    justify-content: space-between;
}

.about-content {
    flex: 1;
    max-width: 420px;
}

.about-desc {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.check-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

.btn-about {
    padding-left: 1.5rem;
    padding-right: 1.25rem;
}

.about-image-wrapper {
    flex: 1.2;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(29, 104, 255, 0.2);
    cursor: pointer;
    transition: transform var(--transition);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button .material-symbols-outlined {
    color: var(--primary);
    font-size: 2.2rem;
    margin-left: 4px;
}

.about-stats {
    width: 200px;
    background: var(--white);
    border: 1px solid #f8fafc;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.stat-divider {
    height: 1px;
    background-color: #f1f5f9;
    width: 100%;
}

@media (max-width: 1024px) {
    .about-container {
        flex-direction: column;
        gap: 4rem;
    }
    .about-content, .about-stats {
        max-width: 100%;
        width: 100%;
    }
    .about-stats {
        flex-direction: row;
        justify-content: space-between;
        padding: 2rem;
    }
    .stat-divider {
        width: 1px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .about-stats {
        flex-direction: column;
    }
    .stat-divider {
        width: 100%;
        height: 1px;
    }
}

/* Shared Layout Classes */
.section-padding {
    padding: 3rem 0;
}

.bg-light {
    background-color: #f8fafc;
}

.side-by-side-layout {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.side-by-side-layout.align-center {
    align-items: center;
}

.side-content {
    flex: 1;
    max-width: 320px;
    flex-shrink: 0;
}

.side-grid {
    flex: 3;
    display: grid;
    gap: 2rem;
}

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

/* Stats Banner */
.stats-banner {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.stats-banner-inner {
    background-color: var(--primary);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 40px rgba(29, 104, 255, 0.2);
}

.text-white {
    color: var(--white);
}

.stat-banner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.9;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-number-banner {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
}

.stat-label-banner {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
}

.stat-divider-vertical {
    width: 1px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Technology Section */
.tech-card {
    display: flex;
    flex-direction: column;
}

.tech-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: #f1f5f9;
}

.tech-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.tech-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.tech-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Testimonials Section */
.relative-container {
    position: relative;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid #bfdbfe;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 10;
    transition: var(--transition);
}

.nav-arrow:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

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

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

.testimonial-card {
    background: var(--white);
    border: 1px solid #f8fafc;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.quote-icon {
    color: #bfdbfe;
    font-size: 3rem;
    margin-bottom: 1rem;
    transform: rotate(180deg);
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

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

.author-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
}

.author-stars {
    color: #fbbc04;
    font-size: 1rem;
    display: flex;
}
.author-stars .material-symbols-outlined {
    font-size: 1rem;
    font-variation-settings: 'FILL' 1;
}

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

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dots .dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* Blog Section */
.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid #f8fafc;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-category {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

/* Responsive for new sections */
@media (max-width: 1024px) {
    .stats-banner-inner {
        flex-wrap: wrap;
        gap: 2rem;
    }
    .stat-banner-item {
        flex: 1 1 40%;
    }
    .stat-divider-vertical {
        display: none;
    }
    .side-by-side-layout {
        flex-direction: column;
        gap: 3rem;
    }
    .side-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .stat-banner-item {
        flex: 1 1 100%;
        justify-content: flex-start;
    }
    .nav-arrow {
        display: none;
    }
    .cta-banner {
        padding: 2rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    .cta-visual {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* CTA Section */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    border-radius: 24px;
    padding: 3rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(29, 104, 255, 0.3);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(255,255,255,0.2) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.cta-title {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
}

.cta-visual {
    position: absolute;
    left: 55%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.glowing-tooth-large {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooth-icon-large {
    font-size: 6rem;
    color: white;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    animation: float 6s ease-in-out infinite;
}

.sparkle {
    position: absolute;
    color: white;
    filter: drop-shadow(0 0 5px white);
}

.sparkle-1 {
    top: 10%;
    left: 10%;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.sparkle-2 {
    bottom: 20%;
    right: 0;
    font-size: 2rem;
    animation: pulse 2.5s infinite 0.5s;
}

.cta-action {
    position: relative;
    z-index: 2;
}

.btn-cta {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    padding: 1rem 1.5rem;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.btn-cta .icon-arrow {
    background: #eff6ff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* Footer */
.main-footer {
    background-color: #0b1e42;
    color: #e2e8f0;
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

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

.footer-brand .footer-logo {
    margin-bottom: 1.5rem;
    display: inline-flex;
}

.footer-brand .logo-title, .footer-brand .logo-icon {
    color: var(--white);
}

.footer-brand .logo-subtitle {
    color: #94a3b8;
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.footer-contact .material-symbols-outlined {
    font-size: 1.2rem;
    color: #cbd5e1;
}

.newsletter-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.newsletter-form {
    position: relative;
    display: flex;
}

.newsletter-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 3.5rem 1rem 1rem;
    border-radius: 99px;
    color: var(--white);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-input::placeholder {
    color: #64748b;
}

.newsletter-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.newsletter-btn .material-symbols-outlined {
    font-size: 1.1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #64748b;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    transition: var(--transition);
    color: #64748b;
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 3rem 2rem;
    }
    .cta-visual {
        position: static;
        transform: none;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- MOBILE OPTIMIZATION FIXES --- */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
    
    /* Navbar */
    .phone-link { display: none; }
    .nav-actions .btn-primary { padding: 0.5rem 1rem; font-size: 0.85rem; }
    .logo-icon { font-size: 1.5rem; }
    .logo-title { font-size: 0.95rem; }
    .logo-subtitle { font-size: 0.65rem; letter-spacing: 1px; }

    /* Hero */
    .hero { min-height: auto; padding-top: 7rem; padding-bottom: 3rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 1.5rem; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 1rem; margin-bottom: 2rem; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .feature-card { padding: 0.75rem 0.5rem; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; font-size: 0.85rem; width: 100%; border-radius: 12px; }
    
    /* Typography & Sections */
    .section-title { font-size: 1.8rem; }
    .section-padding { padding: 4rem 0; }
    .services-header { margin-bottom: 2rem; gap: 1rem; }
    
    /* Stats */
    .stats-banner-inner { padding: 1.5rem 1rem; gap: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; }
    .stat-banner-item { flex-direction: column; text-align: center; gap: 0.5rem; justify-content: center; }
    .stat-icon { font-size: 2rem; }
    .stat-number-banner { font-size: 1.5rem; }
    
    /* Testimonials Horizontal Scroll */
    .testimonials-section .grid-3 { 
        display: flex; 
        flex-wrap: nowrap; 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        padding-bottom: 1.5rem;
        -webkit-overflow-scrolling: touch; 
        gap: 1rem;
    }
    .testimonials-section .testimonial-card { 
        min-width: 85vw; 
        scroll-snap-align: center; 
    }
    
    /* CTA */
    .cta-banner { padding: 2.5rem 1.5rem; }
    .cta-title { font-size: 1.6rem; }
    .glowing-tooth-large { width: 80px; height: 80px; margin: 1rem auto; }
    .tooth-icon-large { font-size: 4rem; }
    .btn-cta { width: 100%; justify-content: center; font-size: 0.9rem; padding: 1rem; }
    
    /* Footer */
    .main-footer { padding-top: 3rem; }
    .footer-grid { gap: 2.5rem; }
    .newsletter-form { flex-direction: column; gap: 0.75rem; }
    .newsletter-input { padding: 1rem; }
    .newsletter-btn { position: static; width: 100%; border-radius: 99px; height: 48px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .section-title { font-size: 1.6rem; }
}

/* Before After Slider */
.transformation-section {
    background-color: var(--white);
    position: relative;
    z-index: 10;
}

.ba-slider-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.ba-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
}

.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.img-after, .img-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-before {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    z-index: 2;
}

.slider-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
    margin: 0;
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    z-index: 6;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.slider-button .material-symbols-outlined {
    font-size: 1.2rem;
    font-weight: 700;
}

.ba-label {
    position: absolute;
    top: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 99px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 4;
}

.label-before {
    left: 1rem;
}

.label-after {
    right: 1rem;
}

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

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

/* Action Bar Section */
.action-bar-section {
    position: relative;
    margin-top: -60px;
    z-index: 20;
    padding-bottom: 4rem;
}
.action-bar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.action-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: var(--white);
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}
.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}
.action-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}
.action-icon {
    font-size: 2rem;
}
.action-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
}
.action-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
}
.emergency-card {
    background: #e74c3c;
    border-color: #e74c3c;
}
.emergency-card:hover {
    background: #c53030;
    border-color: #c53030;
}
.emergency-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}
.text-white { color: var(--white) !important; }

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary-color);
    user-select: none;
}
.faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-light);
    line-height: 1.6;
}
.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    max-height: 500px;
}

@media (max-width: 992px) {
    .action-bar-grid {
        grid-template-columns: 1fr;
    }
    .action-bar-section {
        margin-top: 2rem;
    }
}

/* Apropos Page Styles */
.connaissance-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.connaissance-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.connaissance-item .material-symbols-outlined {
    color: var(--primary-color);
    background: rgba(43, 115, 112, 0.1);
    border-radius: 50%;
    padding: 4px;
}
.connaissance-item h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.mission-vision-boxes {
    position: absolute;
    bottom: -30px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.mv-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    flex: 1;
    text-align: center;
}
.mv-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.mv-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 0;
}

.assistance-banner {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0;
    margin: 4rem 0;
}
.assistance-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
.assistance-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.assistance-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
}
.assistance-phone {
    font-size: 1.5rem;
    font-weight: 700;
}

.quote-card {
    position: absolute;
    bottom: -40px;
    right: -20px;
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 350px;
    border-left: 4px solid var(--primary-color);
}
.quote-text {
    font-style: italic;
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.quote-author {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
}

.modern-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.accordion-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.accordion-header {
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}
.accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
}
.accordion-header .material-symbols-outlined {
    transition: transform 0.3s ease;
}
.accordion-item.active .accordion-header {
    background: rgba(255, 255, 255, 0.2);
}
.accordion-item.active .material-symbols-outlined {
    transform: rotate(180deg);
}
.accordion-body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0.9;
    line-height: 1.6;
}
.accordion-item.active .accordion-body {
    padding: 0 1.5rem 1.2rem;
    max-height: 300px;
}
@media (max-width: 768px) {
    .mission-vision-boxes {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        margin-top: 1rem;
        flex-direction: column;
    }
    .quote-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 1rem;
    }
}

/* Services Numbered Grid */
.services-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.service-card-numbered {
    text-align: center;
    position: relative;
    padding-bottom: 2rem;
}
.service-card-numbered .service-image-wrapper {
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 200px;
    width: 100%;
}
.service-card-numbered .service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card-numbered:hover .service-image-wrapper img {
    transform: scale(1.05);
}
.service-number {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}
.service-title-numbered {
    font-size: 1.1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}
.service-desc-numbered {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 90%;
}

@media (max-width: 1200px) {
    .services-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 992px) {
    .services-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .services-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Animations de Scroll & Texte (NovaRide Pattern) */

/* Classes de base invisibles avant scroll */
.reveal-up, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur {
    opacity: 0;
    will-change: transform, opacity, filter;
}

/* Reveal Up */
.reveal-up {
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reveal Left */
.reveal-left {
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal Right */
.reveal-right {
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal Scale */
.reveal-scale {
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Reveal Blur */
.reveal-blur {
    filter: blur(10px);
    transform: translateY(20px);
    transition: opacity 1s ease, filter 1s ease, transform 1s ease;
}
.reveal-blur.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Text Shimmer */
.text-shimmer {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
    to { background-position: 200% center; }
}

/* Stagger Children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-children.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}
/* Staggering up to 12 items automatically via CSS */
.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children.is-visible > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-children.is-visible > *:nth-child(8) { transition-delay: 0.8s; }
.stagger-children.is-visible > *:nth-child(9) { transition-delay: 0.9s; }
.stagger-children.is-visible > *:nth-child(10) { transition-delay: 1.0s; }
.stagger-children.is-visible > *:nth-child(11) { transition-delay: 1.1s; }
.stagger-children.is-visible > *:nth-child(12) { transition-delay: 1.2s; }


/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.6);
    color: #FFF;
}

/* For mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

/* --- MOBILE FIXES ADDED --- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 110;
}

.menu-toggle .material-symbols-outlined {
    font-size: 2rem;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        margin-left: auto;
    }
    
    .nav-container {
        position: relative;
    }
    
    .nav-links {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 0;
        z-index: 100;
        gap: 0;
    }
    
    .nav-links.mobile-menu-active {
        display: flex;
        animation: fadeInDown 0.3s ease;
    }
    
    .nav-links .nav-link {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
        justify-content: flex-start;
        margin: 0;
        border-radius: 0;
    }
    
    .nav-links .nav-link:hover {
        background-color: #f8fafc;
    }
    
    /* Quick Action Cards fix */
    .action-bar-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }
    .action-card {
        padding: 1rem !important;
        gap: 1rem !important;
    }
    .action-icon-wrapper {
        width: 50px !important;
        height: 50px !important;
    }
    .action-icon {
        font-size: 1.5rem !important;
    }
    
    /* Service Cards fix */
    .service-card-new {
        padding: 1.5rem 1rem !important;
    }
    .service-image-wrapper {
        height: 220px !important;
    }
    
    /* Grids spacing fix */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .about-stats {
        align-items: center !important;
        text-align: center;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }
    .stat-item {
        align-items: center;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .stat-divider {
        margin: 1.5rem auto !important;
    }
    .before-after-slider {
        aspect-ratio: 1/1 !important; /* Make it more square on mobile so images are bigger */
    }
}

@media (max-width: 768px) {
    .ba-slider-container {
        align-items: stretch !important;
        width: 100% !important;
        padding: 1.5rem 1rem !important;
    }
    .before-after-slider {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 1/1 !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .side-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
}

/* Contact Form Styles */
.contact-form-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-sizing: border-box;
    width: 100%;
}
.contact-form-card .form-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.contact-form-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.contact-form-card .form-input {
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}
.contact-form-card .form-textarea {
    resize: vertical;
}
.contact-form-card .form-submit {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 1.5rem;
    }
    .contact-form-card .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .contact-form-card .form-input {
        padding: 0.8rem;
    }
}
