﻿:root {
    --smbbit-red: #9f1414;
    --smbbit-red-dark: #7d0f0f;
    --smbbit-black: #111111;
    --smbbit-gold: #c7ad82;
    --smbbit-beige: #d5c09b;
    --smbbit-light: #f7f7f7;
    --smbbit-text: #333333;
    --smbbit-muted: #777777;
    --smbbit-white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Open Sans", Arial, sans-serif;
    color: var(--smbbit-text);
    background: #fff;
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 700;
    color: var(--smbbit-black);
}

a {
    text-decoration: none;
}

.btn-smbbit {
    background: var(--smbbit-red);
    color: #fff;
    border: 0;
    padding: 10px 22px;
    font-weight: 700;
    border-radius: 0;
}

    .btn-smbbit:hover {
        background: var(--smbbit-red-dark);
        color: #fff;
    }

/* TOP BLACK BAR */
.smbbit-topbar {
    background: #000;
    color: #fff;
    font-size: 12px;
}

    .smbbit-topbar a {
        color: #fff;
    }

    .smbbit-topbar .top-btn {
        background: var(--smbbit-gold);
        color: #fff;
        padding: 11px 18px;
        display: inline-block;
        border-left: 1px solid rgba(255,255,255,0.2);
    }

        .smbbit-topbar .top-btn:hover {
            background: var(--smbbit-red);
        }

/* LOGO HEADER */
.smbbit-logo-header {
    background: #fff;
    padding: 30px 0;
    text-align: center;
}

.smbbit-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

    .smbbit-logo-wrap img {
        width: 100%;
        height: auto;
    }

.smbbit-title-urdu {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #111;
    margin-bottom: 6px;
}

.smbbit-title-eng {
    font-size: 22px;
    color: var(--smbbit-red);
    font-weight: 800;
    text-transform: uppercase;
}

/* RED NAVBAR */
.smbbit-navbar {
    background: var(--smbbit-red);
    border-bottom: 3px solid #6f0c0c;
}

    .smbbit-navbar .navbar-nav .nav-link {
        color: #fff !important;
        text-transform: uppercase;
        font-size: 11px;
        font-weight: 700;
        padding: 18px 12px;
    }

        .smbbit-navbar .navbar-nav .nav-link:hover,
        .smbbit-navbar .navbar-nav .nav-link.active {
            background: var(--smbbit-red-dark);
        }

    .smbbit-navbar .dropdown-menu {
        border-radius: 0;
        border: 0;
        padding: 0;
    }

    .smbbit-navbar .dropdown-item {
        font-size: 12px;
        padding: 10px 16px;
    }

        .smbbit-navbar .dropdown-item:hover {
            background: var(--smbbit-red);
            color: #fff;
        }

.navbar-toggler {
    border-color: rgba(255,255,255,0.6);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 10px 15px;
    color: #333;
}

    .navbar-nav .nav-link:hover {
        color: #8c1515;
    }

.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.dropdown-item {
    padding: 10px 18px;
    font-size: 14px;
}

    .dropdown-item:hover {
        background: #8c1515;
        color: #fff;
    }

.navbar .nav-link.active {
    color: #fff !important;
    background: linear-gradient(90deg, #c62828, #8e0000);
    border-radius: 6px;
    padding: 8px 14px;
}

/* FIX MEGA MENU WIDTH + ALIGNMENT */
.smbbit-navbar {
    position: relative;
}

    .smbbit-navbar .mega-menu {
        position: static;
    }

        .smbbit-navbar .mega-menu .mega-menu-content {
            width: 100%;
            max-width: 1140px;
            left: 7%;
            transform: translateX(-50%);
            top: 100%;
            right: auto;
            border: 0;
            border-radius: 0 0 18px 18px;
            padding: 28px !important;
            box-shadow: 0 18px 45px rgba(0,0,0,0.18);
            background: #fff;
        }

        .smbbit-navbar .mega-menu .row {
            width: 100%;
            margin: 0;
        }

.mega-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #222;
    font-size: 13px;
    font-weight: 700;
    white-space: normal;
    line-height: 1.3;
}

    .mega-item i {
        color: #8c1515;
        min-width: 18px;
    }

    .mega-item:hover {
        background: #fff1f1;
        color: #8c1515;
    }

.mega-menu-footer {
    border-top: 1px solid #eee;
    margin-top: 18px;
    padding-top: 18px;
    text-align: center;
}

    .mega-menu-footer .btn-smbbit {
        border-radius: 50px;
        padding: 10px 24px;
    }

