:root {
    --primary-bg: #F9FAFB;
    --primary-color: #2563EB;
    --primary-blue: #1A73eb;
    --dark-blue: #0b1f3a;
    --light-bg: #ffffff;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-light: #e6edf5;
    --search-border: #bfc4cd;
    --border-dark: #1e3a5f;
    --success-green: #0a8f4d;
    --badge-bg: #FBBF24;
    --badge-text: #7b5808;
    --orange-color: #F59E0B;

    --page-padding: 150px;
    --page-body-padding: 50px;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --font-main: 'Nunito', sans-serif;
    --primary-orange: #f28c38;
    --text-gray: #555;
    --border-color: #ccc;
    --blue-link: #0056b3;
}
/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}


/* Header styling */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .container {
    display: flex;
    justify-content: flex-start; /* logo + nav + buttons from left */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    gap: 30px; /* space between logo, nav, buttons */
  }
  
  /* Logo */
  .logo img {
    height: 40px;
    width: auto;
    display: block;
  }
  
  /* Optional subtitle below logo */
  .logo .subtitle {
    display: block;
    font-size: 0.9rem;
    color: #777;
    text-align: center;
    margin-top: 2px;
  }
  
  /* Flex container for logo */
  .logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
  }
  
  /* Navigation */
  .nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav-links li a:hover {
    color: #007BFF;
  }
  
  
  /* Auth Buttons (Login / Signup) */
  .auth-buttons {
    display: flex;
    gap: 10px;
    margin-left: auto; /* push to right on desktop */
  }
  
  .auth-buttons .btn {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
  }
  
  /* Login Button */
  .auth-buttons .login {
    background: transparent;
    color: #333;
    border: 1px solid #333;
  }
  
  .auth-buttons .login:hover {
    background: #333;
    color: #fff;
  }
  
  /* Signup Button */
  .auth-buttons .signup {
    background: #007BFF;
    color: #fff;
    border: 1px solid #007BFF;
  }
  
  .auth-buttons .signup:hover {
    background: #0056b3;
    border-color: #0056b3;
  }
  
  /* Hamburger Menu */
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }
  
  .hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s;
  }
  
  /* Hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    /* Shrink logo on mobile */
    .logo img {
        height: 40px;
    }
  
    .logo .subtitle {
        font-size: 0.75rem;
    }
  
    /* Nav menu */
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        transform: translateY(-500px);
        transition: transform 0.3s ease-in-out;
    }
  
    .nav-links.open {
        transform: translateY(0);
    }
  
    /* Auth buttons in mobile menu */
    .auth-buttons {
        position: absolute;
        top: calc(70px + 100%); /* below nav menu */
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
        background: #fff;
        transform: translateY(-500px);
        transition: transform 0.3s ease-in-out;
        margin-left: 0; /* reset desktop margin */
    }
  
    /* Show auth buttons when menu is open */
    .nav-links.open ~ .auth-buttons {
        transform: translateY(0);
    }
  
    .auth-buttons .btn {
        width: 80%;
        text-align: center;
    }
  
    /* Show hamburger */
    .hamburger {
        display: flex;
    }
  
    /* Flex adjustment */
    .container {
        justify-content: space-between;
        gap: 10px;
    }
  }
  
  
  
  ul{
    list-style: none;
  }
  
  a{
    text-decoration: none;
    color: #000;
  }
  
  .navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 2;
  }
  
  .navbar, .buttons{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
  }
  
  .brand{
    font-weight: bolder;
    font-size: 1.5em;
  }
  
  .brand:hover{
    font-weight: bolder;
    color: #428aff;
  }
  
  button{
    border: none;
    transition: 0.3s;
    cursor: pointer;
  }
  
  .btn{
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    background: #428aff;
    padding: 0.5em 1.3em;
    border-radius: 16px;
    color: #fff;
  }
  
  .btn:hover{
    background: #3877db;
  }
  
  .menu-btn{
    margin-left: 1em;
    background: none;
    display: inline-block;
  }
  
  .menu-btn span{
    font-size: 2.3em;
  }
  
  .dropdown > div, .sub-dropdown > div {
    cursor: pointer;
  }
  
  .dropdown .menu a:hover{
    color: #9b9b9b;
  }
  
  @media screen and (min-width: 800px) {
    .navbar{
        padding: 0 1.5em;
    }
    .dropdown > div{
        padding: 1.5em 1em;
    }
    .mega-menu{
        display: flex;
        justify-content: center;
    }
    .menu-btn{
        display: none;
    }
    .menu{
        background: #fff;
        position: absolute;
        top: 4.65em;
        left: 0;
        width: 100%;
        padding: 0 2em;
        overflow-y: scroll;
        transition: 0.4s ease-in-out;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 2em;
    }
  
    .menu > li:first-child{
        font-size: 1.1em;
        font-weight: bold;
        margin: 0;
    }
  
    .sub-dropdown > div span:first-child{
        font-weight: bold;
    }
    
    .dropdown > div{
        border-bottom: 3px #fff solid;
        transition: 0.3s;
    }
  
    .dropdown:hover > div{
        border-color: #000;
    }
  
    .dropdown li{
        margin-bottom: 1em;
    }
  
    .dropdown > div span:last-child, 
    .sub-dropdown > div{
        display: none;
    }
  
    /* Width */
    .menu::-webkit-scrollbar{
        width: 8px;
    }
    /* Track */
    .menu::-webkit-scrollbar-track{
        background: #f1f1f1;
    }
    /* Handle */
    .menu::-webkit-scrollbar-thumb{
        background: #888;
    }
  
    /* Handle on hover */
    .menu::-webkit-scrollbar-thumb:hover{
        background: #555;
    }
  
    /* Hide menu */
    .menu{
        height: 0;
    }
    .dropdown:hover .menu{
        height: 50vh;
        padding: 2em;
    }
  }
  
  /* Responsive Design */
  @media screen and (max-width: 800px) {
    .navbar{
        padding: 1em 1.5em;
    }
    .menu-container{
        background: #fff;
        position: absolute;
        top: 4.4em;
        left: 0;
        width: 100%;
        overflow-y: hidden;
        transition: 0.3s ease-in-out;
    }
  
    /* Width */
    .mega-menu::-webkit-scrollbar{
        width: 8px;
    }
    /* Track */
    .mega-menu::-webkit-scrollbar-track{
        background: #f1f1f1;
    }
    /* Handle */
    .mega-menu::-webkit-scrollbar-thumb{
        background: #888;
    }
    /* Handle on hover */
    .mega-menu::-webkit-scrollbar-thumb:hover{
        background: #555;
    }
    .mega-menu{
        padding: 0 1em 1em 1em;
        height: 100%;
        overflow-y: scroll;
    }
    .mega-menu li{
        font-weight: bold;
        font-size: 1.1em;
    }
    .mega-menu li > div{
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5em;
    }
    .menu li{
        padding: 0 1em;
        font-size: 1em;
        font-weight: 400;
    }
    .menu a{
        display: block;
        margin: 0.8em 0;
    }
    .menu{
        display: none;
    }
    /* Toggle class for Javascript */
    .menu-show{
        display: block;
    }
    .material-symbols-outlined{
        transition: 0.3s;
    }
    /* Toggle class for javascript */
    .icon-rotated{
        transform: rotate(90deg);
    }
    .dropdown>div, .sub-dropdown > div{
        cursor: pointer;
        padding: 0.5em;
    }
    .sub-menu{
        font-size: 0.9em;
        display: none;
    }
    /* Toggle class for Javascript */
    .sub-menu-show{
        display: block;
    }
    .dropdown:hover>div, .sub-dropdown:hover>div{
        background: #dbdbdb;
    }
    /* Hide menu */
    .menu-container{
        height: 0;
    }
    /* Toggle class for javascript */
    .mega-menu-show{
        height: 50vh;
    }
  }
  
