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

body {
    font-family: 'BuenosAires';
}



/* hero  */

.hero {
  position: relative;
  color: white;
  display: flex;
  margin: 100px auto 20px;
}

.hero-left-half {
  width: 50%;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}


.hero-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-route {
  font-size: 12px;
  font-weight: 700;
  margin: 20px auto 40px;
  color: #ccc;
}


.hero-mini-heading {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  border-image-source: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, #666666 100%);
  background-color: #FFFFFF1A;
  border-radius: 10px;
  padding: 10px;
  height: 44px;
  width: 300px;
  text-wrap: nowrap;
  margin-top: 10px;
}

.hero-mini-heading img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}


.hero-heading {
  font-size: 55px;
  font-weight: 700;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 40px;
}


.hero-para {
  font-size: 24px;
  line-height: 1.5;
  color: #FAFAFA;
  margin-bottom: 20px;
  font-weight: 400;
}


.hero-btn {
  background: linear-gradient(90deg, #195057 0%, #4ED0E1 100%);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;                  
  width: 100%;
}

.hero-btn img{
   width: 10px;
  height: 10px;
  margin-left: 8px;
}


.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}




@media (max-width: 768px) {
   .hero {
     background-image: url(/assets/Images/Home/test/gre.jpg);
     position: relative;
    color: white;
    display: flex;
    margin: 0;
    padding: 10px auto;
  }

  .hero-left-half {
    width: 80%;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    background: linear-gradient(89.07deg, rgba(0, 0, 0, 0.71) 36.56%, rgba(102, 102, 102, 0) 99.23%);
    padding: 20px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  .hero-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hero-route{
    font-size: 10px;
    font-weight: 600;
    margin: 60px auto 20px;
  }

  .hero-mini-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fafafa;
    background-color: #ffffff1a;
    border-radius: 10px;
    padding: 5px;
    width: fit-content;
    font-size: 10px;
    font-weight: 500;
    height: 30px;
    margin-top: 10px;
  }

  .hero-mini-heading img {
    height: 14px;
    width: auto;
  }

  .hero-heading {
    font-size: 24px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .hero-heading span {
     font-weight: bold;
    font-size: 24px;
    font-weight: 700;
  }

  .hero-para {
    width: 100%;
    line-height: 1.4;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 400;
  }

  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
}




.tabBarContainer {
  height: 56px;
  margin: 30px auto 10px;
  border-radius: 20px;
  padding: 10px 15px;
  box-shadow: 0px 4px 4px 0px #0000001A;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: thin;            
  scrollbar-color: #287781 #f1f1f1;
  width: 90%;
}

.tabBar {
  display: flex;  
  align-items: center;               
  min-width: max-content;              
}

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

.tabBtn {
  flex: 0 0 auto;                       
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  background-color: #fff;
  border-radius: 12px;
  white-space: nowrap;                  
  transition: background 0.3s, color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}

.tabBarContainer::-webkit-scrollbar {
  height: 8px;                        
}
.tabBarContainer::-webkit-scrollbar-track {
  background: #287781;
  border-radius: 10px;
}
.tabBarContainer::-webkit-scrollbar-thumb {
  background: #287781;
  border-radius: 10px;
}
.tabBarContainer::-webkit-scrollbar-thumb:hover {
  background: #555;
}


.tabBtn.active {
  background: linear-gradient(90deg, #195057 0%, #4ED0E1 100%);
  color: #fff;
}

.tabContent {
  display: none;
  padding: 20px;
  background: #fff;
}

.tabContent.active {
  display: block;
}


@media (max-width: 768px) {

  .tabBarContainer {
  width: 90%;
}

}



/* countryTabSideBarContentContainer */

.countryTabSideBarContentContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 5px auto;
  padding: 20px;
}


.countryTabSideBar {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  padding: 12px;
  gap: 10px;
  box-shadow: 0px 4px 4px 0px #0000001A;
  height: 168px;
}


.countryTabSideBarTab {
  background: none;
  border: none;
  border-radius: 12px;
  text-align: left;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 600;
  color: #424242;
  cursor: pointer;
  transition: background 0.3s;
}

.countryTabSideBarTab.active {
  background: #59898E33;
  color: #424242;
}


.countryTabSideBarTabContent {
  flex: 1;
  min-width: 250px;
  padding: 20px;
  background: #fff;
}

.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}


@media (max-width: 768px) {
  .countryTabSideBarContentContainer {
    flex-direction: column;
  }

  .countryTabSideBar {
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    gap: 8px;
    height: fit-content;
  }

  .countryTabSideBarTab {
    flex: 1;
    text-align: center;
    white-space: nowrap;
  }

  .countryTabSideBarTabContent {
    width: 100%;
    padding: 10px;
}
}




