@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");
@import "./reset.css";
@import "./variable.css";

.logo {
  width: 100%;
  max-width: 200px;
}

h5{
  font-size: var(--fs-lg);
}

.container-fluid-custom {
  width: clamp(var(--container-min), 90vw, var(--container-max));
  padding-inline: var(--container-padding);
  margin-inline: auto;
}

.header-link {
  color: var(--text);
  font-size: var(--fs-base);
  font-weight: 500;
}

.header-shadow {
  box-shadow: 0px 2px 8px 0px #00000026;
}

.base-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background-color: var(--primary);
  color: var(--background);
  padding: var(--space-xs) var(--space-sm);
  border: none;
  border-radius: var(--radius);
  font-size: var(--fs-base);
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: fit-content;
}

.banner-section {
  background: url("../images/home-banner.png") no-repeat center;
  background-size: cover;
  min-height: 600px;
}

.main-heading {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.main-heading .sub-part {
  color: var(--primary);
}

.para {
  font-size: var(--fs-content-base);
  color: var(--text);
  font-weight: 300;
}

.heading {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text);
}

.main-para {
  font-size: 18px;
  color: var(--text);
  font-weight: 400;
}

.spacing-section {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.medium-spacing-section {
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}



.highlight-heading {
  background-color: var(--accent);
  color: var(--primary);
  font-size: var(--fs-base);
  display: inline-flex;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 20px;
  align-items: center;
  width: fit-content;
}

.content-heading {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text);
}

.main-para .highlight {
  color: var(--teritory);
}

img.welcome-overseas {
  width: 95%;
}

.stats-container .stat {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--teritory);
  margin-bottom: 0px;
}

.stats-container .stat-text {
  font-size: var(--fs-base);
  font-weight: 500;
}

.splide__slide .card {
  border: none;
  height: 100%;
}

.splide__slide .card-body {
  margin-top: -100px;
  background-color: var(--background);
  border-radius: 20px;
  padding: 1.8rem;
}

.splide__slide .card-title {
  font-size: var(--fs-content-base);
  color: var(--text);
}

.splide__slide .card-text {
  font-size: var(--fs-content-base);
  color: var(--text);
  font-weight: 300;
}

.splide__pagination {
  bottom: -1.5rem; /* Adjust position */
}

.splide__pagination__page {
  background: #ccc;
  opacity: 0.7;
  width: 10px;
  height: 10px;
}

.splide__pagination__page.is-active {
  background: #0d6efd; /* or your base-btn color */
  transform: scale(1.3);
  opacity: 1;
}

img.global-ed {
  width: 100%;
}

.sixth-section {
  background: url("../images/form-banner.png") no-repeat center;
  background-size: cover;
}

.text-white {
  color: var(--background);
}

