body {
    font-family: 'Hahmlet', serif;
}

h2 {
    font-weight: 700;
}

/* ============ TOP BAR ============ */
.top-bar {
    background-color: #33007e;
    font-size: 0.9rem;
    color: #fff;
    padding: 5px 0;
}

.top-bar select {
    background: #33007e;
    color: #fff;
    border: none;
    font-size: 0.85rem;
    padding: 2px 8px;
    border-radius: 50px;
    border: 1px solid white;
}

.top-bar .btn-light {
    background-color: #fff;
    border: none;
    font-weight: 500;
    color: #003366;
    border-radius: 50px;
}

.top-bar .btn-light:hover {
    background-color: #000;
    color: #fff;
}

.section-title {
    font-family: 'Hahmlet', serif;
}

.section-two h2 {
    font-family: 'Hahmlet', serif;
    font-weight: 600;
}

/* ============ MIDDLE BAR ============ */
/* ================== MIDDLE BAR ================== */
.middle-bar {
    background-color: #fff;
    border-bottom: 2px solid #004080;
    padding: 10px 0;
}

/* Logo styling */
.middle-bar img {
    width: 80px;
    height: auto;
    transition: transform 0.3s ease;
}

.middle-bar img:hover {
    transform: scale(1.05);
}

/* Heading style (if used) */
.middle-bar h5 {
    color: #003366;
    font-weight: 700;
    margin: 0;
}

/* Search input */
.middle-bar input {
    max-width: 250px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 2px 10px;
    transition: all 0.3s ease;
}

.middle-bar input:focus {
    border-color: #004080;
    box-shadow: 0 0 4px rgba(0, 64, 128, 0.3);
}

/* Buttons */
.middle-bar a.btn {
    color: #000000e5;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 20px;
}

.middle-bar a.btn:hover {
    color: #003366;
}

.addmission h2 {
    font-family: 'Hahmlet', serif;
    color: #000463;
    font-size: 30px;
}

.card i {
    color: #0056FF;
    font-size: 30px;
}

/* ================== RESPONSIVE DESIGN ================== */

/* Tablets (≤ 768px) */
@media (max-width: 768px) {
    .middle-bar .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .middle-bar img {
        width: 250px;
        margin-bottom: 10px;
    }

    .middle-bar input {
        width: 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }

    .middle-bar a.btn {
        margin-bottom: 8px;
    }
}

/* Mobile (≤ 576px) */
@media (max-width: 576px) {
    .middle-bar img {
        width: 120px;
    }

    .middle-bar input {
        width: 100%;
        margin-bottom: 10px;
    }

    .middle-bar .btn {
        width: 100%;
        margin-bottom: 6px;
    }
}

/* For screens 550px and below */
@media (max-width: 550px) {
    .middle-bar .d-flex {
        flex-direction: column !important;
        align-items: center;
    }

    .middle-bar input {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 10px;
    }

    .middle-bar a.btn {
        width: 100%;
        margin-bottom: 8px;
        text-align: center;
    }
}


/* ============ MAIN NAVBAR ============ */
.navbar {
    background: #004080;
    font-weight: 500;
}

.navbar-nav .nav-link {
    color: #fff !important;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffcc00 !important;
}

/* Dropdown Animation */
.dropdown-menu {
    background-color: #003366;
    border: none;
    animation: fadeInDown 0.4s ease-in-out;
}

.dropdown-item {
    color: #fff;
    transition: 0.3s;
}

.dropdown-item:hover {
    background-color: #004d99;
}

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

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

/* ============ Responsive ============ */
@media (max-width: 992px) {
    .middle-bar {
        flex-direction: column;
        text-align: center;
    }

    .middle-bar input {
        margin-bottom: 10px;
    }
}

/* NEW */
.custom-navbar {
    background-color: #ffffff;
    /* White background */
    border-bottom: 4px solid;
    border-image: linear-gradient(90deg, rgba(13, 62, 105, 1) 0%, rgb(51 0 127) 50%, rgb(211 85 0) 100%);
    border-image-slice: 1;
}

.custom-navbar .nav-link {
    color: #000 !important;
    /* Black text */
    font-weight: 500;
    margin: 0 12px;
    transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
    color: #004080 !important;
    /* Blue hover color */
}

/* Dropdown styling */
.custom-navbar .dropdown-menu {
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}



.custom-navbar .dropdown-item:hover {
    background-color: #e6f0ff;
    color: #004080;
}

