@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&amp;display=swap');

:root {
    --primary-color: #0d6efd;
    --secondary-color: #0dcaf0;
    --dark-blue: #0b3954;
    --accent-teal: #08a045;
    --bg-light: #f8f9fa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #fbfcfd;
    color: #333;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-blue);
    color: #fff;
    font-size: 0.875rem;
}

/* Navbar Customization */
.navbar {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    background-color: #ffffff !important;
}

.navbar-brand {
    font-weight: 800;
    color: var(--dark-blue) !important;
    font-size: 1.5rem;
}

.navbar-brand span {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 600;
    color: #495057;
    margin: 0 4px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(13, 202, 240, 0.1) 100%);
    padding: 100px 0 80px 0;
    position: relative;
}

.hero-title {
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1.3;
}

/* Medical Card Styles */
.custom-card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    background: #fff;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Doctor Image Styling */
.doctor-img-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
    background-color: #e9ecef;
}

.doctor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.custom-card:hover .doctor-img-wrapper img {
    transform: scale(1.05);
}

/* Time Slot Buttons */
.time-slot-btn {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 10px 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: #fff;
    color: var(--dark-blue);
}

.time-slot-btn:hover:not(.disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.05);
}

.time-slot-btn.selected {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

.time-slot-btn.disabled {
    background-color: #f1f3f5;
    color: #adb5bd;
    border-color: #e9ecef;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.7;
}

/* Badge Pills */
.badge-specialty {
    background-color: rgba(13, 202, 240, 0.15);
    color: #055160;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* Section Title Styling */
.section-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.section-title {
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: #ced4da;
    padding-top: 60px;
}

footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: #fff;
    padding-right: 5px;
}



.page-view.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