/* Mobile mega menu */
@media (max-width: 991px) {
    .smbbit-navbar .mega-menu .mega-menu-content {
        position: static !important;
        transform: none;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        padding: 15px !important;
    }
}

/* HERO */
.home-hero {
    min-height: 470px;
    position: relative;
    background-size: cover;
    background-position: center;
}

    .home-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.18);
    }

.hero-caption {
    position: relative;
    z-index: 2;
    padding-top: 160px;
}

.hero-caption-box {
    max-width: 430px;
    background: rgba(255,255,255,0.78);
    padding: 26px 32px;
    border-radius: 12px;
}

    .hero-caption-box h1 {
        font-size: 34px;
        line-height: 1.1;
        margin: 0;
    }

        .hero-caption-box h1 span {
            display: block;
            color: var(--smbbit-red);
        }

    .hero-caption-box p {
        background: rgba(159,20,20,0.8);
        color: #fff;
        display: inline-block;
        padding: 8px 14px;
        font-size: 12px;
        margin: 14px 0 0;
        text-transform: uppercase;
    }

/* SERVICE CARDS OVER HERO */
.hero-service-wrap {
    margin-top: -35px;
    position: relative;
    z-index: 5;
}

.hero-service-card {
    min-height: 210px;
    padding: 38px 26px;
    color: #fff;
    text-align: center;
}

    .hero-service-card.red {
        background: var(--smbbit-red);
    }

    .hero-service-card.black {
        background: #000;
    }

    .hero-service-card i {
        font-size: 34px;
        margin-bottom: 18px;
        opacity: 0.9;
    }

    .hero-service-card h4 {
        color: #fff;
        font-size: 18px;
        margin-bottom: 12px;
    }

    .hero-service-card p {
        font-size: 12px;
        line-height: 1.7;
        margin: 0;
    }

/* ABOUT SECTION */
.home-about {
    padding: 70px 0;
    background: #fff;
}

.about-image {
    position: relative;
}

    .about-image img {
        width: 100%;
        display: block;
    }

    .about-image::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        border: 45px solid rgba(159,20,20,0.18);
        border-radius: 50%;
        left: 20%;
        bottom: 10%;
    }

.section-mini-title {
    font-size: 11px;
    letter-spacing: 4px;
    color: #777;
    font-weight: 700;
    text-transform: uppercase;
}

.section-title {
    font-size: 30px;
    line-height: 1.25;
    margin-bottom: 30px;
}

.home-about p {
    font-size: 13px;
    line-height: 1.9;
    color: #555;
    text-align: justify;
}

/* INTRODUCTION */
.intro-band {
    background: var(--smbbit-beige);
    padding: 55px 0;
}

    .intro-band h2 {
        color: var(--smbbit-red);
        font-size: 28px;
    }

    .intro-band p {
        color: #111;
        font-size: 13px;
    }