/* Hero Section start */
/* ================= HERO ================= */
.hero {
    display: flex;
    align-items: start;
    padding: 15px var(--page-padding);
}

/* .hero-content {
    flex: 1;
} */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;

    background: var(--badge-bg);
    /* soft yellow */
    color: var(--badge-text);
    /* warning text color */
    border-radius: 6px;
}

.badge.badge-img {
    font-size: 12px;
    /* size of the warning icon */
    display: inline-flex;
}

/* Mobile */
@media (max-width: 768px) {
    .badge {
        font-size: 12px;
        padding: 5px 10px;
    }

    .badge-icon {
        font-size: 14px;
    }
}


/* Hero heading and paragraph */
.hero-content h1 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-dark);
    padding-top: 10px;
}

.hero-content p {
    color: #6b7280;
    /* soft grey */
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 6px;
    width: 60%;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .hero-content p {
        width: 100%;
        text-align: justify;
    }
}

/* ================= HERO SEARCH ================= */

.hero-search {
    display: flex;
    margin-top: 18px;
    gap: 20px;
}

.search-input-wrapper {
    position: relative;

}

.search-input-wrapper input {
    width: 100%;
    padding: 16px 180px 16px 44px;
    /* left padding for icon */
    border: 1px solid var(--search-border);
    border-radius: 25px;
    outline: none;
    font-size: 15px;
    height: 40px;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    /* muted gray */
    font-size: 20px;
}

.hero-search button {
    padding: 0px 50px;
    border: none;
    background: var(--orange-color);
    color: var(--white);
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s;
    height: 35px;
}

.hero-search button:hover {
    background: var(--badge-bg);
}

/* Mobile */
@media (max-width: 768px) {
    .hero-search {
        flex-direction: column;
    }

    .search-input-wrapper input,
    .hero-search button {
        width: 100%;
        border-radius: 25px;
    }
}


/* ================= HERO IMAGE SLIDER ================= */

/* ================= HERO IMAGE SLIDER ================= */
.hero-image-slider {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 360px;
    /* fixed height */
    border-radius: 18px;
    overflow: visible;
    /* 🔑 allow badge to overflow */
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;

}

.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-radius: 18px;

    /* same as container */
}

.slide.active {
    display: block;
}

/* ================= TOP SEARCH BADGE ================= */

.top-search-badge {
    position: absolute;
    bottom: 20px;
    /* right: 50%; */
    left: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 10;
    min-width: 180px;
}

.badge-icon {
    width: 28px;
    height: 28px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.badge-text small {
    font-size: 11px;
    color: #6b7280;
    display: block;
}

.badge-text strong {
    font-size: 13px;
    color: #1f2937;
}

/* Mobile */
@media (max-width: 768px) {
    .top-search-badge {
        bottom: 12px;
        left: 20%;
        padding: 8px 12px;
        min-width: 140px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }

    .badge-text strong {
        font-size: 12px;
    }

    .badge-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .hero-image-slider {
        display: none;
        /* ❌ this will hide it */
    }
}

/* ================= HERO TAGS – SIDE CONTAINER ================= */

.hero-tags {
    margin-top: 10px;
    padding: 8px 0px;
    width: fit-content;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: start;
    /* background: #eef5ff; */
    /* light blue */
    /* border: 1px solid #d6e6ff; */
    border-radius: 10px;
}

.hero-stars {
    color: #fbbf24;
    margin-right: 6px;
    padding: 14px 18px;
    width: fit-content;
}

.hero-tags span {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;

    background: #ffffff;
    color: #1e3a8a;

    border-radius: 20px;
    border: 1px solid #c7dbff;

    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-tags span:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Mobile friendly */
@media (max-width: 768px) {
    .hero-tags {
        padding: 12px;
    }

    .hero-tags span {
        font-size: 12px;
        padding: 5px 10px;
    }
}


/* ================= USP FEATURE ================= */
/* USP MODERN CARD */
.usp-modern-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #f8fbff, #ffffff);
    border: 1px solid #e5edff;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    max-width: 520px;
    margin-top: 20px;
}

/* ICON */
.usp-modern-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
    flex-shrink: 0;
}

/* CONTENT */
.usp-modern-content {
    display: flex;
    flex-direction: column;
}

.usp-modern-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.hero-content .usp-modern-text {
    font-size: 16px;
    color: #475569;
    line-height: 1.5;
    width: auto;
    max-width: 100%;
}


/* HIGHLIGHT */
.usp-modern-amount {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 20px;
}