/* Align navbar start */
.custom-navbar .navbar-nav {
    margin-left: 0 !important;
}

/* hero section ccss */
/* Hero Section */
.hero {
    position: relative;
    background: url('img/banner.webp') center/cover no-repeat;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Hero Buttons (bottom-left) */
.hero-buttons {
    position: absolute;
    bottom: 50px;
    left: 60px;
    display: flex;
    gap: 15px;
}

.hero-buttons .btn {
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-apply {
    background: rgb(0 121 249) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid white;

}

.btn-apply:hover {
    background: rgb(0 121 249);
    transform: scale(1.05);

}

.btn-placemnet {

    color: White !important;
    border: none;
}

/* .btn-report:hover {
    background: #ffffff;
    transform: scale(1.05);
  } */

/* Info Bar */
.info-bar {
    position: absolute;
    bottom: -60px;
    /* Moves the info bar above hero bottom */
    transform: translateX(-50%);
    background: #33007e;
    color: #fff;
    /* border-radius: 10px; */
    padding: 20px 0;
    width: 80%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    height: 103px;
    border: 1px solid white;
}

.info-bar .container {
    max-width: 1140px;
    /* Bootstrap container width */
}

.info-bar .info-item {
    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 600;
    font-size: 1rem;
    flex-direction: column;
}

.info-bar i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .info-bar {
        padding: 15px 0;
    }

    .info-bar .info-item {
        font-size: 0.9rem;
    }
}


@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        bottom: 30px;
        left: 30px;
    }

}

/* graduation section css */

section.course-section {
    /* padding: 0px 7%; */
    background-color: #ffffff;
}

.course-row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    gap: 30px;
}

.col {
    flex: 1;
    /* padding: 40px 20px; */
    /* text-align: center; */
    color: #fff;
    /* border-radius: 10px; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.col:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.col h2 {
    margin-bottom: 25px;
    font-size: 1.8rem;

}

.btn {
    display: inline-block;
    margin: 8px;
    padding: 2px 4px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #33007e;
}


.btn-dark {
    background-color: rgba(0, 52, 153, 1);
}



.undergraduate {
    background-color: #33007e;
    padding: 20px;

}

.col.undergraduate {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.col.undergraduate .btn {

    margin-left: 10px;
}

.btn-find {
    background-color: #ffffff;
    border-color: red;
    color: red;
}

.btn-learn {
    background-color: #ffffff;
    color: #000;

}

.postgraduate {
    background-color: rgba(0, 52, 153, 1);
    padding: 20px;
}

.col.postgraduate {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.col.postgraduate.btn {
    background-color: #ffffff;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
}

/* section 4 css */
section.program-section {
    padding: 40px 10%;
    background-color: #ffffff;
    padding-left: 27px;
    padding-right: 27px;
}

/* Header part */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    /* space between items */
}

.section-header hr {
    flex: 1;
    /* line fills space between heading and button */
    height: 1px;
    background-color: rgba(0, 52, 153, 1);
    border: none;
    border-radius: 2px;
}

.heading-group {
    flex: 2;
}

.heading-group h2 {
    color: rgba(0, 52, 153, 1);
    font-size: 30px;
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 600;
    font-family: 'Hahmlet', serif;
}

/* Line under heading */
/* .heading-group h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 60px;
    height: 3px;
    background-color: rgba(0, 52, 153, 1);
    border-radius: 2px;
  } */

.heading-group p {
    color: #333;
    max-width: 600px;
    line-height: 1.6;
    font-size: 15px;
    font-family: 'Hahmlet', serif;
    font-weight: 600;
}

/* View All button */
.view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    /* background-color: rgba(0, 52, 153, 1); */
    color: #B70000;
    border-radius: 50px;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.view-all-btn span {
    background-color: #B70000;
    color: #fff;
    width: 28px;
    height: 28px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: bold;
}

.view-all-btn i {
    color: white;
    font-weight: bold;
    /* font-size: 30px; */
}

.view-all-btn:hover {
    background-color: rgba(0, 52, 153, 1);
    color: #fff;

}

