/* 
  Design System for Premium Dental Website
  Fonts: Inter (Google Fonts)
  Spacing: 8px system
  Core Attributes: Minimal, Premium, Medical, Clean
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Dancing+Script:wght@600&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    /* Colors */
    --primary-dark: #0F172A;
    --primary-green: #16A34A;
    --primary-green-hover: #15803d;
    --mint-bg: #E8F5EE;
    --soft-gray-bg: #F8FAFC;
    --border-gray: #E2E8F0;
    --text-dark: #1E293B;
    --text-secondary: #64748B;
    --white: #FFFFFF;

    /* Spacing */
    --space-unit: 8px;
    --section-padding-desktop: 100px;
    --section-padding-mobile: 60px;
    --container-max-width: 1200px;

    /* Radii */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --radius-pill: 100px;

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);

    /* Transitions */
    --ease-standard: 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html,
body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    position: relative;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--ease-standard);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding-desktop) 0;
}

.bg-mint {
    background-color: var(--mint-bg);
}

.bg-gray {
    background-color: var(--soft-gray-bg);
}

.bg-dark {
    background-color: var(--primary-dark);
    color: var(--white);
}

.text-center {
    text-align: center;
}

.text-green {
    color: var(--primary-green);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
    border: 2px solid transparent;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2) 20%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.2) 80%,
            transparent);
    transition: left 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 5;
    pointer-events: none;
    transform: skewX(-25deg);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn:hover::before {
    left: 150%;
}

.btn-primary {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    filter: brightness(1.1);
}

.btn-dark {
    background: linear-gradient(135deg, #334155, #0f172a);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
    border: none;
}

.btn-dark:hover {
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.4);
    filter: brightness(1.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-gray);
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--primary-dark);
    background: transparent;
    color: var(--primary-dark);
    box-shadow: var(--shadow-soft);
}



/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 70px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: var(--container-max-width);
    z-index: 1000;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.2, 0, 0.2, 1);
    animation: headerFadeIn 1.2s cubic-bezier(0.2, 0, 0.2, 1) both;
}

@keyframes headerFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.2);
    width: 88%;
    top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.logo-icon {
    font-size: 1.4rem;
    color: var(--primary-green);
}

.logo-cursive {
    font-family: 'Dancing Script', cursive;
    font-size: 2.4rem;
    color: var(--primary-green);
    margin-right: 4px;
    font-weight: 600;
}

.logo span {
    letter-spacing: 1px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-dark);
    transition: width 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-dark);
}

/* Appointment Button - Inherits from primary for consistency */
.btn-appointment {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white !important;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.btn-appointment:hover {
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--mint-bg);
    color: var(--primary-green);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.hero-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    transform: skewX(-20deg);
    animation: shineStrip 2s infinite;
}

