/* ========================================
   CavClinics - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #1a1a6e;
    --primary-dark: #12124f;
    --primary-light: #2d2d8a;
    --secondary-color: #ffffff;
    --accent-color: #4a4ae8;
    --text-dark: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #f8f9fa;
    --bg-gray: #f0f0f0;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 28px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    height: 500px;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 110, 0.7) 0%, rgba(26, 26, 110, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 60px;
    max-width: 600px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero h1 span {
    color: #fff;
}

.search-box {
    display: flex;
    background-color: var(--secondary-color);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.search-box input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: inherit;
}

.search-btn {
    padding: 15px 25px;
    background-color: var(--primary-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background-color: var(--primary-dark);
}

.search-btn i {
    color: var(--secondary-color);
    font-size: 18px;
}

/* ========================================
   Clinics Section
   ======================================== */
.clinics-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
}

.clinics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.clinic-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #f0f0f0;
}

.clinic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(26, 26, 110, 0.12);
}

.clinic-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.clinic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.clinic-card:hover .clinic-image img {
    transform: scale(1.08);
}

.clinic-info {
    padding: 22px;
}

.clinic-info h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.clinic-info p {
    font-size: 14px;
    color: var(--text-light);
}

.clinic-info p i {
    margin-right: 6px;
    color: var(--primary-color);
}