/* Cards Layout */
.card-row {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.program-section-card {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(90deg, rgba(242, 233, 233, 0.35) 33%, rgba(29, 156, 253, 0.57) 100%);
    border: 2px dotted rgba(0, 52, 153, 1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: 0.3s ease;
}

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

.program-section-card img {
    width: 56px;
}

.card .icon {
    font-size: 40px;
    color: #33007e;
    margin-bottom: 15px;
}

.card h3 {
    color: rgba(0, 52, 153, 1);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .card-row {
        flex-direction: column;
    }
}

/* imge grid css */
section.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0;
    width: 100%;
    /* padding: 124px; */
    padding: 30px;
    margin-top: -100px;
}

.image-box {
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    border-image: linear-gradient(90deg,
            rgba(58, 80, 180, 1) 24%,
            rgba(253, 29, 29, 1) 77%,
            rgba(252, 176, 69, 1) 87%) 1;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.image-box:hover img {
    transform: scale(1.1);
}

/* Overlay button */
.overlay-btn {
    position: absolute;
    margin: 30px;
    bottom: 15px;
    width: 80%;
    padding: 10px 10px;
    border: none;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.overlay-btn.red {
    background-color: #be000b;
}

.overlay-btn.blue {
    background-color: #001060;
}

.overlay-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    section.image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    section.image-grid {
        grid-template-columns: 1fr;
    }

    .overlay-btn {
        top: 10px;
        left: 10px;
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

/* section 6 css */

/* 🔻 Image Section */
.image-section {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 40px 10%;
    flex-wrap: wrap;
}

/* 🔹 Two-column layout container */
.two-col-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    gap: 30px;
}

/* 🔹 Left Column (Text Content) */
.content-col {
    flex: 1 1 50%;
    max-width: 50%;
    margin-right: -33px;
    box-shadow: rgba(57, 110, 189, 0.25) 0px 54px 55px, rgba(25, 47, 175, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

/* 🔹 Right Column (Image) */
.image-col {
    flex: 1 1 50%;
    max-width: 50%;
}

.image-col img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 2px solid blue;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 🔹 Image Card */
.image-card {
    position: relative;
    width: 100%;
    max-width: 330px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    border: 2px solid blue;
}

/* 🔹 Button Overlay */
.image-card button {
    position: absolute;
    bottom: 15px;
    width: 200px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #003bd1;
    color: #fff;
    border: none;
    padding: 5px 22px;
    border-radius: 23px;
    cursor: pointer;
    font-weight: 400;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.image-card button:hover {
    background-color: #002fa3;
}

/* 🔹 Responsive Fixes */
@media (max-width: 992px) {
    .two-col-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .content-col,
    .image-col {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .content-col h2 {
        font-size: 1.5rem;
    }

    .content-col p {
        padding: 10px 0;
    }

    .content-col span {
        display: block;
        margin: 10px 0;
    }

    .image-section {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .content-col h2 {
        font-size: 1.3rem;
    }

    .image-card button {
        width: 180px;
        font-size: 0.9rem;
    }
}

/* secton 7 css */
.logo-marquee {

    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 15px 0;
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-left 15s linear infinite;
}

/* Left to right animation */
.marquee-left .marquee-track {
    animation: scroll-left 15s linear infinite;
}

/* Right to left animation */
.marquee-right .marquee-track {
    animation: scroll-right 15s linear infinite;
}

/* Keyframes */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.marquee-track img {
    height: 50px;
    width: auto;
    background: white;
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid blue;
}

/* section 8 css */
.two-col-row {
    display: flex;
    /* Column gap */
    margin-top: 40px;
    flex-wrap: wrap;
    /* Responsive for small screens */
}

.two-col-row .col {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(90deg, rgba(0, 86, 255, 0) 0%, rgba(251, 230, 2, 0.09) 35%, rgba(138, 56, 245, 0.22) 100%);
    /* Ensure columns don’t get too small */
}

.content-col h3 {
    color: rgba(0, 52, 153, 1);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.content-col p {
    color: #333;
    line-height: 1.5;
    margin-bottom: 20px;
}

.explore-btn {
    display: inline-block;
    background-color: #ffff;
    color: #fff;
    padding: 7px 25px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    color: red;
    border: 1px solid red;
    margin-right: 300px;
}

.explore-btn:hover {
    background-color: rgba(0, 52, 153, 1);
}

.image-col img {
    width: 100%;
    border-radius: 15px;
    display: block;
    height: 400px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .two-col-row {
        flex-direction: column;
    }
}

/* section9 css */
.program-slider {
    text-align: center;
    padding: 10px 60px;
}

.card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-left: 125px;
}

.card h3 {
    margin-top: 10px;
    color: rgba(0, 52, 153, 1);
    font-size: 1.2rem;
}

.card .company {
    color: #777;
    /* light gray text */
    font-weight: 500;
    margin: 5px 0;
    text-transform: capitalize;
}

.card .package {
    background-color: #007bff;
    /* Bootstrap blue */
    color: #fff;
    /* white text */
    font-weight: bold;
    padding: 5px 0;
    border-radius: 30px;
    margin: 0;
    width: 120px;
    margin-left: 110px;
}

/* Optional: Swiper navigation buttons color */
.swiper-button-next,
.swiper-button-prev {
    color: #33007e;
}


/* new open button */
.card-badge {
    position: absolute;
    top: 10px;
    left: 30px;
    padding: 5px 12px;
    /* Small size */
    background-color: #fff;
    /* White background */
    color: #b70000;
    /* Bootstrap danger red */
    border: 1px solid #b70000;
    /* Red border */
    border-radius: 30px;
    /* Rounded corners */
    font-size: 0.8rem;
    /* Smaller text */
    font-weight: 500;
    z-index: 10;
    /* On top of card image */
    cursor: pointer;
}

/* Footer Styles */
.footer_section {
    position: relative;
    background-image: url("img/footer.png");
    background-position: center;
    background-size: cover;
    width: 100%;
    height: auto;
    color: white;
    overflow: hidden;
}

/* black overlay */
.footer_section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 28, 64, 0.89) 35%, rgba(0, 56, 166, 0.77) 100%);
    z-index: 1;
}

/* make sure content stays above the overlay */
.footer_section * {
    position: relative;
    z-index: 2;
}

.footer h5,
.footer h6 {
    color: #ffffff;
}

.footer .footer-link {
    color: #d1d1d1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer .footer-link:hover {
    color: #ffffff;
}

.footer .social-icons a {
    color: #ffffff;
    font-size: 1.2rem;
    transition: 0.3s;
}

.footer .social-icons a:hover {
    color: #00aaff;
}

/* Accessibility buttons */
.accessibility button {
    margin-right: 5px;
}

/* Scroll to top button */
.scroll-top {
    position: absolute;
    bottom: 20px;
    right: 25px;
    background: #ffffff;
    color: #002b7f;
    border-radius: 50%;
    padding: 5px 12px;
    font-size: 18px;
    transition: 0.3s;
}

.scroll-top:hover {
    background: #00aaff;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .footer {
        text-align: center;
    }

    .footer .social-icons a {
        margin: 0 8px;
    }
}

.program-section-card h3 {
    font-size: 25px;
    color: rgba(0, 86, 255, 1);
}

.explor-btn {
    border: 1px solid rgba(183, 0, 0, 1);
    display: inline;
    padding: 10px;
}

.explor-btn a {
    color: rgba(183, 0, 0, 1);
    text-decoration: none;
}

.upper-nav a {
    font-size: 15px !important;
}

.student-icon {
    margin-top: 13px;
    padding-right: 10px;
}

.student-icon i {
    font-size: 20px;
}

.icon i {
    color: grey;
    font-size: 13px;
}

.icon p {
    color: grey;
    font-size: 13px;
}

.news-card {
    background-color: white;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #000463;
    border-radius: 20px;
}

.new-content h6 {
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    color: #0056FF;
}

.student-icon {
    margin-top: 13px;
    padding-right: 10px;
}

.student-icon i {
    border: 1px solid white;
    /* background-color: #008221; */
    padding: 10px 13px;
    margin-top: 10px;
    border-radius: 50%;
    font-size: 20px;
}

.student-content {
    padding-left: 25px;
    margin-top: -10px;
}

.student-content h5 {
    font-size: 25px;
    margin-bottom: 0px;
    font-weight: 700;
    padding-left: 15px;
}

.student-content p {
    font-size: 15px;
    margin-bottom: 0px;
    padding-left: 15px;
}

.student-content {
    text-align: left;
    padding-left: 15px;
}

@media only screen and (max-width: 767px) {

    /* Mobile-specific styles */
    .info-bar {
        width: 100%;
        padding: 10px;
    }

    .info-bar {
        display: none;
    }

    .hero {
        height: 100vh;
    }

    .hero h1 {
        font-size: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        bottom: -38px;
        /* left: 30px; */
    }

    .hero-buttons {

        gap: 0px;
    }

    .program-slider {
        padding: 0px;
    }
.overlay-btn {
        top: 90px;}
    /* .swiper-notification {
        display: none;
    } */

    /* .container {
            width: 100%;
            padding: 10px;
        } */
}