/********** Template CSS **********/
:root {
    --primary: #015FC9;
    --secondary: #0DD3F1;
    --light: #F6F7FC;
    --dark: #15233C;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand img {
    max-height: 60px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #696E77;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/********** Header (HALF-HEIGHT) **********/
#header-carousel .carousel-item {
  height: 50vh;          
  min-height: 320px;     
  position: relative;
}

#header-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;    
  position: absolute;
  inset: 0;
}

/* Caption: center vertically within new height */
#header-carousel .carousel-caption {
  top: 50%;
  bottom: auto;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  text-align: start;
  z-index: 1;
}

/* Carousel controls unchanged */
.carousel-control-prev,
.carousel-control-next { width: 15%; }
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border: 15px solid var(--primary);
  border-radius: 50px;
}

/* Optional: a bit taller on phones */
@media (max-width: 768px) {
  #header-carousel .carousel-item { height: 60vh; }
}

/* Page header styles (unchanged) */
.page-header { background: url(../img/carousel-1.jpg) center center no-repeat; background-size: cover; }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { font-weight: 500; }
.page-header .breadcrumb-item a, .page-header .breadcrumb-item+.breadcrumb-item::before { color: #696E77; }
.page-header .breadcrumb-item a:hover, .page-header .breadcrumb-item.active { color: var(--primary); }

/*** Facts ***/
@media (min-width: 992px) {
    .container.facts {
        max-width: 100% !important;
    }

    .container.facts .facts-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.facts .facts-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.facts .facts-counter  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.facts .facts-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.facts .facts-counter  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.facts .facts-text {
    background: linear-gradient(rgba(1, 95, 201, .9), rgba(1, 95, 201, .9)), url(../img/carousel-1.jpg) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-counter {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/carousel-2.jpg) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-text .h-100,
.container.facts .facts-counter .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}

.service-item a.btn {
    color: var(--primary);
}

.service-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(1, 95, 201, .9), rgba(1, 95, 201, .9)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    bottom: 0;
    opacity: 1;
}

.team-item a.btn {
    color: var(--primary);
}

.team-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px dashed var(--primary);
    border-radius: 10px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 10px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}