/* STATS SECTION */
.stats-section {
    background: linear-gradient(90deg, var(--smbbit-gold) 0%, var(--smbbit-gold) 50%, #fff 50%, #fff 100%);
    padding: 70px 0;
}

.stats-image img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.stat-box {
    background: #f8f8f8;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 25px;
}

    .stat-box h3 {
        font-size: 34px;
        color: var(--smbbit-gold);
        margin-bottom: 8px;
    }

    .stat-box p {
        font-size: 12px;
        margin: 0;
    }

/* TESTIMONIAL */
.testimonial-section {
    padding: 75px 0;
    background: #f8f9fa;
    text-align: center;
}

    .testimonial-section .section-mini-title {
        color: #777;
    }

.testimonial-card {
    max-width: 520px;
    margin: 40px auto 0;
    text-align: left;
}

.quote-icon {
    font-size: 46px;
    color: var(--smbbit-red);
    line-height: 1;
}

/* NEWSLETTER */
.newsletter-section {
    background: #f8f9fa;
    padding: 20px 0 70px;
    text-align: center;
}

.newsletter-title {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.newsletter-form .form-control {
    height: 42px;
    border-radius: 0;
    border: 1px solid #ddd;
    font-size: 12px;
}

.newsletter-form .btn {
    height: 42px;
    border-radius: 0;
    background: #000;
    color: #fff;
    padding: 0 35px;
}

/* INNER PAGE HEADER */
.inner-page-header {
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url("http://smbbit.gos.pk/images/header2.png");
    background-size: cover;
    background-position: center;
    padding: 95px 0;
    text-align: center;
    color: #fff;
}

    .inner-page-header h1 {
        color: #fff;
        text-transform: uppercase;
        font-size: 36px;
    }

    .inner-page-header p {
        margin: 0;
        color: rgba(255,255,255,0.85);
    }

.inner-content-section {
    padding: 70px 0;
    background: #fff;
}

/* TENDERS TABLE */
.tenders-box {
    background: #fff;
}

.nav-tabs .nav-link {
    border-radius: 0;
    color: var(--smbbit-red);
    font-weight: 700;
    font-size: 13px;
}

    .nav-tabs .nav-link.active {
        background: var(--smbbit-red);
        color: #fff;
        border-color: var(--smbbit-red);
    }

.tab-content-container {
    border: 1px solid #ddd;
    border-top: 0;
    padding: 25px;
}

.table thead th {
    background: var(--smbbit-red);
    color: #fff;
    border: 0;
    font-size: 12px;
    text-transform: uppercase;
}

.table td {
    font-size: 13px;
    vertical-align: middle;
}

.btn-download {
    background: var(--smbbit-red);
    color: #fff;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

    .btn-download:hover {
        background: #000;
        color: #fff;
    }

/* GALLERY / BOARD */
.gallery-item,
.member-card {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

    .gallery-item:hover,
    .member-card:hover {
        transform: translateY(-5px);
    }

    .gallery-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

.gallery-caption {
    padding: 18px;
}

.member-card {
    text-align: center;
    padding: 30px 24px;
}

.member-photo {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--smbbit-red);
    margin-bottom: 18px;
}

/* FOOTER */
.smbbit-footer {
    background: #111;
    color: #ccc;
    padding: 70px 0 25px;
}

    .smbbit-footer h5 {
        color: #fff;
        font-size: 16px;
        margin-bottom: 22px;
    }

    .smbbit-footer p,
    .smbbit-footer li,
    .smbbit-footer a {
        color: #ccc;
        font-size: 13px;
    }

        .smbbit-footer a:hover {
            color: #fff;
        }

.footer-logo {
    width: 70px;
    margin-bottom: 20px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    background: #222;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    border-radius: 50%;
}

    .footer-social a:hover {
        background: var(--smbbit-red);
    }

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 45px;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .smbbit-logo-wrap {
        flex-direction: column;
        gap: 12px;
    }

    .smbbit-title-urdu {
        font-size: 22px;
    }

    .smbbit-title-eng {
        font-size: 17px;
    }

    .smbbit-navbar .navbar-nav .nav-link {
        padding: 12px;
        text-align: center;
    }

    .home-hero {
        min-height: 420px;
    }

    .hero-caption {
        padding-top: 110px;
    }

    .hero-service-wrap {
        margin-top: 0;
    }

    .stats-section {
        background: var(--smbbit-gold);
    }

        .stats-section .stats-panel {
            background: #fff;
            padding: 30px 15px;
        }
}

@media (max-width: 767px) {
    .smbbit-topbar {
        text-align: center;
    }

        .smbbit-topbar .top-btn {
            padding: 8px 10px;
            font-size: 11px;
        }

    .smbbit-logo-header {
        padding: 22px 0;
    }

    .smbbit-logo-wrap img {
        width: 75px;
    }

    .smbbit-title-urdu {
        font-size: 18px;
    }

    .smbbit-title-eng {
        font-size: 14px;
    }

    .home-hero {
        min-height: 360px;
    }

    .hero-caption {
        padding-top: 80px;
    }

    .hero-caption-box {
        padding: 22px;
    }

        .hero-caption-box h1 {
            font-size: 25px;
        }

    .section-title {
        font-size: 24px;
    }

    .hero-service-card {
        min-height: auto;
        padding: 28px 20px;
    }

    .intro-band,
    .home-about,
    .stats-section,
    .testimonial-section {
        padding: 45px 0;
    }

    .inner-page-header {
        padding: 65px 0;
    }

        .inner-page-header h1 {
            font-size: 28px;
        }

    .tab-content-container {
        padding: 15px;
    }
}




/* ================================
   CUSTOM SMBBIT HOMEPAGE UI
================================ */

.smbbit-emergency-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: radial-gradient(circle at 75% 20%, rgba(255,255,255,0.12), transparent 28%), linear-gradient(120deg, #120000 0%, #8c1515 52%, #050505 100%);
    color: #fff;
}

    .smbbit-emergency-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
        background-size: 42px 42px;
        opacity: 0.45;
    }

.smbbit-hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s ease, transform 5s ease;
}

    .smbbit-hero-bg-slide.active {
        opacity: 0.22;
        transform: scale(1);
    }

