body {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.navbar-nav .nav-link { position: relative; transition: color 0.3s; }
.navbar-nav .nav-link::after {
    content:""; position:absolute; left:0; bottom:2px; width:0; height:2px; background-color:var(--bs-primary); transition:width 0.3s;
}
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { width:100%; }
.navbar-nav .nav-link:hover { color: var(--bs-primary); }
.navbar-brand img { height:40px; margin-right:8px; }
footer {
    background-color: #253439 !important;
    color: #f8f9fa;
}
footer hr { border-color: #d9d9d9ff; }
footer a {
    color: #f8f9fa;
    transition: color 0.3s, transform 0.2s;
    text-decoration: none;
}
footer a:hover {
    color: var(--bs-primary);
    transform: translateY(-2px);
}
footer img, footer .social-icon {
    transition: transform 0.3s, filter 0.3s, color 0.3s;
}
footer img:hover {
    transform: scale(1.05);
}
footer .social-icon {
    color: #f8f9fa;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
footer .social-icon:hover {
    color: var(--bs-primary);
    transform: scale(1.2);
}
.img-border{
    border: 2px solid white;
    border-radius: 5px;
    background-color: white;
}
footer .venture-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, border 0.3s;
    border: 2px solid transparent;
    border-radius: 5px;
    padding: 4px;
}
footer .venture-link:hover {
    transform: scale(1.05);
    border-color: var(--bs-primary);
}
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.hero-tagline {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--bs-primary);
    line-height: 1.4;
}
.partners-section {
    background: var(--bs-body-bg);
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-body-color);
}
.section-desc {
    font-size: 1rem;
    color: var(--bs-secondary-color);
}
.partner-logo {
    max-width: 120px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(80%);
}
.partner-logo:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}
.awards-section {
    background: var(--bs-body-bg);
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-body-color);
}
.section-desc {
    font-size: 1rem;
    color: var(--bs-secondary-color);
}
.awards-section {
    background: var(--bs-body-bg);
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-body-color);
}
.section-desc {
    font-size: 1rem;
    color: var(--bs-secondary-color);
}
.award-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.5rem;
}
.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.award-name {
    font-weight: 600;
    color: inherit;
    font-size: 1rem;
}
body.dark-mode .award-card {
    background-color: #1e1e2f;
    color: #f8f9fa;
}
body.dark-mode .award-card img {
    filter: brightness(1.1);
}
.cert-section {
    background: var(--bs-body-bg);
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-body-color);
}
.cert-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.5rem;
    cursor: pointer;
}
.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
body.dark-mode .cert-card {
    background-color: #1e1e2f;
}

body.dark-mode .carousel-item img {
    filter: brightness(1.05);
}
.modal-content.dark-bg {
    background-color: #1e1e2f;
}
.blog-section {
    background: var(--bs-body-bg);
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-body-color);
}
.section-desc {
    font-size: 1rem;
    color: var(--bs-secondary-color);
}
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.blog-card .card-title {
    font-weight: 600;
    color: var(--bs-body-color);
}
.blog-card .card-date {
    font-size: 0.85rem;
}
body.dark-mode .blog-card {
    background-color: #1e1e2f;
    color: #f8f9fa;
}
body.dark-mode .blog-card .card-title,
body.dark-mode .blog-card .card-date {
    color: #f8f9fa;
}
body.dark-mode .blog-card .btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}
.service-card {
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.service-card .card-title {
    font-weight: 600;
    color: var(--bs-body-color);
}
.service-card .card-text {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
}
body.dark-mode .service-card {
    background-color: #1e1e2f;
    color: #f8f9fa;
}
body.dark-mode .service-card .card-title,
body.dark-mode .service-card .card-text {
    color: #f8f9fa;
}
@media (hover: hover) {
    .whatsapp-float:hover {
        transform: scale(1.1);
        color: #fff;
    }
}
@media (max-width: 576px) {
    .award-card {
        padding: 1rem;
    }
    .partner-logo {
        max-width: 80px;
    }
    .hero-tagline {
        font-size: 1rem;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 16px;
        right: 16px;
    }
}
@supports (bottom: env(safe-area-inset-bottom)) {
    .whatsapp-float {
        bottom: calc(20px + env(safe-area-inset-bottom));
        right: calc(20px + env(safe-area-inset-right));
    }
}
@media (max-width:991px) {
    .navbar-nav .nav-link::after { display:none; }
}
/* ================== MOBILE RESPONSIVE ================== */
@media (max-width: 767px) {
    /* Nurse Bot Sheba */
    #nurse-bot-sheba .row {
        flex-direction: column-reverse;
        text-align: center;
    }

    #nurse-bot-sheba .col-md-6 img {
        height: 15rem;
        margin-bottom: 1rem;
    }

    /* Creative Features */
    #creative-features .row {
        flex-direction: column;
        text-align: center;
    }

    #creative-features .col-md-6 img {
        height: 12rem;
        margin-bottom: 1rem;
    }

    #creative-features ul.list-group {
        text-align: left;
        padding-left: 0;
    }
}

