* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* --blue: blue; */
    --blue: #007bff;
    /* --blue: #0C73B8; */
    --lblue: lightblue;
    --red: red;
}
text{
    display: none;
}

/* ::-webkit-scrollbar {
    width: 12px;
    background: transparent;
} */
/* ::-webkit-scrollbar-thumb {
    background: var(--blue);
    box-sizing: 20px;
} */
/* ::-webkit-scrollbar-track {
    background-color: #f1f1f1;
} */
/* Reset scrollbar to default */
::-webkit-scrollbar {
    width: 14px;  
}

::-webkit-scrollbar-thumb {
    background-color: #6C757D;
    border-radius: initial;
}

::-webkit-scrollbar-track {
    background-color: #eeeeee;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 15px;
}

.blue {
    color: var(--blue);
}

.red {
    color: var(--red);
}

.green {
    color: green;
}

.bg-blue {
    color: #fff !important;
    background: var(--blue);
}
.bg-red{
    color: #fff !important;
    background: var(--red);
}

a {
    text-decoration: none;
}

/* flex */
.flex {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.between {
    display: flex;
    justify-content: space-between;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}


.rflex,
.cflex {
    display: flex;
}

.rflex {
    flex-direction: row;
}

.cflex {
    flex-direction: column;
}

.wrap {
    flex-wrap: wrap;
}

.flex-center {
    align-items: center;
    justify-content: center;
}

.flex-item-center {
    margin: auto;
}

.flex-item-centerx {
    margin-inline: auto;
}

.flex-item-centery {
    margin-block: auto;
}

.ais {
    align-items: start;
}

.aie {
    align-items: end;
}

.aic {
    align-items: center;
}

.ass {
    align-self: start;
}

.ase {
    align-self: end;
}

.asc {
    align-self: center;
}

.asst {
    align-self: stretch;
}

.jcs {
    justify-content: start;
}

.jce {
    justify-content: end;
}

.jcc {
    justify-content: center;
}

.jcsb {
    justify-content: space-between;
}

.jcsa {
    justify-content: space-around;
}

.jcse {
    justify-content: space-evenly;
}

.pos-abs {
    position: absolute;
}

.pos-fix {
    position: fixed;
}

.pos-rel {
    position: relative;
}

.pos-sti {
    position: sticky;
}

.pos-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pos-centerx {
    left: 50%;
    transform: translateX(-50%);
}

.pos-centery {
    top: 50%;
    transform: translateY(-50%);
}

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

.fw_100 {
    font-weight: 100;
}

.fw_200 {
    font-weight: 200;
}

.fw_300 {
    font-weight: 300;
}

.fw_400 {
    font-weight: 400;
}

.fw_500 {
    font-weight: 500;
}

.fw_600 {
    font-weight: 600;
}

.fw_700 {
    font-weight: 700;
}

.fw_800 {
    font-weight: 800;
}

.fw_900 {
    font-weight: 900;
}

p {
    margin: 0;
}

@media only screen and (max-width:600px) {
    * {
        font-size: small;
    }
}@keyframes zoom {
    to {
        font-size: 700rem;
    }
}
@keyframes click {
    0%,
    100% {
        transform: unset;
        box-shadow: 2px 2px 0 0 #00000022;
    }
    50% {
        transform: translate(2px, 2px);
        box-shadow: 0px 0px 0 0 #00000022;
    }
}
@keyframes blink {
    0%,
    40% {
        opacity: 0.15;
    }
    20% {
        opacity: 1;
    }
}
header {
    position: sticky;
    top: 0;
    z-index: 10;
    text-transform: capitalize;
}

/* Dropdown styling */
.custom-dropdown {
    position: relative;
    display: inline-block;
}

.custom-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 1rem;
    padding: 5px 10px;
}

.custom-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 5px 0;
}

.custom-dropdown-menu.show {
    display: block;
}

.custom-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
}

.custom-dropdown-menu a:hover {
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .top-bar > .h-mob {
        gap: 0.2rem;
    }
    .top-bar > .h-mob > a {
        font-size: 12px;
    }
}

.top-bar {
    /* padding: .4rem; */
    background-color: var(--blue);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 1rem;
    padding: 0px 20px;
}

.top-bar .flex {
    flex-wrap: wrap;
}

.top-bar a {
    color: #fff;
}

.top-bar a:hover {
    color: #fff;
    scale: 1.1;
}

.top-bar h5 {
    margin: 0;
    font-size: 16px;
}

/*  */
.contact-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding: 5px 10px;
}

.contact-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--blue);
    border: 1px solid #ccc;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 150px;
    padding: 5px 0;
    z-index: 100;
}

/* Fix: Dropdown visible rahe jab tak mouse uske andar ho */
.contact-dropdown:hover .contact-options {
    display: block;
}

.blue-button-hover {
    background-color: var(--blue);
    color: white;
    border-radius: 5px;
}

.blue-button-hover:hover {
    color: var(--blue);
    background-color: #0058d22d;
}

.contact-options a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
    white-space: nowrap;
}

.firstvite {
    background: cornsilk;
    padding: 1px 8px;
    text-align: center;
    /* margin-left: 20px; */
    border-radius: 5px;
    cursor: pointer;
}

.firstvite a {
    display: block;
    text-decoration: none;
    /* color: white; */
    font-weight: bold;
}

.franchise-register {
    background: orange;
    padding: 1px 8px;
    text-align: center;
    /* margin-left: 20px; */
    border-radius: 5px;
    cursor: pointer;
}

.franchise-register a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

@media (max-width: 1083px) {
    .d-none-mobile {
        display: none;
    }
    .top-bar {
        padding-bottom: 7px;
    }
}