/* MOBILE */
@media (max-width: 480px) {
    .usp-modern-card {
        padding: 14px;
        gap: 12px;
    }

    .usp-modern-text {
        font-size: 13px;
    }
}

.refund {
    padding: 30px var(--page-padding);
}

.refund>div {
    display: flex;
    align-items: center;
    gap: 80px;
}

/* INCREASE IMAGE WIDTH */
.hero-image {
    width: 60%;
    /* 👈 increase as needed (50%–70%) */
    max-width: 900px;
    /* prevents too large on big screens */
    height: auto;
}

/* CENTER BUTTON */
.apply-btn {
    margin: 0 20px;
}




/* ================= MOBILE VIEW (FIXED PROPERLY) ================= */
@media (max-width: 768px) {
    .refund {
        padding: 16px 12px;
        /* IMPORTANT: reduce padding */
    }

    .refund>div {
        flex-direction: column;
        /* stack items */
        align-items: center;
        gap: 16px;
        /* reduce gap */
    }

    .hero-image {
        width: 100%;
        max-width: none;
        /* VERY IMPORTANT */
        height: auto;
        object-fit: contain;
        padding: 0 20px;
    }

    .apply-btn {
        margin: 0;
        margin-top: 12px;
    }
}


.apply-btn-refund {
    padding: 14px 36px;
    align-self: center;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(to bottom,
            #3f4f7a,
            #1e2a4a);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        0 6px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.apply-btn-refund:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 2px 6px rgba(255, 255, 255, 0.4),
        0 10px 18px rgba(0, 0, 0, 0.5);
}

/* Browse Section */

/* ================= BROWSE SECTION ================= */
.browse {
    padding: 20px var(--page-padding);
}

.browse-container {

    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
    background: #f4f8ff;
    padding: 32px;
    border-radius: 20px;
    box-sizing: border-box;
}

/* LEFT SIDE */
.browse-left h2 {
    font-size: 26px;
    margin-bottom: 6px;
}

.browse-left p {
    color: var(--text-muted);
    font-size: 14px;
}

/* STREAM GRID */
.stream-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.stream-grid span {
    padding: 8px 14px;
    background: #fff;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid var(--border-light);
    text-align: center;
    white-space: normal;
    /* prevents overflow */
}

/* ================= RIGHT GRID ================= */
.browse-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns */
    gap: 20px;
}

/* CARD */
.type-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    transition: 0.3s ease;
}

.type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