.smbbit-hero-content {
    position: relative;
    z-index: 2;
    padding: 105px 0 130px;
}

.smbbit-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    padding: 9px 15px;
    border-radius: 50px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.smbbit-pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff4747;
    box-shadow: 0 0 0 rgba(255,71,71,0.7);
    animation: smbbitPulse 1.5s infinite;
}

@keyframes smbbitPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,71,71,0.7);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(255,71,71,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255,71,71,0);
    }
}

.smbbit-hero-title {
    color: #fff;
    font-size: 58px;
    line-height: 1.04;
    font-weight: 800;
    max-width: 760px;
    margin-bottom: 22px;
}

    .smbbit-hero-title span {
        color: #ffc9c9;
    }

.smbbit-hero-text {
    max-width: 650px;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.86);
    margin-bottom: 32px;
}

.smbbit-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.btn-emergency {
    background: #fff;
    color: #8c1515;
    padding: 13px 26px;
    font-weight: 800;
    border-radius: 50px;
}

    .btn-emergency:hover {
        background: #ffdddd;
        color: #7d0f0f;
    }

.btn-outline-emergency {
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 13px 26px;
    font-weight: 800;
    border-radius: 50px;
}

    .btn-outline-emergency:hover {
        background: #fff;
        color: #8c1515;
    }

.smbbit-live-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 980px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.26);
    backdrop-filter: blur(10px);
}

.smbbit-live-item {
    padding: 18px 20px;
    border-right: 1px solid rgba(255,255,255,0.14);
}

    .smbbit-live-item:last-child {
        border-right: 0;
    }

    .smbbit-live-item strong {
        display: block;
        color: #fff;
        font-size: 22px;
        margin-bottom: 4px;
    }

    .smbbit-live-item span {
        color: rgba(255,255,255,0.72);
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

.smbbit-hero-shape {
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 70px solid rgba(255,255,255,0.08);
    z-index: 1;
}

.smbbit-quick-panel {
    margin-top: -70px;
    position: relative;
    z-index: 5;
}

.smbbit-quick-card {
    height: 100%;
    padding: 32px 28px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(0,0,0,0.16);
    transition: all 0.25s ease;
    border-bottom: 5px solid #8c1515;
}

    .smbbit-quick-card:hover {
        transform: translateY(-7px);
    }

    .smbbit-quick-card.dark {
        background: #111;
        color: #fff;
        border-bottom-color: #c7ad82;
    }

    .smbbit-quick-card i {
        font-size: 34px;
        color: #8c1515;
        margin-bottom: 18px;
    }

    .smbbit-quick-card.dark i,
    .smbbit-quick-card.dark h4 {
        color: #fff;
    }

    .smbbit-quick-card h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .smbbit-quick-card p {
        font-size: 13px;
        line-height: 1.7;
        margin: 0;
        color: #666;
    }

    .smbbit-quick-card.dark p {
        color: #ccc;
    }

.smbbit-section {
    padding: 85px 0;
}

.smbbit-section-label {
    color: #8c1515;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

.smbbit-big-title {
    font-size: 38px;
    line-height: 1.25;
    margin-bottom: 22px;
}

.smbbit-about-card {
    background: #fff;
    border-radius: 22px;
    padding: 38px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}

.smbbit-about-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 430px;
}

    .smbbit-about-media img {
        width: 100%;
        height: 100%;
        min-height: 430px;
        object-fit: cover;
    }

.smbbit-about-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: #8c1515;
    color: #fff;
    padding: 22px 26px;
    border-radius: 16px;
}

    .smbbit-about-badge strong {
        display: block;
        font-size: 34px;
        line-height: 1;
    }

.smbbit-department-grid {
    background: #f7f5f1;
}

.smbbit-dept-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 18px;
    height: 100%;
    border: 1px solid #eee;
    transition: all 0.25s ease;
}

    .smbbit-dept-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    }

    .smbbit-dept-card i {
        width: 58px;
        height: 58px;
        border-radius: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #8c1515;
        color: #fff;
        font-size: 24px;
        margin-bottom: 20px;
    }

.smbbit-news-section {
    background: #fff;
}

