:root {
    --primary-blue: #0a58ca;
    --primary-dark: #0b3b7c;
    --accent-green: #198754;
    --light-bg: #f8f9fc;
    --white: #ffffff;
    --soft-gray: #eef2f6;
}

body {
    font-family: 'Segoe UI', Roboto, system-ui, -apple-system, 'Helvetica Neue', sans-serif;
    overflow-x: hidden;
    color: #1e2a3e;
    scroll-behavior: smooth;
}

/* Top header dark */
.top-header {
    background-color: #0b2b40;
    color: #f0f0f0;
    font-size: 0.85rem;
    padding: 8px 0;
    transition: all 0.3s;
}

.top-header a {
    color: #f0f0f0;
    text-decoration: none;
    transition: 0.2s;
}

.top-header a:hover {
    color: #ffc107;
}

.social-icons a {
    font-size: 1rem;
    margin-left: 12px;
    display: inline-block;
}

/* Sticky navbar */
.navbar {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}
.bg-white {
    --bs-bg-opacity: 1;
    background-color: rgb(0 0 0) !important;
}

.navbar-brand img {
    height: 60px;
}

.navbar .nav-link {
    font-weight: 500;
    color: #fdfeff;
}
.navigation{
    
    text-decoration: none;
    color: #024875;
    font-size: 15px;
    align-items: center;
    font-weight: 500;
    
}
.gap-2 {
    gap: 1.5rem !important;
}
.nav-link {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: var(--bs-nav-link-color);
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--accent-green);
}

.btn-call-now {
    background-color: var(--accent-green);
    color: white;
    border-radius: 40px;
    padding: 6px 20px;
    font-weight: 600;
    transition: 0.2s;
}

.btn-call-now:hover {
    background-color: #146c43;
    color: white;
    transform: scale(0.97);
}

/* Hero carousel */
.carousel-item {
    /* height: 85vh; */
    height: 750px;
    background-size: cover;
    /* background-position: center 30%; */
}

.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.carousel-caption {
    bottom: 25%;
    text-align: left;
    left: 8%;
    right: auto;
    max-width: 600px;
}

@media (max-width: 768px) {
    .carousel-item {
        height: 32vh;
    }

    .carousel-caption {
        bottom: 18%;
        left: 5%;
        right: 5%;
        text-align: center;
    }
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
}
.navbar-toggler {
    padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: #fff;
    background-color: transparent;
    border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
    border-radius: var(--bs-navbar-toggler-border-radius);
    transition: var(--bs-navbar-toggler-transition);
}

.btn-carousel {
    background-color: var(--accent-green);
    color: white;
    border-radius: 40px;
    padding: 10px 28px;
    font-weight: 600;
    margin-top: 15px;
}

/* section titles */
section{
    overflow: hidden;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0a3c5f;
    border-left: 6px solid var(--accent-green);
    padding-left: 20px;
    margin-bottom: 2rem;
}
.lead {
    font-size: 1.25rem;
    font-weight: 300;
    text-align: justify;
}
p{
    text-align: justify;
}

/* Cards */
.course-card,
.testimonial-card,
.coaching-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.course-card:hover,
.coaching-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
    background-color: #e9f3e6;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.why-us-item {
    text-align: center;
    padding: 1.2rem;
    border-radius: 20px;
    background: white;
    transition: 0.2s;
    height: 100%;
}

