/* Smile Aesthetics Pro - Main Styles */
/* Using drinkhydrant.com styling patterns */

/* Custom Properties - Light Blue & Light Green Theme */
:root {
    --brand-green: #7DD87D;
    --primary-green: #5BA4D9;
    --forest-green: #6BC5B8;
    --sage-green: #9EDBA4;
    --mint-green: #B8E8C5;
    --cream: #f7faf7;
    --natural-beige: #f5f2e8;
    --whitening: #C5E8F7;
    --whitening-text: #2A7AB8;
    --aligners: #B8E8C5;
    --aligners-text: #3A8B5C;
    --veneers: #C5D8E8;
    --veneers-text: #4A7A9B;
    --business: #D4E8D7;
    --business-text: #4A8B6C;
    /* Legacy support */
    --navy-blue: #5BA4D9;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Euclid Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Prevent horizontal scroll */
.container {
    max-width: 100%;
    width: 100%;
}

/* Ensure sections don't create scrollbars */
section {
    position: relative;
}

/* Decorative container - clips child elements */
.decorative-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* ===== ELEGANT SECTION BACKGROUNDS ===== */

/* Gradient Wave Background */
.bg-wave-light {
    background: linear-gradient(180deg, #f8fafb 0%, #ffffff 50%, #f0f7ff 100%);
    position: relative;
}

.bg-wave-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%231a5a3a' fill-opacity='0.03' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E") no-repeat top center;
    background-size: cover;
    pointer-events: none;
}

/* Mesh Gradient with Glow */
.bg-mesh-glow {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(184, 230, 212, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(197, 232, 183, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 213, 186, 0.12) 0%, transparent 60%),
        linear-gradient(180deg, #f7faf7 0%, #f0f5f2 100%);
}

/* Subtle Dots Pattern */
.bg-dots {
    background-color: #f7faf7;
    background-image: radial-gradient(#1a5a3a 0.5px, transparent 0.5px);
    background-size: 24px 24px;
}

/* Gradient Stripe */
.bg-gradient-stripe {
    background: linear-gradient(135deg, #e8f5ec 0%, #ffffff 25%, #f0f7f3 50%, #ffffff 75%, #e5f2e8 100%);
}

/* Green Gradient with Pattern */
.bg-navy-pattern {
    background: linear-gradient(135deg, #1a5a3a 0%, #153d2b 50%, #0d261a 100%);
    position: relative;
}

.bg-navy-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Whitening Theme Background */
.bg-whitening-theme {
    background: linear-gradient(135deg, rgba(184, 230, 212, 0.15) 0%, rgba(184, 230, 212, 0.08) 50%, #ffffff 100%);
    position: relative;
}

.bg-whitening-theme::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 230, 212, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

/* Aligners Theme Background */
.bg-aligners-theme {
    background: linear-gradient(135deg, rgba(197, 232, 183, 0.12) 0%, #ffffff 50%, rgba(197, 232, 183, 0.08) 100%);
    position: relative;
}

.bg-aligners-theme::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(197, 232, 183, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* Veneers Theme Background */
.bg-veneers-theme {
    background: linear-gradient(180deg, #ffffff 0%, rgba(168, 213, 186, 0.08) 50%, rgba(168, 213, 186, 0.15) 100%);
}

/* Business/Warm Theme Background */
.bg-warm-theme {
    background: linear-gradient(135deg, rgba(212, 232, 199, 0.12) 0%, #f7faf7 50%, rgba(245, 242, 232, 0.5) 100%);
}

/* Premium Glass Background */
.bg-glass-premium {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Diagonal Gradient */
.bg-diagonal {
    background: linear-gradient(135deg, #f8fafb 25%, #ffffff 25%, #ffffff 50%, #f8fafb 50%, #f8fafb 75%, #ffffff 75%, #ffffff);
    background-size: 40px 40px;
}

/* Soft Radial Glow */
.bg-radial-soft {
    background: radial-gradient(ellipse at center, #ffffff 0%, #f0f4f8 100%);
}

/* Animated Gradient Background */
.bg-animated-gradient {
    background: linear-gradient(-45deg, #e8f5ec, #ffffff, #f0f7f3, #e5f2e8);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Subtle Grid Pattern */
.bg-grid-subtle {
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(26, 90, 58, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 90, 58, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Floating Orbs Background */
.bg-orbs {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.bg-orbs::before,
.bg-orbs::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.bg-orbs::before {
    top: 10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 177, 75, 0.1) 0%, transparent 70%);
}

.bg-orbs::after {
    bottom: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 90, 58, 0.08) 0%, transparent 70%);
}

/* Gradient Border Section */
.section-gradient-border {
    position: relative;
}

.section-gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #10b14b, #1a5a3a, #10b14b, transparent);
    border-radius: 2px;
}

/* ===== FULL-WIDTH IMAGE BACKGROUNDS ===== */

/* Base styles for all image backgrounds */
.bg-image-base {
    position: relative;
    width: 100%;
}

.bg-image-base > * {
    position: relative;
    z-index: 1;
}

/* Organic flowing shapes background */
.bg-organic-img {
    position: relative;
    background-color: #f7faf7;
}

.bg-organic-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url('../images/bg_section_organic.png') center center / cover no-repeat;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.bg-organic-img > * {
    position: relative;
    z-index: 1;
}

/* Spa wellness background */
.bg-spa-img {
    position: relative;
    background-color: #f7faf7;
}

.bg-spa-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url('../images/bg_spa_wellness.png') center center / cover no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.bg-spa-img > * {
    position: relative;
    z-index: 1;
}

/* Tech mesh background */
.bg-tech-img {
    position: relative;
    background-color: #f7faf7;
}

.bg-tech-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url('../images/bg_tech_mesh.png') center center / cover no-repeat;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.bg-tech-img > * {
    position: relative;
    z-index: 1;
}

/* Testimonials/results background */
.bg-testimonials-img {
    position: relative;
    background: linear-gradient(135deg, #f7faf7 0%, #fffdf5 50%, #f7faf7 100%);
}

.bg-testimonials-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url('../images/bg_testimonials.png') center center / cover no-repeat;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.bg-testimonials-img > * {
    position: relative;
    z-index: 1;
}

/* Business section background */
.bg-business-img {
    position: relative;
    background-color: #f7faf7;
}

.bg-business-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url('../images/bg_business.png') center center / cover no-repeat;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.bg-business-img > * {
    position: relative;
    z-index: 1;
}

/* ===== SECTION DIVIDERS ===== */

/* Wave divider - placed at bottom of section, curves into next section */
.divider-wave-bottom {
    position: relative;
}

.divider-wave-bottom::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23f7faf7' d='M0,60 C240,100 480,20 720,60 C960,100 1200,20 1440,60 L1440,100 L0,100 Z'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
    pointer-events: none;
    z-index: 2;
}

/* Wave divider - white fill for dark sections */
.divider-wave-white::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,60 C240,100 480,20 720,60 C960,100 1200,20 1440,60 L1440,100 L0,100 Z'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
    pointer-events: none;
    z-index: 2;
}

/* Curve divider - smooth single curve */
.divider-curve-bottom {
    position: relative;
}

.divider-curve-bottom::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23f7faf7' d='M0,0 Q720,100 1440,0 L1440,100 L0,100 Z'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
    pointer-events: none;
    z-index: 2;
}

/* Slant divider - diagonal line */
.divider-slant-bottom {
    position: relative;
}

.divider-slant-bottom::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23f7faf7' d='M0,100 L1440,0 L1440,100 Z'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
    pointer-events: none;
    z-index: 2;
}

/* Top wave - for sections that need divider at top */
.divider-wave-top {
    position: relative;
}

.divider-wave-top::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23f7faf7' d='M0,40 C240,0 480,80 720,40 C960,0 1200,80 1440,40 L1440,0 L0,0 Z'/%3E%3C/svg%3E") top center / 100% 100% no-repeat;
    pointer-events: none;
    z-index: 2;
}

/* Gradient line divider - subtle elegant line */
.divider-line-bottom {
    position: relative;
}

.divider-line-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 500px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(16, 177, 75, 0.4), rgba(26, 90, 58, 0.6), rgba(16, 177, 75, 0.4), transparent);
    z-index: 2;
}

/* Navigation Styles - Mobile First */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.announcement-bar {
    width: 100%;
    background: #FFF8E7;
    color: #333333;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
}

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

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a5a3a;
    text-decoration: none;
    white-space: nowrap;
    z-index: 1001;
}

.nav-logo span {
    color: #10b14b;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .nav-link {
        color: #4a5568;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
        white-space: nowrap;
    }

    .nav-link:hover {
        color: #1a5a3a;
    }

    .nav-dropdown {
        position: relative;
    }

    .nav-dropdown-trigger {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        color: #4a5568;
        font-weight: 500;
        cursor: pointer;
        transition: color 0.2s ease;
    }

    .nav-dropdown-trigger:hover {
        color: #1a5a3a;
    }

    .nav-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 0.5rem;
        min-width: 16rem;
        background: white;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        border-radius: 0.5rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.2s ease;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-dropdown-link {
        display: block;
        padding: 0.75rem 1rem;
        color: #4a5568;
        text-decoration: none;
        transition: background-color 0.2s ease;
    }

    .nav-dropdown-link:hover {
        background-color: rgba(160, 223, 255, 0.2);
    }

    .nav-dropdown-link.whitening:hover {
        background-color: rgba(184, 230, 212, 0.25);
        color: #1a5a3a;
    }

    .nav-dropdown-link.aligners:hover {
        background-color: rgba(197, 232, 183, 0.25);
        color: #2d5a45;
    }

    .nav-dropdown-link.veneers:hover {
        background-color: rgba(168, 213, 186, 0.25);
        color: #1a5a3a;
    }

    .nav-dropdown-link.skin:hover {
        background-color: rgba(212, 232, 199, 0.25);
        color: #2d5a45;
    }
}

.nav-cta {
    display: none;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: block;
        background: #10b14b;
        color: white;
        padding: 0.75rem 1.5rem;
        border-radius: 0.375rem;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
        transition: background-color 0.2s ease;
    }

    .nav-cta:hover {
        background: #0e9940;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.hamburger {
    width: 24px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #1a5a3a;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

.hamburger.active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

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

.hamburger.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Animation Classes */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Service Panels */
.service-panel {
    animation: fadeIn 0.3s ease-in-out;
}

.service-panel.hidden {
    display: none;
}

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

/* Interactive Radio Filters */
input[type="radio"]:checked ~ div {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    background: white;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.2);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

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

.mobile-menu-content {
    padding: 1.5rem;
    padding-top: 5rem;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.mobile-menu-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a5a3a;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #4a5568;
    transition: color 0.2s ease;
}

.mobile-menu-close:hover {
    color: #1a5a3a;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-link {
    display: block;
    padding: 1rem;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
    background: #f0f7f3;
    color: #1a5a3a;
    transform: translateX(4px);
}

.mobile-submenu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-left: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.mobile-submenu-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.mobile-submenu-link.whitening {
    border-left: 3px solid #b8e6d4;
}

.mobile-submenu-link.whitening:active {
    background: rgba(184, 230, 212, 0.25);
    color: #1a5a3a;
}

.mobile-submenu-link.aligners {
    border-left: 3px solid #c5e8b7;
}

.mobile-submenu-link.aligners:active {
    background: rgba(197, 232, 183, 0.25);
    color: #2d5a45;
}

.mobile-submenu-link.veneers {
    border-left: 3px solid #a8d5ba;
}

.mobile-submenu-link.veneers:active {
    background: rgba(168, 213, 186, 0.25);
    color: #1a5a3a;
}

.mobile-submenu-link.skin {
    border-left: 3px solid #d4e8c7;
}

.mobile-submenu-link.skin:active {
    background: rgba(212, 232, 199, 0.25);
    color: #2d5a45;
}

.mobile-menu-cta {
    display: block;
    margin-top: 2rem;
    background: #10b14b;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.mobile-menu-cta:active {
    background: #0e9940;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1050;
}

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

/* Main content spacing for fixed header */
main {
    padding-top: 7rem;
}

@media (min-width: 1024px) {
    main {
        padding-top: 6rem;
    }
}

/* Button Hover Effects */
.btn-primary {
    background-color: var(--brand-green);
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0e9940;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 177, 75, 0.3);
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(16, 177, 75, 0.1);
}

/* Image Hover Effects */
img {
    transition: transform 0.3s ease;
}

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

/* Dropdown Menu Animation */
.group:hover .group-hover\:opacity-100 {
    animation: dropdownFade 0.2s ease-in-out;
}

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

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--brand-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--navy-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-green);
}

/* Responsive Utilities */
@media (max-width: 1024px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Prevent overflow on all elements */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Fix Tailwind grid overflow */
.grid {
    max-width: 100%;
}

/* Mobile responsive padding */
@media (max-width: 640px) {
    .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
    }
}

/* Touch-friendly tap targets on mobile */
@media (max-width: 1024px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-link,
    .mobile-submenu-link {
        min-height: 48px;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .no-print {
        display: none;
    }
}

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

/* Focus Visible */
*:focus-visible {
    outline: 2px solid var(--brand-green);
    outline-offset: 2px;
}

/* Gradient Backgrounds */
.gradient-blue {
    background: linear-gradient(135deg, #f0f7f3 0%, #b8e6d4 100%);
}

.gradient-green {
    background: linear-gradient(135deg, #f0fff4 0%, #c5e8b7 100%);
}

.gradient-purple {
    background: linear-gradient(135deg, #f5faf7 0%, #a8d5ba 100%);
}

.gradient-orange {
    background: linear-gradient(135deg, #f7faf5 0%, #d4e8c7 100%);
}

/* ===== MODERN ENHANCEMENTS 2025 ===== */

/* Glass Morphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(26, 90, 58, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modern Hero Styles */
.hero-gradient {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(184, 230, 212, 0.4), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(197, 232, 183, 0.3), transparent),
        linear-gradient(135deg, #f0f7f3 0%, #ffffff 50%, #e8f5ec 100%);
}

/* Mesh Gradient Background */
.mesh-gradient {
    background:
        radial-gradient(at 40% 20%, rgba(184, 230, 212, 0.5) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(197, 232, 183, 0.4) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(168, 213, 186, 0.3) 0px, transparent 50%),
        radial-gradient(at 80% 50%, rgba(212, 232, 199, 0.3) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(184, 230, 212, 0.4) 0px, transparent 50%),
        #ffffff;
}

/* Animated Gradient Border */
.gradient-border {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(
        45deg,
        #10b14b,
        #b8e6d4,
        #a8d5ba,
        #1a5a3a,
        #c5e8b7,
        #10b14b
    );
    background-size: 400% 400%;
    animation: gradient-rotate 8s linear infinite;
    border-radius: inherit;
    z-index: -1;
}

.gradient-border::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: white;
    border-radius: calc(16px - 3px);
    z-index: -1;
}

@keyframes gradient-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Modern Card Styles */
.card-modern {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 4px 6px -1px rgba(26, 90, 58, 0.05),
        0 10px 20px -2px rgba(26, 90, 58, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 30px -10px rgba(26, 90, 58, 0.15),
        0 30px 60px -20px rgba(16, 177, 75, 0.1);
}

/* Service Card Colors */
.card-whitening {
    border-top: 4px solid #b8e6d4;
}

.card-aligners {
    border-top: 4px solid #c5e8b7;
}

.card-veneers {
    border-top: 4px solid #a8d5ba;
}

.card-business {
    border-top: 4px solid #d4e8c7;
}

/* Modern Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-primary-modern {
    background: linear-gradient(135deg, #10b14b 0%, #0e9940 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 177, 75, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 177, 75, 0.4);
}

.btn-secondary-modern {
    background: linear-gradient(135deg, #1a5a3a 0%, #153d2b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 90, 58, 0.3);
}

.btn-secondary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 90, 58, 0.4);
}

.btn-outline-modern {
    background: transparent;
    color: #1a5a3a;
    border: 2px solid #1a5a3a;
}

.btn-outline-modern:hover {
    background: #1a5a3a;
    color: white;
    transform: translateY(-2px);
}

/* Modern Section Dividers */
.section-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(26, 90, 58, 0.1) 20%,
        rgba(16, 177, 75, 0.2) 50%,
        rgba(26, 90, 58, 0.1) 80%,
        transparent
    );
}

/* Blob Shapes */
.blob {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: blob-morph 8s ease-in-out infinite;
}

@keyframes blob-morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

/* Modern Input Styles */
.input-modern {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.input-modern:focus {
    outline: none;
    border-color: #10b14b;
    background: white;
    box-shadow: 0 0 0 4px rgba(16, 177, 75, 0.1);
}

.input-modern::placeholder {
    color: #9ca3af;
}

/* Modern Select Styles */
.select-modern {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 48px;
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
}

.badge-green {
    background: rgba(16, 177, 75, 0.1);
    color: #10b14b;
}

.badge-blue {
    background: rgba(26, 90, 58, 0.1);
    color: #1a5a3a;
}

/* Stats Counter */
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10b14b, #1a5a3a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Testimonial Card */
.testimonial-card {
    position: relative;
    padding: 32px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(26, 90, 58, 0.08);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(16, 177, 75, 0.1);
    line-height: 1;
}

/* Image Overlay Gradient */
.img-overlay-gradient {
    position: relative;
}

.img-overlay-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 90, 58, 0.8) 0%,
        rgba(26, 90, 58, 0.4) 40%,
        transparent 100%
    );
    border-radius: inherit;
}

/* Feature List */
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
}

.feature-list li::before {
    content: '';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #10b14b, #0e9940);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

/* Modern Footer */
.footer-modern {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(16, 177, 75, 0.5),
        rgba(160, 223, 255, 0.5),
        rgba(232, 141, 255, 0.5),
        transparent
    );
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #10b14b, #1a5a3a);
    z-index: 99999;
    transition: width 0.1s linear;
}

/* Mobile Touch Optimizations */
@media (hover: none) and (pointer: coarse) {
    .card-modern:hover,
    .btn-modern:hover {
        transform: none;
    }

    .card-modern:active {
        transform: scale(0.98);
    }

    .btn-modern:active {
        transform: scale(0.95);
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .card-modern {
        border: 2px solid #1a5a3a;
    }

    .btn-modern {
        border: 2px solid currentColor;
    }
}

/* Dark Mode Support (Future) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here */
}

/* ===== TICKER / MARQUEE ANIMATION ===== */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ticker {
    display: flex;
    width: max-content;
    animation: ticker-scroll 40s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.ticker:hover {
    animation-play-state: paused;
}

.ticker-content {
    display: flex;
    gap: 3rem;
    padding: 0 1.5rem;
    flex-shrink: 0;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    white-space: nowrap;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0) translateZ(0);
    }
    to {
        transform: translateX(-50%) translateZ(0);
    }
}

/* ===== CAROUSEL BUTTON OVERRIDES ===== */
.carousel-btn {
    min-height: auto !important;
    min-width: auto !important;
}

.carousel-dot {
    min-height: auto !important;
    min-width: auto !important;
}