@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root{
  --text_1: #2a2b3f;
  --text_1_light: #b59fd7;
  --text_1_hover:#6d28d2;
  --focus_bg_color:#ede5f9;
  
  --btn-text-color:#fff;
  --btn-bg-color:#2853d2;
  --btn-focus-bg-color:#4974f1;
  --bg-light:#f9f9ff;
  --bg-dark:#21212d;
  
  --text_color_1:#97adfa;
  --text_color_2:#d5d5d5;
  
}


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-align: left;
}
body{
    font-family: "Roboto", sans-serif;
    color: var(--text_1);
    --section-padding:60px 20px;
}
.view_all {
    display: block;
    margin: auto;
    width: fit-content;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: var(--btn-bg-color);
    padding: 10px 12px;
    border-radius: 4px;
    margin-top: 20px;
}
.apply_btn{
    display: block;
    padding: 10px 12px;
    background: var(--btn-bg-color);
    color: var(--btn-text-color);
    border-radius: 4px;
    border: 0;
    cursor: pointer;
    transition: .2s;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    text-decoration: none;
}
.apply_btn:hover{
    background: var(--btn-focus-bg-color);
}

.text-white{
    color: #fff!important;
}
.common_heading{
    /*font-size: 1.5rem;*/
    text-align: center;
    color: var(--text_1);
    /*margin-block: 20px;*/
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    font-family: "Nunito", sans-serif;
    
}

/*header css =================================*/
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: sticky;
    top: 0;
    padding-inline: 40px;
    height: 70px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(6, 17, 118, .08), 0 4px 12px rgba(6, 17, 118, .08);
    z-index:9;
}
.header-logo img{
    height: 66px;
}
.menu-toggle{
    display: none;
}
.navithor-menu{
    display: flex;
    align-items: center;
    transition: .2s;
    
}
.navithor-menu a {
    display: inline-block;
    text-decoration: none;
    color: var(--text_1);
    font-size: .9rem;
    padding: 10px 12px;
    border-radius: 5px;
    transition: .2s;
}
    .navithor-menu a i{
        width: 20px;
        color: #6c6b6b;
    }
.navithor-menu a:hover{
    background-color: var(--focus_bg_color);
    color: var(--text_1_hover);
}
.menu_blur_overlay {
    height: calc(100% - 70px);
    width: 100%;
    position: fixed;
    top: 70px;
    left: 0;
    background: rgba(0, 0, 0, .5);
    display: none;
}
/*main slider -------------------*/
.main_slider {
    height: calc(100vh - 70px);
    max-height: 600px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    position: relative;
}
.main_slider::before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0;
    /* z-index: 1; */
    background-color: #f5f5f5;
    background-image: 
    radial-gradient(circle, #e0e0e0 10%, transparent 10.1%),
    radial-gradient(circle, #d0d0d0 10%, transparent 10.1%);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
}

.main_slider_item{
    position: relative;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    
}
.main_slider_item_left{
    display: flex;
    align-items: center;
    justify-content: center;
}
.main_slider_item img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin: auto;
}
.slider_content {
    max-width: 400px;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.scholarship-info p {
    font-size: 16px;
    color: #444;
    margin: 6px 0;
    line-height: 1.5;
}
.slider_content button {
    display: inline;
    padding: 10px 12px;
    width: fit-content;
    background: var(--btn-bg-color);
    color: var(--btn-text-color);
    border-radius: 4px;
    border: 0;
    cursor: pointer;
    font-size: 16px;
    transition: .2s;
}
.slider_content button:hover{
    background: var(--btn-focus-bg-color);
}
.custom-prev,
.custom-next {
  background-color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.custom-prev:hover,
.custom-next:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  
}

.custom-prev {
  left: 0px;
}

.custom-next {
    right: 0px;
    
}

.slick-prev,
.slick-next {
  z-index: 10;
}
/*==========================*/
.scholarship-section {
  background-color: var(--bg-dark);
  padding: var(--section-padding);
  /*box-shadow: 0 4px 10px rgba(0,0,0,0.05);*/
}

.scholarship-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--text_color_1);
  margin-bottom: 12px;
}