/* ================== DARK/LIGHT MODE PER SECTION ================== */
/* ---------------- Nurse Bot Sheba ---------------- */
#nurse-bot-sheba.bg-light {
    background-color: #fff !important;
    color: #000;
}

#nurse-bot-sheba.bg-dark {
    background-color: #121212 !important;
    color: #e0e0e0;
}

#nurse-bot-sheba.bg-dark h2.section-title,
#nurse-bot-sheba.bg-dark p.section-desc,
#nurse-bot-sheba.bg-dark h5.card-title,
#nurse-bot-sheba.bg-dark p.card-text,
#nurse-bot-sheba.bg-dark li {
    color: #e0e0e0 !important;
}

#nurse-bot-sheba.bg-dark img {
    filter: brightness(0.9);
}

/* ---------------- Creative Features ---------------- */
#creative-features.bg-light {
    background-color: #f8f9fa !important;
    color: #000;
}

#creative-features.bg-dark {
    background-color: #1e1e1e !important;
    color: #e0e0e0;
}

#creative-features.bg-dark h2.section-title,
#creative-features.bg-dark p.section-desc,
#creative-features.bg-dark h5.card-title,
#creative-features.bg-dark li {
    color: #e0e0e0 !important;
}

#creative-features.bg-dark .list-group-item {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border-color: #333;
}

#creative-features.bg-dark img {
    filter: brightness(0.9);
}
/* Timeline */
.timeline li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 25px;
    border-left: 3px solid #0d6efd;
}

.timeline .year {
    font-weight: 700;
    color: #0d6efd;
    display: block;
    margin-bottom: 5px;
}

/* Dark mode */
#history-timeline.bg-dark,
#achievement-counter.bg-dark {
    background-color: #1e1e1e !important;
    color: #e0e0e0;
}

#history-timeline.bg-dark p,
#history-timeline.bg-dark .year,
#achievement-counter.bg-dark h2,
#achievement-counter.bg-dark p {
    color: #e0e0e0 !important;
}

/* Mobile */
@media (max-width: 767px) {
    .timeline li {
        padding-left: 20px;
    }
}
.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Dark Mode */
#core-team.bg-dark {
    background-color: #1e1e1e !important;
    color: #e0e0e0;
}

#core-team.bg-dark .team-card {
    background-color: #121212;
}

#core-team.bg-dark h6,
#core-team.bg-dark p,
#core-team.bg-dark small {
    color: #e0e0e0 !important;
}
.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Dark Mode */
#team-members.bg-dark {
    background-color: #1e1e1e !important;
    color: #e0e0e0;
}

#team-members.bg-dark .team-card {
    background-color: #121212;
}

#team-members.bg-dark h6,
#team-members.bg-dark p,
#team-members.bg-dark small {
    color: #e0e0e0 !important;
}
.venture-card:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

#ventures.bg-dark {
    background-color: #1e1e1e !important;
    color: #e0e0e0;
}

#ventures.bg-dark .venture-card {
    background-color: #121212;
}

#ventures.bg-dark h5,
#ventures.bg-dark p {
    color: #e0e0e0 !important;
}
#contact.bg-dark {
    background-color: #1e1e1e !important;
    color: #e0e0e0;
}

#contact.bg-dark .card {
    background-color: #121212;
    color: #e0e0e0;
}

#contact.bg-dark .form-control {
    background-color: #1e1e1e;
    color: #e0e0e0;
    border-color: #333;
}

#contact.bg-dark .form-control::placeholder {
    color: #aaa;
}

#contact.bg-dark .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
