@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: roboto;
    letter-spacing:1.5px;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

.college-card-img img {
    object-fit: cover;
}

.navbar-brand img,
.footer-logo img {
    object-fit: contain;
    height: auto;
}

h2 {
    /* font-family: cursive !important; */
    text-transform: uppercase;
    font-weight: bolder !important;
}

::-webkit-scrollbar {
    width: 8px;

}

::-webkit-scrollbar-thumb {
    background-color: #383737;
}

.text-justify {
    text-align: justify;
}

.main-btn {
    margin-block: 10px;
    height: 5vh;
    width: 30%;
    padding: 7px 10px;
    text-align: center;
    text-decoration: none;
    display: block;
    background-color: #000;
    color: #ff008f;
    border: none;
    text-transform: uppercase;
    transition: .2s linear;
}

.main-btn:hover {
    transform: scale(1.1, 1.1);
    background-color: transparent;
    border: 2px solid #ff008f;
}

.button:hover {
    transform: none;
    border: 2px solid #000;
    color: #000;
}



/* navbar section */
nav {
    height: fit-content;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    background-color: #fff;
    padding: 10px 0;
}

/* Logo text */
.navbar-brand img {
    width: 60px;  /* <-- yahan se logo size change karo */
}

.navbar-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
    display: block;
}

.logo-doon {
    color: #1a73e8;
}

.logo-vidya {
    color: #28a745;
}

.logo-tagline {
    font-size: 0.68rem;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.3px;
}

nav .navbar-nav .nav-item .nav-link {
    color: #222;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 6px 10px;
    transition: color .2s linear;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link.active {
    color: #1a73e8;
}

.navbar-nav .nav-item .nav-link.active {
    border-bottom: 2px solid #1a73e8;
}

/* Phone number in navbar */
.nav-phone {
    color: #222;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.nav-phone i {
    color: #1a73e8;
    margin-right: 5px;
}

.nav-phone small {
    font-size: 0.72rem;
    color: #888;
    font-weight: 400;
}

/* Get Free Counselling button */
.btn-counselling {
    background-color: #1a73e8;
    color: #fff !important;
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color .2s linear;
    letter-spacing: 0.3px;
}

.btn-counselling:hover {
    background-color: #1558b0;
    color: #fff;
}



/* hero section start */
.hero-section {
    margin-top: 70px;
    overflow: hidden;
}

.hero-bg-image {
    position: relative;
    width: 100%;
    min-height: 82vh;
    background: url('../images/hero\ image.png') center center / cover no-repeat;
    display: flex;
    align-items: center;
}

/* Left-to-right white fade overlay — smooth blend */
.hero-overlay {
    display: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 60px;
    max-width: 820px;
    margin-left: 0;
    padding-left: 80px;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a73e8;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

/* Heading */
.hero-heading {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.15;
    margin-bottom: 14px;
    text-transform: none;
    letter-spacing: -0.5px;
}

.hero-highlight {
    color: #1a73e8;
}

/* Subtext */
.hero-subtext {
    font-size: 0.92rem;
    color: #444;
    margin-bottom: 28px;
    line-height: 1.7;
    letter-spacing: 0;
}

/* Search Bar */
.hero-search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    padding: 5px;
    gap: 0;
    margin-bottom: 20px;
    width: 100%;
    max-width: 750px;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 2;
    min-width: 0;
    padding-left: 10px;
}

.search-field i {
    color: #888;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.search-field input {
    border: none;
    outline: none;
    font-size: 0.88rem;
    color: #333;
    width: 100%;
    background: transparent;
}

.search-field input::placeholder {
    color: #999;
}

.search-divider {
    width: 1px;
    height: 28px;
    background-color: #e0e0e0;
    margin: 0 6px;
    flex-shrink: 0;
}

.search-select {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    padding: 0 4px;
}

.search-select > i:first-child {
    color: #888;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.search-select > i:last-child {
    color: #aaa;
    flex-shrink: 0;
    font-size: 0.7rem;
}

.search-select select {
    border: none;
    outline: none;
    font-size: 0.82rem;
    color: #444;
    background: transparent;
    cursor: pointer;
    width: 100%;
    min-width: 0;
    -webkit-appearance: none;
    appearance: none;
}

.search-btn {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    align-self: stretch;
    margin-left: 4px;
}

.search-btn:hover {
    background-color: #1558b0;
}

/* Trust Badges */
.hero-trust-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 680px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 0;
}