/* ICON */
.type-card .icon {
    width: 60px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

/* Gradient Colors */
.type-card:nth-child(1) .icon {
    background: linear-gradient(180deg, #FFDC80, #F59E0B);
}

.type-card:nth-child(2) .icon {
    background: linear-gradient(180deg, #86ACFF, #0F4082);
}

.type-card:nth-child(3) .icon {
    background: linear-gradient(180deg, #C484FF, #4D068F);
}

.type-card:nth-child(4) .icon {
    background: linear-gradient(180deg, #85F4CF, #07533A);
}

.type-card:nth-child(5) .icon {
    background: linear-gradient(180deg, #81D4EF, #0F6582);
}

.type-card:nth-child(6) .icon {
    background: linear-gradient(180deg, #FFDC80, #F59E0B);
}

/* TEXT */
.type-card h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.type-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

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

/* Tablet */
@media (max-width: 992px) {
    .browse-container {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .browse {
        padding: 15px;
    }

    .browse-container {
        padding: 20px;
        border-radius: 14px;
    }
}


/* ================= MBA CATEGORY ================= */
.category {
    padding: 50px var(--page-padding);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 x 3 */
    gap: 22px;
    margin-top: 25px;
}

.cat-card {
    background: var(--white);
    padding: 26px 18px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

/* GREEN ICON CIRCLE */
.cat-icon {
    width: 52px;
    height: 52px;
    background: #e6f7ef;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 12px;
}

.cat-card p {
    font-size: 14px;
    font-weight: 600;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .browse-container {
        grid-template-columns: 1fr;
    }

    .stream-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}


/* ================= SECTIONS ================= */
/* .category,
.universities,
.articles,
.trusted,
.section-course,
.guide-section,
.cta-section {
    padding: 50px var(--page-body-padding);
} */

/* ================= CATEGORY ================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.cat-card {
    background: var(--white);
    padding: 22px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

/* ================= UNIVERSITIES ================= */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 0px var(--page-padding); */
    padding-bottom: 10px;

}


.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.college-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.college-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.college-card h3 {
    padding: 1px;
}

.college-card p {
    padding: 0px;
    color: var(--text-muted);
}

/* ================= ARTICLES & TRUSTED ================= */
.article-grid,
.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.article-card,
.voice-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.voice-card span {
    display: block;
    margin-top: 10px;
    font-weight: 600;
}


/* LOCATION SCROLL */
.scroll-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    /* padding: 10px var(--page-body-padding); */
}



/* INNER CONTENT (title + subtitle only) */
.location-inner {
    /* padding: 0 var(--page-padding); */
}

/* HEADER */
.section-location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-location-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.view-all {
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
}

/* SUBTITLE */
.location-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 6px 0 12px;
}

/* SCROLL ROW */
.scroll-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    /* padding-left: var(--page-body-padding); */
    /* padding-right: 16px; */

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-row::-webkit-scrollbar {
    display: none;
}

/* CARD */
.location-card {
    /* min-width: 160px;
    height: 110px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0; */
    flex: 0 0 220px;   /* fixed width card */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.location-card img {
    /* width: 100%;
    height: 100%;
    object-fit: cover; */
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

@media (max-width: 480px) {
    .location-card {
        flex: 0 0 180px; /* slightly smaller cards */
    }

    .location-card img {
        height: 120px;
    }
}

/* TEXT */
.location-card span {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 999px;
}

/* HEADER WRAPPER */
.section-location-header-wrap {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

/* HEADER */
.section-location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* TITLE */
.section-location-header h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
}

/* LINK */
.view-all {
    font-size: 14px;
    white-space: nowrap;
}

/* MOBILE FIX */
@media (max-width: 768px) {

    .section-location-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .section-location-header h2 {
        font-size: 18px;
        margin: 0;
    }

    .section-location-header .view-all {
        font-size: 14px;
        white-space: nowrap;
    }

    .location-subtitle {
        margin-top: 6px;
        font-size: 14px;
        color: #666;
    }
}


@media (max-width: 768px) {

    .location-card {
        min-width: 130px;
        border-radius: 12px;
    }

    .location-card img {
        height: 100px;
        /* smaller height for mobile */
    }

    .location-card span {
        font-size: 13px;
    }
}

@media (max-width: 768px) {

    .section-header {
        display: flex !important;
        align-items: flex-start;
        width: 100%;
    }

    .section-header>div {
        flex: 1;
    }

    .section-header .view-all {
        margin-left: auto !important;
        white-space: nowrap;
        font-size: 14px;
    }

    .subtitle {
        margin: 0;
    }
}




/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px var(--page-body-padding);
    padding-top: 20px;
    padding-bottom: 30px;
}

/* CARDS */
.course-card,
.college-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.course-card img,
.college-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.card-body {
    padding: 14px;
}

.badge,
.tag {
    background: var(--badge-bg);
    color: var(--badge-text);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
    margin-top: 20px;
}

.card-body h3 {
    font-size: 16px;
    margin: 6px 0;
}

.rating {
    color: #f59e0b;
    font-size: 13px;
    margin-bottom: 6px;
}

.card-body p {
    font-size: 13px;
    color: #6b7280;
}

.card-body a {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
}

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


/* SECTION */
/* .course-section {
    margin: 40px auto;
    padding: 0 16px;
    font-family: Inter, system-ui, sans-serif;
} */

.course-section {
    margin: 20px auto;
    padding: 20px var(--page-padding);
    /* SAME BOTH SIDES */
    font-family: Inter, system-ui, sans-serif;
}

/* HEADER */


.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}

.view-all {
    font-size: 15px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}


/* HORIZONTAL SCROLL */
.course-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;

    /* padding: 10px var(--page-body-padding); */

    /* Hide scrollbar – ALL browsers */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE & Edge */
}

.course-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}


/* CARD */

/* IMAGE */
.image-wrap {
    position: relative;
    height: 160px;
}

.image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PILL */
.pill {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 500;
}

/* CONTENT */
.card-content {
    padding: 14px;
}

.card-content h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;

    /* 🔒 FIX HEIGHT FOR ALL TITLES */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* allow max 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: 42px;
    /* SAME HEIGHT FOR SHORT & LONG TEXT */
}


.meta {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}

/* RATING */
.rating {
    font-size: 13px;
    color: #f59e0b;
    margin-bottom: 8px;
}

.rating span {
    color: #374151;
    margin-left: 4px;
}

/* CARD BOTTOM */
.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    /* KEY for responsiveness */
}

.apply-btn-college {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    border: 1px solid #2563eb;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    margin-left: auto;
}

.apply-btn-college:hover {
    background: #2563eb;
    color: #fff;
}

/* TABLET & MOBILE */
@media (max-width: 768px) {
    .course-card {
        min-width: 100%;
    }

    .card-bottom {
        flex-direction: row;
        align-items: center;
    }

    .apply-btn-college {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .card-bottom {
        flex-direction: row;
        /* 🔒 force row */
        align-items: center;
        justify-content: space-between;
    }

    .apply-btn-college {
        font-size: 12px;
        padding: 6px 12px;
    }

    .meta {
        font-size: 12px;
    }

    .card-content h3 {
        font-size: 14px;
        min-height: 40px;
    }
}
/* 
.course-card {
    display: flex;
    flex-direction: column;
    height: 300px;


} */
.course-card {
    display: flex;
    flex-direction: column;
    min-height: 300px;   /* allows content to expand */
    flex: 0 0 260px;     /* fixed width for horizontal scroll */
}

.course-scroll {
    align-items: stretch; /* prevents vertical clipping */
    padding-bottom: 6px;  /* breathing space */
}


@media (min-width: 769px) {
    .course-card {
        height: 340px;
        /* desktop */
    }
}


/* ================= QUICK CTA ================= */
.cta-section {
    border-radius: 14px;
    background: #fff;
    box-sizing: border-box;
    padding: 20px var(--page-padding);
}

/* Desktop / Tablet row for rating + brochure */
.cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Left column: rating + avg package */
.cta-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Rating styling */
.cta-rating {
    font-size: 15px;
    line-height: 1.2;
    color: #f59e0b;
}

.cta-rating span {
    color: #374151;
    margin-left: 4px;
}

/* Avg package */
.cta-sub {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* Brochure button */
.cta-brochure {
    white-space: nowrap;
    font-size: 12px;
    padding: 6px 14px;
    margin-left: auto; /* pushes button to right */
    background-color: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.cta-brochure:hover {
    background-color: #218838;
}

/* HEADER */
.cta-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 20px 30px 0px;
}

.cta-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.cta-header p {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cta-btn {
    background: #2563eb;
    color: #fff;
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
}

.cta-link {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
}


.cta-scroll::-webkit-scrollbar {
    display: none;
}

/* SCROLL ROW */
.cta-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 5 cards */
    gap: 24px;
    padding: 20px 30px 30px;
}

/* CARD */
.cta-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* IMAGE */
.cta-img {
    position: relative;
    height: 150px;
}

.cta-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 500;
}

/* CONTENT */
.cta-content {
    display: flex;
    flex-direction: column;
    padding: 14px;
    gap: 6px;
}

/* Heading & Meta */
.cta-content h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.cta-meta {
    font-size: 12px;
    color: #6b7280;
}

.cta-rating {
    font-size: 15px;
    color: #f59e0b;
}

.cta-rating span {
    color: #374151;
    margin-left: 4px;
}

.cta-sub {
    font-size: 12px;
    color: #6b7280;
}

/* BROCHURE / VIEW BUTTON */
.cta-brochure,
.cta-view {
    align-self: flex-end;
    /* always right */
    padding: 8px 16px;
    background-color: #28a745;
    /* green button */
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s;
}

.cta-brochure:hover,
.cta-view:hover {
    background-color: #218838;
}

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
    .cta-card {
        width: 320px;
        /* slightly smaller tablet */
    }
}

@media (max-width: 1200px) {
    .cta-scroll {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .cta-scroll {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding: 20px;
        scrollbar-width: none;
    }

    .cta-scroll::-webkit-scrollbar {
        display: none;
    }

    .cta-card {
        min-width: 260px;
        /* swipe cards */
        flex-shrink: 0;
    }

    .cta-header {
        flex-direction: column;
        gap: 10px;
    }

    .cta-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .cta-header {
        flex-direction: column;
        gap: 10px;
    }

    .cta-actions {
        width: 100%;
        justify-content: space-between;
    }

    .cta-card {
        min-width: 260px;
        /* fit mobile screen */
        height: auto;
        /* auto height for mobile */
    }



    .cta-brochure,
    .cta-view {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {

    .cta-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    

    /* Left column */
    .cta-left {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .cta-rating {
        font-size: 13px;
        line-height: 1.2;
        margin: 0;
    }

    .cta-sub {
        font-size: 13px;
        margin: 0;
        color: #555;
    }

    /* Right button */
    .cta-brochure {
        white-space: nowrap;
        font-size: 13px;
        padding: 6px 12px;
        margin-left: auto;
    }
}


/* ================= FOOTER ================= */
/* ================= FOOTER ================= */

.g-footer {
    background: var(--dark-blue);
    color: #cbd5e1;
    padding: 60px var(--page-padding);
}

/* TOP GRID */
.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 14px;
    font-size: 15px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-col a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-col a:hover {
    color: #ffffff;
}

/* BOTTOM */
.footer-bottom {
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px solid var(--border-dark);
    text-align: center;
    font-size: 13px;
}

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

/* TABLET */
@media (max-width: 1024px) {
    .g-footer {
        padding: 50px 40px 20px;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        text-align: start;
    }

    /* Brand section full width */
    .footer-top .footer-col:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding-top: 30px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
        max-width: 100%;
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .footer-top {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        text-align: justify;
        gap: 20px;
    }

    /* First column (brand/info) takes full width */
    .footer-col:first-child {
        grid-column: 1 / -1;
    }

    .footer-col {
        width: 100%;
    }

    .footer-col h4 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .footer-col a,
    .footer-col p {
        font-size: 14px;
    }

    .footer-bottom {
        margin-top: 24px;
        font-size: 12px;
    }
}

/* ================= RESPONSIVE BREAKPOINTS ================= */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --page-padding: 40px;
    }

    .main-nav {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-search {
        justify-content: center;
    }

    .hero-search input {
        width: 60%;
    }
}

/* Mobile */
@media (max-width: 600px) {
    :root {
        --page-padding: 20px;
    }

    .header-right {
        gap: 8px;
    }

    .search-input {
        display: none;
    }

    .hero-search {
        flex-direction: column;
    }

}

/* ================= RESPONSIVE FIXES ================= */

/* MOBILE */
@media (max-width: 768px) {
    .course-section {
        padding-left: 16px;
        padding-right: 0;
    }

    .section-header {
        flex-direction: column;
        gap: 8px;
        padding-right: 16px;
    }

}

/* ---------- Large Tablets (≤1200px) ---------- */
@media (max-width: 1200px) {
    :root {
        --page-padding: 60px;
    }

    .hero {
        gap: 30px;
    }

    .browse-container {
        grid-template-columns: 1.6fr 1fr;
        padding: 30px;
    }
}

/* ---------- Tablets (≤992px) ---------- */

@media (max-width: 992px) {
    :root {
        --page-padding: 40px;
    }

    .g-header {
        flex-wrap: wrap;
        gap: 12px;
    }

    .main-nav {
        display: none;

    }

    .hero {
        flex-direction: column;
        text-align: left;
    }

    .hero-image img {
        width: 100%;
        border-radius: var(--radius-lg);
    }

    .browse-container {
        grid-template-columns: 1fr;
    }

    .browse-right {
        grid-template-columns: repeat(2, 1fr);
    }

    .stream-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Mobile (≤768px) ---------- */
@media (max-width: 768px) {
    :root {
        --page-padding: 20px;
    }

    h1 {
        font-size: 26px;
    }

    .hero-search {
        flex-direction: column;
        gap: 10px;
    }

    .hero-search input,
    .hero-search button {
        width: 100%;
        border-radius: 25px;
    }

    .hero-tags span {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .stream-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .browse-right {
        grid-template-columns: repeat(2, 1fr);
    }

    .type-card {
        padding: 16px;
    }
}

/* Mobile → 1 column */
@media (max-width: 576px) {
    .browse-right {
        grid-template-columns: 1fr;
    }
}

/* ---------- Small Mobile (≤480px) ---------- */
@media (max-width: 480px) {
    .logo {
        font-size: 18px;
    }

    .search-input {
        display: none;
    }

    .browse-container {
        padding: 20px;
    }

    .stream-grid span {
        font-size: 11px;
        padding: 6px;
    }

    .type-card h4 {
        font-size: 14px;
    }

    .type-card p {
        font-size: 12px;
    }
}

.apply-btn {
    padding: 14px 36px;
    align-self: center;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(to bottom,
            #3f4f7a,
            #1e2a4a);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        0 6px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 2px 6px rgba(255, 255, 255, 0.4),
        0 10px 18px rgba(0, 0, 0, 0.5);
}

.apply-btn:active {
    transform: translateY(1px);
    box-shadow:
        inset 0 4px 6px rgba(0, 0, 0, 0.4);
}

.universities {
    padding: 10px var(--page-padding);
    background: #f9fbff;
    border-radius: 10px;
}

/* HEADER */
.universities-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.universities-header h2 {
    font-size: 20px;
    margin: 0;
}

.universities-header p {
    font-size: 14px;
    color: #6b7280;
    margin: 4px 0 0;
}

.universities-header a {
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

/* GRID */
.universities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* EXACTLY 5 PER ROW */
    gap: 16px;
    padding: 16px;
    /* SAME padding on all sides */
    box-sizing: border-box;
}


/* CARD */
.uni-card {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.uni-card img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .universities {
        padding: 16px;
    }

    .universities-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .universities-header a {
        align-self: flex-end;
    }

    .universities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {
    .universities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .uni-card img {
        max-height: 40px;
    }
}

/* Banner Container */
.banner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--page-padding);
    gap: 12px;
}

/* Image Container */
.banner-content {
    display: block; /* or */
    align-items: flex-start;
}

/* Responsive Image */
.banner-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Button */
.banner-btn button {
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    border: none;
    padding: 14px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}

/* 🔥 Mobile Responsive */

/* ======================
   TABLET VIEW
====================== */
@media (max-width: 1024px) {
    .banner-btn img {
        max-width: 150px;
    }
}

/* ======================
   MOBILE VIEW
====================== */
@media (max-width: 768px) {
    .banner {
        flex-direction: column;
        padding: 12px;
        height: auto;
        margin-top: 20px;
    }

    .banner-content img {
        border-radius: 10px;
    }

    .banner-btn {
        width: 100%;
        text-align: center;
    }

    .banner-btn img {
        max-width: 220px;
        margin: 0 auto;
    }
}

/* ======================
   SMALL MOBILE
====================== */
@media (max-width: 480px) {
    .banner {
        padding: 10px;
    }

    .banner-btn img {
        max-width: 200px;
    }
}

/* OUTER CONTAINER */
.testimonials {
    padding: 20px var(--page-padding);
}

.testimonials-container {
    background: #f8fbff;
    border: 1px solid #e3e9f3;
    border-radius: 16px;
    
}

.testimonials-inner {
    padding: 28px 32px;
}



.testimonials-inner .subtitle {
  margin-bottom: 20px;
}


/* TITLE */
.title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    
}



/* CARD ROW */
.cards {
    display: flex;
    gap: 16px;
    justify-content: space-around;
}

/* CARD */
.card {
    width: 250px;
    height: 320px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* DARK OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
}

/* PLAY BUTTON */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

/* TEXT */
.info {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: #fff;
}

.info h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.info span {
    font-size: 12px;
    opacity: 0.85;
}

/* DOTS */
.dots {
    margin-top: 24px;
    text-align: center;
}

.dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #d1d5db;
    border-radius: 50%;
    margin: 0 4px;
}

.dots .active {
    background: #f59e0b;
}

/* MOBILE */
@media (max-width: 768px) {
    .cta-section {
        padding: 0px;
    }

    .cta-header {
        flex-direction: column;
        gap: 10px;
        padding-right: 16px;
    }

    .cta-actions {
        width: 100%;
        justify-content: space-between;
    }

    .cta-card {
        min-width: 260px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding-left: 0;
        padding-right: 0;
    }

    .testimonials-inner {
        padding-left: 16px;
    }
}

@media (max-width: 768px) {

    .cards {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        padding-left: 0;
        padding-right: 0;

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE */
    }

    .cards::-webkit-scrollbar {
        display: none;
        /* Chrome */
    }

    .card {
        min-width: 240px;
        height: 360px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

}

.guide-section {
    padding: 20px var(--page-padding);
    font-family: sans-serif;
}

/* CARD */
.guide-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    background: #fff;
}

.guide-card h2 {
    font-size: 18px;
    margin-bottom: 20px;
}

/* STEPS */
.guide-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step {
    text-align: center;
}

.icon {
    width: 52px;
    height: 52px;
    border: 1px solid #D1D9E6;
    /* light amber border */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;

    color: #f59e0b;
    /* AMBER icon */
    /* very light amber bg */
    font-size: 20px;
}

.step:hover .icon {
    background: #f59e0b;
    color: #fff;
    border-color: #f59e0b;
    transition: 0.3s ease;
}


.step h4 {
    font-size: 15px;
    margin-bottom: 6px;
}

.step p {
    font-size: 13px;
    color: #6b7280;
}

/* CTA wrapper */
/* CTA wrapper */
.guide-cta {
    margin-top: 20px;
    padding: 25px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: #ffffff;
    border-radius: 14px;
}


/* TEXT */
.cta-text h3 {
    font-size: 16px;
    padding-bottom: 10px;
}

.cta-text p {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

.cta-form {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 420px;
    width: 100%;
}

/* INPUT */
.input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d1d5db;
    border-radius: 30px;
    padding: 10px 16px;
    flex: 1;
    background: #fff;
}

.input-wrap i {
    color: #f59e0b;
    font-size: 14px;
}

.input-wrap input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
}

/* BUTTON */
.cta-form button {
    background: #f59e0b;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.cta-form button:hover {
    background: #d97706;
}


/* Tablet */
@media (max-width: 992px) {
    .guide-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
/* MOBILE ONLY */
@media (max-width: 756px) {
    .guide-section {
        padding: 0;
    }
}

@media (max-width: 576px) {

    /* Section padding */
    .guide-section {
        padding: 12px;
    }

    /* Card spacing */
    .guide-card {
        padding: 16px;
    }

    /* Steps → single column */
    .guide-steps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Center step content */
    .step {
        text-align: center;
    }

    /* Icons size */
    .icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    /* CTA */
    .guide-cta {
        padding: 16px;
        text-align: center;
    }

    /* FORM stack */
    .cta-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .input-wrap {
        width: 100%;
    }

    .cta-form button {
        width: 100%;
    }

    /* Text sizes */
    .guide-card h2 {
        font-size: 16px;
    }

    .step h4 {
        font-size: 14px;
    }

    .step p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .guide-steps {
        grid-template-columns: 1fr;
    }

    .cta-form {
        flex-direction: column;
        align-items: center;
    }

    .input-wrap input {
        width: 100%;
        max-width: 320px;
    }

    .cta-form button {
        width: 100%;
        max-width: 320px;
    }
}

/* 🔹 MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .guide-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .cta-form {
        flex-direction: column;
        width: 100%;
    }

    .input-wrap {
        width: 100%;
        min-width: unset;
    }

    .cta-form button {
        width: 100%;
    }
}


@media (max-width: 480px) {
    .guide-steps {
        grid-template-columns: 1fr;
    }
}

.articles-section {
    padding: 20px var(--page-padding);
    background: #fff;
    font-family: 'Nunito', sans-serif;
}
/* 
.container {
    padding: 5px var(--page-padding);

    margin: auto;
} */

.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* GRID */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* CARD */
.article-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

/* CONTENT */
.article-content {
    padding: 14px 0;
}

.article-date {
    font-size: 13px;
    color: #6b7280;
}

.article-content h3 {
    font-size: 16px;
    margin: 6px 0;
    font-weight: 600;
    color: #111827;
}

.article-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 10px;
}

.article-content a {
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.article-content a:hover {
    text-decoration: underline;
}

.read-more-wrap {
    display: flex;
    justify-content: flex-end;
    font-weight: 600;
}

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

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

/* College List */

.section-wrapper {
    padding: 15px var(--page-padding);
}

.section-box {
    border: 1px solid #d0d7e2;
    border-radius: 10px;
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: var(--primary-bg);
}

/* LEFT should take remaining space */
.section-left {
    flex: 1;
}

.section-left h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.section-left p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 14px;
}

/* Search box */
/* RIGHT search box fixed width but flexible */
.search-box {
    position: relative;
    width: 320px;
    max-width: 100%;
    flex-shrink: 0;
    /* prevents overflow bug */
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.search-box input:focus {
    border-color: #2563eb;
}

.search-box svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #6b7280;
}



@media (max-width: 768px) {
    .section-box {
        flex-direction: column;
        align-items: flex-start;
        font-size: 12px;
    }

    .section-left h2 {
        font-size: 18px;
        /* smaller heading */
    }

    .section-left p {
        font-size: 12px;
        /* smaller paragraph */
    }


    .search-box {
        width: 100%;
        margin-top: 8px !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .section-left h2 {
        font-size: 16px;
    }

    .section-left p {
        font-size: 11px;
    }
}

/* College listing CSS */

.college-wrapper {
    background: var(--primary-bg) !important;
    min-height: 100vh;
    padding: 20px 20px;
    border-radius: 10px;
    border: 1px solid #d0d7e2;
}


.college-wrapper h4 {
    margin-bottom: 6px;
}

.college-list {
    padding: 16px 0;
    /* space inside list */
}

.pagination {
    margin-top: 24px;
}


.page {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    padding: 0px 0px;
}

/* Filters */
.filters {
    background: var(--primary-bg);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;

}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

/* Make filter group full width */
.filter-group {
    width: 100%;
}

/* Each option takes full sidebar width */
.filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    /* 🔥 important */
    padding: 8px 4px;
    box-sizing: border-box;
    /* 🔥 important */
}

/* Left side (checkbox + text) */
.filter-label {
    flex: 1;
    margin-left: 6px;
}

/* Count always sticks to far right */
.filter-count {
    font-size: 14px;
    color: #888;
    flex-shrink: 0;
    /* 🔥 prevents squeezing */
}


/* Optional: smaller gap for the last one */
/* .filter-group label:last-child {
    margin-bottom: 0;
} */


/* College Card */
.college-card {
    background: #fff;
    border: 1px solid #d6dbe3;
    border-radius: 12px;
    display: flex;
    gap: 18px;
    padding: 14px;
    margin-bottom: 18px;
    align-items: stretch;
    padding-right: 30px;
    /* IMPORTANT */
}

.page {

    gap: 35px;
}

/* ===== FILTER SIDEBAR ===== */
.filters {
    width: 280px;
    background: var(--light-bg);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 10px;
    margin-top: 10px;
    color: #000;
}

.filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* pushes count to end */
    width: 100%;
    padding: 6px 0;
}

.filter-label {
    flex: 1;
    /* label takes remaining space */
    margin-left: 6px;
    /* gap after checkbox */
}

.filter-count {
    font-size: 14px;
    color: #888;
}


/* ===== CLEAR ALL ===== */
.clear-all {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 13px;
    cursor: pointer;
}

/* ===== MOBILE FILTER BAR ===== */
.mobile-filter-bar {
    display: none;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mobile-filter-bar button {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-weight: 500;
}

/* ===== MOBILE MODAL ===== */
@media (max-width: 768px) {

    .page {
        flex-direction: column;
    }

    .filters {
        position: fixed;
        inset: 0;
        z-index: 1000;
        transform: translateY(100%);
        transition: 0.3s ease;
        overflow-y: auto;
        border-radius: 0;
    }

    .filters.active {
        transform: translateY(0);
    }

    .mobile-filter-bar {
        display: flex;
    }

    .filter-actions {
        position: sticky;
        bottom: 0;
        background: #fff;
        padding: 12px;
        border-top: 1px solid #e5e7eb;
    }

    .filter-actions button {
        width: 100%;
        padding: 12px;
        background: #2563eb;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 14px;
    }
}


/* Image section */
.college-img {
    position: relative;
    width: 260px;
    min-width: 260px;
    overflow: hidden;
    border-radius: 10px;
    height: 230px;
}

.college-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    /* moved to right */
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 6px;
    text-align: center;
}

.guide-badge {
    backdrop-filter: blur(2px);
}


/* Right Content */
.college-content {
    flex: 1;
    position: relative;
}

/* Top Row */
.college-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.college-top h3 {
    margin: 0;
    font-size: 18px;
    color: #111827;
}


.rating-box a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    margin-left: 6px;
}

/* Location */
.location {
    /* margin: 6px 0; */
    color: #6b7280;
    padding: 20px var(--page-padding);
}

/* Tags */
.tags span {
    background: #eef2f7;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    margin-right: 6px;
}

/* NIRF */
.nirf {
    background: #e8f0ff;
    color: #2563eb;
    display: inline-block;
    padding: 6px;
    border-radius: 6px;
    font-size: 13px;
    margin-top: 15px;
}

/* Course Box */
.course-box {
    display: flex;
    gap: 2rem;
    border: 1px solid #d6dbe3;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.course-item {
    display: flex;
    flex-direction: column;
    /* Stack small above strong */
    align-items: center;
    /* Center text horizontally */
}

.course-item small {
    display: block;
    margin-bottom: 0.25rem;
    /* Optional spacing */
    color: #666;
    /* Optional: lighter text */
}

.course-item strong {
    font-size: 1.1rem;
    /* Slightly larger value */
    color: #111;
    font-size: 13px;
}


/* Bottom Row */
.college-bottom {
    margin-top: 12px;
    border-top: 1px solid #e5e7eb;
    padding-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #6b7280;
}

.details-btn {
    background: #f59e0b;
    color: #fff;
    border: none;
    padding: 8px 18px;
    /* increased horizontal padding */
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    width: 130px;
    height: 40px;
}

/* Right side action buttons */
.action-buttons {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* centers rating */
    gap: 12px;
}

.rating-box {
    background: #fff4cc;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: #b45309;
    display: flex;
    align-items: center;
    gap: 6px;
}


.apply-btns {
    background: #1d6ce5;
    color: #fff;
    border: none;
    padding: 10px 22px;
    height: 40px;
    /* increased horizontal padding */
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    width: 160px;
    /* NEW: fixed width like reference */
}

.brochure-btn {
    background: #fff;
    border: 1px solid #1d6ce5;
    color: #1d6ce5;
    padding: 5px 0px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    width: 160px;
    /* same width */
}

/* Mobile view: stack all items vertically */
@media (max-width: 600px) {
    .course-box {
        flex-direction: row;
        align-items: flex-start;
        /* optional: align text to left */
    }
}

/* Responsive */
@media(max-width:900px) {
    .college-card {
        flex-direction: column;
    }

    .college-img {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }

    .action-buttons {
        position: static;
        flex-direction: row;
        margin-top: 10px;
    }

    .course-box {
        flex-direction: column;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 25px 0;
}

.pagination button {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.pagination button.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination button:hover {
    background: #eef2ff;
}

/* Mobile View filter  */
/* ========== MOBILE FILTER SYSTEM ========== */


.apply-filter-btn {
    width: 100%;
    margin-top: 15px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
}

/* ===== Responsive Rules ===== */
@media(max-width: 900px) {

    /* Hide desktop sidebar filters */
    .filters {
        display: none;
    }

    /* Show mobile filter button */
    .mobile-filter-btn {
        display: block;
    }

    /* Make layout single column */
    .page {
        grid-template-columns: 1fr;
    }

    .college-wrapper {
        padding: 10px;
    }
}

/* ===============================
   FINAL MOBILE FIXES
================================ */

/* Tablet */
@media (max-width: 900px) {

    /* Layout becomes single column */
    .page {
        grid-template-columns: 1fr;
        padding: 10px 0;
    }

    .college-wrapper {
        padding: 10px;
    }

    /* College Card Stack */
    .college-card {
        flex-direction: column;
        gap: 12px;
    }

    .college-img {
        width: 100%;
        min-width: 100%;
        height: 190px;
    }

    /* Remove absolute positioned buttons */
    .action-buttons {
        position: static;
        flex-direction: row;
        gap: 10px;
        margin-top: 10px;
    }

    .apply-btns,
    .brochure-btn {
        width: 100%;
        font-size: 12px;

    }

    /* Mobile view: fit text and center button */
    @media (max-width: 768px) {

        .apply-btns,
        .brochure-btn {
            width: auto;
            /* Shrink to fit text */
            min-width: 100px;
            font-size: 12px;
            align-items: center;
            height: 45px;
        }
    }

    /* Fix rating box alignment */
    .rating-box {
        margin-right: 0;
    }

    .college-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    /* Course box stacks */
    .course-box {
        flex-direction: row;
        gap: 8px;
    }
}


/* Mobile */
@media (max-width: 600px) {

    /* Title size */
    .college-top h3 {
        font-size: 16px;
        line-height: 1.3;
    }

    .location {
        font-size: 13px;
    }

    /* Tags wrap cleanly */
    .tags span {
        font-size: 11px;
        display: inline-block;
        margin-bottom: 5px;
    }

    .nirf {
        font-size: 12px;
    }

    /* Course box full width */
    .course-box {
        font-size: 13px;
    }

    /* Bottom row stacks */
    .college-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .details-btn {
        width: 100%;
        text-align: center;
    }

    .links {
        font-size: 12px;
    }

    /* Pagination center */
    .pagination {
        margin-bottom: 80px;
    }
}

/* Logo Modal */

  
  .modal-logo {
  max-width: 160px;   /* 👈 control logo size */
  width: 100%;
  height: auto;       /* keeps aspect ratio */
  object-fit: contain;
}
  
  .modal-overlay {
  display: none; /* 👈 hide initially */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}

  .modal-card {
    background: white; width: 400px; padding: 30px; border-radius: 8px;
    position: relative; box-shadow: 0 4px 15px rgba(0,0,0,0.2); text-align: center;
  }
  
  .close-btn {
    position: absolute; top: 15px; right: 20px; border: none; 
    background: none; font-size: 24px; cursor: pointer; color: #888;
  }
  
  /* Header & Logo */
  .logo { color: #00768a; margin-bottom: 20px; font-weight: bold; }
  
  .features {
    display: flex; justify-content: space-between; margin-bottom: 25px; font-size: 13px;
  }
  
  /* Buttons */
  .google-btn {
    width: 100%; padding: 10px; border: 1px solid #4285f4; background: #4285f4;
    color: white; border-radius: 5px; font-weight: bold; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
  }
  .google-btn img { width: 18px; background: white; padding: 2px; border-radius: 2px; }
  
  .divider {
    margin: 20px 0; border-bottom: 1px solid #ddd; line-height: 0.1em; color: #888;
  }
  .divider::before { content: ""; } /* Just for text alignment */
  
  /* Inputs */
  .signup-form input, .phone-input select {
    width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid var(--border-color);
    border-radius: 4px; box-sizing: border-box; font-size: 16px;
  }
  
  .phone-input { display: flex; gap: 0; }
  .phone-input select { width: 35%; border-right: none; border-radius: 4px 0 0 4px; }
  .phone-input input { border-radius: 0 4px 4px 0; }
  .checkbox-container {
  display: grid;
  grid-template-columns: 18px 1fr; /* checkbox + text */
  align-items: start;
  column-gap: 10px;

  width: 100%;
  text-align: left;
  margin-bottom: 18px;
}

.checkbox-container input[type="checkbox"] {
  margin: 3px 0 0 0; /* align with first text line */
}

.checkbox-container label {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #444;
}

  .submit-btn {
    width: 60%; background: var(--primary-orange); color: white; border: none;
    padding: 12px; border-radius: 6px; font-size: 18px; font-weight: bold; cursor: pointer;
  }
  
  .submit-btn:hover, .google-btn:hover {
    opacity: 0.9;
  }
  
  .footer-text { margin-top: 20px; font-size: 15px; }
  .footer-text a { color: var(--blue-link); text-decoration: none; font-weight: bold; }