.bottom-nav {
    flex-wrap: wrap;
}

/* online-bar */
.online-bar {
    display: flex;
    align-items: baseline;
    list-style: none;
    gap: 1rem;
    flex-wrap: wrap;
}

.online-bar li a {
    display: flex;
    gap: 2px;
    align-items: baseline;
    color: var(--blue);
}

.online-bar li a:hover {
    color: var(--red);
}

.online-cards {
    max-height: 60vh;
    overflow-y: auto;
}

/* search offcanvas */
.search-tabs button {
    margin: 2px 0;
}

.search {
    background-color: var(--blue);
    color: #fff !important;
    border-radius: 6px;
}

/* Partner Universities Dropdown */
.partner-universities-dropdown {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 1200px;
    margin: 10px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    /* background: #fff; */
    max-height: 80vh;
    overflow-y: auto;
}

.state-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, auto));
    gap: 15px;
    padding: 15px;
    /* width: max-content; */
    box-sizing: border-box;
}

.state-container h4 {
    font-size: large;
    font-weight: 400;
    text-transform: capitalize;
}

/* .state {
    font-weight: 400;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    margin: 0;
} */

.state p {
    color: #0056d2;
    margin: 0;
    padding: 3px 0;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.state:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* img {
        display: block;
    } */
}

.state:hover p {
    color: var(--red);
}

/* Remove the image hover effect since it's not mobile-friendly */
.state img {
    display: none;
}

.nav-link {
    font-weight: 500;
    padding: 0px;
}

.mobile-nav-dropdown {
    margin: auto;
}

.logout-dropdown {
    position: absolute;
    top: 100%;
    left: -220px;
    background: white;
    border: 1px solid #ddd;
    padding: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px;
    /* width: 100px; */
}

.partner-universities-dropdown {
    position: absolute;
    margin: 0px 10px;
    border-radius: 6px;
    /* opacity: 0.9; */
    background: #dbdbdb;
}

.dropdown-menu-end {
    position: absolute !important;
    left: -135px;
    top: 35px;
    /* background: #dbdbdb; */
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        white-space: nowrap;
        /* overflow-x: auto;
        scrollbar-width: thin; 
        scrollbar-color: #888 #f1f1f1;  */
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .hm {
        margin-left: 1rem !important;
    }
}

.hm {
    margin-left: 0.8rem;
}

/* Media query for max-width 768px */
@media (max-width: 889px) {
    .top-bar {
        gap: 0px;
    }

    /* .top-bar-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    } */
}

@media (max-width: 425px) {
    /* .top-bar .flex a i, .top-bar .flex span{
        font-size: 12px;
    } */
    .navbar {
        margin-bottom: 0 !important;
    }
}
/* @media (min-width: 426px) {
    .region {
        margin: 0 15px;
        width: 10vw;
    }
} */

@media (max-width: 375px) {
    .hm {
        margin-left: 0;
    }
}

@media (min-width: 1000px) {
    .home-program-card {
        max-width: 200px !important;
        /* Ya jitni width chahiye */
    }
}

/* @media (max-width: 425px) {
    .state-container {
        display: block;
        max-height: 400px;
        overflow-y: auto;
        border: 1px solid #ccc;
        padding: 10px;
        width: 100%;
        margin-top: 20px;
    }

    .partner-universities-dropdown {
        margin: 0;
    }

    .state img {
        display: none;
    }

    .state:hover img {
        display: none;
    }
} */

@media (max-width: 991px) {
    /* Nav Mobile Dropdown */
    .mobile-nav-dropdown {
        margin: auto;
        position: absolute;
        background: whitesmoke;
        padding: 20px 50px;
        border-radius: 6px;
        right: 0px;
        top: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        /* width: 70%; */
        gap: 10px;
    }

    .mobile-nav-dropdown .nav-item {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .nav-link {
        padding: 2px 6px;
    }
}
/* footer {
    text-transform: capitalize;
}

footer .between {
    flex-wrap: wrap;
}

footer a {
    display: block;
    color: #fff;
}

footer li:hover a {
    color: red;
}

footer .tnc a {
    color: blue;
}


footer .tnc {
    text-align: center;
    color: black;
}

.tnc a {
    display: inline;
}

footer article {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

footer p {
    text-align: center;
    padding: 4px;
}

@media only screen and (max-width:600px) {
    footer article {
        display: block;
    }


    footer p,
    footer ul {
        text-align: left;
        padding: 0;
    }
} */



/* Smooth transition for all links and icons */
footer a {
    transition: all 0.3s ease-in-out;
}

/* Text links hover effect */
footer a.text-decoration-none:hover {
    color: #FF0000 !important;
    /* Bootstrap's warning color */
    text-decoration: underline;
}

/* Social icon hover effect */
footer .list-inline-item a:hover {
    color: #FF0000 !important;
    transform: scale(1.2);
}

/* Underline animation */
footer a.underline-hover::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #FF0000;
    transition: width 0.3s;
}

footer a.underline-hover:hover::after {
    width: 100%;
}

@media screen and (max-width:767px) {
    footer .contact_us {
        display: flex;
        justify-content: space-between;
        /* gap: 2px; */
    }
    footer .contact_details {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }
    footer .contact_details ul {
        text-align: left !important; 
    }
    footer .company_links ul {
        width: auto !important;
        margin: auto !important;
    }
    footer .company_links h6 {
        text-align: left !important; 
    }
}/* background image */
.hero {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;
    height: 15vh;
    display: flex;
    align-items: center;
    background-position: 0px -81px;

}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.37);
    z-index: 1;
}

.hero-content {
    z-index: 2;
}

/* .breadcrumb-item a {
    color: #fff !important;
} */

/* background img end */