.gallery-img {
    cursor: pointer;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.gallery-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.cta-section {
    background: linear-gradient(rgb(0 0 0), rgba(10, 60, 95, 0.85)), url('assets/images/banner/banner5.png');
    background-size: cover;
    background-position: center;
    padding: 70px 0;
    color: white;
}

.btn-outline-light-custom {
    border: 2px solid white;
    border-radius: 40px;
    padding: 10px 30px;
    font-weight: 600;
    margin: 5px;
}

footer {
    background-color: #0f2b38;
    color: #ddd;
}

.floating-wp,
.floating-call {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: 0.2s;
}

.floating-call {
    background-color: #0a58ca;
    bottom: 95px;
    right: 25px;
}

.floating-wp:hover,
.floating-call:hover {
    transform: scale(1.08);
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: var(--primary-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1000;
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.step-icon {
    background: #e9ecef;
    width: 70px;
    height: 70px;
    border-radius: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: var(--accent-green);
    margin: 0 auto 1rem auto;
}

.btn-submit {
    background-color: var(--accent-green);
    border-radius: 40px;
    padding: 10px 25px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
}

/* coaching classes */


/* Page header */
.page-header {
    background: linear-gradient(135deg, #0b3b5f 0%, #198754 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

/* Filter tabs */
.filter-tab {
    cursor: pointer;
    padding: 8px 22px;
    border-radius: 40px;
    background: white;
    color: #1e4668;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: inline-block;
}

.filter-tab.active,
.filter-tab:hover {
    background-color: var(--accent-green);
    color: white;
}

/* Course Cards */
.course-detailed-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-detailed-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
}

.card-badge {
    position: absolute;
    top: 18px;
    right: 20px;
    background: var(--accent-green);
    color: white;
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
}

.course-icon {
    font-size: 2.5rem;
    background: #e9f5ec;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 60px;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.eligibility-badge {
    background: #f0f2f4;
    border-radius: 50px;
    padding: 5px 12px;
    font-size: 0.8rem;
    display: inline-block;
}

.btn-apply {
    background-color: var(--accent-green);
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    color: white;
    width: 100%;
}

.btn-apply:hover {
    background-color: #146c43;
    color: white;
}

.floating-wp,
.floating-call {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: 0.2s;
    text-decoration: none;
}

.floating-call {
    background-color: #0a58ca;
    bottom: 95px;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: var(--primary-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1000;
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

footer {
    background-color: #0f2b38;
    color: #ddd;
}

footer a {
    color: #ddd;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

@media (max-width: 768px) {
    .filter-tab {
        padding: 5px 16px;
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .page-header {
        padding: 40px 0;
    }
}

/* bpharm */
/* Hero Section for B.Pharm */
.bpharm-hero {
    background: linear-gradient(135deg, #0b3b5f 0%, #198754 100%);
    padding: 70px 0;
    color: white;
}

.program-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 60px;
    padding: 6px 16px;
    display: inline-block;
}

.info-card {
    background: white;
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: 0.3s;
    border: none;
}

.info-card:hover {
    transform: translateY(-5px);
}

.curriculum-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.curriculum-list i {
    color: var(--accent-green);
    font-size: 1.3rem;
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--accent-green);
}

.career-card {
    background: #eef2fa;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    transition: 0.2s;
}

.btn-apply-green {
    background-color: var(--accent-green);
    color: white;
    border-radius: 40px;
    padding: 12px 32px;
    font-weight: 600;
}

.btn-apply-green:hover {
    background-color: #146c43;
    color: white;
}

.floating-wp,
.floating-call {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: 0.2s;
    text-decoration: none;
}

.floating-call {
    background-color: #0a58ca;
    bottom: 95px;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: var(--primary-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1000;
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

footer {
    background-color: #0f2b38;
    color: #ddd;
}

footer a {
    color: #ddd;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

@media (max-width: 768px) {
    .bpharm-hero {
        padding: 45px 0;
        text-align: center;
    }
}

/* dpharm */
.dpharm-hero {
    background: linear-gradient(135deg, #0b3b5f 0%, #198754 100%);
    padding: 70px 0;
    color: white;
}

.program-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 60px;
    padding: 6px 16px;
    display: inline-block;
}

.info-card {
    background: white;
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: 0.3s;
    border: none;
}

.info-card:hover {
    transform: translateY(-5px);
}

.curriculum-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.curriculum-list i {
    color: var(--accent-green);
    font-size: 1.3rem;
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--accent-green);
}

.career-card {
    background: #eef2fa;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    transition: 0.2s;
}

@media (max-width: 768px) {
    .dpharm-hero {
        padding: 45px 0;
        text-align: center;
    }
}

/* contact */
/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0b3b5f 0%, #198754 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

/* Contact Cards */
.contact-info-card {
    background: white;
    border-radius: 24px;
    padding: 1.8rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: #e9f5ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 2rem;
    color: var(--accent-green);
}

.contact-form-card {
    background: white;
    border-radius: 28px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

.btn-submit {
    background-color: var(--accent-green);
    color: white;
    border-radius: 40px;
    padding: 12px 32px;
    font-weight: 600;
    width: 100%;
}

.btn-submit:hover {
    background-color: #146c43;
    color: white;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* classes */


/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0b3b5f 0%, #fd7e14 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

/* Subject Cards */
.subject-card {
    background: white;
    border-radius: 28px;
    padding: 1.8rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.subject-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
}

.subject-icon {
    width: 80px;
    height: 80px;
    background: #e9f5ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 2.5rem;
    color: var(--accent-green);
}

.batch-card {
    background: #f8f9fc;
    border-radius: 20px;
    padding: 1.5rem;
    transition: 0.2s;
    border-left: 5px solid var(--accent-green);
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list i {
    color: var(--accent-green);
    font-size: 1.3rem;
}

.testimonial-card-sm {
    background: white;
    border-radius: 20px;
    padding: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.business-hours {
    background: #f0fdf4;
    border-radius: 20px;
    padding: 1.2rem;
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }

    .subject-card {
        padding: 1.2rem;
    }
}

/* Stream Section  12 classes*/


/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0b3b5f 0%, #6f42c1 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

/* Stream Cards */
.stream-card {
    background: white;
    border-radius: 28px;
    padding: 1.8rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stream-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
}

.stream-icon {
    width: 80px;
    height: 80px;
    background: #e9f5ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 2.5rem;
    color: var(--accent-green);
}

.batch-card {
    background: #f8f9fc;
    border-radius: 20px;
    padding: 1.5rem;
    transition: 0.2s;
    border-left: 5px solid var(--purple-accent);
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list i {
    color: var(--accent-green);
    font-size: 1.3rem;
}

.btn-enroll {
    background-color: var(--accent-green);
    color: white;
    border-radius: 40px;
    padding: 12px 32px;
    font-weight: 600;
}

.btn-enroll:hover {
    background-color: #146c43;
    color: white;
}

.competition-badge {
    background: #e9ecef;
    border-radius: 30px;
    padding: 5px 15px;
    font-size: 0.8rem;
    display: inline-block;
    margin: 3px;
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }

    .stream-card {
        padding: 1.2rem;
    }
}

/* about us */


/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0b3b5f 0%, #198754 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

/* Mission Vision Cards */
.mv-card {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: none;
}

.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: #e9f5ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 2.5rem;
    color: var(--accent-green);
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.2s;
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-green);
}

.timeline-item {
    border-left: 3px solid var(--accent-green);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-year {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-green);
}

.faculty-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.faculty-card:hover {
    transform: translateY(-5px);
}

.faculty-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    background: #e9ecef;
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }

    .mv-card {
        padding: 1.2rem;
    }
}