.w-50-50 {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.why-cards {
  border: 1px solid #00000033;
  border-radius: 10px;
}

.contact-banner {
  background: url("../images/contact-banner.png") no-repeat top left;
  background-size: cover;
  background-size: cover;
  border-radius: 20px;
}

.contact-banner-heading {
  font-size: var(--fs-xl);
  font-weight: 600;
}

.footer-links-container {
  background-color: var(--footer-background);
}

.footer-logo {
  width: 80%;
  max-width: 200px;
}

.footer-link {
  color: var(--background);
  font-size: var(--fs-base);
}

.footer-heading {
  font-size: var(--fs-lg);
  color: var(--background);
  padding-left: 20px;
  position: relative;
}

.footer-heading::before {
  content: "";
  position: absolute;
  left: 0;
  display: inline-block;
  width: 3px;
  height: 100%;
  background-color: var(--teritory);
  margin-right: 10px;
  border-radius: 2px;
}

.footer-link-icon {
  width: 30px;
  height: 30px;
  transition: 0.25s ease-in-out;
}

.footer-link:hover {
  color: var(--teritory);
  transition: 0.25s ease-in-out;
}

.white-border {
  margin: 0px;
  border-bottom: 1px solid var(--background);
}

.footer-bottom-text {
  font-size: var(--fs-sm);
}

@media (max-width: 575px) {
  .main-banner-heading {
    display: inline-block;
    text-align: center;
  }
  .banner-section {
    min-height: unset;
  }

  .logo {
    max-width: 150px;
  }

  img.welcome-overseas {
    width: 100%;
  }

  .main-para {
    text-align: center;
  }

  .base-btn{
    margin: auto;
  }

  .highlight-heading{
    margin: auto;
    margin-bottom: 10px;
  }

  .content-heading{
    text-align: center;
  }

  .stat-box{
    text-align: center;
    align-items: center !important;
  }

  .w-50-50 {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
}


/* About Us Page Css Started */

/* .about-us-banner-section {
  background: url("../images/aboutus/about-us-banner.png") no-repeat center;
  background-size: cover;
  min-height: 360px;
} */

.banner-heading  {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--background);
  display: inline-flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.about-para {
  font-size: var(--fs-content-base);
  color: var(--text);
  font-weight: 300;
  text-align: center;  /* centers each line */
  line-height: 1.7;
  max-width: auto;
  margin: 15px auto;
}

.about-para .highlight {
  color: var(--teritory);
  font-weight: 600;
}

.about-para,  .privacy-para .dark-highlight, .content-para  .dark-highlight, .policy-para .dark-highlight {
  color: var(--text);
  font-weight: 600;
}



.mission-section{
  margin-bottom: 40px; /* space between blocks */
}

.why-list .choosing-list {
  font-size: 17px;
  color: var(--text);
  font-weight: 300;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-list li {
  display: flex;               /* aligns image and text in one line */
  align-items: center;         /* vertically centers icon and text */
  gap: 10px;                   /* space between icon and text */
  font-size: 1rem;
  color: var(--text, #333);
  line-height: 1.5;
  margin-bottom: 10px;
}

.why-list li img {
  width: auto;
  height: auto;
  flex-shrink: 0;              /* prevents image from shrinking */
}

.aboutus-contact-banner {
  background: url("../images/aboutus/future-kryon-overseas.png") no-repeat top left;
  background-size: cover;
  border-radius: 20px;
}

.contact-footer-text {
  color: var(--accent);
  font-size: 1rem;
}

.aboutus-contact-banner-heading {
  font-size: var(--fs-xl);
  font-weight: 500;
}


/* ===== OUR VALUES STYLING ===== */
.value-list {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 20px auto 0;
  padding: 0;
  max-width: 1250px;
  position: relative;
}

/* ---- Add dotted connector line ---- */
.value-list::before {
  content: "";
  position: absolute;
  top: 55px; /* aligns with icon center */
  left: 7%;
  right: 7%;
  border-top: 2px dashed #b0c4de;
  z-index: 0;
}

/* ---- Each Card ---- */
.value-list li {
  flex: 1;
  min-width: 200px;
  max-width: 230px;
  text-align: center;
  padding: 10px 10px;
  position: relative;
  background: transparent;
  z-index: 1;
}

/* ---- Icon ---- */
.value-list li img {
  margin: 0 auto 20px;
}

/* ---- Title ---- */
.value-list .promise-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

/* ---- Description ---- */
.value-list .promise-text {
  font-size: var(--fs-content-base) !important;
  color: var(--text);
  font-weight: 300;
}


/* ---- Remove line on last row for mobile ---- */
@media (max-width: 992px) {
  .value-list::before {
    display: none;
  }

  .mission-section {
    margin-bottom: 0px;
  }

}

/* ---- Tablet and Mobile Adjustments ---- */
@media (max-width: 480px) {
  .value-list {
    flex-direction: column;
    align-items: center;
  }

  .value-list li {
    max-width: 280px;
  }
}

/* ----- Tablet layout (768px to 1025px) ----- */
@media (min-width: 768px) and (max-width: 821px) {
  .contact-form-card {
    display: grid !important;
    width: auto !important;
    padding: 20px !important;
  }

   .contact-boxes {
    gap: 25px !important;
  }
}
@media (min-width: 768px) and (max-width: 1025px) {
  .value-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }

  .value-list::before {
    display: none; /* hide the dotted line on tablet */
  }

  .value-list li {
    max-width: 280px;
    margin: 0 auto;
  }

   /* 🧠 Key trick: if there’s an odd item (like 5th), center it */
  .value-list li:nth-child(odd):last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }
  
  .contact-boxes {
    gap: 25px !important;
  }
  
}



/* About Us Css Responsive Css Ended */

/* Contact Us Page Css Starts Here */

/* .contact-us-banner-section {
  background: url("../images/contactus/contact-us-banner.png") no-repeat center;
  background-size: cover;
  min-height: 360px;
} */

.about-us-banner-section,
.contact-us-banner-section,
.privacy-policy-banner-section,
.germany-banner-section,
.mauritius-banner-section,
.australia-banner-section,
.singapore-banner-section,
.uk-banner-section,
.canada-banner-section,
.newzealand-banner-section,
.malaysia-banner-section,
.terms-conditions-banner-section
 {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* Default: fills section */
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Specific banner images */
.about-us-banner-section {
  background-image: url("../images/aboutus/about-us-banner.png");
}

.contact-us-banner-section {
  background-image: url("../images/contactus/contact-us-banner.png");
}

.privacy-policy-banner-section {
  background-image: url("../images/privacy-policy-banner.png");
}

.terms-conditions-banner-section {
  background-image: url("../images/terms-conditions-banner.png");
}

.germany-banner-section {
  background-image: url("../images/germany/germany-banner.png");
}

.mauritius-banner-section {
  background-image: url("../images/mauritius/mauritius-banner.png");
}

.newzealand-banner-section {
  background-image: url("../images/new-zealand/new-zealand-banner.png");
}

.malaysia-banner-section {
  background-image: url("../images/malaysia/malaysia-banner.png");
}

.australia-banner-section {
  background-image: url("../images/australia/australia-banner.png");
}

.singapore-banner-section{
   background-image: url("../images/singapore/signpore1.png");
}

.uk-banner-section {
  background-image: url("../images/uk/uk_banner.png");
}
.canada-banner-section {
  background-image: url("../images/canada_img/canada_banner.png");
}

/* Tablets (landscape/portrait) */
@media (max-width: 991px) {
  .about-us-banner-section,
  .contact-us-banner-section {
    min-height: 300px;
    background-position: center right 25%; /* focus on top area if cropped */
  }
}

/* Mobile screens */
@media (max-width: 575px) {
  .about-us-banner-section,
  .contact-us-banner-section {
    min-height: auto;
    aspect-ratio: 16 / 9; /* maintain image proportion */
    background-size: cover; /* show full image */
    background-color: #000; /* or match brand color to fill gaps */
    background-position: center right 25%;
  }

  .contact-left {
    padding: 25px 0px !important;
  }

  .contact-form-card {
    display: grid !important;
    padding: 20px !important;
  }
}

.contact-boxes {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 50px;
  flex-wrap: wrap;
  margin: 20px auto 0;
  max-width: 1200px; 
  padding: 0 20px;   
}

.contact-card {
  flex: 1 1 250px;
  border: 3px solid #ddd;
  border-radius: 10px;
  text-align: center;
  padding: 15px 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.icon-circle {
  width: 70px;
  height: 70px;
  background-color: #2F77C7;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 28px;
  margin: 0 auto 15px;
}

.contact-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
}

.contact-card p {
  font-size: var(--fs-content-base) !important;
  color: var(--text);
  font-weight: 300;
}

.contact-card a {
  color: #000;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}



.contact-form-boxes {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

/* White rounded box */
.contact-form-card {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #ddd;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(10, 10, 10, 0.08), 0 0 2px 2px rgba(10, 10, 10, 0.05);
  overflow: hidden;
  width: 100%;
  padding: 40px;
}

/* Left section (form side) */
.contact-left {
  flex: 1 1 50%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Form elements */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 15px 0px;
}

.custom-select {
  position: relative;
  width: 100%;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff url("../images/contactus/dropdown-icon.png") no-repeat right 15px center;
  background-size: 14px;
  cursor: pointer;
}

.custom-select .selected {
  padding: 14px 45px 14px 15px;
}

.custom-select .options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  z-index: 99;
}

.custom-select .options li {
  padding: 12px 15px;
  transition: background 0.2s ease;
}

.custom-select .options li:hover {
  background: #f0f4ff;
}

.custom-select.active .options {
  display: block;
}

/* Responsive inputs and textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

/* Two inputs side-by-side */
.contact-form .two-inputs {
  display: flex;
  gap: 10px;
}

.contact-form .two-inputs input {
  flex: 1;
}

/* ------------------------ */
/* ✅ Responsive adjustments */
/* ------------------------ */
@media (max-width: 991px) {
  .contact-form select,
  .contact-form input,
  .contact-form textarea {
    font-size: 15px;
    padding: 12px 40px 12px 12px;
    background-size: 12px;
  }
}

@media (max-width: 575px) {
  .contact-form select,
  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 10px 35px 10px 10px;
    border-radius: 8px;
    background-size: 10px;
  }

  .contact-form .two-inputs {
    flex-direction: column; /* stack on mobile */
    gap: 8px;
  }
}




/* Right image */
.contact-right {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Privacy Policy Css Starts */

.policy-para {
  font-size: var(--fs-content-base);
  color: var(--text);
  font-weight: 300;
}

.privacy-para {
  font-size: 20px;
  color: var(--text);
  font-weight: 200;
  max-width: auto;
  margin: 15px auto;
}

.privacy-para .blue-highlight {
  color: var(--primary);
  font-weight: 600;
}

.blue-highlights {
  color: var(--primary);
  font-weight: 800;
  font-size: 17px;
}

.privacy-sub-heading {
  color: var(--primary);
  font-size: 22px;
  font-weight: 600;
  padding: 5px 0px;
}

.privacy-sub-title {
  color: var(--text);
  font-size: 21px;
  font-weight: 400;
  padding: 3px 0px;
}

.policy-list li {
  font-size: var(--fs-content-base) !important;
  color: var(--text);
  font-weight: 300;
  list-style:disc;
  line-height: 1.7;
}

.terms-highlight {
  color: #EE4823;
  font-weight: 600;
}

.blue-text  {
  font-size: var(--fs-content-base) !important;
  color: var(--primary);
  font-weight: 500;
}

.black-text {
  font-size: var(--fs-content-base) !important;
  color: var(--text);
  font-weight: 500;
}

/* Study in Germany CSS */

.content-para {
  font-size: 18px;
  font-weight: 400;
  text-align: center;  /* centers each line */
  line-height: 1.7;
  max-width: 90%;
  margin: 15px auto;
}

.toggle-display {
  background-color: #E5F0FB;
  border: 1px solid #E5F0FB;
  border-radius: 5px;
  border-left: 3px solid #2F77C7;
  width: 100%;
  /* display: none; */
}

img.programs {
  max-width: none !important;
  display: inline-block !important;
  width: auto !important;
  padding: 2px;
}

.sdcsd {
  width: 45%;
}

.timeline-cards {
  border: 2px solid #56555533;
  border-radius: 15px;
  border-left: 5px solid #2F77C7;
  border-bottom: 5px solid #2F77C7;
}

.text-blue {
  font-size: 22px;
  font-weight: 700;
  color: #2F77C7;
}

.text-blue-heading {
  font-size: 20px;
  font-weight: 500;
  color: #2F77C7;
}
.academic-req {
  line-height: 2;
}

.germany-contact-banner {
  background: url("../images/germany/germany-footer-banner.png") no-repeat top left;
  background-size: cover;
  border-radius: 20px;
}

.contact-banner-heading {
  font-size: var(--fs-xl);
  font-weight: 500;
}

img.career-ed {
  width: 95%;
}

/* For screens BELOW 1024px */
@media (max-width: 1024px) {
    img.career-ed {
        width: 100%;
    }
}

img.post-study-ed {
  width: 100%;
  height: 100% !important; 
}

img.post-study-malaysia {
  width: 100%;
  height: 100% !important; 
}

img.academic-eligible {
  width: 100%;
}


/* Mauritious  CSS */

@media (min-width: 1024px)
{
    /* Padding/Positioning */
    .why-academic-cards {
      border: 1px solid #00000033;
      border-radius: 10px;
      width: 95% !important;
    }

    img.post-study-malaysia {
      width: 95%;
      height: 100% !important; 
    }

}

.mauritius-contact-banner {
  background: url("../images/mauritius/mauritius-footer-banner.png") no-repeat top left;
  background-size: cover;
  border-radius: 20px;
}

.newzealand-contact-banner {
  background: url("../images/new-zealand/newzealand-footer-banner.png") no-repeat top left;
  background-size: cover;
  border-radius: 20px;
}

.malaysia-contact-banner {
  background: url("../images/malaysia/malaysia-footer-banner.png") no-repeat top left;
  background-size: cover;
  border-radius: 20px;
}

.why-academic-cards {
  border: 1px solid #00000033;
  border-radius: 10px;
  width: auto;
}

.dropdown-content {
  display: none;
}

.program-card.active .dropdown-content {
  display: block;
}



#programCards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 767px) {
  #programCards {
    grid-template-columns: 1fr;
  }
}

/* Remove Bootstrap fixed col height behavior */
#programCards .col-md-6 {
  display: contents;
}

.program-card {
  position: relative;
  border-radius: 10px;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden; /* Prevent layout shift */
}

.dropdown-content {
  background-color: #E5F0FB;
  border: 1px solid #E5F0FB;
  border-radius: 5px;
  border-left: 3px solid #2F77C7;
  width: 95%;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: all 0.4s ease;
}

.program-card.active .dropdown-content {
  background-color: #E5F0FB;
  border: 1px solid #E5F0FB;
  border-radius: 5px;
  border-left: 3px solid #2F77C7;
  width: 95%;
  max-height: 400px;
  opacity: 1;
  visibility: visible;
  margin-top: 15px;
}


/* Convert Bootstrap .row into a pure grid container */
#programCards {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

/* Disable Bootstrap flex for this row */
#programCards.row {
  --bs-gutter-x: 0; /* Remove horizontal gutter */
  --bs-gutter-y: 0;
  display: grid !important;
}