/* deadline */
.deadlineSection {
  margin: 0 auto;
  padding: 0px 10px;
}

.deadlineHeader {
  font-size: 34px;
  font-weight: 600;
  color: #424242;
  margin-bottom: 20px;
}

.deadlineSubHeader {
  font-size: 24px;
  font-weight: 400;
  color: #424242;
  margin-bottom: 50px;
}

.intakes-table {
  width: 100%;
  border-collapse: separate;  
  border-spacing: 0;           
  border-radius: 20px;        
  box-shadow: 4px 4px 17.5px 0px #0000001A;
  overflow: hidden;           
}

.intakes-table th{
  padding: 10px 36px;
  border: none;           
  text-align: left;
  vertical-align: top;
  font-weight: 700;
  font-size: 16px;
  background-color: #287781;
  color: #fff;
  height: 65px;
  vertical-align: middle;
}

.intakes-table td {
  border: none;           
  padding: 20px 36px;
  text-align: left;
  vertical-align: top;
  margin-top: 20px;
}

.intakeLabel{
  font-size: 16px;
  font-weight: 600;
  color: #424242;
}

.detailBox{
  font-size: 16px;
  font-weight: 400;
  color: #424242;
}

.intakes-table tr {
  border-bottom: 1px solid #eee; 
}

.intakes-table tr:hover {
  background-color: #59898E33; 
}

.intakes-table tr:last-child {
  border-bottom: none; 
}


@media (max-width: 768px) {

  .deadlineHeader {
  font-size: 24px;
}

.deadlineSubHeader {
  font-size: 16px;
}

  .intakes-table,
  .intakes-table thead,
  .intakes-table tbody,
  .intakes-table th,
  .intakes-table td,
  .intakes-table tr {
    display: block;
    width: 100%;
  }

  .intakes-table thead {
    display: none; 
  }

  .intakes-table tr {
    margin-bottom: 10px;
    border: 1px solid #ccc;
    padding: 12px;
  }

  .intakes-table td {
    border: none;
    padding:10px;
    position: relative;
  }

  .intakes-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 4px;
  }
}


/* university-section */

.universityTopContainer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  margin: 40px auto 0;
}


.universityHeader {
  font-size: 34px;
  font-weight: 600;
  color: #424242;
  margin-bottom: 20px;
}

.universitySubHeader {
  font-size: 24px;
  font-weight: 400;
  color: #424242;
}



.monthActions {
  display: flex;
  gap: 12px;
  margin-right: 10px;
}


.monthBtn {
  background: #fff;
  color: #287781;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s ease;
  text-wrap: nowrap;
}


.monthDropdown {
  position: relative;
}

.viewAllMonthBtn {
  background: #fff;
  color: #424242;
  border: 0.5px solid #287781;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  width: 123px;
  height: 34px;
}

.viewAllMonth {
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: none;
  flex-direction: column;
  z-index: 10;
  text-align: center;
  width:fit-content;
}

.viewAllMonth a {
  padding: 10px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px;
  color: #424242;
  text-decoration: none;
  transition: background 0.2s ease;
  height: 40px;
}
.viewAllMonth a:hover {
  background: #59898E33;
  color:#287781;
}
.monthDropdown.open .viewAllMonth {
  display: flex;
}


/* univeristy box */

