/* General Body Styles */
body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.5s ease;
}

/* Section Transitions */
section {
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hidden {
    opacity: 0;
    transform: translateY(20px);
    display: none;
}

/* Doctor Cards */
.doctor-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.doctor-card .status-online {
    color: #10B981;
}

.doctor-card .status-offline {
    color: #EF4444;
}

/* Video Consultation Controls */
.control-btn {
    background-color: #f3f4ff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.control-btn:hover {
    background-color: #E5E7EB;
}

.control-btn.active {
    background-color: #D1D5DB;
}

/* E-Prescription Medication Fields */
.medication-field {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

/* Carousel Styles */
.carousel-wrapper {
    display: flex;
    width: 100%;
}

.carousel-slide {
    transition: transform 0.5s ease;
}

.carousel-nav-btn {
    transition: all 0.3s ease;
}

.carousel-nav-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.indicator {
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #3B82F6;
    transform: scale(1.2);
}

.indicator:hover {
    transform: scale(1.1);
}

/* Luxury Carousel Styling */
.specialities-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
    position: relative;
    overflow: hidden;
}

.specialities-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZGRlNWZmIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybikiLz48L3N2Zz4=') repeat;
    opacity: 0.1;
}

.speciality-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.speciality-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.speciality-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.speciality-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.speciality-card:hover .speciality-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.speciality-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: #1e293b;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.speciality-card:hover .speciality-title {
    color: #4f46e5;
}

.speciality-desc {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
}

.carousel-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
}

.carousel-nav-btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    transform: translateY(-2px);
}

.carousel-nav-btn:hover i {
    color: white;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.indicator:hover {
    background: #94a3b8;
    transform: scale(1.2);
}

.indicator.active {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.view-all-btn {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 16px 40px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
    position: relative;
    overflow: hidden;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.view-all-btn:active {
    transform: translateY(0);
}

.view-all-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 0.8s;
}

.view-all-btn:hover::after {
    left: 120%;
}