@keyframes shineStrip {
    0% {
        left: -150%;
    }

    70% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-reviews {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-group {
    display: flex;
    align-items: center;
}

.avatar-group img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid var(--white);
    margin-left: -16px;
    object-fit: cover;
    background: var(--soft-gray-bg);
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.4s ease;
}

.avatar-group img:first-child {
    margin-left: 0;
}

.avatar-group img:hover {
    transform: translateY(-8px) scale(1.1);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.review-info-text {
    display: flex;
    flex-direction: column;
}

.review-info-text span:first-child {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.review-info-text span:last-child {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-image-container {
    position: relative;
}

.hero-main-img {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow-md);
}

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
}

.badge-1 {
    top: 20%;
    left: -40px;
}

.badge-2 {
    bottom: 10%;
    right: -30px;
    animation-delay: 2s;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: var(--mint-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.label-text {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.stat-box {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-gray);
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-green);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Services Section */
.section-header {
    max-width: 600px;
    margin: 0 auto 60px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
    text-align: center;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--soft-gray-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-green);
    font-size: 1.5rem;
}

/* Icon Color Utilities */
.icon-purple {
    background-color: #F5F3FF !important;
    color: #8B5CF6 !important;
}

.icon-orange {
    background-color: #FFF7ED !important;
    color: #F97316 !important;
}

.icon-yellow {
    background-color: #FEFCE8 !important;
    color: #EAB308 !important;
}

.icon-green {
    background-color: #F0FDF4 !important;
    color: #22C55E !important;
}

.icon-blue {
    background-color: #EFF6FF !important;
    color: #3B82F6 !important;
}

.icon-pink {
    background-color: #FDF2F8 !important;
    color: #EC4899 !important;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}



/* Why Trust Us */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.trust-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
    text-align: center;
}

.trust-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.trust-icon {
    width: 64px;
    height: 64px;
    background: var(--soft-gray-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-green);
    font-size: 1.5rem;
    transition: transform 0.4s ease;
}

.trust-card:hover .trust-icon {
    transform: scale(1.1);
}

.trust-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.trust-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Doctor Section */
.doctor-container {
    background: linear-gradient(135deg, #064E3B, #022C22);
    border-radius: 40px;
    padding: 80px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(6, 78, 59, 0.2);
}

.doctor-content .label-text {
    color: #4ADE80;
}

.doctor-content h2 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 8px;
}

.doc-qual {
    font-size: 1.2rem;
    color: #4ADE80;
    margin-bottom: 24px;
    font-weight: 500;
}

.doc-bio {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.doc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-badge {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
}

.doctor-img {
    border-radius: var(--radius-lg);
}

/* Appointment Section */
.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.checklist {
    margin: 32px 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.call-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.form-card {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--ease-standard);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

/* Map Section */
.map-placeholder {
    width: 100%;
    height: 450px;
    background: #eef2f6;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Footer */
footer {
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    border-bottom: 1px solid var(--border-gray);
    padding-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 4px;
}

.contact-info li {
    display: flex;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.contact-info i {
    color: var(--primary-green);
    flex-shrink: 0;
}

.copyright {
    padding: 32px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Scroll Animations */
.reveal,
.reveal-left,
.reveal-right,
.reveal-zoom {
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0, 0.2, 1);
}

.reveal {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-zoom {
    transform: scale(0.9);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-zoom.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Delay Classes */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Hamburger Menu */
.menu-btn {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-grid,
    .about-grid,
    .appointment-grid {
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding-desktop: 60px;
    }

    .top-bar-center {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        right: 0;
        width: 250px;
        height: auto;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 30px;
        gap: 20px;
        border-radius: var(--radius-md);
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: var(--shadow-md);
        transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        transform: scale(0.5) translateY(-50px);
        transform-origin: top right;
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
        overflow: hidden;
    }

    .nav-links.active {
        transform: scale(1) translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        font-size: 1.1rem;
        width: 100%;
        display: block;
        padding: 8px 0;
    }

    .menu-btn {
        display: block;
    }

    .hero-grid,
    .about-grid,
    .appointment-grid,
    .doctor-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 32px;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .hero-reviews {
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        text-align: center;
    }

    .avatar-group {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .doctor-container {
        padding: 40px 24px;
    }

    .doctor-content h2 {
        font-size: 2.5rem;
    }

    .hero-image-container {
        order: -1;
    }

    .badge-1 {
        left: 0;
    }

    .floating-badge {
        padding: 8px 12px;
        gap: 8px;
    }

    .floating-badge .badge-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .floating-badge div div:first-child {
        font-size: 0.75rem !important;
    }

    .floating-badge div div:last-child {
        font-size: 0.65rem !important;
    }


    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding-bottom: 30px;
    }

    footer {
        padding: 40px 0 0;
    }

    .footer-col h4 {
        margin-bottom: 12px;
    }

    .footer-col p {
        margin-bottom: 16px;
    }

    .contact-info li {
        justify-content: center;
        margin-bottom: 10px;
    }

    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        display: none;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .nav-actions .btn {
        display: none;
    }
}