body {
    background: #f7f7f7;
    font-family: 'Inter', sans-serif;
}

/* ===== Navbar ===== */
.custom-navbar {
    background: white;
    border-radius: 20px;
    padding: 15px 30px;
    max-width: 1200px;
    margin: 0 auto;
    top: 15px;
    /* space from top */
    z-index: 1050;
    /* above other content */
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

/* Grid Background */
.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(#eaeaea 1px, transparent 1px),
        linear-gradient(90deg, #eaeaea 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 0;
}

/* Blue Curve Shape */
.hero::after {
    content: "";
    position: absolute;
    right: -200px;
    top: -100px;
    width: 600px;
    height: 600px;
    background: #dff1f6;
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    line-height: 1.2;
}

/* Orange Oval Around Ambition */
.highlight {
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: "";
    position: absolute;
    left: -15px;
    right: -15px;
    bottom: -5px;
    height: 60px;
    border: 3px solid #00a2b9;
    border-radius: 50%;
}

/* Button */
.btn-apply {
    background: #00a2b9;
    color: white;
    padding: 14px 35px;
    border-radius: 40px;
    font-weight: 500;
}

.btn-apply:hover {
    background: #ffffff;
    color: #00a2b9;
    border: 1px solid #00a2b9;
}

/* Hero Image */
.hero-img {
    position: relative;
    z-index: 2;
    max-width: 450px;
}

/* Yellow Floating Badge */
.badge-yellow {
    position: absolute;
    right: 80px;
    bottom: 100px;
    background: #ffd500;
    padding: 20px;
    transform: rotate(-15deg);
    border-radius: 15px;
    font-weight: 600;
    z-index: 3;
}

/* WhatsApp Vertical Button */
.whatsapp-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #25D366;
    color: white;
    padding: 15px;
    border-radius: 10px 0 0 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Responsive */
@media(max-width:991px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero {
        text-align: center;
    }

    .badge-yellow {
        display: none;
    }

    .hero::after {
        display: none;
    }
}

/* ============================= */
/* ===== MEGA COURSE MENU ====== */
/* ============================= */
/* Make dropdown full width */
.navbar .dropdown.position-static {
    position: static !important;
}

.mega-dropdown {
    width: 100%;
    left: 0 !important;
    right: 0 !important;
    border: none;
    background: transparent;
    padding-top: 10px;
}

/* Main Dropdown Container */
.mega-container {
    background: #ffffff;
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: auto;
    max-height: 75vh;
    overflow-y: auto;
}

/* ===== Sidebar ===== */
.sidebar-menu {
    background: #f7f7f7;
    border-radius: 20px;
    padding: 25px;
    height: 100%;
}

.sidebar-menu h6 {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu ul li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.sidebar-menu ul li:hover {
    color: #ff6a00;
    padding-left: 8px;
}

.sidebar-menu ul li:last-child {
    border-bottom: none;
}

/* ===== Course Cards ===== */
.course-card {
    background: #f9f9f9;
    border-radius: 20px;
    padding: 10px;
    position: relative;
    height: 100%;
    transition: 0.3s;
}

.course-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Yellow Badge */
.course-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: #ffd500;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

/* University Name */
.course-university {
    font-size: 13px;
    color: #5c6bc0;
    font-weight: 500;
    margin-top: 15px;
}

/* Course Title */
.course-title {
    font-weight: 600;
    font-size: 16px;
    margin-top: 8px;
}

/* Duration + Tag */
.course-duration {
    font-size: 14px;
    margin-top: 12px;
}

.course-tag {
    background: #333;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    float: right;
}

/* View All Button */
.view-all-btn {
    border-radius: 40px;
    padding: 12px 40px;
}

.course-item a {
    display: block;
    height: 100%;
}

.course-card {
    cursor: pointer;
    transition: 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Scrollbar Styling */
.mega-container::-webkit-scrollbar {
    width: 6px;
}

.mega-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .mega-container {
        border-radius: 0;
        max-height: none;
        padding: 20px;
    }

    .sidebar-menu {
        margin-bottom: 20px;
    }

}

/* Navbar Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo Styling */
.brand-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 991px) {
    .brand-logo {
        height: 35px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .brand-logo {
        height: 35px;
    }

    .navbar-brand span {
        font-size: 16px;
    }
}

/* ============================= */
/* ===== Institution Dropdown === */
/* ============================= */
.institution-dropdown {
    min-width: 320px;
    padding: 15px 0;
    border-radius: 20px;
    background: #f2f2f2;
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-top: 15px;
}

/* Remove default arrow border */
.institution-dropdown::before {
    display: none;
}

.institution-dropdown .dropdown-item {
    padding: 15px 25px;
    font-size: 15px;
    border-bottom: 1px solid #ddd;
    background: transparent;
    transition: 0.3s ease;
}

.institution-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.institution-dropdown .dropdown-item:hover {
    background: #ffffff;
    padding-left: 35px;
}

/* View All style */
.institution-dropdown .view-all {
    font-weight: 600;
}

/* Smooth animation */
.dropdown-menu {
    animation: fadeInDropdown 0.25s ease;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media(max-width:991px) {
    .institution-dropdown {
        border-radius: 15px;
        min-width: 100%;
    }
}

/* ===== Apply Now Button ===== */
.apply-btn {
    background: #00a2b9;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.apply-btn:hover {
    background: #ffffff;
    color: #00a2b9;
    border: 1px solid #00a2b9;
}

.apply-btn {
    border: none;
    outline: none;   /* click karne par bhi border na aaye */
}

/* ===== Icon Circle (Search) ===== */
.icon-circle {
    width: 45px;
    height: 45px;
    background: #f3f3f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.icon-circle:hover {
    background: #e5e5e5;
}

/* ===== Icon Square (Menu) ===== */
.icon-square {
    width: 45px;
    height: 45px;
    background: #f3f3f3;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.icon-square:hover {
    background: #e5e5e5;
}

/* Responsive Fix */
@media (max-width: 991px) {
    .nav-right {
        justify-content: center;
    }
}

.course-section {
    margin-top: 50px;
}

.course-card {
    background: #f3f3f3;
    border-radius: 20px;
    padding: 15px;
    margin: 0 12px;
    text-align: center;
    transition: 0.3s;
}

.course-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.course-card h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.course-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

/* Remove default slick arrows */
.slick-prev:before,
.slick-next:before {
    color: #00a2b9;
}

.course-card h6 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

/* =============================== */
/* FINAL MERGED TOP COURSE DESIGN */
/* =============================== */
.top-course-section {
    background: #f7f7f7;
    padding: 50px 0;
}

/* ===== SAFE HEADER FIX ===== */
.top-course-section>.container>.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.top-course-section>.container>.section-header .header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-course-section>.container>.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 600;
}

.top-course-section>.container>.section-header .header-right p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.top-course-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 600;
}

/* CARD */
.top-course-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    margin: 0 18px;
    transition: 0.4s ease;
    border: 1px solid #eee;
}

.top-course-card:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
}