.clinic-card-actions {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

.clinic-card-actions .btn {
    width: 100%;
    display: block;
    text-align: center;
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
    padding: 60px 0;
}

.services-section h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.service-image {
    width: 100%;
    height: 120px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.cta-card {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.cta-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.cta-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

/* ========================================
   Why Us Section
   ======================================== */
.why-us-section {
    padding: 60px 0;
}

.why-us-section h2 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    background-color: var(--primary-color);
}

.feature-card:hover .feature-icon i,
.feature-card:hover p {
    color: var(--secondary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 28px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.testimonials-section h2 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    display: flex;
    gap: 30px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.testimonial-image {
    width: 300px;
    min-height: 250px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-content p {
    font-size: 16px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testimonial-content span {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 28px;
}

.footer-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info li i {
    width: 20px;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .clinics-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        height: 400px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .clinics-grid,
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex-direction: column;
    }

    .testimonial-image {
        width: 100%;
        height: 200px;
    }

    .testimonial-content {
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 28px;
    }

    .search-box input {
        padding: 12px 15px;
        font-size: 14px;
    }

    .search-btn {
        padding: 12px 20px;
    }
}

/* ========================================
   NEW PUBLIC PAGES STYLES
   ======================================== */

/* Notification Dropdown */
.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 360px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

.notification-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.notification-header h4 {
    font-size: 16px;
    margin: 0;
}

.notification-header a {
    font-size: 13px;
    color: var(--primary-color);
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.notification-item:hover {
    background: var(--bg-light);
}

.notification-item.unread {
    background: rgba(26, 26, 110, 0.03);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.notification-icon.bg-success { background: #28a745; }
.notification-icon.bg-primary { background: var(--primary-color); }
.notification-icon.bg-warning { background: #ffc107; color: #333; }

.notification-content p {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.notification-time {
    font-size: 12px;
    color: var(--text-muted);
}

.notification-footer {
    display: block;
    text-align: center;
    padding: 15px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

.notification-footer:hover {
    background: var(--bg-light);
}

/* Profile Dropdown Header */
.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
}

.dropdown-header img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-header h4 {
    font-size: 15px;
    margin-bottom: 2px;
}

.dropdown-header p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Profile Dropdown */
.nav-profile {
    position: relative;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: var(--bg-light);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.profile-btn:hover {
    background: var(--border-color);
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-name {
    font-weight: 500;
    font-size: 14px;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    padding: 10px 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.dropdown-menu a i {
    width: 18px;
    color: var(--text-muted);
}

.dropdown-menu a:hover i {
    color: var(--primary-color);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.logout-link {
    color: #dc3545 !important;
}

.logout-link i {
    color: #dc3545 !important;
}

/* Notification Bell */
.notification-bell {
    position: relative;
}

.notification-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
    position: relative;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #dc3545;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Hero Search Tabs */
.hero-search {
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 500px;
}

.search-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.search-tab {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.search-tab.active {
    color: var(--primary-color);
}

.search-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.search-content {
    padding: 20px;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.search-input-group i {
    color: var(--text-muted);
}

.search-input-group input,
.search-input-group select {
    flex: 1;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Featured Clinics Section */
.featured-section {
    padding: 80px 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.clinic-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.clinic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.clinic-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.clinic-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinic-status {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.clinic-status.open {
    background: #28a745;
    color: white;
}

.clinic-status.closed {
    background: #dc3545;
    color: white;
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.favorite-btn:hover,
.favorite-btn.active {
    color: #dc3545;
    background: #fff1f3;
}

.clinic-card-content {
    padding: 20px;
}

.clinic-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.clinic-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.clinic-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffc107;
    font-size: 14px;
}

.clinic-rating span {
    color: var(--text-dark);
    font-weight: 600;
}

.clinic-rating .reviews {
    color: var(--text-muted);
    font-weight: 400;
}

.clinic-services-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.service-tag {
    padding: 4px 10px;
    background: var(--bg-light);
    border-radius: 15px;
    font-size: 12px;
    color: var(--text-light);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Floating Book Button */
.floating-book-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.floating-book-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* ========================================
   LOGGED-IN USER ENHANCED STYLES
   ======================================== */

/* Enhanced Hero for Logged-in Users */
.hero-enhanced {
    height: auto;
    min-height: 400px;
    padding-bottom: 0;
}

.hero-enhanced .hero-content {
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-enhanced h1 {
    font-size: 36px;
}

.hero-enhanced h1 span {
    color: #ffd700;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    color: white;
    transition: var(--transition);
}

.quick-action-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    color: white;
}

.quick-action-card i {
    font-size: 28px;
}

.quick-action-card span {
    font-size: 14px;
    font-weight: 500;
}

/* Hero Stats Bar */
.hero-stats-bar {
    background: var(--secondary-color);
    padding: 25px 0;
    box-shadow: var(--shadow-md);
}

.stats-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-box i {
    font-size: 32px;
    color: var(--primary-color);
}

.stat-box .stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
}

.stat-box .stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section.bg-light {
    background: var(--bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 i {
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 5px;
}

.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

/* Upcoming Appointments */
.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.upcoming-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.upcoming-card:hover {
    box-shadow: var(--shadow-md);
}

.upcoming-date {
    text-align: center;
    padding: 15px 20px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: var(--border-radius);
    min-width: 70px;
}

.upcoming-date .day {
    font-size: 28px;
    font-weight: 700;
    display: block;
}

.upcoming-date .month {
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.9;
}

.upcoming-info {
    flex: 1;
}

.upcoming-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.upcoming-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upcoming-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.confirmed {
    background: #d4edda;
    color: #155724;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.book-new-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
}

.book-new-card:hover {
    border-color: var(--primary-color);
    background: rgba(26, 26, 110, 0.03);
}

.book-new-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.book-new-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.book-new-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Saved Clinics Card Variations */
.add-clinic-card {
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
}

.add-clinic-card .clinic-card-image {
    display: none;
}

.add-clinic-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    min-height: 280px;
}

.add-clinic-content i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.add-clinic-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.add-clinic-content p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Service Cards with Reminder */
.service-reminder {
    display: inline-block;
    padding: 5px 12px;
    background: #fff3cd;
    color: #856404;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.service-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    gap: 10px;
}

/* Guest View Styles */
.hero-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.hero-tags span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.hero-tags a {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    transition: var(--transition);
}

.hero-tags a:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    padding: 30px;
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.service-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--secondary-color);
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cta-section .btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.cta-section .btn-outline {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.cta-section .btn-outline:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 15px;
    margin-bottom: 3px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   My Account Page Styles
   ======================================== */
.account-section {
    padding: 100px 0 60px;
    min-height: 100vh;
    background: var(--bg-light);
}

.account-header {
    margin-bottom: 30px;
}

.account-header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.account-header p {
    color: var(--text-muted);
}

.account-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: var(--secondary-color);
    padding: 10px;
    border-radius: var(--border-radius-lg);
    overflow-x: auto;
}

.account-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    background: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: var(--transition);
}

.account-tab:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.account-tab.active {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.content-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.content-card h2 {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-card h2 i {
    color: var(--primary-color);
}

/* Appointment Cards */
.appointments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.appointment-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.appointment-card:hover {
    box-shadow: var(--shadow-sm);
}

.appointment-date {
    text-align: center;
    padding: 15px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: var(--border-radius);
    min-width: 80px;
}

.appointment-date .day {
    font-size: 28px;
    font-weight: 700;
    display: block;
}

.appointment-date .month {
    font-size: 12px;
    text-transform: uppercase;
}

.appointment-info {
    flex: 1;
}

.appointment-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.appointment-info p {
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.appointment-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.appointment-status.confirmed {
    background: #d4edda;
    color: #155724;
}

.appointment-status.pending {
    background: #fff3cd;
    color: #856404;
}

.appointment-status.completed {
    background: #d1ecf1;
    color: #0c5460;
}

.appointment-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

/* Health Summary Cards */
.health-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.health-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.health-item i {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.health-item .value {
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.health-item .label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.timeline-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.timeline-content {
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--border-radius);
}

.timeline-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Prescription Cards */
.prescriptions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.prescription-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.prescription-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    background: #e3f2fd;
    color: #1976d2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.prescription-info {
    flex: 1;
}

.prescription-info h4 {
    font-size: 15px;
    margin-bottom: 3px;
}

.prescription-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Saved Clinics */
.saved-clinics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Profile Settings */
.settings-section {
    margin-bottom: 30px;
}

.settings-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 26, 110, 0.1);
}

/* ========================================
   Clinics Page Styles
   ======================================== */
.clinics-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--secondary-color);
    text-align: center;
}

.clinics-hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.clinics-hero p {
    opacity: 0.9;
}

.clinics-page-section {
    padding: 40px 0 80px;
}

.clinics-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.filters-sidebar {
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 90px;
    box-shadow: var(--shadow-sm);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-item input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.clinics-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-count {
    font-size: 14px;
    color: var(--text-muted);
}

.sort-select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 14px;
}

.clinics-grid-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

/* ========================================
   Clinic Details Page Styles
   ======================================== */
.clinic-header-section {
    padding-top: 70px;
}

.clinic-cover {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    position: relative;
}

.clinic-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinic-profile {
    display: flex;
    gap: 25px;
    align-items: flex-end;
    margin-top: -60px;
    position: relative;
    z-index: 1;
    padding: 0 0 30px;
}

.clinic-avatar {
    width: 140px;
    height: 140px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.clinic-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinic-main-info {
    flex: 1;
    padding-top: 70px;
}

.clinic-name-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.clinic-name-row h1 {
    font-size: 28px;
}

.clinic-badges {
    display: flex;
    gap: 10px;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge.verified {
    background: #d4edda;
    color: #155724;
}

.badge.top-rated {
    background: #fff3cd;
    color: #856404;
}

.clinic-address {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.clinic-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
}

.rating-box {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffc107;
}

.rating-box .rating {
    font-weight: 600;
    color: var(--text-dark);
}

.rating-box .reviews {
    color: var(--text-muted);
}

.clinic-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.clinic-status.open {
    color: #28a745;
}

.clinic-status.open i {
    font-size: 8px;
}

.operating-hours {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.clinic-actions {
    display: flex;
    gap: 10px;
    padding-top: 70px;
}

.clinic-content-section {
    padding: 40px 0 80px;
    background: var(--bg-light);
}

.clinic-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.clinic-section {
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.clinic-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.clinic-section h2 i {
    color: var(--primary-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    margin-bottom: 0;
}

/* Services List in Clinic Details */
.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.service-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.service-details h4 {
    font-size: 14px;
    margin-bottom: 3px;
}

.service-details p {
    font-size: 12px;
    color: var(--text-muted);
}

.service-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

/* Dentists Grid */
.dentists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dentist-card {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.dentist-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
}

.dentist-card h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

.dentist-card .specialty {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.dentist-rating {
    font-size: 13px;
    color: #ffc107;
    margin-bottom: 5px;
}

.dentist-card .experience {
    font-size: 12px;
    color: var(--text-muted);
}

/* Reviews */
.reviews-summary {
    display: flex;
    gap: 40px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.rating-overview {
    text-align: center;
}

.big-rating {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
}

.rating-overview .stars {
    color: #ffc107;
    font-size: 18px;
    margin: 5px 0;
}

.total-reviews {
    font-size: 14px;
    color: var(--text-muted);
}

.rating-bars {
    flex: 1;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
}

.rating-bar-item .bar {
    flex: 1;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-item .fill {
    height: 100%;
    background: #ffc107;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.review-card {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-header img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

.review-rating {
    margin-left: auto;
    color: #ffc107;
    font-size: 14px;
}

.review-service {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Sidebar Cards */
.clinic-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
    font-size: 16px;
    margin-bottom: 20px;
}

.booking-card {
    border: 2px solid var(--primary-color);
}

.quick-book-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quick-book-form select,
.quick-book-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 14px;
}

.login-prompt {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 15px;
}

.login-prompt a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact-item .label {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
}

.contact-item a {
    color: var(--text-dark);
    font-size: 14px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item.closed {
    color: #dc3545;
}

.map-placeholder {
    height: 150px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.map-placeholder i {
    font-size: 40px;
    margin-bottom: 10px;
}

.address-text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* ========================================
   Booking Page Styles
   ======================================== */
.booking-section {
    padding: 100px 0 60px;
    min-height: 100vh;
    background: var(--bg-light);
}

.booking-header {
    margin-bottom: 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.back-link:hover {
    color: var(--primary-color);
}

.booking-header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.booking-header p {
    color: var(--text-muted);
}

.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition);
}

.progress-step.active .step-number {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.progress-step span {
    font-size: 13px;
    color: var(--text-muted);
}

.progress-step.active span {
    color: var(--primary-color);
    font-weight: 500;
}

.progress-line {
    width: 80px;
    height: 2px;
    background: var(--border-color);
}

.booking-content {
    max-width: 800px;
    margin: 0 auto;
}

.booking-step {
    display: none;
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.booking-step.active {
    display: block;
}

.booking-step h2 {
    font-size: 20px;
    margin-bottom: 5px;
}

.step-description {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Service Selection */
.services-selection {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.service-option {
    cursor: pointer;
}

.service-option input {
    display: none;
}

.service-option-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-option-card:hover {
    border-color: var(--primary-light);
}

.service-option input:checked + .service-option-card,
.service-option-card.selected {
    border-color: var(--primary-color);
    background: rgba(26, 26, 110, 0.05);
}

.service-option-card i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
}

.service-info {
    flex: 1;
}

.service-info h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.service-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Date/Time Selection */
.datetime-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.date-picker h4,
.time-picker h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-nav-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--secondary-color);
    cursor: pointer;
}

.calendar-month {
    font-weight: 600;
}

.calendar-grid {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 15px;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.calendar-header span {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-days .day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.calendar-days .day.other-month {
    color: var(--text-muted);
    opacity: 0.5;
}

.calendar-days .day.disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

.calendar-days .day.today {
    border: 2px solid var(--primary-color);
}

.calendar-days .day.available:hover {
    background: var(--primary-light);
    color: var(--secondary-color);
}

.calendar-days .day.unavailable {
    background: #ffebee;
    color: #dc3545;
    cursor: not-allowed;
}

.calendar-days .day.selected {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.calendar-legend {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-muted);
}

.calendar-legend .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.calendar-legend .dot.available {
    background: var(--primary-color);
}

.calendar-legend .dot.unavailable {
    background: #dc3545;
}

.calendar-legend .dot.selected {
    background: var(--primary-color);
}

.selected-date {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.time-period {
    margin-bottom: 20px;
}

.time-period h5 {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.time-slot {
    cursor: pointer;
}

.time-slot input {
    display: none;
}

.time-slot span {
    display: block;
    padding: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 13px;
    transition: var(--transition);
}

.time-slot:hover span {
    border-color: var(--primary-color);
}

.time-slot input:checked + span,
.time-slot.selected span {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.time-slot.unavailable span {
    background: var(--bg-light);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Slot status styles */
.time-slot.past,
.time-slot.booked {
    cursor: not-allowed;
    opacity: 0.7;
}

.time-slot.past span,
.time-slot.booked span {
    background: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
}

.time-slot.past:hover span,
.time-slot.booked:hover span {
    border-color: #e5e7eb;
}

.time-slot .slot-status {
    display: block;
    font-size: 10px;
    color: #ef4444;
    margin-top: 2px;
    font-weight: 500;
}

.time-slot.past .slot-status {
    color: #9ca3af;
}

.time-slot.booked .slot-status {
    color: #ef4444;
}

.time-slot.available .slot-status {
    color: #22c55e;
}

/* Dentist Selection */
.dentist-selection {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.dentist-option {
    cursor: pointer;
}

.dentist-option input {
    display: none;
}

.dentist-option-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.dentist-option-card:hover {
    border-color: var(--primary-light);
}

.dentist-option input:checked + .dentist-option-card,
.dentist-option-card.selected {
    border-color: var(--primary-color);
    background: rgba(26, 26, 110, 0.05);
}

.dentist-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.dentist-option-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.any-dentist-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
}

.dentist-option-info {
    flex: 1;
}

.dentist-option-info h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.dentist-option-info .specialty {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.dentist-rating-small {
    font-size: 13px;
    color: #ffc107;
}

.availability {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.availability.available {
    color: #28a745;
}

.availability.unavailable {
    color: #dc3545;
}

/* Confirmation */
.confirmation-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 25px;
}

.confirmation-clinic {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.confirmation-clinic img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    object-fit: cover;
}

.confirmation-clinic h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.confirmation-clinic p {
    font-size: 13px;
    color: var(--text-muted);
}

.confirmation-details {
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-value {
    font-weight: 500;
}

.detail-row.total {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
}

.detail-value.price {
    font-size: 20px;
    color: var(--primary-color);
}

.additional-notes textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
}

.confirmation-notice {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #e3f2fd;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.confirmation-notice i {
    color: #1976d2;
    font-size: 20px;
}

.confirmation-notice p {
    font-size: 13px;
    color: var(--text-light);
}

/* Success Modal */
.booking-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.booking-success-modal.show {
    display: flex;
}

.booking-success-modal .modal-content {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    max-width: 450px;
}

.success-icon {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 20px;
}

.booking-success-modal h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.booking-reference {
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.booking-reference span {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 5px;
}

.booking-reference strong {
    font-size: 20px;
    color: var(--primary-color);
}

.confirmation-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ========================================
   About Page Styles
   ======================================== */
.about-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--secondary-color);
    text-align: center;
}

.about-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.about-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.mission-vision-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mv-card {
    text-align: center;
    padding: 50px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(26, 26, 110, 0.08);
    border: 1px solid rgba(26, 26, 110, 0.05);
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 26, 110, 0.12);
}

.mv-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 28px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.mv-card:first-child .mv-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    box-shadow: 0 8px 25px rgba(26, 26, 110, 0.3);
}

.mv-card h2 {
    font-size: 26px;
    margin-bottom: 18px;
    color: var(--text-dark);
    font-weight: 700;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

@media (max-width: 768px) {
    .mv-grid {
        grid-template-columns: 1fr;
    }
}

.about-story-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 32px;
    margin-bottom: 25px;
}

.story-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-features-section {
    padding: 80px 0;
}

.about-features-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.about-stats-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, #4a3f8a 100%);
}

.about-stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.about-stats-section .stat-item {
    text-align: center;
    color: white;
}

.about-stats-section .stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white !important;
}

.about-stats-section .stat-label {
    font-size: 15px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9) !important;
}

.team-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.team-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    padding: 35px 25px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(26, 26, 110, 0.1);
}

.team-card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid #f0f4ff;
}

.team-card h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
}

.team-card .role {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f4ff, #e8eeff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    transform: translateY(-2px);
}

.about-cta-section {
    padding: 80px 0;
    text-align: center;
}

.about-cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.about-cta-section p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 16px;
}

/* ========================================
   Services Page Styles
   ======================================== */
.services-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--secondary-color);
    text-align: center;
}

.services-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.services-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.service-categories-section {
    padding: 30px 0;
    background: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.category-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.category-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-tab.active {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.services-list-section {
    padding: 60px 0 80px;
}

.service-category {
    margin-bottom: 50px;
}

.service-category h2 {
    font-size: 24px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-category h2 i {
    color: var(--primary-color);
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-detail-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    transition: var(--transition);
    position: relative;
}

.service-detail-card:hover {
    box-shadow: var(--shadow-md);
}

.service-detail-card.featured {
    border: 2px solid var(--primary-color);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: 11px;
    font-weight: 500;
    border-radius: 20px;
}

.service-detail-card .service-image {
    width: 140px;
    min-height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detail-card .service-image i {
    font-size: 48px;
    color: var(--secondary-color);
}

.service-content {
    padding: 25px;
    flex: 1;
}

.service-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-content > p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.service-meta .duration {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-meta .price {
    font-weight: 600;
    color: var(--primary-color);
}

.dss-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.dss-cta-content {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.dss-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--secondary-color);
}

.dss-text {
    text-align: left;
    color: var(--secondary-color);
}

.dss-text h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.dss-text p {
    opacity: 0.9;
}

.dss-cta-section .btn {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.dss-cta-section .btn:hover {
    background: var(--bg-light);
}

/* ========================================
   Responsive - New Pages
   ======================================== */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .clinic-layout {
        grid-template-columns: 1fr;
    }
    
    .clinic-sidebar {
        order: -1;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .dentists-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .story-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .upcoming-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-name {
        display: none;
    }
    
    .notification-dropdown {
        width: 300px;
        right: -100px;
    }
    
    .hero-enhanced .hero-content {
        padding-top: 100px;
    }
    
    .hero-enhanced h1 {
        font-size: 28px;
    }
    
    .quick-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .quick-action-card {
        flex-direction: row;
        justify-content: flex-start;
        padding: 15px 20px;
    }
    
    .quick-action-card i {
        font-size: 22px;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .upcoming-grid {
        grid-template-columns: 1fr;
    }
    
    .upcoming-card {
        flex-wrap: wrap;
    }
    
    .upcoming-actions {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 10px;
        padding-top: 15px;
        border-top: 1px solid var(--border-color);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .clinics-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .account-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .health-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .saved-clinics-grid {
        grid-template-columns: 1fr;
    }
    
    .clinics-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        position: static;
    }
    
    .clinics-grid-results {
        grid-template-columns: 1fr;
    }
    
    .clinic-profile {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .clinic-avatar {
        margin-top: -80px;
    }
    
    .clinic-main-info {
        padding-top: 20px;
    }
    
    .clinic-name-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .clinic-meta {
        flex-wrap: wrap;
    }
    
    .clinic-actions {
        padding-top: 20px;
        width: 100%;
    }
    
    .clinic-actions .btn {
        flex: 1;
    }
    
    .reviews-summary {
        flex-direction: column;
    }
    
    .datetime-selection {
        grid-template-columns: 1fr;
    }
    
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .booking-progress {
        flex-wrap: wrap;
    }
    
    .progress-line {
        display: none;
    }
    
    .dentists-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats-section .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .dss-cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .dss-text {
        text-align: center;
    }
    
    .service-detail-card {
        flex-direction: column;
    }
    
    .service-detail-card .service-image {
        width: 100%;
        min-height: 120px;
    }
    
    .floating-book-btn {
        display: flex;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .health-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}
/* ========================================
   Navigation Highlight (Apply as Clinic)
   ======================================== */
.nav-links a.nav-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white !important;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 500;
}

.nav-links a.nav-highlight:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 26, 110, 0.3);
}

.nav-links a.nav-highlight::after {
    display: none;
}

/* ========================================
   Clinic Owners CTA Section
   ======================================== */
.clinic-owners-cta {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    padding: 80px 0;
}

.owners-cta-card {
    background: white;
    border-radius: 24px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    box-shadow: 0 10px 40px rgba(26, 26, 110, 0.1);
    border: 1px solid rgba(26, 26, 110, 0.08);
}

.owners-cta-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    flex: 1;
}

.owners-cta-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.owners-cta-icon i {
    font-size: 36px;
    color: white;
}

.owners-cta-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.owners-cta-text p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.owners-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 25px;
}

.owners-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dark);
}

.owners-benefits li i {
    color: #10b981;
    font-size: 16px;
}

.owners-cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.owners-cta-action .btn {
    white-space: nowrap;
    padding: 16px 36px;
    font-size: 16px;
}

.owners-cta-action .btn i {
    margin-right: 8px;
}

.cta-note {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .owners-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    
    .owners-cta-content {
        flex-direction: column;
        align-items: center;
    }
    
    .owners-benefits {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .owners-benefits {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Polished Feature Cards
   ======================================== */
.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(26, 26, 110, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ========================================
   Polished Steps Section
   ======================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 3px solid #94a3b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: 700;
    color: #64748b;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ========================================
   Polished CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, #4a3f8a 100%);
    padding: 80px 20px;
}

.cta-content h2 {
    color: white;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.cta-buttons .btn-primary:hover {
    background: #f0f4ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* ========================================
   Polished Service Cards (Home)
   ======================================== */
.services-section .service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.services-section .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(26, 26, 110, 0.1);
}

.services-section .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f0f4ff, #e8eeff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.services-section .service-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.services-section .service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.services-section .service-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    gap: 10px;
}

/* ========================================
   Polished Testimonials
   ======================================== */
.testimonial-card {
    background: white;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.testimonial-rating {
    margin-bottom: 18px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 16px;
    margin-right: 2px;
}

.testimonial-text {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   Find Clinics Page - Professional Styling
   ======================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, #4a3f8a 100%);
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    color: white;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

/* Search Section */
.search-section {
    background: white;
    padding: 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.search-filters-box {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(26, 26, 110, 0.1);
}

.search-bar i {
    color: #94a3b8;
    font-size: 18px;
    margin-right: 12px;
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-dark);
}

.search-bar input::placeholder {
    color: #94a3b8;
}

.search-bar input:focus {
    outline: none;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 15px;
    align-items: end;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-item label {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.filter-item select {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-item select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 500;
}

@media (max-width: 992px) {
    .filter-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-btn {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .filter-btn {
        grid-column: span 1;
    }
}

/* Results Section */
.clinics-results {
    padding: 40px 0 80px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.results-count {
    font-size: 15px;
    color: #64748b;
}

.results-count strong {
    color: var(--text-dark);
    font-weight: 600;
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-sort label {
    font-size: 14px;
    color: #64748b;
}

.results-sort select {
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

/* Clinic Cards in Results */
.clinics-results .clinics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.clinics-results .clinic-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.clinics-results .clinic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(26, 26, 110, 0.12);
}

.clinics-results .clinic-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.clinics-results .clinic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.clinics-results .clinic-card:hover .clinic-image img {
    transform: scale(1.08);
}

.clinic-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.favorite-btn i {
    color: #94a3b8;
    font-size: 18px;
    transition: all 0.2s ease;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.favorite-btn:hover i,
.favorite-btn.active i {
    color: #ef4444;
}

.clinics-results .clinic-info {
    padding: 25px;
}

.clinics-results .clinic-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.clinics-results .clinic-rating i {
    color: #fbbf24;
    font-size: 14px;
}

.clinics-results .clinic-rating span {
    font-weight: 600;
    color: var(--text-dark);
}

.clinics-results .clinic-rating .rating-count {
    color: #94a3b8;
    font-weight: 400;
    font-size: 13px;
}

.clinics-results .clinic-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.clinics-results .clinic-location {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.clinics-results .clinic-location i {
    color: var(--primary-color);
    margin-top: 2px;
}

.clinic-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.clinic-services .service-tag {
    background: linear-gradient(135deg, #f0f4ff, #e8eeff);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.clinic-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 18px;
}

.clinic-hours.open {
    color: #10b981;
}

.clinic-hours.closed {
    color: #ef4444;
}

.clinic-hours i {
    font-size: 8px;
}

.clinic-actions {
    display: flex;
    gap: 10px;
}

.clinic-actions .btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 10px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f0f4ff, #e8eeff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.empty-state-icon i {
    font-size: 42px;
    color: var(--primary-color);
}

.empty-state h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.empty-state p {
    color: #64748b;
    font-size: 15px;
    max-width: 400px;
    margin: 0 auto 25px;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .clinics-results .clinics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .clinics-results .clinics-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 15px;
    }
}