.scholarship-subtext {
  text-align: center;
  font-size: 18px;
  color: var(--text_color_2);
  margin-bottom: 15px;
}

.scholarship-subheading {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--text_color_2);
  margin-top: 10px;
}
.more_scholarship{
    color: #0384fc;
    margin-left: 5px;
}
/*=================Exam SLider=======================*/
.exam_card_slider {
    margin-top: 25px;
    
}
.exam_card_item {
    background: #fff;
    margin-inline: 8px;
    border: 1px solid var(--text_1_light);
    border-radius: 10px;
    overflow: hidden;
}
.exam_card_img{
    width: 100%;
    aspect-ratio: 16/9;
}
.exam_card_img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    padding-inline: 6px;
}
.exam_card_content {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.exam_card_content h4{
    display: -webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow: hidden;
    /*margin-top: 6px;*/
    text-overflow: ellipsis;
    min-height: 38.8px;
    font-size:1.2rem;
    color: #252424;
}

.exam_card_content p{
    font-size: 1rem;
    margin-top: 10px;
}
.exam_card_content p:nth-child(2){
    font-size: .8rem;
    margin-top: 4px;
}
.exam_card_scholarship_content p{
    font-size: 1rem!important;
    margin-top: 4px;
}
.exam_card_content a {
    display: block;
    padding: 10px 12px;
    background: var(--btn-bg-color);
    color: var(--btn-text-color);
    border-radius: 4px;
    border: 0;
    cursor: pointer;
    transition: .2s;
    text-align: center;
    margin-top: 15px;
    font-size:16px;
    text-decoration: none;
}
.exam_card_content a:hover{
    background: var(--btn-focus-bg-color);
}
/*==============achiever================*/
.achiver_section{
    padding: var(--section-padding);
    background: linear-gradient(to bottom right, #f4f0ff, #faf8ff);
}
.achiever_card_slider {
    margin-top: 25px;
    width: 90%;
    margin: auto;
    margin-top: 20px;
}
.achiever_card_item {
    background: #fff;
    margin-inline: 8px;
    /*border: 1px solid var(--text_1_light);*/
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    margin-inline: 8px;
    /*border: 1px solid var(--text_1_light);*/
    border-radius: 10px;
    overflow: hidden;
}
.achiever_card_img{
    width: 100%;
    aspect-ratio: 2/2;
}
.achiever_card_img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.achiever_card_content {
    display: flex;
    flex-direction: column;
    padding: 0px 10px 15px 10px;
}
.achiever_card_content h4{
    display: -webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow: hidden;
    margin-top: 6px;
    font-size: 1.2rem;
    text-overflow: ellipsis;
}

.achiever_card_content p{
    font-size: .9rem;
    margin-top: 4px;
    color: #595c73;
}
/*====================about============*/
.about_section{
    background: var(--bg-dark);
    padding: var(--section-padding);
    color: #fff;
}
.about_content_div {
    width: 90%;
    margin: auto;
    border-radius: 8px;
    /* border: 1px solid var(--text_1_light); */
    padding: 20px;
    margin-top: 20px;
    color: var(--text_color_2);
    background: rgba(255, 255, 255, .1);
    line-height: 1.8;
    word-spacing: 2px;
}
.about_content_div p{
    line-height: 1.8;
}

/*---------------get scholarship--------------*/
.get_scholarship_section{
    padding:var(--section-padding);
    width: 95%;
    margin: auto;
}
.get_s_card_main{
    margin-top: 20px;
}
.get_s_card_main{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.get_s2_card_main{
        display: flex;
    }
.get_s_card_item {
    border: 1px solid var(--btn-bg-color);
    border-left-width: .3rem;
    border-radius: 8px;
    padding: 5% 10%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    
    cursor: pointer;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    position: relative;
    transform: background .2s;
}
.get_s_card_item:hover{
    background: var(--bg-light);
}
.get_s_card_item p{
    font-size: 1.2rem;
    line-height: 1.4;
    color: #595c73;
}
.get_s_card_item a {
    display: flex;
    gap: 8px;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    color: var(--btn-bg-color);
    transition: color .2s;
}
.get_s_card_item a:hover{
    color: var(--btn-focus-bg-color);
}
.get_s_card_item a span{
    font-size: 1.2rem;
    
}
/*========stat section==*/
.stats-container {
      padding: var(--section-padding);
      text-align: center;
      background: linear-gradient(to bottom right, #f4f0ff, #faf8ff);;
    }

    .stats-title {
      font-size: 3rem;
      font-weight: 800;
      color: #6c2bd9;
      margin-bottom: 60px;
    }

    .stats-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 40px;
    }

    .stat-card {
      background: white;
      border-radius: 20px;
      padding: 40px 30px;
      width: 240px;
      box-shadow: 0 20px 50px rgba(108, 43, 217, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .stat-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 25px 60px rgba(108, 43, 217, 0.2);
    }

    .stat-icon {
      font-size: 2.5rem;
      color: var(--btn-focus-bg-color);;
      margin-bottom: 15px;
    }

    .stat-number {
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--btn-bg-color);
    }

    .stat-label {
      font-size: 1.1rem;
      color: #555;
      margin-top: 10px;
    }

/*.reg-popup-overlay {*/
/*  position: fixed;*/
/*  top: 0; left: 0;*/
/*  width: 100%; height: 100%;*/
/*  background: rgba(0, 0, 0, 0.6);*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  z-index: 9999;*/
/*}*/

/*.reg-popup-modal {*/
/*  background: #fff;*/
/*  padding: 30px 25px 20px;*/
/*  border-radius: 12px;*/
/*  width: 90%;*/
/*  max-width: 400px;*/
/*  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);*/
/*  position: relative;*/
/*  text-align: center;*/
/*  font-family: 'Segoe UI', sans-serif;*/
/*  animation: popupFadeIn 0.3s ease-in-out;*/
/*}*/

/*@keyframes popupFadeIn {*/
/*  from { transform: scale(0.95); opacity: 0; }*/
/*  to { transform: scale(1); opacity: 1; }*/
/*}*/

/*.reg-popup-close {*/
/*  position: absolute;*/
/*  top: 12px;*/
/*  right: 12px;*/
/*  background: transparent;*/
/*  border: none;*/
/*  font-size: 20px;*/
/*  cursor: pointer;*/
/*  color: #333;*/
/*}*/

/*.reg-popup-title {*/
/*  font-size: 20px;*/
/*  font-weight: 600;*/
/*  margin-bottom: 12px;*/
/*  color: #222;*/
/*}*/

/*.reg-popup-text {*/
/*  font-size: 16px;*/
/*  margin-bottom: 8px;*/
/*}*/

/*.reg-popup-note {*/
/*  font-size: 14px;*/
/*  color: #555;*/
/*  margin-bottom: 20px;*/
/*}*/

/*.reg-popup-ok {*/
/*  background-color: #007bff;*/
/*  color: white;*/
/*  border: none;*/
/*  padding: 10px 22px;*/
/*  border-radius: 6px;*/
/*  cursor: pointer;*/
/*  font-size: 14px;*/
/*  font-weight: 500;*/
/*}*/

/*.reg-popup-ok:hover {*/
/*  background-color: #0056b3;*/
/*}*/
.reg-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 9999;
}

.reg-popup-box {
    background: #fff;
    width: 90%;
    max-width: 450px;
    padding: 30px;
    border-radius: 10px;
    margin: auto;
    height: 90%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    max-height: 100%;
    overflow-y: auto;
    margin-top: 20px;
}
.reg-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

.reg-popup-title {
  margin-top: 0;
  font-size: 22px;
  font-weight: bold;
  color: #333;
}

.reg-popup-box p {
  margin: 10px 0;
  font-size: 14px;
  color: #444;
}

.reg-payment-img {
  max-width: 100%;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.reg-popup-buttons {
  margin-top: 20px;
  text-align: center;
}

.reg-popup-buttons button {
  padding: 8px 16px;
  margin: 0 10px;
  font-size: 14px;
  border: none;
  background-color: #007bff;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

.reg-popup-buttons button:hover {
  background-color: #0056b3;
}
.reg-info-msg {
  background: #f8f9fa;
  border-left: 4px solid #007bff;
  padding: 10px;
  margin-top: 15px;
  font-size: 13px;
  color: #333;
  border-radius: 5px;
}




@media (max-width:800px){
    body{
        --section-padding:60px 20px;
    }
    
    h1{
        font-size: 1.4rem;
    }
    p{
        font-size: 1rem;
    }
    .header-container{
        padding-inline: 20px;
    }
    .menu-toggle {
        height: 45px;
        width: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
        position: relative;
        color: #fff;
        z-index: 9;
        border-radius: 5px;
        background: var(--btn-bg-color);
         opacity: 1;
    }
    .header_cancel {
        line-height: 1;
        height: 0;
        width: 0;
        display: inline-block;
        overflow: hidden;
        opacity: 0;
    }
    .header_bar{
        line-height: 1;
    }
    .header-logo img{
        height: 40px;
    }
    .menu-open .header_bar{
        height: 0;
        width: 0;
        display: inline-block;
        overflow: hidden;
        opacity: 0;
        transition: opacity .2s;
    }
    .menu-open .header_cancel{
        height: auto;
        width: auto;
        display: inline-block;
        opacity: 1;
        transition: opacity .2s;
    }
    .navithor-menu {
        flex-direction: column;
        align-items: baseline;
        position: absolute;
        left: -100%;
        top: 72px;
        background: #fff;
        padding: 10px;
        width: 100%;
        padding-block: 20px;
        gap: 20px;
        transition: .2s ease-in-out;
    }
    .navithor-menu a i{
        width: 35px;
    }
    .main_slider_item img{
       
    }
    .menu-open .navithor-menu {
        transition: .3s ease-in-out;
        left: 0;
        
    }
    .menu-open .menu_blur_overlay{
        display: block;
    }
    .navithor-menu a {
        font-size: 1.5rem;
        display: block;
        width: 100%;
        padding-left: 12px;
        border-radius: 5px;
    }

    .menu_blur_overlay{
        /*display: block;*/
    }
    .navithor-menu a:hover{
        background-color: unset;
    }
    
    .slider_content{
        max-width: 100%;
        transform: unset;
        position: static;
        left: unset;
        top: unset;
        transform: unset;
    }
    .get_s_card_main{
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width:576px){
    .common_heading{
        font-size: 1.5rem;
        /*margin-bottom: 10px;*/
    }
    body{
        --section-padding:40px 20px;
    }
    .main_slider_item{
        display: flex!important;
        flex-direction: column-reverse;
        padding-top:20px;
    }
    .main_slider::before{
        display: none;
    }
    .main_slider{
        height: auto;
        background: #fff;
        padding-bottom: 40px;
    }
    .slider_content{
        box-shadow: none;
    }
    .main_slider_item img{
        height: auto;
        width: 95%;
    }
    .scholarship-section{
        padding: 40px 15px;
    }
    .scholarship-heading{
        font-size: 22px;
        margin-bottom: 8px;
    }
    .scholarship-subtext{
        font-size: 15px;
    }
    .scholarship-subheading{
        font-size: 20px;
    }
    .achiever_card_slider{
        width: 100%;
    }
    .achiever_card_content h4{
        font-size: 1rem;
    }
    .about_content_div{
        width: 95%;
    }

    .get_s_card_main{
        grid-template-columns: 1fr;
        width: 95%;
        margin: auto;
        margin-top: 20px;
    }
    
    .stats-title {
        font-size: 2.2rem;
      }

      .stat-card {
        width: 100%;
        max-width: 300px;
      }
}