.top-image-box {
    position: relative;
}

.top-image-box img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.top-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: #ffd400;
    padding: 7px 18px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 30px;
}

.top-card-body {
    padding: 30px;
}

.top-university {
    display: inline-block;
    background: #d6e8f8;
    padding: 7px 20px;
    font-size: 13px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.top-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.top-title-row h5 {
    font-size: 19px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.top-rating {
    background: #f2f2f2;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 13px;
    white-space: nowrap;
}

.top-info {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #444;
}

.top-program-btn {
    margin-top: 22px;
    display: inline-block;
    background: #3c3c3c;
    color: #fff;
    padding: 9px 26px;
    border-radius: 30px;
    font-size: 13px;
    transition: 0.3s;
}

.top-program-btn:hover {
    background: #000;
}

/* ===== SAFE BOTTOM CTA FIX ===== */
.top-course-section .bottom-cta {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-course-section .bottom-cta .left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-course-section .bottom-cta h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.top-course-section .bottom-cta p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #555;
}

.top-course-section .view-all {
    border: 1px solid #ccc;
    background: transparent;
    padding: 12px 30px;
    border-radius: 30px;
    transition: 0.3s;
}

.top-course-section .view-all:hover {
    background: #000;
    color: #fff;
}

/* ===== OUTER CARD ===== */
.top-course-card {
    background: #efefef;
    border-radius: 24px;
    padding: 15px;
    transition: 0.3s ease;
}

.top-course-card:hover {
    transform: translateY(-6px);
}

/* ===== IMAGE WRAPPER ===== */
.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

/* ================= FOOTER THEME ================= */
.footer-wrapper {
    background: #f8fbfd;
    border-radius: 25px 25px 0 0;
    padding: 60px 30px 30px;
    margin-top: 60px;
}

.footer-title {
    color: #044870;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-link {
    display: block;
    color: #555;
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.3s;
}

.footer-link:hover {
    color: #00a2b9;
    padding-left: 5px;
}

.footer-logo {
    max-width: 170px;
    margin-bottom: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #044870;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 8px;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background: #00a2b9;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #555;
}

/* Modal container */
.custom-modal {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Left section background */
.left-section {
    background: #f8f9fb;
    padding: 40px 30px;
    border-right: 1px solid #eaeaea;
}

/* Feature card */
.feature-box {
    background: #ffffff;
    padding: 20px 10px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: 0.3s ease;
    height: 100%;
}

/* Hover effect like screenshot */
.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.text-custom-color{
    color: #00a2b9;
}

/* Icon wrapper */
.icon-lead {
    width: 55px !important;
    height: 55px !important;
    margin: 0 auto 0px !important;
    background: #eef6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon image size */
.icon-lead img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* Feature text */
.feature-box p {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0;
    color: #2d2d2d;
}

/* Right section heading */
.col-md-7 h3 {
    font-size: 28px;
    line-height: 1.3;
    color: #1e5eff;
}

/* Form inputs */
.custom-modal .form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #dcdcdc;
    transition: 0.2s;
}

.custom-modal .form-control:focus {
    border-color: #1e5eff;
    box-shadow: 0 0 0 0.1rem rgba(30,94,255,0.2);
}

/* Submit button */
.custom-modal .btn-primary {
    border-radius: 6px;
    font-weight: 600;
    padding: 10px 35px;
    background: #00a2b9;
    border: none;
}

.custom-modal .btn-primary:hover {
    background: #00a2b9;
}

/* Responsive */
@media(max-width:768px) {
    .footer-wrapper {
        padding: 40px 20px;
    }
}