/* ============================================= */
/*           ALAAFIE MEDICAL CENTRE - STYLE.CSS   */
/* ============================================= */

.sea-blue-bg {
    background-color: #006994 !important;
}

.btn-sea-blue {
    background-color: #006994;
    border-color: #006994;
    color: white;
    transition: all 0.3s ease;
}

.btn-sea-blue:hover {
    background-color: #0088b8;
    border-color: #0088b8;
    color: white;
    transform: translateY(-2px);
}

.text-sea-blue { color: #006994 !important; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #006994;
    font-weight: 600;
}

/* Global */
body {
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
}

img.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Cards */
.feature-card, .card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.feature-card:hover, .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 105, 148, 0.18);
}

/* Video Container */
.video-container {
    width: 100%;
    max-width: 100%;
    margin: 30px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

/* Responsive Iframe */
.responsive-iframe {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.responsive-iframe iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* ============================================= */
/*               NAVBAR REDESIGN                 */
/* ============================================= */

.navbar {
    transition: all 0.4s ease;
    backdrop-filter: blur(12px);
    background-color: rgba(0, 105, 148, 0.98) !important;
}

.navbar.scrolled {
    background-color: rgba(0, 80, 113, 0.97) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    padding: 0.5rem 0 !important;
}

.nav-link {
    transition: all 0.3s ease;
    border-radius: 12px;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    color: #fff !important;
}

/* Dropdown Menu - Premium Look */
.dropdown-menu {
    background-color: #ffffff;
    border: none;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    margin-top: 10px !important;
    padding: 12px 0;
    min-width: 240px;
    animation: dropdownFade 0.3s ease-out;
}

.dropdown-item {
    padding: 12px 20px;
    border-radius: 10px !important;
    margin: 4px 12px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-item:hover {
    background-color: #006994 !important;
    color: white !important;
    transform: translateX(8px);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Admin Button Highlight */
.border-warning.border-2 {
    background-color: rgba(255,193,7,0.15);
}

/* Mobile Menu - Full Beauty */
@media (max-width: 991px) {
    .navbar-collapse {
        background: linear-gradient(135deg, #006994 0%, #004d73 100%);
        margin-top: 15px;
        border-radius: 20px;
        padding: 25px 15px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        backdrop-filter: blur(10px);
    }

    .navbar-nav .nav-link {
        padding: 14px 20px !important;
        margin: 6px 0;
        border-radius: 14px !important;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .dropdown-menu {
        background-color: rgba(255,255,255,0.97);
        backdrop-filter: blur(10px);
        border-radius: 16px;
    }
}

/* Toggler Icon */
.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================= */
/*           ADMIN DASHBOARD - MOBILE CARDS      */
/* ============================================= */

@media (max-width: 768px) {
    .table thead { display: none; }
    .table tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid #dee2e6;
        border-radius: 16px;
        overflow: hidden;
        background: white;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }
    .table td {
        display: block;
        width: 100%;
        border: none !important;
        padding: 0 !important;
        text-align: left !important;
    }
    .table td:first-child { padding: 1.5rem !important; }
    .table td:nth-child(2),
    .table td:nth-child(3) {
        padding: 1.2rem 1.5rem !important;
        background: #f8f9fa;
    }
    .table td:last-child { border-top: 1px solid #eee; }
}

/* Badges */
.badge {
    padding: 0.6em 1em;
    font-weight: 600;
    border-radius: 50px;
}

/* Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
.btn:focus {
    outline: 3px solid #0088b8;
    outline-offset: 3px;
    border-radius: 6px;
}