.trust-badge i {
    color: #1a73e8;
    font-size: 0.9rem;
}

/* hero section end */

/* ========== Hero: scaled desktop layout on tablet/mobile (≥1024px = unchanged) ========== */

/* Shared — same full-bleed bg + left content / right building balance as desktop */
@media screen and (max-width: 1023px) {
    .site-desktop .hero-section {
        overflow: hidden;
        max-width: 100%;
    }

    .site-desktop .hero-bg-image::before {
        display: none !important;
        content: none !important;
        height: 0 !important;
        background: none !important;
    }

    .site-desktop .hero-overlay {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(255, 255, 255, 0.92) 42%,
            rgba(255, 255, 255, 0.55) 58%,
            transparent 78%
        );
    }

    .site-desktop .hero-bg-image {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        background-image: url('../images/hero\ image.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: transparent;
    }

    .site-desktop .hero-bg-image > .container.hero-container {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .site-desktop .hero-container {
        position: relative;
        z-index: 2;
        text-align: left;
        margin-left: 0;
        margin-right: auto;
        background: transparent;
        width: 100%;
        box-sizing: border-box;
    }

    .site-desktop .hero-badge {
        justify-content: flex-start;
        text-align: left;
    }

    .site-desktop .hero-heading {
        text-transform: none;
        letter-spacing: -0.5px;
    }

    .site-desktop .hero-subtext {
        color: #444;
    }

    .site-desktop .hero-subtext br {
        display: none;
    }

    /* Same white search bar as desktop */
    .site-desktop .hero-search-bar,
    .site-desktop .hero-search-bar.hero-search-card {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0;
        width: 100%;
        max-width: 100%;
        padding: 5px;
        margin-bottom: 16px;
        background: #fff;
        border: none;
        border-radius: 10px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-sizing: border-box;
    }

    .site-desktop .hero-search-bar .search-field {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 40px;
        height: auto;
        max-height: none;
        padding-left: 10px;
        margin: 0;
        background: transparent;
        border: none;
        border-radius: 0;
        box-sizing: border-box;
    }

    .site-desktop .hero-search-bar .search-field input {
        font-size: 0.84rem;
    }

    .site-desktop .hero-search-bar .search-btn {
        flex: 0 0 auto;
        width: auto;
        min-height: 40px;
        height: auto;
        max-height: none;
        margin-left: 4px;
        align-self: stretch;
        padding: 10px 14px;
        font-size: 0.82rem;
        white-space: nowrap;
        border-radius: 8px;
    }

    /* Same flex-wrap badges as desktop */
    .site-desktop .hero-trust-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .site-desktop .hero-trust-badges .trust-badge {
        flex: 0 1 auto;
        width: auto;
        min-width: 0;
        justify-content: flex-start;
        font-size: 0.76rem;
        padding: 8px 12px;
        box-sizing: border-box;
    }

    .site-desktop .hero-trust-badges .trust-badge span {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
}

/* Tablet: 768px–1023px */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .site-desktop .hero-section {
        margin-top: 68px;
    }

    .site-desktop .hero-bg-image {
        min-height: clamp(420px, 58vh, 560px);
        background-position: center center;
    }

    .site-desktop .hero-container {
        max-width: min(680px, 72%);
        padding: 2rem 1.25rem 2rem clamp(1.25rem, 3vw, 2rem);
    }

    .site-desktop .hero-heading {
        font-size: clamp(1.65rem, 2.8vw + 0.5rem, 2.25rem);
        margin-bottom: 12px;
    }

    .site-desktop .hero-subtext {
        font-size: 0.86rem;
        margin-bottom: 1.1rem;
        max-width: 28rem;
    }

    .site-desktop .hero-search-bar .search-btn {
        padding: 10px 16px;
        font-size: 0.84rem;
    }
}

/* Mobile: ≤767px */
@media screen and (max-width: 767px) {
    .site-desktop .hero-section {
        margin-top: 60px;
    }

    .site-desktop .hero-bg-image {
        min-height: clamp(360px, 50vh, 480px);
        background-size: cover;
        background-position: center;
    }

    .site-desktop .hero-container {
        max-width: min(100%, 94%);
        padding: 1.25rem 0.85rem 1.15rem 1rem;
    }

    .site-desktop .hero-badge {
        font-size: 0.72rem;
        margin-bottom: 8px;
    }

    .site-desktop .hero-heading {
        font-size: clamp(1.35rem, 4.2vw + 0.4rem, 1.85rem);
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .site-desktop .hero-heading br {
        display: block;
    }

    .site-desktop .hero-subtext {
        font-size: clamp(0.75rem, 2.2vw + 0.35rem, 0.84rem);
        margin-bottom: 0.85rem;
        line-height: 1.5;
        max-width: 16rem;
    }

    .site-desktop .hero-search-bar {
        margin-bottom: 12px;
    }

    .site-desktop .hero-search-bar .search-field {
        min-height: 38px;
    }

    .site-desktop .hero-search-bar .search-btn {
        padding: 8px 10px;
        font-size: 0.74rem;
    }

    .site-desktop .hero-trust-badges {
        gap: 8px;
    }

    .site-desktop .hero-trust-badges .trust-badge {
        font-size: 0.68rem;
        padding: 7px 10px;
    }
}

/* Large phones: ≤480px */
@media screen and (max-width: 480px) {
    .site-desktop .hero-bg-image {
        min-height: clamp(340px, 48vh, 440px);
        background-position: 70% center;
    }

    .site-desktop .hero-container {
        max-width: min(100%, 96%);
        padding: 1rem 0.75rem 1rem 0.85rem;
    }

    .site-desktop .hero-heading {
        font-size: clamp(1.25rem, 4.5vw + 0.35rem, 1.65rem);
    }

    .site-desktop .hero-subtext {
        max-width: 14rem;
    }

    .site-desktop .hero-search-bar .search-btn {
        padding: 8px 8px;
        font-size: 0.7rem;
    }

    .site-desktop .hero-trust-badges .trust-badge {
        font-size: 0.65rem;
        padding: 6px 8px;
    }
}

/* iPhone standard: ≤375px */
@media screen and (max-width: 375px) {
    .site-desktop .hero-bg-image {
        min-height: clamp(320px, 46vh, 420px);
        background-position: 72% center;
    }

    .site-desktop .hero-container {
        padding-left: 0.75rem;
    }

    .site-desktop .hero-heading {
        font-size: clamp(1.15rem, 4.8vw + 0.3rem, 1.5rem);
    }
}

/* Small phones: ≤320px */
@media screen and (max-width: 320px) {
    .site-desktop .hero-bg-image {
        min-height: clamp(300px, 44vh, 400px);
        background-position: 75% center;
    }

    .site-desktop .hero-search-bar {
        flex-wrap: wrap;
        padding: 6px;
        gap: 6px;
    }

    .site-desktop .hero-search-bar .search-field {
        flex: 1 1 100%;
        min-height: 36px;
    }

    .site-desktop .hero-search-bar .search-btn {
        flex: 1 1 100%;
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .btn-counselling-compact {
        padding: 6px 8px;
        font-size: 0.68rem;
    }
}

/* Lock desktop hero (≥1024px) to original layout */
@media screen and (min-width: 1024px) {
    .hero-overlay {
        display: none;
    }

    .hero-bg-image {
        min-height: 82vh;
        background-image: url('../images/hero\ image.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        align-items: center;
    }

    .hero-bg-image::before {
        display: none;
        content: none;
        height: 0;
        padding: 0;
        background: none;
    }

    .hero-container {
        padding-top: 60px;
        padding-bottom: 60px;
        max-width: 820px;
        margin-left: 0;
        padding-left: 80px;
        padding-right: 0;
        text-align: left;
    }

    .hero-heading {
        font-size: 3rem;
    }

    .hero-search-bar.hero-search-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 5px;
        gap: 0;
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-radius: 10px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    }

    .hero-search-bar .search-field,
    .hero-search-bar .search-select {
        min-height: unset;
        height: auto;
        max-height: none;
        background: transparent;
        border: none;
        border-radius: 0;
        padding-left: 10px;
    }

    .hero-search-bar .search-select {
        padding: 0 4px;
    }

    .hero-search-bar .search-divider {
        display: block;
    }

    .hero-search-bar .search-btn {
        width: auto;
        min-height: unset;
        height: auto;
        max-height: none;
        margin-left: 4px;
        align-self: stretch;
    }

    .hero-trust-badges {
        display: flex;
        flex-wrap: wrap;
        grid-template-columns: unset;
        gap: 10px;
        max-width: 680px;
    }

    .hero-trust-badges .trust-badge {
        width: auto;
        font-size: 0.8rem;
        padding: 8px 14px;
        justify-content: flex-start;
    }

    .hero-trust-badges .trust-badge span {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
}



/* Top Colleges Section */
.top-colleges-section {
    background-color: #fff;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.25rem, 2.5vw + 0.5rem, 1.7rem);
    font-weight: 800;
    color: #1a1a2e;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}

.view-all-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1a73e8;
    white-space: nowrap;
}

.view-all-link:hover {
    color: #1558b0;
}

/* Slider */
.colleges-slider-wrapper {
    position: relative;
}

.colleges-slider {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.colleges-slider::-webkit-scrollbar {
    display: none;
}

/* College Card */
.college-card {
    min-width: calc(25% - 14px);
    max-width: calc(25% - 14px);
    width: calc(25% - 14px);
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    transition: box-shadow 0.25s, transform 0.25s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.college-card:hover {
    box-shadow: 0 8px 28px rgba(26,115,232,0.13);
    transform: translateY(-4px);
}

.college-card-img {
    width: 100%;
    height: 145px;
    overflow: hidden;
    flex-shrink: 0;
}

.college-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.college-card:hover .college-card-img img {
    transform: scale(1.06);
}

.college-card-body {
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 4px;
}

.college-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.35;
    min-height: 38px;
    margin: 0;
}

.college-type {
    font-size: 0.74rem;
    color: #999;
    margin: 0;
    font-weight: 500;
}

.college-meta {
    font-size: 0.74rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.meta-divider {
    color: #ddd;
}

.college-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: #666;
    flex: 1;
    margin-top: 2px;
}

.college-rating i {
    color: #f5a623;
    font-size: 0.78rem;
}

.college-rating strong {
    color: #222;
    font-weight: 700;
}

.college-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f5f5f5;
}

.btn-view {
    flex: 1;
    text-align: center;
    padding: 7px 8px;
    border: 1.5px solid #1a73e8;
    border-radius: 7px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a73e8;
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: 0;
}

.btn-view:hover {
    background: #1a73e8;
    color: #fff;
}

.btn-inquire {
    flex: 1;
    text-align: center;
    padding: 7px 8px;
    background: #1a73e8;
    border: 1.5px solid #1a73e8;
    border-radius: 7px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: 0;
}

.btn-inquire:hover {
    background: #1558b0;
    border-color: #1558b0;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    z-index: 2;
    font-size: 0.8rem;
    color: #333;
    transition: all 0.2s;
}

.slider-arrow:hover {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}

.slider-prev {
    right: 42px;
    top: -28px;
    transform: none;
}

.slider-next {
    right: 0;
    top: -28px;
    transform: none;
}

/* Explore Courses Section */
.explore-courses-section {
    background-color: #f8faff;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
    margin-bottom: 8px;
}

.course-card {
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 12px;
    padding: 20px 10px 16px;
    text-align: center;
    transition: all 0.22s;
    cursor: pointer;
}

.course-card:hover {
    border-color: #1a73e8;
    box-shadow: 0 4px 18px rgba(26,115,232,0.12);
    transform: translateY(-3px);
}

.course-icon {
    width: 52px;
    height: 52px;
    background: #eef4ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: background 0.22s;
}

.course-icon i {
    font-size: 1.3rem;
    color: #1a73e8;
}

.course-card:hover .course-icon {
    background: #1a73e8;
}

.course-card:hover .course-icon i {
    color: #fff;
}

.course-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 3px;
    letter-spacing: 0;
}

.course-count {
    font-size: 0.74rem;
    color: #999;
    margin: 0;
    font-weight: 500;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #1a73e8;
    color: #1a73e8;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-view-all:hover {
    background: #1a73e8;
    color: #fff;
}

/* Why Choose + Counselling Section */
.why-choose-section {
    background-color: #f8faff;
}

.why-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #1a73e8;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 12px;
    padding: 18px 16px;
}

.why-icon {
    width: 44px;
    height: 44px;
    background: #eef4ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon i {
    font-size: 1.1rem;
    color: #1a73e8;
}

.why-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.why-desc {
    font-size: 0.76rem;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

/* Counselling Banner */
.counselling-banner {
    overflow: hidden;
}

.counselling-bg-image {
    background-color: #0d2b6e;
    overflow: hidden;
}

.counselling-overlay {
    display: none;
}

.counselling-inner {
    display: flex;
    align-items: flex-end;
    gap: 0;
    min-height: 240px;
}

/* Girl image column */
.counselling-girl-col {
    flex-shrink: 0;
    width: 280px;
    display: flex;
    align-items: flex-end;
}

.counselling-girl-img {
    width: 100%;
    height: 340px;
    object-fit: contain;
    object-position: bottom;
    display: block;
}

/* Text column */
.counselling-left {
    flex: 1;
    color: #fff;
    padding: 36px 30px 36px 20px;
    align-self: center;
}

.counselling-left h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: 0;
}

.counselling-left p {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 20px;
    line-height: 1.6;
}

.counselling-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.c-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.85);
    text-align: center;
    max-width: 70px;
}