/* Smooth dropdown open without pushing 2nd column down */
.program-card {
  overflow: visible;
}

.title-wrap {
    height: 32px; /* h5 height (adjust if needed) */
    display: flex;
    align-items: center;
}

.toggle-icon {
    transform: translateY(4px); /* adjust up/down */
}

.australia-contact-banner {
  background: url("../images/australia/australia-footer-banner.png") no-repeat top left;
  background-size: cover;
  border-radius: 20px;
}

.why-studies-cards {
  border: 1px solid #00000033;
  border-radius: 10px;
  height: 95% !important;
}

img.eligibility {
  width: 100%;
  height: 60% !important;
}

.bold-para {
  font-size: 21px;
  font-weight: 500;
  color: #000000;
}

/* Fix mega menu position */
.nav-item.dropdown.position-static .dropdown-menu {
    right: 0;               /* optional: keeps width from stretching */
    top: 100% !important;
    margin-top: 2px !important;
}

/* Mega menu box */
.mega-menu {
    width: 750px;            /* your custom width */
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* Center the box under the menu item */
.nav-item.dropdown .mega-menu {
    left: 70%;
    transform: translateX(-50%);
}

/* Item styles */
.mega-menu .dropdown-item {
    padding: 8px 0;
    border-bottom: 1px dotted #ddd;
}

.mega-menu .dropdown-item:last-child {
    border-bottom: none;
}

/* Hover to open */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
}

/* Hover color */
.mega-menu .dropdown-item:hover {
  background-color: transparent;
  color: #2F77C7 !important;
}

/* Active (click) color — while holding click */
.mega-menu .dropdown-item:active {
    color: #2F77C7 !important;
}

/* Optional: focus color (keyboard navigation) */
.mega-menu .dropdown-item:focus {
    color: #2F77C7 !important;
}