.smbbit-news-feature {
    position: relative;
    min-height: 430px;
    border-radius: 24px;
    overflow: hidden;
    background: #111;
}

    .smbbit-news-feature img {
        width: 100%;
        height: 430px;
        object-fit: cover;
        opacity: 0.7;
    }

.smbbit-news-feature-content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    color: #fff;
}

    .smbbit-news-feature-content h3 {
        color: #fff;
        font-size: 28px;
    }

.smbbit-news-mini {
    display: flex;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    background: #f7f7f7;
    margin-bottom: 18px;
    transition: all 0.25s ease;
}

    .smbbit-news-mini:hover {
        background: #fff0f0;
    }

    .smbbit-news-mini img {
        width: 115px;
        height: 90px;
        object-fit: cover;
        border-radius: 12px;
    }

.smbbit-news-date {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #8c1515;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.smbbit-news-mini h5 {
    font-size: 16px;
    margin-bottom: 6px;
}

.smbbit-news-mini p {
    font-size: 13px;
    margin: 0;
    color: #666;
}

.smbbit-cta-band {
    background: linear-gradient(90deg, #111, #8c1515);
    color: #fff;
    padding: 58px 0;
}

    .smbbit-cta-band h2 {
        color: #fff;
        margin-bottom: 8px;
    }

@media (max-width: 991px) {
    .smbbit-hero-title {
        font-size: 42px;
    }

    .smbbit-live-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .smbbit-live-item:nth-child(2) {
        border-right: 0;
    }

    .smbbit-quick-panel {
        margin-top: 0;
        padding-top: 35px;
    }
}

@media (max-width: 767px) {
    .smbbit-emergency-hero {
        min-height: auto;
    }

    .smbbit-hero-content {
        padding: 70px 0 80px;
    }

    .smbbit-hero-title {
        font-size: 34px;
    }

    .smbbit-hero-text {
        font-size: 15px;
    }

    .smbbit-live-strip {
        grid-template-columns: 1fr;
    }

    .smbbit-live-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.14);
    }

    .smbbit-big-title {
        font-size: 29px;
    }

    .smbbit-section {
        padding: 55px 0;
    }

    .smbbit-news-mini {
        flex-direction: column;
    }

        .smbbit-news-mini img {
            width: 100%;
            height: 180px;
        }
}

/* PATIENT TESTIMONIALS */
.smbbit-testimonials {
    background: #f7f5f1;
    position: relative;
}

.smbbit-testimonial-card {
    background: #fff;
    border-radius: 22px;
    padding: 34px;
    height: 100%;
    box-shadow: 0 18px 45px rgba(0,0,0,0.07);
    border-top: 5px solid #8c1515;
}

.smbbit-testimonial-quote {
    font-size: 46px;
    line-height: 1;
    color: #8c1515;
    font-weight: 800;
}

.smbbit-testimonial-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.smbbit-testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.smbbit-testimonial-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #8c1515;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.smbbit-stars {
    color: #f5b301;
    font-size: 13px;
}

