/*** Spinner Start ***/
/* :root {
  --bs-primary: #800000; 
} */

/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-primary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-secondary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-secondary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-primary);
    color: var(--bs-light) !important;
}

.btn-hover {
    transition: 0.5s;
}

.btn-hover:hover {
    color: var(--bs-secondary) !important;
}

/*** Sub Title Start ***/
.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-right: -110px;
    border: 1px solid var(--bs-secondary) !important;
}

/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 576px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Yantramanav', sans-serif;
    position: relative;
    margin-right: 12px;
    padding: 15px 0;
    color: var(--bs-dark) !important;
    font-size: 18px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 12px 0;
    color: var(--dark) !important;
    font-size: 18px !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

.navbar-light .navbar-brand img {
    max-height: 80px !important;
    height: auto !important; /* optional */
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 80px !important;
    height: auto !important; /* optional */
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light) !important;
    }
    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

/*** Carousel Hero Header Start ***/
.header-carousel {
    position: relative; 
}

.header-carousel .owl-nav .owl-prev {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    border-radius: 60px;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    border-radius: 60px;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

@media (max-width: 576px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        top: 630px;
        transition: 0.5s;
    }

    .header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
        width: 95% !important;
    }
 
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
    position: relative;
    width: 100%;
    height: 700px;
    margin-top: 95px;
    display: block;
    object-fit: cover;
    transition: 0.5s;

}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        margin-top: 0;
        transition: 0.5s;
    }

}

@media (min-width: 992px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        margin-top: 50px;
    }
}

.header-carousel .header-carousel-item .carousel-caption {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
}

.header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
    position: relative;
    width: 75%;
    
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb { 
    position: relative;
    padding: 80px 0 30px 0; /* Reduced height */
    background: linear-gradient(rgba(242, 139, 0, 0.2), rgba(242, 139, 0, 0.3)), url(../img/background2.webp);
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover; /* Ensures full width image */
}

@media (max-width: 992px) {
    .bg-breadcrumb {
        padding-top: 50px;
        padding-bottom: 30px;
    }
}

/*** Single Page Hero Header End ***/


/*** Counter Facts Start ***/

.counter-facts {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.7)), url(../img/shermitex_global_academy_classes_4.webp);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

.counter-facts .counter {
    position: relative;
    text-align: center;
    width: 100%;
    min-height: 220px;
    padding: 0;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
    background: var(--bs-white);
    
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* fill height of col */
    overflow: hidden;
}

/* Header area (maroon-colored top) */
.counter-facts .counter-header {
    background-color: var(--bs-primary); /* Maroon or primary color */
    padding: 20px 15px;
    color: var(--bs-white);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* Paragraph/content area */
.counter-facts .counter p {
    padding: 20px 15px;
    font-size: 16px;
    color: #333;
    margin: 0;
    flex-grow: 1;
}

.counter-facts .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.counter-facts .row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 1200px) {
    .counter-facts .counter {
        margin-bottom: 40px;
    }
}

/*** Counter Facts End ***/


/*** Training Start ***/
.training-carousel .owl-stage-outer {
    margin-top: 30px;
}

.training-carousel .owl-nav .owl-prev,
.training-carousel .owl-nav .owl-next {
    position: absolute;
    top: 0;
    padding: 10px 35px;
    border: 1px solid var(--bs-secondary);
    color: var(--bs-white);
    background: var(--bs-secondary);
    border-radius: 50px;
    transition: 0.5s;
}

.training-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.training-carousel .owl-nav .owl-next {
    right: 0;
}

