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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out;
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #2A6EF3;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: #2A6EF3;
}

.cta-nav {
    background: #27AE60;
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.cta-nav:hover {
    background: #219A52;
    color: white !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}







/* Mobile responsive adjustments for hero */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }
}



.hero-container {
    position: relative;
    z-index: 3;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 48px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    position: relative;
}

.search-box:focus-within {
    box-shadow: 0 15px 40px rgba(42, 110, 243, 0.2);
}

.search-icon {
    position: absolute;
    left: 25px;
    color: #999;
    font-size: 16px;
    z-index: 1;
}

.search-input {
    flex: 1;
    padding: 18px 25px 18px 55px;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
    cursor: pointer;
}

.search-input:focus {
    cursor: text;
}

.search-btn {
    background: #2A6EF3;
    border: none;
    padding: 18px 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.search-btn:hover {
    background: #1E5AD1;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(42, 110, 243, 0.3);
}

.search-btn:active {
    transform: scale(0.98);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: #2C3E50;
}

/* Star Rating Styles */
.clinic-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
}

.stars {
    display: flex;
    gap: 2px;
    color: #FFD700;
    font-size: 16px;
}

.stars i {
    transition: color 0.2s ease;
}

.rating-text {
    font-weight: 600;
    color: #2C3E50;
    font-size: 14px;
}

.review-count {
    color: #666;
    font-size: 13px;
    font-weight: 400;
}

/* Categories Section */
.categories {
    padding: 50px 0;
    background: #ffffff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.category-btn {
    background: white;
    border: 2px solid #E8F4FD;
    padding: 40px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(42, 110, 243, 0.1), transparent);
    transition: left 0.5s;
}

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

.category-btn:hover {
    border-color: #2A6EF3;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(42, 110, 243, 0.2);
}

.category-btn.active {
    background: #2A6EF3;
    border-color: #2A6EF3;
    color: white;
}

.category-btn.active span {
    color: white;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #2A6EF3;
}

.category-icon i {
    color: #2A6EF3;
}

/* Ensure all Font Awesome icons use consistent blue color */
.fas, .far, .fab {
    color: #2A6EF3;
}

/* Override for specific contexts where different colors are needed */
.contact-icon .fas,
.contact-icon .far,
.contact-icon .fab {
    color: white;
}

.search-btn .fas,
.search-btn .far,
.search-btn .fab {
    color: white;
}

.action-btn .fas,
.action-btn .far,
.action-btn .fab,
.action-btn i {
    color: white !important;
}

.category-btn span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2C3E50;
}

/* Locations Section */
.locations {
    padding: 50px 0;
    background: #F8FAFC;
}

/* Hide mobile dropdown on desktop */
.mobile-location-select {
    display: none;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.location-btn {
    background: white;
    border: 2px solid #E8F4FD;
    padding: 35px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.location-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(42, 110, 243, 0.1), transparent);
    transition: left 0.5s;
}

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

.location-btn:hover {
    border-color: #2A6EF3;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(42, 110, 243, 0.2);
}

.location-btn.active {
    background: #2A6EF3;
    border-color: #2A6EF3;
    color: white;
}

.location-btn.active .location-name {
    color: white;
}

.location-btn.active .clinic-count {
    color: rgba(255, 255, 255, 0.8);
}

.location-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2C3E50;
}

.clinic-count {
    font-size: 0.9rem;
    color: #5A6C7D;
}

/* Featured Clinics Section */
.featured-clinics {
    padding: 0;
    background: #ffffff;
}

.featured-clinics-header {
    padding: 50px 0 30px 0;
    background: #2A6EF3;
}

.featured-clinics-header .section-title {
    color: white;
    margin-bottom: 50px;
}

.featured-clinics-header .filters {
    margin-bottom: 0;
}

.featured-clinics-content {
    padding: 30px 0 50px 0;
    background: #ffffff;
}

.filters {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filters select {
    padding: 12px 20px;
    border: 2px solid #E1E8ED;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filters select:focus {
    outline: none;
    border-color: #2A6EF3;
}

.clinic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.clinic-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #F0F4F8;
    cursor: pointer;
    position: relative;
}

.clinic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 110, 243, 0.02) 0%, rgba(39, 174, 96, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.clinic-card:hover::before {
    opacity: 1;
}

.clinic-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(42, 110, 243, 0.15);
    border-color: rgba(42, 110, 243, 0.2);
}