.c-feature i {
    font-size: 1.3rem;
    color: #fff;
}

/* Form column */
.counselling-form {
    flex: 1.6;
    padding: 30px 40px 30px 20px;
    align-self: center;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.form-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 10px 14px;
}

.form-input-wrap i {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.form-input-wrap input,
.form-input-wrap select {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.85rem;
    width: 100%;
}

.form-input-wrap input::placeholder {
    color: rgba(255,255,255,0.55);
}

.form-input-wrap select option {
    color: #333;
    background: #fff;
}

.btn-free-guidance {
    width: 100%;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
    margin-bottom: 8px;
}

.btn-free-guidance:hover {
    background: #218838;
}

.form-privacy {
    text-align: center;
    font-size: 0.74rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
}

.form-privacy i {
    margin-right: 4px;
}

/* service section start */
.service-section {
    background-color: #dfe4ea;
}

.service-section .row .box {
    background-color: #fff;
}

/* service section end */



/* vision section  start */
.vision-section {
    background: url('../images/vision.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: fit-content;
}

/* vision section end */



/* contect form section */
.contect-form input,
textarea {
    border: 2px solid #000;
}

.contect-form input:focus {
    outline: none;
}
.contect-form .contect-info-section{
    background-color:rgb(12, 117, 192);
    padding:20px;
    color:#fff;

}

/* contect form section end */



/* Testimonials Section */
.testimonials-section {
    background-color: #f8faff;
}

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

.testimonial-card {
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 14px;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow 0.25s, transform 0.25s;
}

.testimonial-card:hover {
    box-shadow: 0 8px 28px rgba(26,115,232,0.10);
    transform: translateY(-4px);
}

.testimonial-quote i {
    font-size: 1.6rem;
    color: #1a73e8;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 0.88rem;
    color: #444;
    line-height: 1.75;
    flex: 1;
    margin: 0;
    letter-spacing: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1a73e8;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.testimonial-college {
    font-size: 0.76rem;
    color: #999;
}

/* footer section start */
.footer {
    background-color: #0d2b6e;
    padding: 50px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr 1.4fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Logo */
.footer-logo-doon {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.footer-logo-vidya {
    font-size: 1.1rem;
    font-weight: 800;
    color: #28a745;
    letter-spacing: 1px;
}

.footer-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.82rem;
    text-decoration: none;
    transition: background 0.2s;
}

.footer-socials a:hover {
    background: #1a73e8;
}

/* Headings */
.footer-heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    text-transform: none;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    background: none;
    padding: 0;
    border-radius: 0;
}

.footer-links li a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links li a:hover {
    color: #fff;
}

/* Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    background: none;
    padding: 0;
    border-radius: 0;
}

.footer-contact li i {
    color: #1a73e8;
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Newsletter */
.footer-newsletter {
    display: flex;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    overflow: hidden;
}

.footer-newsletter input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 0.82rem;
    color: #fff;
}

.footer-newsletter input::placeholder {
    color: rgba(255,255,255,0.45);
}

.footer-newsletter button {
    background: #1a73e8;
    border: none;
    padding: 10px 14px;
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.footer-newsletter button:hover {
    background: #1558b0;
}

/* Bottom bar */
.footer-bottom {
    padding: 16px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* footer section end */

/* College listing page */
.college_name {
    min-height: auto;
    max-height: none;
}

.college_name .card {
    height: 100%;
}

.kazak {
    width: 100%;
    height: auto !important;
    max-height: 300px;
    object-fit: cover;
}

.college-section .main-btn.button {
    margin: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: 44px;
    width: 100%;
    max-width: 280px;
}

@media screen and (max-width: 480px) {
    .college-section .main-btn.button {
        max-width: 100%;
    }
}






/* ========== Responsive breakpoints ========== */
/* 1440px — large desktop refinements */
@media screen and (max-width: 1440px) {
    .courses-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

/* 1024px — small laptops / large tablets */
@media screen and (max-width: 1024px) {
    .main-btn {
        margin-block: 10px;
        height: auto;
        min-height: 44px;
        width: 45%;
        max-width: 280px;
    }

    .courses-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .colleges-slider {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
        gap: 16px;
    }

    .college-card {
        min-width: unset;
        max-width: none;
        width: 100%;
        flex-shrink: 1;
    }

    .colleges-slider-wrapper .slider-arrow {
        display: none;
    }

    .counselling-inner {
        flex-wrap: wrap;
    }

    .counselling-girl-col {
        width: 220px;
    }

    .counselling-girl-img {
        height: 280px;
    }
}

/* 768px — tablets (non-hero sections) */
@media screen and (max-width: 768px) {
    .top-colleges-section .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }

    .courses-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .course-card {
        padding: 16px 8px 12px;
    }

    .course-icon {
        width: 44px;
        height: 44px;
    }

    .course-icon i {
        font-size: 1.1rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .counselling-inner {
        flex-direction: column;
        align-items: center;
        min-height: auto;
    }

    .counselling-girl-col {
        width: 100%;
        max-width: 200px;
        order: 2;
    }

    .counselling-girl-img {
        height: auto;
        max-height: 220px;
    }

    .counselling-left {
        order: 1;
        padding: 28px 20px 16px;
        text-align: center;
        width: 100%;
    }

    .counselling-left p br {
        display: none;
    }

    .counselling-features {
        justify-content: center;
    }

    .counselling-form {
        order: 3;
        width: 100%;
        padding: 16px 20px 28px;
        max-width: 100%;
        overflow: hidden;
    }

    .form-row-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .testimonial-text {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }

    .footer-newsletter {
        max-width: 100%;
    }

    .navbar-collapse {
        padding-top: 12px;
        margin-top: 8px;
        border-top: 1px solid #eee;
    }

    .navbar-nav {
        width: 100%;
        align-items: flex-start !important;
    }

    nav .navbar-nav .nav-item .nav-link {
        padding: 10px 4px;
    }

    .navbar .d-flex.align-items-center.gap-3 {
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
        gap: 12px !important;
        margin-top: 8px;
    }

    .nav-phone {
        white-space: normal;
        text-align: left;
    }

    .btn-counselling {
        display: block;
        width: 100%;
        text-align: center;
        white-space: normal;
    }

    .logo-title {
        font-size: 1rem;
    }

    .logo-tagline {
        font-size: 0.62rem;
    }

    .navbar-brand img {
        width: 48px;
    }

    .main-btn {
        width: 100%;
        max-width: none;
    }
}

/* 480px — large phones */
@media screen and (max-width: 480px) {
    .colleges-slider {
        grid-template-columns: 1fr;
    }

    .college-name {
        min-height: auto;
    }

    .college-card-actions {
        flex-direction: column;
    }

    .btn-view,
    .btn-inquire {
        width: 100%;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .course-name {
        font-size: 0.8rem;
    }

    .course-count {
        font-size: 0.7rem;
    }

    .btn-view-all {
        width: 100%;
        justify-content: center;
    }

    .counselling-left h3 {
        font-size: 1.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .section-label {
        font-size: 0.7rem;
    }

    .testimonial-card {
        padding: 22px 18px 18px;
    }
}

/* 320px — small phones */
@media screen and (max-width: 320px) {
    .logo-title {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    .navbar-brand {
        gap: 6px !important;
    }

    .courses-grid {
        grid-template-columns: 1fr 1fr;
    }

    .course-icon {
        width: 40px;
        height: 40px;
    }

    .btn-counselling {
        font-size: 0.78rem;
        padding: 8px 12px;
    }
}

/* Navbar mobile menu — Bootstrap lg breakpoint */
@media screen and (max-width: 991.98px) {
    .navbar-toggler {
        padding: 6px 8px;
        flex-shrink: 0;
    }

    .navbar > .container {
        max-width: 100%;
        overflow-x: hidden;
    }

    .navbar-brand {
        max-width: none;
        flex-shrink: 1;
        min-width: 0;
        margin-right: auto;
    }

    .navbar-logo-text {
        min-width: 0;
    }

    .logo-title {
        white-space: normal;
    }

    .btn-counselling-compact {
        padding: 7px 11px;
        font-size: 0.72rem;
        font-weight: 600;
        flex-shrink: 0;
        letter-spacing: 0.2px;
    }

    .navbar-collapse {
        background: #fff;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        animation: navDrawerIn 0.32s ease forwards;
    }

    @keyframes navDrawerIn {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .navbar .collapse .btn-counselling {
        width: 100%;
        text-align: center;
        font-size: 0.82rem;
        padding: 10px 14px;
    }
}

/* College listing page (college.html) */
@media screen and (max-width: 768px) {
    .college_name {
        min-height: auto;
        max-height: none;
    }

    .kazak {
        height: auto !important;
        max-height: 220px;
        object-fit: cover;
    }
}

/* About / contact hero images */
.about-hero-section img,
.college-hero-section img,
.contect-hero-section img {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 768px) {
    .contect-form .row {
        margin-left: 0;
        margin-right: 0;
    }

    .contect-form .col-md-5,
    .contect-form .col-md-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .contect-form button.w-50 {
        width: 100% !important;
    }
}

/* Blog grid — when used on future/inner pages */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

@media screen and (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .blog-card h5,
    .blog-card p {
        font-size: clamp(0.85rem, 2vw, 1rem);
    }
}

/* Legacy footer row layout (about, contact pages) */
@media screen and (max-width: 768px) {
    footer.footer .row > [class*="col-"] {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    footer.footer .d-flex {
        justify-content: center;
    }

    footer.footer .news-letter input {
        width: 100%;
        min-width: 0;
    }
}

/* Desktop: preserve 4-column college slider */
@media screen and (min-width: 1024px) {
    .colleges-slider {
        display: flex;
    }

    .college-card {
        min-width: calc(25% - 14px);
        max-width: calc(25% - 14px);
        width: calc(25% - 14px);
    }
}