/* ========================================
   CSS Variables & Global Resets
======================================== */
:root {
    --primary-color: #0ea5e9; /* Light, medical blue */
    --primary-dark: #0284c7;
    --primary-light: #e0f2fe;
    --secondary-color: #0f172a; /* Deep blue/slate for text */
    --accent-color: #10b981; /* Emerald green for positive actions */
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --text-primary: #334155;
    --text-secondary: #64748b;
    --white: #ffffff;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary-color);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

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

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ========================================
   Navigation
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text h1 {
    font-size: 1.5rem;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.nav-links a {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
    position: relative;
}

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

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

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-image: url('images/clinic_hero_new_1779193218559.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text-box {
    max-width: 600px;
    animation: fadeUp 1s ease-out;
}

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

.hero-text-box h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text-box p {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* ========================================
   Highlights (Cards overlapping hero)
======================================== */
.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.highlight-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.highlight-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.highlight-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.highlight-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ========================================
   About Section
======================================== */
.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 4px solid var(--white);
}

.experience-badge .number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

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

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-list {
    margin-top: 30px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.about-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* ========================================
   Services Section
======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

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

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

/* ========================================
   Tips Section (Knowledge)
======================================== */
.tips-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tips-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.accordion {
    margin-top: 30px;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 18px 20px;
    background: var(--white);
    border: none;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--primary-light);
}

.accordion-header i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--bg-light);
}

.accordion-content p {
    padding: 20px;
    margin: 0;
    color: var(--text-secondary);
}

/* ========================================
   Booking Form Section
======================================== */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contact-methods {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.method i {
    font-size: 2rem;
    color: var(--accent-color);
}

.method h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.method p {
    color: var(--text-secondary);
    font-weight: 500;
}

.booking-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

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

.booking-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.booking-form button {
    margin-top: 10px;
    background-color: var(--accent-color);
}

.booking-form button:hover {
    background-color: #059669; /* Darker emerald */
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding-top: 80px;
}

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

.footer-logo .logo-img {
    background: transparent;
}

.footer-logo h2 {
    color: var(--white);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-desc {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.contact-list li,
.hours-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.hours-list li {
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

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

.footer-bottom {
    background: #020617; /* Darker shade */
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Dental Conditions & Gallery Sections
======================================== */
.disease-grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.disease-card, .gallery-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.disease-card:hover, .gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.disease-card img, .gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 4px solid var(--primary-color);
}

.disease-info, .gallery-info {
    padding: 25px;
    flex-grow: 1;
}

.disease-info h3, .gallery-info h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.disease-info p, .gallery-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   Animations
======================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 992px) {
    .hero-text-box h2 {
        font-size: 2.8rem;
    }
    .highlights, .about-grid, .tips-layout, .booking-grid, .disease-grid, .gallery-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .highlights {
        margin-top: 40px;
        padding-bottom: 0;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
    
    .hero-text-box h2 {
        font-size: 2.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