/* NEWSLETTER */
.smbbit-newsletter {
    background: linear-gradient(135deg, #8c1515, #111);
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .smbbit-newsletter::after {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        right: -100px;
        bottom: -130px;
        border-radius: 50%;
        border: 50px solid rgba(255,255,255,0.07);
    }

    .smbbit-newsletter h2 {
        color: #fff;
    }

    .smbbit-newsletter p {
        color: rgba(255,255,255,0.8);
    }

.smbbit-newsletter-form {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 20px;
    border-radius: 22px;
    backdrop-filter: blur(8px);
}

    .smbbit-newsletter-form .form-control {
        height: 48px;
        border-radius: 50px;
        border: 0;
        padding: 0 18px;
        font-size: 14px;
    }

    .smbbit-newsletter-form .btn {
        height: 48px;
        border-radius: 50px;
        background: #fff;
        color: #8c1515;
        font-weight: 800;
        padding: 0 28px;
    }

        .smbbit-newsletter-form .btn:hover {
            background: #ffdddd;
        }

.smbbit-testimonial-photo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #8c1515;
}

.newsletter-msg {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 700;
}

    .newsletter-msg.success {
        color: #d7ffd7;
    }

    .newsletter-msg.error {
        color: #ffd0d0;
    }

.story-submit-card {
    background: #fff;
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
    border-top: 5px solid #8c1515;
}

    .story-submit-card .form-label {
        font-weight: 800;
        color: #222;
        font-size: 13px;
    }

    .story-submit-card .form-control {
        min-height: 48px;
        border-radius: 14px;
        border: 1px solid #ddd;
        padding: 10px 15px;
    }

    .story-submit-card textarea.form-control {
        min-height: 160px;
    }

    .story-submit-card .form-control:focus {
        border-color: #8c1515;
        box-shadow: 0 0 0 0.2rem rgba(140,21,21,0.12);
    }

.story-msg {
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-top: 12px;
}

    .story-msg.error {
        color: #8c1515;
    }

/* Tenders polished UI */
.tenders-box {
    background: #fff;
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}

    .tenders-box .nav-tabs {
        gap: 10px;
    }

        .tenders-box .nav-tabs .nav-link {
            border-radius: 50px;
            border: 1px solid #8c1515;
            color: #8c1515;
            font-weight: 800;
            padding: 12px 20px;
            background: #fff;
        }

            .tenders-box .nav-tabs .nav-link.active {
                background: #8c1515;
                color: #fff;
            }

.tender-table {
    width: 100%;
}

    .tender-table thead th {
        background: #8c1515 !important;
        color: #fff !important;
        font-size: 12px;
        text-transform: uppercase;
        border: none !important;
        padding: 14px;
    }

    .tender-table tbody td {
        padding: 14px;
        vertical-align: middle;
        font-size: 13px;
    }

    .tender-table tbody tr:hover {
        background: #fff3f3;
    }

.btn-download {
    background: #8c1515;
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    gap: 7px;
    align-items: center;
}

    .btn-download:hover {
        background: #111;
    }

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 6px 12px;
    outline: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #8c1515 !important;
    color: #fff !important;
    border: 1px solid #8c1515 !important;
    border-radius: 50px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 50px;
}

.no-tenders {
    color: #777;
    font-weight: 700;
}

@media (max-width: 767px) {
    .tenders-box {
        padding: 22px;
    }

        .tenders-box .nav-tabs .nav-link {
            width: 100%;
            text-align: center;
        }
}



/* EVENTS / GALLERY */
.event-album-card {
    display: block;
    height: 100%;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    color: #222;
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}

    .event-album-card:hover {
        transform: translateY(-7px);
        color: #222;
    }

.event-album-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

    .event-album-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.event-album-card:hover .event-album-image img {
    transform: scale(1.08);
}