.training-carousel .owl-nav .owl-prev:hover,
.training-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.training .training-item .training-img {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.training .training-item .training-img img {
    transition: 0.5s;
}

.training .training-item:hover .training-img img {
    transform: scale(1.2);
}

.training-img {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.training-img img {
    height: 100%;
    width: 100%;
    object-fit: contain; 
    padding: 10px; 
    object-position: center;
    transition: 0.5s;
}

.training .training-item .training-img {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.training .training-item:hover .training-img img {
    transform: scale(1.05); /* Soft hover zoom */
}

/*** Training End ***/


/*** Contact Start ***/
.contact button.btn.btn-primary.w-100:hover {
    box-shadow: inset 700px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item .footer-link {
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item .footer-link:hover {
    letter-spacing: 1px;
    color: var(--bs-primary) !important;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/

/* over ride pink color to maroon */
.btn-primary {
    background-color: #800000 !important;
    border-color: #800000 !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #800000 !important; /* Optional: lighter maroon */
    border-color: #800000 !important;
    color: #fff !important;
}

.text-primary,
.text-primary i,
a.text-primary i {
    color: #800000 !important;
}

.shermitex-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: 'Montserrat', 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.shermitex-brand .shermitex-name {
  color: #800000;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.shermitex-brand .academy-name {
  color: #000000;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.aftercare-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url(../img/background.avif) center center / cover no-repeat;
    background-attachment: fixed; /* Optional: for parallax feel */
}

.aftercare-section1 {
  position: relative;
  background: none;
  background-attachment: unset; /* remove fixed if not needed */
  color: white; /* ensure text remains visible */
}

.aftercare-outline-box {
    border: 2px solid #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    max-width: 700px;
    background-color: transparent;
}

/* enrollment top banner */
.enrolment-banner {
  /* background-color: #800000; */
  color: white;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.enrolment-banner .spacer-left {
  flex: 0.3; /* smaller space pushes h2 slightly left */
}

.enrolment-banner h2 {
  margin: 0;
  font-size: 1.5rem;
  color: white;
  text-align: center;
  flex: 2;
}

.enrol-subtext {
  font-size: 1.1rem;
  color: white;
}

.enroll-button {
  background-color: white;
  color: #800000;
  padding: 6px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.95rem;
}

/* ✅ Responsive: stack on small screens */
@media (max-width: 600px) {
  .enrolment-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }

  .enrolment-banner .spacer-left {
    display: none;
  }

  .enrolment-banner h2 {
    flex: unset;
    margin-bottom: 10px;
  }

  .enroll-button {
    margin-top: 0;
  }
}

/* enrollment banner 2 */
.enrolment-banner2 {
  background-color: #800000;
  color: white;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.enrolment-banner2 .spacer-left {
  flex: 0.3; /* smaller space pushes h2 slightly left */
}

.enrolment-banner2 h2 {
  margin: 0;
  font-size: 1.5rem;
  color: white;
  text-align: center;
  flex: 2;
}

.enrol-subtext {
  font-size: 1.1rem;
  color: white;
}

.enroll-button {
  background-color: white;
  color: #800000;
  padding: 6px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.95rem;
}

/* ✅ Responsive: stack on small screens */
@media (max-width: 600px) {
  .enrolment-banner2 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }

  .enrolment-banner2 .spacer-left {
    display: none;
  }

  .enrolment-banner2 h2 {
    flex: unset;
    margin-bottom: 10px;
  }

  .enroll-button {
    margin-top: 0;
  }
}

/* our schools section */
.schools-section {
  background-color: #f8f9fa;
}

/* Custom card with fixed height */
.card-custom {
  height: 380px;
  position: relative;
  overflow: hidden;
  border: 1px solid #dee2e6; /* Restore Bootstrap default border */
  border-radius: 0.375rem;   /* Bootstrap default rounding */
  background-color: #fff;
}

/* Image fits the full card */
.card-custom img.card-img-top {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

/* ✅ Maroon banner only covers bottom-left quarter */
.card-title-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;       /* Only half the width */
  height: 60px;     /* Reduced height */
  background-color: #800000;
  display: flex;
  align-items: center;
  padding-left: 15px;
  z-index: 2;
  border-top-right-radius: 6px;
}

/* Title inside the maroon banner */
.card-title-banner h5 {
  margin: 0;
  font-size: 1.1rem;
  color: white;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  font-weight: 600;
}

/* Description outside the card */
.card-description {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.read-more-link {
  color: #800000; /* maroon */
  font-weight: bold;
  text-decoration: none;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  font-size: 1.2rem;
}

.read-more-link .arrow {
  color: #C89F1F;
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Hover effect */
.read-more-link:hover {
  text-decoration: underline;
}

.read-more-link:hover .arrow {
  transform: translateX(4px);
}

@media (min-width: 1200px) {
  .schools-section .container {
    max-width: 1350px; /* or 1440px if you want it even wider */
  }
}

/* Read More links in counter boxes */
.read-more-center {
  text-align: center;
  margin-top: 10px;
}

/* Keep existing .read-more-link styles unchanged */
.read-more-link {
  color: #800000;
  font-weight: bold;
  text-decoration: none;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  font-size: 1.2rem;
}

.read-more-link .arrow {
  color: #C89F1F;
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.read-more-link:hover {
  text-decoration: underline;
}

.read-more-link:hover .arrow {
  transform: translateX(4px);
}

.bg-maroon {
  background-color: #fdfcfc;
}

.founder-heading {
  font-size: 1.5rem;       /* Adjust size as needed */
  text-decoration: underline;
  font-weight: bold;
}

.founder-card-img {
  height: 600px; /* adjust this value as needed */
  object-fit: cover;
  width: 100%;
}

.text-maroon {
  color: #800000 !important;
}

.founder-text {
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  font-size: 1.00rem;
  line-height: 1.7;
  color: #0e0d0d; /* assuming text is on maroon background */
}

.bg-maroon-journey {
  background-color: #800000;
}

.bg-maroon-journey1 {
  background-color: #fdfcfc;
}

.founder-text-p {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.00rem;
  line-height: 1.7;
  color: #f1efef; /* assuming text is on maroon background */
}

.founder-heading-1 {
  font-size: 1.6rem;       /* Adjust size as needed */
  /* text-decoration: underline; */
  font-weight: bold;
}

.section-divider {
  border: none;
  border-top: 1px solid white;
  margin: 1.5rem 0;
}

.section-divider1 {
  border: none;
  border-top: 1px solid rgb(161, 2, 2);
  margin: 1.5rem 0;
}

.journey-section i {
  min-width: 20px;
}

.founder-text-p {
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: #fff;
}

.info-container {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.down-arrow {
  display: inline-block;
  color: #800000; /* Maroon */
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 8px;
}

.custom-topbar {
  background-color: #800000;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    width: 70px;
    height: 120px;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}
.whatsapp-button i {
    font-size: 24px !important;
}

.bg-#C89F1F-dark {
  background-color: #cc6600;
}

.text-contrast-white {
  color: #fff;
}

.enroll-section {
  position: relative;
  overflow: hidden;
}

/* ✅ New background image style */
.enroll-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(50%); /* Simulates the dark overlay */
  pointer-events: none;
  user-select: none;
}

/* Existing hover button style */
.enroll-btn:hover {
    background-color: maroon !important;
    color: white !important;
}

.custom-font {
    font-family: 'Georgia', 'Times New Roman', serif;
}

.divider-line {
    height: 30px;
}

.line {
    width: 30px; /* Shorter line */
    height: 4px;
    background-color: #C89F1F;
}

.circle {
    width: 16px;
    height: 16px;
    background-color: maroon;
    border-radius: 50%;
}

/* 🎯 Vision Banner */
.vision-banner {
  background-color: #800000;
  color: #fcfcfc;
  padding: 30px 25px; /* increase vertical padding for height */
  position: relative;
}

/* New wrapper for centering and width limiting */
.vision-inner {
  max-width: 1100px; /* limits width of content inside full-width banner */
  margin: 0 auto;
  flex-wrap: nowrap;
  justify-content: space-between;
  display: flex;
  align-items: center;
}

.vision-banner .spacer-left {
  flex: 0.3;
}

.vision-content h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #fdfcfc;
  text-align: left;
}

.vision-subtext {
  font-size: 1.05rem;
  color: #fcfcfc;
  text-align: left;
}

.icon-circle {
  background-color: #fdfdfd;
  border-radius: 50%;
  width: 70px;   
  height: 70px;  
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle i {
  color: #800000; 
  font-size: 1.5rem;
}

.contact-btn {
  border: 2px solid #fcfcfc;
  color: #fcfcfc;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

.contact-btn:hover {
  background-color: #fcfcfc;
  color: #800000;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .vision-content h2,
  .vision-content p {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .vision-text {
    width: auto;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .vision-banner {
    padding: 30px 15px;
  }

  .vision-inner {
    flex-direction: column;
    gap: 20px;
  }

  .vision-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-btn {
    width: 100%;
    max-width: 300px;
    margin-top: 0;
  }
}

/* 🎯 Vision Banner */
.mission-banner {
  background-color: #ffffff;
  color: #fcfcfc;
  padding: 30px 25px; /* increase vertical padding for height */
  position: relative;
}

/* New wrapper for centering and width limiting */
.mission-inner {
  max-width: 1100px; /* limits width of content inside full-width banner */
  margin: 0 auto;
  flex-wrap: nowrap;
  justify-content: space-between;
  display: flex;
  align-items: center;
}

.mission-banner .spacer-left {
  flex: 0.3;
}

.mission-content h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #fdfcfc;
  text-align: left;
}

.mission-subtext {
  font-size: 1.05rem;
  color: #131212;
  text-align: left;
}

.icon-circle {
  background-color: #fdfdfd;
  border-radius: 50%;
  width: 70px;   
  height: 70px;  
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle i {
  color: #800000; 
  font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .mission-content h2,
  .mission-content p {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .mission-text {
    width: auto;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .mission-banner {
    padding: 30px 15px;
  }

  .mission-inner {
    flex-direction: column;
    gap: 20px;
  }

  .mission-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (min-width: 992px) {
    .card-img-top {
        max-height: 400px;
        object-fit: cover;
        object-position: center;
    }
}

.image-wrapper {
  width: 100%;
  padding-top: 34.88%; /* (436 / 1250) * 100 to maintain aspect ratio */
  overflow: hidden;
}

.image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consult-link {
  color: #800000; /* maroon text */
  text-decoration: none; /* remove default underline */
  position: relative;
}

.consult-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  margin-top: 2px;
  right: 0;
  background: #800000; /* maroon underline */
  transition: width 0.3s ease;
  -webkit-transition: width 0.3s ease;
}

.consult-link:hover::after {
    width: 100%; /* underline appears */
    left: 0;
    right: auto;
}

/* CALENDAR */
#calendar {
  width: 100%;
  max-width: 400px;
  background: white;
  color: black;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  transition: max-width 0.3s ease;
}

/* Increase width on larger screens */
@media (min-width: 992px) {
  #calendar {
    max-width: 700px;
  }
}

.fixed-width-btn {
  width: 90%;          
  max-width: 300px;    
  min-width: 220px;    
  text-align: center;
}

.payment-details {
  color: #800000;
  text-align: left;
  font-weight: bold;
  font-size: 20px;
  margin-top: 20px;
}

/* Center text on small screens (below 768px) */
@media (max-width: 768px) {
  .payment-details {
    text-align: center;
  }
}

/* Enrollment form */ 

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Form Header */
.form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-logo {
  height: 150px;
  width: auto;
}

.form-line-container {
  flex: 1;
  margin-left: 50px;
  margin-right: -20px;
}

.form-line {
  height: 45px;
  background-color: maroon;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.form-line-text {
  color: white;
  font-weight: bold;
  font-size: 24px;
}

.form-line-subtext {
  text-align: center;
  color: #333;
  font-weight: 500;
  font-size: 23px;
  margin-top: 5px;
}

/* Requirements Section */
.requirements-section {
  margin-top: 30px;
  text-align: left;
  color: #222;
}

.requirements-line-container {
  margin-left: -20px;
  margin-right: -20px;
}

.requirements-header {
  background-color: maroon;
  color: white;
  padding: 0 20px;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0;
  text-align: left;
  height: 37px;
  display: flex;
  align-items: center;
}

.requirements-title {
  font-size: 20px;
}

.requirements-paragraph {
  margin: 15px 0 10px 0;
  font-size: 16px;
  color: #222;
  line-height: 1.6;
}

.requirements-bold {
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #222;
}

.requirements-list {
  padding-left: 25px;
  margin-bottom: 20px;
  color: #222;
}

.requirements-list li {
  margin-bottom: 10px;
  list-style-type: disc;
  font-size: 15px;
}

.requirements-list li::marker {
  color: maroon;
}

.button-container {
  text-align: left; /* default: left-aligned on large screens */
  margin-top: 20px;
}

/* Center the button on screens smaller than 768px */
@media (max-width: 768px) {
  .button-container {
    text-align: center;
  }
}

/* learner details */
/* Layout for 2-column rows */
/* --- Layout for 2-column responsive fields --- */
.two-column-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.field-group {
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(50% - 20px);
  min-width: 250px;
}

/* Responsive: stack inputs on smaller screens */
@media (max-width: 768px) {
  .two-column-row {
    flex-direction: column;
  }

  .field-group {
    flex: 1 1 100%;
  }
}

/* --- Label styling --- */
.field-group label,
.form-label {
  margin-bottom: 6px;
  color: #800000; /* Maroon color */
  font-weight: 600;
  font-size: 16px;
}

/* --- Unified input field styling --- */
input[type="text"],
input[type="number"],
input[type="date"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  height: 38px;  
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  color: #333;
  background-color: #fff;
  outline: none;
}

/* Input placeholder color */
input::placeholder {
  font-size: 14px;
  color: #999;
  opacity: 1;
}

/* Focus effect */
input:focus,
select:focus,
textarea:focus {
  border-color: maroon;
  box-shadow: 0 0 5px rgba(128, 0, 0, 0.3);
}
  .section-container {
    background-color: white;
    border-radius: 16px;
    padding: 20px;
    margin: 30px auto;
    max-width: 1000px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .section-header {
    background-color: maroon;
    color: white;
    padding: 5px 20px;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0;
    margin-bottom: 20px;
    margin-left: -20px;
    margin-right: -20px;
    text-align: left; 
    display: flex;
  }
  
  .learner-details-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  
  .inline-label {
    margin-left: 20px;
  }
  
  
  .short-field {
    width: 160px;
    border-radius: 8px;
    padding: 8px;
  }
  
  .long-field {
    width: 500px;
    border-radius: 8px;
    padding: 8px;
  }
  
  .radio-group {
    display: flex;
    gap: 100px;
    align-items: center;
  }
  
  .race-options {
    flex-wrap: wrap;
    gap: 40px;
    display: flex;
    align-items: center;
    margin-left: 10px;
  }
  
  .gender-label {
    margin-left: 30px;
    font-weight: 500;
    color: #333;
  }

  .photo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 30px;
  }

  .photo-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
  }
  
  .photo-icon {
    font-size: 100px;
    color: #ccc;
  }
  
  .photo-preview {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ccc;
  }
  
  .remove-photo-btn {
    background-color: transparent;
    color: maroon;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
  }
  
  .capitalize-input {
    text-transform: capitalize;
  }

  .form-btn {
    background-color: #800000;
    color: white;
    padding: 10px 20px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
  }

  .form-btn:hover {
    background-color: #f0b104;
  }

  .form-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
  }

  input.invalid, select.invalid {
    border: 2px solid rgb(130, 13, 160);
  }

  /* Custom five-column layout for large screens */
    @media (min-width: 1200px) {
        .col-xl-5th {
            flex: 0 0 20%;
            max-width: 20%;
        }
    }

    
  /* Protect gallery images */
  .protected-gallery-image,
  .gallery-protected-thumbnail {
      -webkit-user-select: none;
      -moz-user-select: none;
      user-select: none;

      -webkit-user-drag: none;
      -webkit-touch-callout: none;
  }

  /* Modal image */
  #modalImage {
      max-width: 100%;
      max-height: 85vh;
      width: auto;
      height: auto;
      object-fit: contain;
      display: block;
      margin: 0 auto;
  }

  .fees-document-download:hover {
    background: #5f0000 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(128, 0, 0, .25) !important;
}

.fees-document-download:focus-visible {
    outline: 3px solid rgba(128, 0, 0, .3);
    outline-offset: 4px;
}


  