/* Famous Medical Diagnosis - Premium Medical Theme */

:root {
    /* Primary Medical Colors */
    --medical-primary-50: #f0f9ff;
    --medical-primary-100: #e0f2fe;
    --medical-primary-200: #bae6fd;
    --medical-primary-300: #7dd3fc;
    --medical-primary-400: #38bdf8;
    --medical-primary-500: #0ea5e9;
    --medical-primary-600: #0284c7;
    --medical-primary-700: #0369a1;
    --medical-primary-800: #075985;
    --medical-primary-900: #0c4a6e;
    
    /* Deep Blue for Headers */
    --medical-dark-blue: #0f172a;
    --medical-dark-blue-800: #1e293b;
    --medical-dark-blue-700: #334155;
    
    /* Teal/Accent Colors */
    --medical-teal-50: #f0fdfa;
    --medical-teal-100: #ccfbf1;
    --medical-teal-200: #99f6e4;
    --medical-teal-300: #5eead4;
    --medical-teal-400: #2dd4bf;
    --medical-teal-500: #14b8a6;
    --medical-teal-600: #0d9488;
    --medical-teal-700: #0f766e;
    --medical-teal-800: #115e59;
    --medical-teal-900: #134e4a;
    
    /* Neutral Colors */
    --medical-gray-50: #f8fafc;
    --medical-gray-100: #f1f5f9;
    --medical-gray-200: #e2e8f0;
    --medical-gray-300: #cbd5e1;
    --medical-gray-400: #94a3b8;
    --medical-gray-500: #64748b;
    --medical-gray-600: #475569;
    --medical-gray-700: #334155;
    --medical-gray-800: #1e293b;
    --medical-gray-900: #0f172a;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slideshow-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow-slide.active {
    opacity: 1;
}

.slideshow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
    z-index: 1;
}

.slideshow-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.slideshow-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-dot.active {
    background: var(--medical-teal-400);
    transform: scale(1.2);
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header Styles */
.medical-header {
    background: var(--medical-dark-blue);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.medical-nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.medical-nav-link:hover {
    color: white;
}

.medical-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--medical-teal-400);
    transition: width 0.3s ease;
}

.medical-nav-link:hover::after {
    width: 100%;
}

/* Button Styles */
.btn-medical-primary {
    background: linear-gradient(135deg, var(--medical-teal-500), var(--medical-teal-600));
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.btn-medical-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

.btn-medical-secondary {
    background: transparent;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-medical-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.medical-hero {
    background: linear-gradient(135deg, var(--medical-dark-blue) 0%, var(--medical-dark-blue-800) 100%);
    position: relative;
    overflow: hidden;
}

.medical-hero::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 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.medical-hero-content {
    position: relative;
    z-index: 2;
}

/* Appointment Card */
.appointment-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Enhanced Booking Form */
.booking-form-enhanced {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 2px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.booking-form-inner {
    background: white;
    border-radius: 22px;
    padding: 2rem;
}

.booking-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.booking-input:focus {
    outline: none;
    border-color: var(--medical-teal-400);
    background: white;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.booking-input::placeholder {
    color: #94a3b8;
}

/* Section Styles */
.medical-section {
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--medical-dark-blue);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--medical-gray-600);
    margin-bottom: 3rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--medical-gray-100);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--medical-teal-50), var(--medical-teal-100));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Feature Cards */
.feature-card {
    background: var(--medical-dark-blue);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 4px solid var(--medical-teal-100);
}

/* FAQ Accordion */
.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 1.5rem;
    background: var(--medical-gray-50);
    cursor: pointer;
    font-weight: 600;
    color: var(--medical-dark-blue);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--medical-gray-100);
}

.faq-answer {
    padding: 1.5rem;
    color: var(--medical-gray-600);
    line-height: 1.6;
}

/* Footer */
.medical-footer {
    background: var(--medical-dark-blue);
    color: white;
    padding: 60px 0 30px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* About Section with Statistics */
.about-stats-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.about-stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.about-stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 2;
}

.about-stats-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.stats-overlay-card {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--medical-teal-400);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .medical-hero {
        padding: 4rem 0;
    }
    
    .appointment-card {
        margin-top: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stats-overlay-card {
        padding: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--medical-gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--medical-teal-500);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--medical-teal-600);
}