.universityBoxCardContainer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.universityBoxCard {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.universityBoxCard:hover {
  transform: scale(1.03);
  box-shadow: 0px 4px 16.7px 0px #59898E;
}

.universityBoxCardTop {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 16px;
  gap: 16px;
}

.universityFarLeftImg img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.universityFarRightHeader {
  flex: 1;
}

.universityHeader {
  font-size: 24px;
  font-weight: 700;
  color: #424242;
  line-height: 100%;
}


.universityRankingInfoBox {
  background: #195057;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 16px;
  margin: 10px auto 10px 10px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  width: fit-content;
}

.universityRankingInfoBox span {
  font-weight: 700;
}



.universityLocation {
  font-size: 12px;
  font-weight: 400;
  color: #424242;
  margin: 10px 0px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.universityDetailsBox {
  margin: 1rem 0 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.universityTable {
  width: 100%;
  border-collapse: collapse;
  color: #424242;
}

.universityTable tr{
  width: 60%;
}

.universityTable tr:hover{
  background-color: #59898E33;
}

.universityTable td {
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 1rem;
  font-weight: 700;
}

.universityTable td span{
  font-weight: 600;
  width: 60%;
  color: #195057;
}

.universityTable tr:last-child td {
  border-bottom: none;
}


.universityOverallScore,
.universityEmpl,
.universityGlobalEng,
.universitySust {
  font-size: 16px;
  font-weight: 700;
  color: #424242;
  margin: 1rem auto 1rem 1rem ;
}

.universityOverallScore span,
.universityEmpl span,
.universityGlobalEng span,
.universitySust span {
  color: #287781;
  font-size: 16px;
  font-weight: 600;
}


.universityDetailContainer {
  display: flex;
  justify-content: center;
  padding: 15px;
  font-size: 14px;
  gap:20px
}

.universityStudentBox,
.universityTuitionBox{
  background-color:#F6F6F6;
  height: 85px;
  display: grid;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 182px;
}

.universityStudentBoxHeader,
.universityTuitionBoxHeader{
  font-weight: 600;
  font-size: 12px;
  color: #424242;
}

.universityStudentBoxValue,
.universityTuitionBoxValue{
  font-weight: 700;
  font-size: 24px;
  color: #287781;
}


@media (max-width: 768px) {
  .universityTopContainer {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .universityHeader {
  font-size: 24px;
}

.universitySubHeader {
  font-size: 16px;
}

  .universityFarRight {
    width: 100%;
    margin-top: 12px;
  }

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


/*  pagination */

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 10px;
}


.pagination .page-btn {
  min-width: 40px;
  height: 20px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f8f8f8;
  color: #333;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* page hover  */
.pagination .page-btn:hover {
  background-color: #e0e0e0;
  border-color: #bbb;
  color: #000;
  transform: translateY(-1px);
}

/* active page  */
.pagination .page-btn.active {
  background-color: #287781;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 119, 255, 0.3);
  pointer-events: none; 
}


.universityBoxCard {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.universityBoxCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}




@media (max-width: 600px) {
  .pagination .page-btn {
    min-width: 36px;
    height: 36px;
    font-size: 0.85rem;
    padding: 0 0.5rem;
  }

  .universityBoxCard {
    margin-bottom: 1rem;
  }
}


@media (min-width: 601px) and (max-width: 1024px) {
  .pagination .page-btn {
    min-width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
}


@media (min-width: 1025px) {
  .pagination .page-btn {
    min-width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}


/*  scholarship section  */

.scholarshipSection {
  margin: 0 auto;
  padding: 0px 20px 40px;
}

.scholarshipHeader {
  font-size: 34px;
  font-weight: 600;
  color: #424242;
  margin-bottom: 20px;
}

.scholarshipSubHeader {
  font-size: 24px;
  font-weight: 400;
  color: #424242;
  margin-bottom: 50px;
}


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


.scholarshipCard {
  border-radius: 20px;
  padding: 30px 29px;
  box-shadow: 0px 4px 4px 0px #00000040;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scholarshipCard:hover {
  transform: scale(1.03);
}


.scholarshipCardHeader {
  font-size: 24px;
  font-weight: 700;
  color: #424242;
  margin-top: 20px;
  margin-bottom: 20px;
}

.scholarshipCardDesc {
  font-size: 16px;
  font-weight: 400;
  color: #424242;
  line-height: 25px;
  margin-bottom: 20px;
}


.scholarshipCardLearnMoreBtn {
  background: linear-gradient(90deg, #195057 0%, #4ED0E1 100%);
  color: #fff;
  border: none;
  padding: 10px ;
  border-radius: 10px;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  width: fit-content;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
}


@media (max-width: 768px) {

  .scholarshipSection {
  padding: 20px 5px;
}

  .scholarshipHeader {
  font-size: 24px;
}

.scholarshipSubHeader {
  font-size: 16px;
  font-weight: 400;
  color: #424242;
  margin-bottom: 50px;
}


  .scholarshipCardContainer {
    grid-template-columns: 1fr; 
    padding: 10px;
  }

  .scholarshipCardHeader{
    font-size: 16px;
  }

  .scholarshipCardDesc{
    font-size: 12px;
  }
}


.learnMoreCountryContainer{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #287781;
  color:#fff;
  width: fit-content;
  margin: 20px auto;
  height: 51px;
  border-radius: 10px;
  padding: 10px;
}

.learnMoreCountryContainer a{
  padding: 10px;
  text-align: center;
  text-decoration: none;
  background-color: #287781;
  color:#fff;
  font-weight: 600;
  font-size: 16px;
}

@media (max-width: 768px) {

  .learnMoreCountryContainer a{
    font-size: 12px;
  }
}



/* footer         */



/* Chatbot toggle button */