.event-album-overlay {
    position: absolute;
    inset: 0;
    background: rgba(140,21,21,0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.25s ease;
}

    .event-album-overlay span {
        color: #fff;
        font-weight: 800;
        border: 1px solid rgba(255,255,255,0.7);
        padding: 10px 18px;
        border-radius: 50px;
    }

.event-album-card:hover .event-album-overlay {
    opacity: 1;
}

.event-album-body {
    padding: 24px;
}

    .event-album-body h4 {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .event-album-body p {
        color: #666;
        font-size: 13px;
        line-height: 1.7;
        min-height: 45px;
    }

    .event-album-body small {
        color: #8c1515;
        font-weight: 800;
    }

.event-media-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(0,0,0,0.08);
    height: 100%;
}

    .event-media-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

    .event-media-card:hover img {
        transform: scale(1.05);
    }

.event-media-title {
    padding: 14px 16px;
    font-weight: 700;
    font-size: 13px;
    color: #333;
}

.video-thumb {
    height: 220px;
    background: linear-gradient(135deg, #111, #8c1515);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .video-thumb i {
        width: 62px;
        height: 62px;
        background: rgba(255,255,255,0.18);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 12px;
        font-size: 22px;
    }

    .video-thumb span {
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 12px;
    }

@media (max-width: 767px) {
    .event-album-image {
        height: 210px;
    }

    .event-media-card img,
    .video-thumb {
        height: 190px;
    }
}


.gallery-tools {
    background: #fff;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.06);
}

.gallery-search-wrap {
    position: relative;
}

    .gallery-search-wrap i {
        position: absolute;
        left: 17px;
        top: 50%;
        transform: translateY(-50%);
        color: #8c1515;
    }

    .gallery-search-wrap .form-control {
        padding-left: 45px;
    }

.gallery-tools .form-control {
    min-height: 48px;
    border-radius: 50px;
    border: 1px solid #ddd;
    font-size: 14px;
}

    .gallery-tools .form-control:focus {
        border-color: #8c1515;
        box-shadow: 0 0 0 0.2rem rgba(140,21,21,0.12);
    }

.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.btn-gallery-page {
    border: 0;
    background: #8c1515;
    color: #fff;
    border-radius: 50px;
    padding: 10px 18px;
    font-weight: 800;
}

    .btn-gallery-page:hover {
        background: #111;
    }

    .btn-gallery-page:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

.gallery-page-info {
    font-weight: 800;
    color: #333;
}

.event-album-body p {
    cursor: help;
}


.info-box {
    background: #f8fbff;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}


.dept-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

    .dept-card:hover {
        transform: translateY(-5px);
    }

    .dept-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

.dept-content {
    padding: 20px;
}


/* Department Details */
.dept-detail-hero {
    min-height: 360px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.dept-detail-hero-content {
    max-width: 760px;
}

.dept-type-badge {
    display: inline-block;
    background: #8c1515;
    color: #fff;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.dept-detail-hero h1 {
    color: #fff;
    font-size: 46px;
    line-height: 1.15;
}

.dept-detail-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
}

.dept-detail-card,
.hod-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}

.dept-detail-card {
    padding: 38px;
}

    .dept-detail-card h2 {
        margin-bottom: 18px;
    }

    .dept-detail-card p,
    .dept-detail-card div {
        font-size: 15px;
        line-height: 1.9;
        color: #555;
    }

.hod-card {
    overflow: hidden;
}

.hod-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.hod-info {
    padding: 24px;
}

    .hod-info small {
        color: #8c1515;
        font-weight: 800;
        text-transform: uppercase;
    }

    .hod-info h4 {
        margin: 8px 0 12px;
    }

.doctor-search {
    min-height: 48px;
    border-radius: 50px;
    padding: 0 18px;
}

.doctor-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 42px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}

    .doctor-card:hover {
        transform: translateY(-6px);
    }

.doctor-photo-wrap {
    height: 250px;
    background: #f7f7f7;
    overflow: hidden;
}

    .doctor-photo-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.doctor-body {
    padding: 24px;
}

    .doctor-body h4 {
        font-size: 20px;
        margin-bottom: 5px;
    }

.doctor-designation {
    color: #8c1515;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 10px;
}

.doctor-rating {
    color: #f5b301;
    margin-bottom: 12px;
    font-size: 13px;
}

    .doctor-rating span {
        color: #333;
        margin-left: 7px;
        font-weight: 800;
    }

    .doctor-rating small {
        color: #777;
        margin-left: 4px;
    }

.doctor-body p {
    font-size: 13px;
    line-height: 1.7;
    color: #666;
}

.doctor-meta {
    padding: 0;
    margin: 15px 0;
    list-style: none;
}

    .doctor-meta li {
        font-size: 13px;
        color: #555;
        margin-bottom: 8px;
    }

    .doctor-meta i {
        color: #8c1515;
        width: 22px;
    }

.doctor-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-outline-doctor {
    border: 1px solid #8c1515;
    color: #8c1515;
    padding: 8px 14px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 12px;
}

    .btn-outline-doctor:hover {
        background: #8c1515;
        color: #fff;
    }

@media (max-width: 767px) {
    .dept-detail-hero {
        min-height: 280px;
    }

        .dept-detail-hero h1 {
            font-size: 32px;
        }

    .dept-detail-card {
        padding: 25px;
    }
}



/* Staff Cards */
.staff-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}

    .staff-card:hover {
        transform: translateY(-5px);
    }

.staff-img {
    height: 220px;
    overflow: hidden;
}

    .staff-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.staff-body {
    padding: 18px;
    text-align: center;
}

    .staff-body h5 {
        margin-bottom: 5px;
        font-size: 16px;
    }

.staff-role {
    color: #8c1515;
    font-weight: 700;
    font-size: 13px;
}