.clinic-card > * {
    position: relative;
    z-index: 2;
}

.clinic-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.clinic-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    animation: fadeInScale 0.8s ease-out;
}

.clinic-image:hover {
    /* Hover animations removed */
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    z-index: 3;
}

.clinic-card:hover .image-overlay {
    opacity: 1;
}

.image-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
    z-index: 2;
}

.type-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2C3E50;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    align-self: flex-start;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.clinic-card:hover .type-badge {
    transform: translateY(0);
}

.type-badge i {
    color: #2A6EF3;
    font-size: 1rem;
}

.premium-badge-image {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    align-self: flex-end;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.clinic-card:hover .premium-badge-image {
    transform: translateY(0);
}

.premium-badge-image i {
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.clinic-card:hover .clinic-image {
    /* Float animation removed */
}

.clinic-content {
    padding: 30px;
}

.clinic-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.clinic-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 5px;
}

.clinic-type {
    color: #5A6C7D;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}



.clinic-location {
    color: #5A6C7D;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.clinic-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.stars {
    color: #FFD700;
}

.rating-text {
    color: #5A6C7D;
    font-size: 0.9rem;
}

.clinic-actions {
    display: flex;
    gap: 15px;
}

.visit-btn {
    background: #27AE60;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: background 0.3s ease;
    cursor: pointer;
    min-width: 120px;
}

.visit-btn:hover {
    background: #219A52;
}

.contact-btn {
    background: transparent;
    color: #2A6EF3;
    border: 2px solid #2A6EF3;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 120px;
    text-align: center;
}

.contact-btn:hover {
    background: #2A6EF3;
    color: white;
}

.website-btn {
    background: #FF6B35;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: background 0.3s ease;
    cursor: pointer;
}

.website-btn:hover {
    background: #E55A2B;
}

.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-btn {
    background: white;
    color: #2A6EF3;
    border: 2px solid #e1e5e9;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover {
    background: #f8f9fa;
    border-color: #2A6EF3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 110, 243, 0.15);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #2A6EF3 0%, #1E5AD1 100%);
    color: white;
    border-color: #2A6EF3;
    box-shadow: 0 4px 12px rgba(42, 110, 243, 0.3);
}

.pagination-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(42, 110, 243, 0.4);
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    color: #666;
    font-weight: 600;
    font-size: 14px;
    min-width: 44px;
    height: 44px;
}

@media (max-width: 768px) {
    .pagination-controls {
        gap: 4px;
    }
    
    .pagination-btn {
        padding: 10px 12px;
        font-size: 13px;
        min-width: 40px;
        height: 40px;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2A6EF3 0%, #1E5AD1 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-btn {
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: none;
}

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

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

.cta-btn.primary {
    background: linear-gradient(135deg, #27AE60 0%, #2ECC71 50%, #219A52 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
    animation: subtle-pulse 3s ease-in-out infinite;
}

.cta-btn.primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(39, 174, 96, 0.4);
    animation: pulse 0.5s ease-in-out;
}

@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
    }
    50% {
        box-shadow: 0 12px 30px rgba(39, 174, 96, 0.4);
    }
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #2A6EF3;
    border-color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* Clinic Profile Styles */
.clinic-profile-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafe 0%, #e8f4fd 100%);
}

.profile-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
}

.clinic-image-large {
    position: relative;
}

.clinic-image-large img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.clinic-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 10px;
}

.clinic-info .clinic-type {
    font-size: 1.2rem;
    color: #2A6EF3;
    font-weight: 600;
    margin-bottom: 20px;
}

.clinic-address {
    font-size: 1.1rem;
    color: #5A6C7D;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.clinic-contact {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.website-btn {
    background: transparent;
    color: #2A6EF3;
    border: 2px solid #2A6EF3;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.website-btn:hover {
    background: #2A6EF3;
    color: white;
    transform: translateY(-2px);
}

.clinic-details {
    padding: 80px 0;
    background: white;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.section-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid #F0F4F8;
}

.section-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 20px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-tag {
    background: #E8F4FD;
    color: #2A6EF3;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #F0F4F8;
}

