/* =========================================================================
   VARIABLES & GLOBAL STYLES
   ========================================================================= */
:root {
    --primary-teal: #0D9488;
    /* Modern Teal */
    --primary-hover: #0F766E;
    --light-blue: #F0FDF4;
    /* Extremely light green/blue for background */
    --light-blue-bg: #E0F2FE;
    /* Soft Light Blue Accent */
    --text-dark: #1E293B;
    /* Slate 800 */
    --text-medium: #475569;
    /* Slate 600 */
    --text-light: #94A3B8;
    /* Slate 400 */
    --bg-white: #FFFFFF;
    --bg-offwhite: #F8FAFC;
    --bg-teal: #115E59;

    --shadow-soft: 0 10px 40px -10px rgba(13, 148, 136, 0.15);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-medium);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.bg-light {
    background-color: var(--bg-offwhite);
}

.bg-teal {
    background-color: var(--bg-teal);
}

.bg-light-blue {
    background-color: var(--light-blue-bg);
}

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

.text-light-blue {
    color: #86EFAC;
}

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

.text-yellow {
    color: #FBBF24;
}

/* =========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================= */
.section-title-wrapper {
    margin-bottom: 50px;
}

.subtitle {
    display: inline-block;
    color: var(--primary-teal);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary-teal);
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}

.title-underline.center {
    margin: 0 auto 20px;
}

.title-underline.white-underline {
    background-color: var(--bg-white);
}

.text-center {
    text-align: center;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

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

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

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-teal);
    box-shadow: var(--shadow-card);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.btn-outline:hover {
    background-color: var(--primary-teal);
    color: var(--bg-white);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    padding: 16px;
}

/* =========================================================================
   HEADER & NAVIGATION
   ========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.logo span {
    font-weight: 400;
    color: var(--text-medium);
}

.logo i {
    font-size: 1.8rem;
}

.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-teal);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--bg-white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--light-blue-bg);
    color: var(--primary-teal);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    z-index: 1;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--light-blue-bg);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    object-fit: cover;
    aspect-ratio: 4/5;
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 3s ease-in-out infinite;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--light-blue-bg);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.floating-card h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.floating-card p {
    font-size: 0.9rem;
    margin: 0;
}

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

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

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

/* =========================================================================
   ABOUT DOCTOR SECTION
   ========================================================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background-color: var(--primary-teal);
    color: var(--bg-white);
    padding: 30px;
    border-radius: 50%;
    text-align: center;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 140px;
}

.exp-years {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 5px;
}

.bio {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.certifications {
    margin-bottom: 30px;
    display: grid;
    gap: 12px;
}

.certifications li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
    color: var(--text-dark);
}

.certifications i {
    margin-top: 4px;
    font-size: 1.2rem;
}

/* =========================================================================
   SERVICES SECTION
   ========================================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--light-blue-bg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-blue-bg);
    color: var(--primary-teal);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-teal);
    color: var(--bg-white);
}

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

/* =========================================================================
   FEATURES / WHY CHOOSE US
   ========================================================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.feature-icon.white-bg {
    background-color: var(--bg-white);
}

/* =========================================================================
   SMILE GALLERY
   ========================================================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.gallery-card:hover {
    box-shadow: var(--shadow-hover);
}

.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--bg-white);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
}

/* =========================================================================
   PATIENT REVIEWS
   ========================================================================= */
.reviews-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.review-rating {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.review-text {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 30px;
    flex-grow: 1;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary-teal);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.reviewer-info h5 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.reviewer-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* =========================================================================
   APPOINTMENT SECTION
   ========================================================================= */
.appointment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    padding: 0;
}

.appointment-text {
    padding: 60px;
    background-color: var(--bg-teal);
    color: var(--bg-white);
}

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

.appointment-text .subtitle {
    color: var(--light-blue-bg);
}

.appointment-benefits {
    margin-top: 30px;
    display: grid;
    gap: 15px;
}

.appointment-benefits li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.appointment-benefits i {
    background-color: var(--bg-white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.appointment-form-wrapper {
    padding: 60px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-disclaimer {
    margin-top: 15px;
    font-size: 0.85rem;
    text-align: center;
    color: var(--text-light);
}

/* =========================================================================
   CONTACT SECTION
   ========================================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-blue-bg);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.contact-card h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--bg-white);
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-teal);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--bg-white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col ul {
    display: grid;
    gap: 15px;
}

.footer-col a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-list i {
    margin-top: 5px;
    color: var(--primary-teal);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* =========================================================================
   FLOATING BUTTONS
   ========================================================================= */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-hover);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* =========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================= */
@media (max-width: 1024px) {
    .dropdown {
        display: none;
    }

    /* simplify menu */

    .hero h1 {
        font-size: 2.8rem;
    }

    .appointment-container {
        grid-template-columns: 1fr;
    }

    .appointment-text,
    .appointment-form-wrapper {
        padding: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .click-to-call-header {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Mobile Menu Open State */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-card);
        padding: 30px 20px;
        gap: 20px;
        z-index: 999;
    }

    .header-book-now {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .nav-actions {
        gap: 10px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 40px;
        text-align: center;
        gap: 30px;
    }

    .hero-content {
        order: 2;
    }

    .hero-image-wrapper {
        order: 1;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero p {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .experience-badge {
        bottom: 10px;
        right: 10px;
        width: 110px;
        height: 110px;
        padding: 20px;
    }

    .exp-years {
        font-size: 1.8rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 60px 0;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.3rem;
    }
}