.staff-body p {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.staff-meta {
    margin-top: 10px;
    font-size: 12px;
    color: #555;
}


/* Doctors Directory */
.doctor-directory-tools {
    background: #fff;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.06);
}

.doctor-search-wrap {
    position: relative;
}

    .doctor-search-wrap i {
        position: absolute;
        left: 17px;
        top: 50%;
        transform: translateY(-50%);
        color: #8c1515;
    }

    .doctor-search-wrap .form-control {
        padding-left: 45px;
    }

.doctor-directory-tools .form-control {
    min-height: 48px;
    border-radius: 50px;
    border: 1px solid #ddd;
    font-size: 14px;
}

    .doctor-directory-tools .form-control:focus {
        border-color: #8c1515;
        box-shadow: 0 0 0 0.2rem rgba(140,21,21,0.12);
    }

.doctor-dept-pill {
    display: inline-block;
    background: #fff1f1;
    color: #8c1515;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

/* Doctor Details */
.doctor-profile-card {
    background: #fff;
    border-radius: 26px;
    padding: 38px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}

.doctor-profile-photo {
    border-radius: 24px;
    overflow: hidden;
    background: #f6f6f6;
}

    .doctor-profile-photo img {
        width: 100%;
        height: 460px;
        object-fit: cover;
    }

.doctor-profile-info h2 {
    font-size: 38px;
    margin: 12px 0 5px;
}

.doctor-profile-info h5 {
    color: #8c1515;
    font-weight: 800;
    margin-bottom: 12px;
}

.profile-info-box {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 18px;
    height: 100%;
}

    .profile-info-box i {
        color: #8c1515;
        font-size: 20px;
        margin-bottom: 10px;
    }

    .profile-info-box strong {
        display: block;
        font-size: 13px;
        color: #222;
        margin-bottom: 5px;
    }

    .profile-info-box span {
        color: #666;
        font-size: 13px;
    }

.doctor-detail-block {
    background: #fff;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.07);
    height: 100%;
}

    .doctor-detail-block h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .doctor-detail-block div {
        color: #555;
        line-height: 1.8;
        font-size: 14px;
    }

.doctor-review-card {
    background: #fff;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.07);
    border-top: 5px solid #8c1515;
}

.doctor-review-stars {
    color: #f5b301;
    margin-bottom: 12px;
}

.doctor-review-card p {
    color: #555;
    line-height: 1.7;
    font-size: 14px;
}

.doctor-review-card small {
    color: #888;
}

@media (max-width: 767px) {
    .doctor-profile-card {
        padding: 24px;
    }

    .doctor-profile-photo img {
        height: 340px;
    }

    .doctor-profile-info h2 {
        font-size: 28px;
    }
}


.doctor-review-submit-card {
    background: #fff;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
    border-top: 5px solid #8c1515;
}

    .doctor-review-submit-card .form-label {
        font-weight: 800;
        font-size: 13px;
        color: #222;
    }

    .doctor-review-submit-card .form-control {
        min-height: 48px;
        border-radius: 14px;
        border: 1px solid #ddd;
        padding: 10px 15px;
    }

    .doctor-review-submit-card textarea.form-control {
        min-height: 120px;
    }

    .doctor-review-submit-card .form-control:focus {
        border-color: #8c1515;
        box-shadow: 0 0 0 0.2rem rgba(140,21,21,0.12);
    }

.review-msg {
    display: block;
    margin-top: 16px;
    font-weight: 800;
    font-size: 13px;
}

    .review-msg.success {
        color: #198754;
    }

    .review-msg.error {
        color: #8c1515;
    }




.doctor-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

    .doctor-card:hover {
        transform: translateY(-5px);
    }

    .doctor-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

.doctor-content {
    padding: 15px;
}

.rating {
    color: #f4b400;
    font-weight: 600;
}


.smbbit-navbar {
    transition: all 0.3s ease;
    /*background: #fff;*/
    z-index: 9999;
}

    .smbbit-navbar.sticky {
        position: fixed;
        top: 0;
        width: 100%;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    }

    .smbbit-navbar.shrink {
        padding-top: 5px;
        padding-bottom: 5px;
    }

.navbar-nav .nav-link.active {
    color: #c62828 !important;
    font-weight: 600;
    border-bottom: 2px solid #c62828;
}

.dropdown-menu {
    display: block;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s ease;
    visibility: hidden;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

@media (max-width: 991px) {
    .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}


.satellite-home-section {
    background: #f7f5f1;
}

.satellite-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 16px 42px rgba(0,0,0,0.08);
    transition: 0.25s ease;
    border-top: 5px solid #8c1515;
}

    .satellite-card:hover {
        transform: translateY(-6px);
    }

    .satellite-card h4 {
        margin: 18px 0 12px;
        font-size: 20px;
    }

    .satellite-card p {
        color: #666;
        line-height: 1.7;
        font-size: 14px;
    }

.satellite-status {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-operational {
    background: #e6f8ed;
    color: #198754;
}

.status-opening {
    background: #fff3cd;
    color: #996900;
}

.status-planned {
    background: #eef1f5;
    color: #555;
}

.satellite-meta {
    display: flex;
    gap: 10px;
    color: #555;
    font-size: 13px;
    margin-top: 10px;
}

    .satellite-meta i {
        color: #8c1515;
        min-width: 18px;
    }