.hour-row:last-child {
    border-bottom: none;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-btn {
    padding: 15px 20px;
    border-radius: 12px;
    border: none !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    background: #2A6EF3 !important;
    color: white !important;
    text-decoration: none !important;
}

.action-btn.primary {
    background: #2A6EF3 !important;
    color: white !important;
}

.action-btn.primary:hover {
    background: #1E5AD1 !important;
    transform: translateY(-2px);
}

.action-btn.secondary {
    background: #2A6EF3 !important;
    color: white !important;
    border: none !important;
}

.action-btn.secondary:hover {
    background: #1E5AD1 !important;
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #5A6C7D;
}

.contact-item i {
    color: #2A6EF3;
    width: 20px;
}

.similar-clinics {
    padding: 80px 0;
    background: #F8FAFE;
}

/* List Clinic Page Styles */
.list-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.list-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 110, 243, 0.9) 0%, rgba(39, 174, 96, 0.8) 100%);
    z-index: 1;
}

.list-hero .hero-content {
    position: relative;
    z-index: 2;
}

.list-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.list-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.benefits {
    padding: 100px 0;
    background: #F8FAFE;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #F0F4F8;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(42, 110, 243, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2A6EF3 0%, #1E5AD1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #5A6C7D;
    line-height: 1.6;
}

.registration-form {
    padding: 100px 0;
    background: white;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 60px;
}

.form-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 15px;
}

.form-header p {
    font-size: 1.2rem;
    color: #5A6C7D;
}

.clinic-form {
    background: #F8FAFE;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.form-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #E8F4FD;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E8F4FD;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2A6EF3;
    box-shadow: 0 0 0 3px rgba(42, 110, 243, 0.1);
}

.services-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.checkbox-label:hover {
    background: #F0F8FF;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.day-hours {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    align-items: center;
}

.day-hours label {
    font-weight: 600;
    color: #2C3E50;
}

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

.time-inputs input[type="time"] {
    width: 120px;
    padding: 10px;
}

.time-inputs span {
    color: #5A6C7D;
    font-weight: 500;
}

.package-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.package-card {
    position: relative;
}