/* ====== HOW-DO-I-APPLY PAGE OVERRIDES ====== */
/* Page Title + Breadcrumbs */
.page-title {
  background: linear-gradient(0deg, rgba(21,35,60,0.35), rgba(21,35,60,0.35)),
              url('../img/carousel-1.jpg') center/cover no-repeat;
  padding: 60px 0 20px;
  color: #fff;
}
.page-title .heading h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 10px;
}
.page-title .heading p { color: #f1f5f9; }

.page-title .breadcrumbs {
  margin-top: 16px;
  background: transparent;
}
.page-title .breadcrumbs ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.page-title .breadcrumbs a { color: #e2e8f0; text-decoration: none; }
.page-title .breadcrumbs .current { color: var(--secondary); }
.page-title .breadcrumbs li+li::before {
  content: "›";
  color: #cbd5e1;
  margin: 0 6px 0 2px;
}

/* About Us section (two-column block under title) */
.section.about-us { padding: 60px 0; }
.section.about-us .content h3 { font-weight: 700; color: var(--dark); }
.section.about-us .content .fst-italic { color: #475569; }
.section.about-us .content ul { padding-left: 0; margin: 16px 0 0; }
.section.about-us .content ul li {
  list-style: none;
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 10px; color: #334155;
}
.section.about-us .content ul i { color: var(--primary); margin-top: 2px; }
.section.about-us img { border-radius: 10px; }

/* Why Study Abroad — mini cards row */
.why-study-abroad-container {
  max-width: 1100px;
  margin: 40px auto 10px;
  padding: 0 16px;
}
.why-study-abroad-container .why-title {
  text-align: center;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-study-abroad-section-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  text-align: center;
}
.why-study-abroad-section-card .why-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
}
.why-study-abroad-section-card h3 {
  font-size: 18px;
  margin: 6px 0 8px;
  color: #0f172a;
}
.why-study-abroad-section-card p { color: #475569; margin: 0; }

/* Main content card */
.why-study-abroad-section-main-card {
  max-width: 1100px;
  margin: 24px auto 32px;
  padding: 24px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.why-study-abroad-section-main-card h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 8px;
  color: #0f172a;
}
.why-study-abroad-section-main-card h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 20px;
  color: var(--primary);
}
.why-study-abroad-section-main-card p { color: #334155; margin: 0 0 8px; }

/* FAQ (style only; your current HTML uses buttons, add JS to toggle) */
.faq-section { max-width: 900px; margin: 24px auto 40px; padding: 0 16px; }
.faq-section h2 { text-align: center; margin-bottom: 16px; }
.faq-item { border: 1px solid #e2e8f0; border-radius: 10px; background:#fff; margin-bottom: 10px; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  background: transparent;
  border: 0;
  font-weight: 600;
  color: #1e293b;
}
.faq-answer { display: none; padding: 0 16px 12px; color:#475569; }

/* Responsive */
@media (max-width: 992px){
  .section.about-us { padding: 40px 0; }
  .why-grid { grid-template-columns: 1fr; }
}



/*** Footer ***/
.footer {
    color: #A7A8B4;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #A7A8B4;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #A7A8B4;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #A7A8B4;
    border: 1px solid#A7A8B4;
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}




/* --- Card 1: Image left / content right --- */
.dev-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1.5rem;
 /* background: #ffffff;*/
  border-radius: 12px;
 /* box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);*/
  overflow: hidden;
}

.dev-card__image {
  flex: 0 0 48%;
  max-width: 48%;
}

.dev-card__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.dev-card__content {
  flex: 1 1 52%;
  padding: 0.2rem 0.5rem;
}

.dev-card__content h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.dev-card__content p {
  margin: 0 0 1rem;
  line-height: 1.5;
}

.dev-card__content ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.btn-Quote {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  background: #0f172a;
  color: #fff;
  font-weight: 600;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .dev-card {
    flex-direction: column;
  }
  .dev-card__image,
  .dev-card__image img {
    width: 100%;
    max-width: 100%;
  }
}

/* --- Clients scroller --- */
.clients-section {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1rem;
}

.clients-section h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

/* scroller container */
.clients-scroller {
  display: flex;
  gap: 1rem;
  align-items: center;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.75rem;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  background: #f8fafc;
}

/* hide scrollbar while still allowing scroll (works in most browsers) */
.clients-scroller::-webkit-scrollbar { height: 8px; }
.clients-scroller::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 8px; }

.client-item {
  flex: 0 0 auto;
  width: 160px; /* recommended logo box */
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #fff;*/
  border-radius: 8px;
  padding: 10px;
  /* box-shadow: 0 2px 8px rgba(15,23,42,0.04);*/
}

.client-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* smaller logos on mobile */
@media (max-width: 480px) {
  .client-item { width: 120px; height: 70px; }
}
/* vis miss*/
/* VISION & MISSION */
.vm-cards {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: grid;
  gap: 1.5rem;
}

.vm-card {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

/* IMAGE */
.vm-card-img {
  flex: 0 0 42%;
  max-width: 42%;
}

.vm-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* TEXT */
.vm-card-content {
  flex: 1;
}

.vm-card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.vm-card-content p {
  color: #334155;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.vm-card-content ul {
  padding-left: 1.2rem;
  margin: 0;
  color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
  .vm-card {
    flex-direction: column;
  }

  .vm-card-img,
  .vm-card-img img {
    width: 100%;
    max-width: 100%;
    height: 220px;
  }
}
/* FAQ*/
/* FAQ Section */
.faq-section {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  position: relative;
}

.faq-item input {
  display: none;
}

/* Question */
.faq-question {
  display: block;
  font-size: 1.1rem;
  color: #1e293b;
  cursor: pointer;
  font-weight: 600;
  padding-right: 30px;
  position: relative;
}

/* Plus Icon */
.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  color: #475569;
}

/* When opened — change to minus */
.faq-item input:checked + .faq-question::after {
  content: "-";
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: #475569;
  transition: max-height 0.3s ease;
}

/* Expand when checkbox checked */
.faq-item input:checked ~ .faq-answer {
  max-height: 200px;
  margin-top: 0.5rem;
}

/* */
.why-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  padding: 60px 40px;
  align-items: center;
  background: #fdfdfd;
}

.why-left h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
  color: #222;
}

.why-right p {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

.why-right ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.why-right ul li {
  font-size: 17px;
  margin-bottom: 8px;
  color: #444;
}

.why-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.btn-primary {
  background: #6048ff;
  padding: 14px 28px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.btn-call {
  border: 1px solid #ddd;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  color: #222;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive */
@media (max-width: 992px) {
  .why-card {
    grid-template-columns: 1fr;
  }

  .why-left h1 {
    font-size: 40px;
  }
}
/**/

.build-manage-card {
 /* background: #ffffff;
  box-shadow: 0 6px 22px rgba(0,0,0,0.08);*/
  padding: 24px;
  border-radius: 14px;
  max-width: 1100px;
  margin: 25px auto;
  transition: 0.2s ease;
}
/* 
.build-manage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}*/

.build-manage-title {
  font-size: 1.6rem;
  color: #0f172a;
  margin-bottom: 8px;
  font-weight: 600;
}

.build-manage-text {
  color: #475569;
  font-size: 1rem;
  margin-bottom: 18px;
}

/* List */
.build-manage-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.build-manage-list li {
  position: relative;
  padding-left: 20px;
  color: #334155;
  margin-bottom: 8px;
}

.build-manage-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
  color: #0ea5e9;
}

/* Buttons */
.build-manage-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.build-manage-btn {
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.15s ease;
}

.build-manage-btn-primary {
  background: #2563eb;
  color: #fff;
}

.build-manage-btn-outline {
  border-color: #d0d7e2;
  color: #1e293b;
  background: transparent;
}

.build-manage-btn:hover {
  transform: translateY(-2px);
}