.package-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.package-label {
    display: block;
    background: white;
    border: 2px solid #E8F4FD;
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.package-card input[type="radio"]:checked + .package-label {
    border-color: #2A6EF3;
    background: #F0F8FF;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(42, 110, 243, 0.15);
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.package-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2C3E50;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2A6EF3;
}

.package-features {
    list-style: none;
    padding: 0;
}

.package-features li {
    padding: 8px 0;
    color: #5A6C7D;
    border-bottom: 1px solid #F0F4F8;
}

.package-features li:last-child {
    border-bottom: none;
}

.form-actions {
    text-align: center;
    margin-top: 50px;
}

.submit-btn {
    background: linear-gradient(135deg, #2A6EF3 0%, #1E5AD1 100%);
    color: white;
    border: none;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(42, 110, 243, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(42, 110, 243, 0.4);
}

.form-note {
    margin-top: 20px;
    color: #5A6C7D;
    font-size: 0.9rem;
}

.form-note a {
    color: #2A6EF3;
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* Responsive Design for Clinic Profile */
@media (max-width: 768px) {
    .profile-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .clinic-image-large {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .clinic-contact {
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .package-options {
        grid-template-columns: 1fr;
    }
    
    .clinic-form {
        padding: 30px 20px;
    }
    
    .day-hours {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .time-inputs {
        flex-wrap: wrap;
    }
}

/* Footer */
.footer {
    background: #2C3E50;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #BDC3C7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-bottom {
    border-top: 1px solid #34495E;
    padding-top: 20px;
    text-align: center;
    color: #BDC3C7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile dropdown style for locations */
    .locations .location-grid {
        display: none;
    }
    
    .locations::after {
        content: '';
        display: block;
        width: 100%;
    }
    
    .mobile-location-select {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 15px 20px;
        border: 2px solid #E8F4FD;
        border-radius: 12px;
        background: white;
        font-size: 16px;
        font-weight: 500;
        color: #2C3E50;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-location-select:focus {
        outline: none;
        border-color: #2A6EF3;
        box-shadow: 0 0 0 3px rgba(42, 110, 243, 0.1);
    }
    
    .clinic-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filters {
        flex-direction: column;
        align-items: center;
    }
}

/* Form Styles for List Clinic Page */
.list-clinic-hero {
    background: linear-gradient(135deg, #E6F0FF 0%, #F0F8FF 100%);
    padding: 120px 0 60px;
}

.form-section {
    padding: 60px 0;
    background: #f8fafc;
}

.form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.clinic-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2C3E50;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E8F4FD;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2A6EF3;
    box-shadow: 0 0 0 3px rgba(42, 110, 243, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
}

.success-message {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.success-message i {
    font-size: 48px;
    color: #10B981;
    margin-bottom: 20px;
}

.success-message h3 {
    color: #2C3E50;
    margin-bottom: 10px;
}

.benefits-sidebar {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.benefits-sidebar h3 {
    color: #2C3E50;
    margin-bottom: 25px;
    font-size: 20px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.benefit-item i {
    color: #2A6EF3;
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.benefit-item h4 {
    color: #2C3E50;
    margin-bottom: 5px;
    font-size: 16px;
}

.benefit-item p {
    color: #64748B;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .form-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .clinic-form {
        padding: 30px 20px;
        margin-top: -20px;
    }
    
    .benefits-sidebar {
        position: static;
    }
}

/* No Results Styling */
.no-results {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-results h3 {
    color: #2C3E50;
    margin-bottom: 10px;
    font-size: 24px;
}

.no-results p {
    color: #64748B;
    font-size: 16px;
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .search-input {
        font-size: 16px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .category-btn {
        padding: 15px;
    }
    
    .clinic-form {
        padding: 20px 15px;
    }
}

/* Enhanced Button Animations */
.category-btn:hover {
    animation: pulse 0.6s ease-in-out;
}

.location-btn:hover {
    animation: pulse 0.6s ease-in-out;
}

.search-btn:hover {
    animation: pulse 0.4s ease-in-out;
}

.cta-btn:hover {
    animation: pulse 0.5s ease-in-out;
}



/* Ripple Effect for Buttons */
.category-btn,
.location-btn,
.search-btn,
.cta-btn,
.pagination-btn {
    position: relative;
    overflow: hidden;
}

.category-btn::after,
.location-btn::after,
.search-btn::after,
.cta-btn::after,
.pagination-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.category-btn:active::after,
.location-btn:active::after,
.search-btn:active::after,
.cta-btn:active::after,
.pagination-btn:active::after {
    width: 300px;
    height: 300px;
}

/* Utility Classes */
.hidden {
    display: none;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Active states for filters */
.category-btn.active,
.location-btn.active {
    border-color: #2A6EF3;
    background: #E6F0FF;
}

.category-btn.active span,
.location-btn.active .location-name {
    color: #2A6EF3;
}

/* Booking Page Styles */
.booking-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #2A6EF3 0%, #27AE60 100%);
    color: white;
    text-align: center;
}

.booking-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.booking-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.clinic-info-bar {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.clinic-info-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.clinic-info-content img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.clinic-info-text h3 {
    margin: 0 0 5px 0;
    color: #2C3E50;
    font-size: 1.2rem;
}

.clinic-info-text p {
    margin: 0;
    color: #5A6C7D;
    font-size: 0.9rem;
}

.booking-container {
    padding: 40px 0 80px;
    background: #2A6EF3;
}

.booking-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.booking-progress {
    display: flex;
    background: #F8FAFE;
    padding: 30px;
    justify-content: space-between;
    position: relative;
}

.booking-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 30px;
    right: 30px;
    height: 2px;
    background: #E5E7EB;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: #2A6EF3;
    color: white;
}

.progress-step.completed .step-circle {
    background: #27AE60;
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: #5A6C7D;
    text-align: center;
    font-weight: 500;
}

.progress-step.active .step-label {
    color: #2A6EF3;
    font-weight: 600;
}

.booking-content {
    padding: 40px;
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

.step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 10px;
}

.step-description {
    color: #5A6C7D;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2C3E50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2A6EF3;
    box-shadow: 0 0 0 3px rgba(42, 110, 243, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.time-slot {
    padding: 15px 10px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-weight: 500;
}

.time-slot:hover {
    border-color: #2A6EF3;
    background: #F0F7FF;
}

.time-slot.selected {
    border-color: #2A6EF3;
    background: #2A6EF3;
    color: white;
}

.time-slot.unavailable {
    background: #F3F4F6;
    color: #9CA3AF;
    cursor: not-allowed;
    border-color: #E5E7EB;
}

.time-slot.unavailable:hover {
    background: #F3F4F6;
    border-color: #E5E7EB;
}

.booking-summary {
    background: #F8FAFE;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #E5E7EB;
}

.summary-row:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: #2A6EF3;
}

.summary-label {
    color: #5A6C7D;
    font-weight: 500;
}

.summary-value {
    color: #2C3E50;
    font-weight: 600;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 25px 0;
}

.terms-checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

.terms-text {
    color: #5A6C7D;
    font-size: 0.95rem;
    line-height: 1.5;
}

.terms-text a {
    color: #2A6EF3;
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #E5E7EB;
}

.btn-secondary {
    background: #F3F4F6;
    color: #5A6C7D;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #E5E7EB;
}

.btn-primary {
    background: #2A6EF3;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #1E5AD1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 110, 243, 0.3);
}

.btn-primary:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.success-step {
    display: none;
    text-align: center;
    padding: 60px 40px;
}

.success-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #27AE60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 2rem;
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: #27AE60;
    margin-bottom: 15px;
}

.success-message {
    color: #5A6C7D;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.booking-reference {
    background: #F0F7FF;
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
    border-left: 4px solid #2A6EF3;
}

.reference-label {
    font-size: 0.9rem;
    color: #5A6C7D;
    margin-bottom: 5px;
}

.reference-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2A6EF3;
    font-family: 'Courier New', monospace;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .btn-primary,
.success-actions .btn-secondary {
    min-width: 150px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .booking-progress {
        padding: 20px 15px;
    }
    
    .progress-step {
        flex: none;
    }
    
    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .booking-content {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .time-slot {
        padding: 12px 8px;
        font-size: 0.9rem;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 15px;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .clinic-info-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Advanced Search & Filters Styles */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #E5E7EB;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-suggestion {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #F3F4F6;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-suggestion:hover,
.search-suggestion.highlighted {
    background: #F8FAFE;
}

.search-suggestion:last-child {
    border-bottom: none;
}

.suggestion-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0F7FF;
    border-radius: 6px;
    color: #2A6EF3;
    font-size: 0.8rem;
}

.suggestion-text {
    flex: 1;
}

.suggestion-title {
    font-weight: 500;
    color: #2C3E50;
    margin-bottom: 2px;
}

.suggestion-subtitle {
    font-size: 0.85rem;
    color: #5A6C7D;
}

.filters-toggle {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 12px 20px;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #5A6C7D;
}

.filters-toggle:hover {
    border-color: #2A6EF3;
    color: #2A6EF3;
    background: #F8FAFE;
}

.filters-toggle.active {
    border-color: #2A6EF3;
    background: #2A6EF3;
    color: white;
}

.advanced-filters {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 25px;
    margin-top: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: none;
    animation: slideDown 0.3s ease;
}

.advanced-filters.active {
    display: block;
}

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

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: #2C3E50;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 12px 15px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    background: white;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: #2A6EF3;
    box-shadow: 0 0 0 3px rgba(42, 110, 243, 0.1);
}

.filter-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
}

.clear-filters-btn,
.apply-filters-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.clear-filters-btn {
    background: #F3F4F6;
    color: #5A6C7D;
    border: 1px solid #E5E7EB;
}

.clear-filters-btn:hover {
    background: #E5E7EB;
    color: #374151;
}

.apply-filters-btn {
    background: #2A6EF3;
    color: white;
    border: 1px solid #2A6EF3;
}

.apply-filters-btn:hover {
    background: #1E5AD1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42, 110, 243, 0.3);
}

.search-box {
    position: relative;
}

.search-input:focus + .search-suggestions {
    display: block;
}

/* Active filter indicators */
.filter-active {
    position: relative;
}

.filter-active::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #27AE60;
    border-radius: 50%;
    border: 2px solid white;
}

.filters-count {
    background: #27AE60;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    font-weight: 600;
}

/* Mobile responsiveness for filters */
@media (max-width: 768px) {
    .filters-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .clear-filters-btn,
    .apply-filters-btn {
        width: 100%;
        justify-content: center;
    }
    
    .filters-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .advanced-filters {
         padding: 20px 15px;
     }
 }

/* Authentication Styles */
.auth-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    gap: 60px;
    align-items: center;
}

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 8px;
}

.auth-header p {
    color: #5A6C7D;
    font-size: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #2C3E50;
    font-size: 0.9rem;
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #FAFBFC;
}

.form-group input:focus {
    outline: none;
    border-color: #2A6EF3;
    background: white;
    box-shadow: 0 0 0 3px rgba(42, 110, 243, 0.1);
}

.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input input {
    flex: 1;
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #5A6C7D;
    cursor: pointer;
    padding: 5px;
    border-radius: 6px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #2A6EF3;
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-text {
    font-size: 0.8rem;
    color: #5A6C7D;
    font-weight: 500;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #5A6C7D;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #E5E7EB;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #2A6EF3;
    border-color: #2A6EF3;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.forgot-password {
    color: #2A6EF3;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #1E5AD1;
}

.auth-btn {
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.auth-btn.primary {
    background: #2A6EF3;
    color: white;
}

.auth-btn.primary:hover:not(:disabled) {
    background: #1E5AD1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 110, 243, 0.3);
}

.auth-btn.secondary {
    background: #F3F4F6;
    color: #5A6C7D;
    border: 1px solid #E5E7EB;
}

.auth-btn.secondary:hover {
    background: #E5E7EB;
    color: #374151;
}

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loader {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #5A6C7D;
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E5E7EB;
}

.auth-divider span {
    padding: 0 15px;
    background: white;
}

.social-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    padding: 12px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    background: white;
    color: #5A6C7D;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-btn:hover {
    border-color: #2A6EF3;
    color: #2A6EF3;
    background: #F8FAFE;
}

.social-btn.google:hover {
    border-color: #db4437;
    color: #db4437;
    background: #fef7f7;
}

.social-btn.facebook:hover {
    border-color: #4267B2;
    color: #4267B2;
    background: #f7f8ff;
}

.auth-toggle {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #E5E7EB;
}

.auth-toggle p {
    color: #5A6C7D;
    margin: 0;
}

.auth-toggle a {
    color: #2A6EF3;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-toggle a:hover {
    color: #1E5AD1;
}

.auth-benefits {
    color: white;
}

.auth-benefits h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.benefit-content p {
    opacity: 0.9;
    line-height: 1.5;
}

.error-message {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-help {
    color: #5A6C7D;
    font-size: 0.85rem;
    margin-top: 5px;
}

.terms-link {
    color: #2A6EF3;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Success Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    margin-bottom: 30px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #27AE60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 10px;
}

.modal-header p {
    color: #5A6C7D;
    line-height: 1.5;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px;
    }
    
    .auth-card {
        padding: 30px 25px;
    }
    
    .auth-benefits {
        order: -1;
        text-align: center;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .social-auth {
        gap: 10px;
    }
    
    .auth-header h1 {
        font-size: 1.75rem;
    }
    
    .auth-benefits h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .auth-section {
        padding: 20px 15px;
    }
    
    .auth-card {
        padding: 25px 20px;
    }
    
    .modal-content {
        padding: 30px 25px;
    }
}

/* Dashboard Styles */
.dashboard-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.dashboard-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.user-menu {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.user-info:hover {
    background: #f8f9fa;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
    border-bottom: 1px solid #eee;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item.logout {
    color: #dc3545;
}

.dashboard-container {
    display: flex;
    min-height: calc(100vh - 80px);
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
    padding: 2rem;
}

.dashboard-sidebar {
    width: 250px;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
    position: relative;
}

.sidebar-link:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.sidebar-link.active {
    background: var(--primary-color);
    color: white;
}

.sidebar-link i {
    width: 20px;
    text-align: center;
}

.notification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.dashboard-main {
    flex: 1;
}

.dashboard-header {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dashboard-title {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.dashboard-subtitle {
    color: #666;
    margin: 0 0 2rem 0;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.quick-action:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.action-icon.book { background: var(--primary-color); }
.action-icon.emergency { background: #dc3545; }
.action-icon.find { background: #28a745; }
.action-icon.support { background: #17a2b8; }

.dashboard-section {
    display: none;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dashboard-section.active {
    display: block;
}

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

.section-title {
    margin: 0;
    color: #333;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    opacity: 0.9;
    font-size: 0.9rem;
}

.appointments-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.appointment-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.appointment-date {
    text-align: center;
    min-width: 80px;
}

.appointment-date .date {
    display: block;
    font-weight: bold;
    color: var(--primary-color);
}

.appointment-date .time {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.appointment-details {
    flex: 1;
}

.appointment-details h4 {
    margin: 0 0 0.25rem 0;
    color: #333;
}

.appointment-details p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.appointment-actions {
    display: flex;
    gap: 0.5rem;
}

.reschedule-btn,
.cancel-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.reschedule-btn {
    background: #17a2b8;
    color: white;
}

.reschedule-btn:hover {
    background: #138496;
}

.cancel-btn {
    background: #dc3545;
    color: white;
}

.cancel-btn:hover {
    background: #c82333;
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.appointment-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.appointment-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.clinic-info h3 {
    margin: 0 0 0.25rem 0;
    color: #333;
}

.clinic-type {
    color: #666;
    font-size: 0.9rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.status-badge.upcoming {
    background: #d4edda;
    color: #155724;
}

.status-badge.completed {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.appointment-body {
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.detail-item i {
    width: 16px;
    color: var(--primary-color);
}

.appointment-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none !important;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-decoration: none !important;
    background: #2A6EF3 !important;
    color: white !important;
}

.action-btn.primary {
    background: #2A6EF3 !important;
    color: white !important;
}

.action-btn.primary:hover {
    background: #1E5AD1 !important;
}

.action-btn.secondary {
    background: #2A6EF3 !important;
    color: white !important;
    border: none !important;
}

.action-btn.secondary:hover {
    background: #1E5AD1 !important;
}

.action-btn.danger {
    background: #dc3545;
    color: white;
}

.action-btn.danger:hover {
    background: #c82333;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.favorite-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.favorite-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.clinic-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.clinic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.remove-favorite:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.clinic-info {
    padding: 1.5rem;
}

.clinic-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.stars {
    color: #ffc107;
}

.rating-value {
    font-weight: bold;
    color: #333;
}

.address {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.clinic-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0 1.5rem 1.5rem;
}

.clinic-actions .action-btn {
    flex: 1;
    justify-content: center;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.review-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-header h3 {
    margin: 0;
    color: #333;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-content {
    margin-bottom: 1rem;
}

.review-content p {
    margin: 0;
    color: #666;
    font-style: italic;
    line-height: 1.6;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.helpful-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.review-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s;
}

.notification-item.unread {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
}

.notification-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    margin: 0 0 0.25rem 0;
    color: #333;
}

.notification-content p {
    margin: 0 0 0.5rem 0;
    color: #666;
    line-height: 1.5;
}

.notification-time {
    font-size: 0.8rem;
    color: #999;
}

.notification-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.mark-read-btn,
.delete-notification-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.mark-read-btn {
    background: #28a745;
    color: white;
}

.mark-read-btn:hover {
    background: #218838;
}

.delete-notification-btn {
    background: #dc3545;
    color: white;
}

.delete-notification-btn:hover {
    background: #c82333;
}

.profile-form {
    max-width: 600px;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    margin: 0 0 1rem 0;
    color: #333;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f8f9fa;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.emergency-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.emergency-modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

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

.modal-header h2 {
    margin: 0;
    color: #dc3545;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emergency-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.emergency-contact:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.emergency-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.emergency-icon.ambulance { background: #dc3545; }
.emergency-icon.police { background: #007bff; }
.emergency-icon.fire { background: #fd7e14; }
.emergency-icon.poison { background: #6f42c1; }

.emergency-info h3 {
    margin: 0 0 0.25rem 0;
}

.emergency-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.no-data {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
}

/* Dashboard Mobile Responsiveness */
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .dashboard-sidebar {
        width: 100%;
        position: static;
    }
    
    .sidebar-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.5rem;
    }
    
    .sidebar-link {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.5rem;
        margin-bottom: 0;
    }
    
    .dashboard-nav .nav-container {
        padding: 1rem;
    }
    
    .dashboard-header {
        padding: 1.5rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .appointment-preview {
        flex-direction: column;
        text-align: center;
    }
    
    .appointment-card {
        padding: 1rem;
    }
    
    .appointment-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .appointment-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .favorites-grid {
        grid-template-columns: 1fr;
    }
    
    .clinic-actions {
        flex-direction: column;
    }
    
    .review-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .review-footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .review-actions {
        justify-content: center;
    }
    
    .notification-item {
        flex-direction: column;
        text-align: center;
    }
    
    .notification-actions {
        justify-content: center;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}