

body {
  margin: 0;
  height: 100vh;
  background-color: rgb(255, 238, 238);
  background-image: url('img/bg-01.webp');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  background-attachment: fixed;
}

h1 {
  font-family: ma shan zheng, sans-serif;
  font-weight: bold;
}

h2 {
  font-family: "Mogra", system-ui;
}



.text-center {
  text-align: center;
}

.text-bold {
  font-weight: bold;
}

/* ---------------------------------------- */
/*              Navbar Styles               */
/* ---------------------------------------- */

.navbar {
    background-color: rgb(34, 61, 52);

}
.container-fluid {
    max-width: 1600px;
    margin: 0 auto;
}


.logo {
    margin-left: 20px;
    margin-right: 20px;
}

.logo-subline {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgb(0, 52, 110);
}

.navbar-nav {
    padding-right: 30px;
    gap : 20px;
    padding: 10px;
    font-weight: 800;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: rgb(0, 52, 110);
    line-height: 0.8;
}

.navbar-brand:hover {
    color: rgb(0, 0, 0);
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
}


/* ---------------------------------------- */
/*           NAV ENROLL BUTTON                  */
/* ---------------------------------------- */

.enroll-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 15px;
    padding-right: 15px;
    border: 0;
    position: relative;
    overflow: hidden;
    border-radius: 10rem;
    transition: all 0.02s;
    font-weight: bold;
    cursor: pointer;
    color: rgb(6, 19, 63);
    z-index: 0;
    box-shadow: 0 0px 7px -5px rgba(0, 0, 0, 0.5);
}

.enroll-btn:hover {
  background: rgb(252, 238, 238);
  color: rgb(1, 22, 39);
}

.enroll-btn:active {
  transform: scale(0.97);
}

.hoverEffect {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hoverEffect div {
  background: rgb(255, 255, 255);
  background: linear-gradient(
    90deg,
    rgb(226, 18, 139) 0%,
    rgb(243, 230, 230) 49%,
    rgb(191, 243, 253) 100%
  );
  border-radius: 40rem;
  width: 10rem;
  height: 10rem;
  transition: 0.4s;
  filter: blur(30px);
  animation: effect infinite 3s linear;
  opacity: 0.5;
}

.enroll-btn:hover .hoverEffect div {
  width: 8rem;
  height: 8rem;
}

@keyframes effect {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ---------------------------------------- */
/*        MAIN - CONTAINER                  */
/* ---------------------------------------- */

.container-xl {
  display: block;
  justify-content: center;
  align-items: center;
  /* background-color: aqua; */
  padding: 110px;
}


.main-card {
  margin: 20px;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: rgba(247, 212, 212, 0.8);
}



.reg-btn {
  background-color: #DB669A;
  color: rgb(255, 255, 255);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0;                /* remove centering margin */
  display: inline-block;    /* keep button inline */
  align-self: flex-start;   /* stick button to the left of the text column */
  text-align: center;
  padding: 10px 30px;
  border-radius: 50px;
  border: grey 0px solid;
  box-shadow: 0 0px 7px -5px rgba(0, 0, 0, 0.5);
}

.reg-btn:hover {
  background-color: rgb(6, 19, 63);
  color: rgb(242, 252, 255);
  cursor: pointer;
}


.title-section {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  color: rgb(34, 34, 34);
}

.about-us-section {
  display: flex;
  justify-content:center;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 30px;
  font-size: 1.2rem;
  color: rgb(50, 50, 50);
  line-height: 1.6;
  /* background-color: blue; */
}

.about-text-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  /* background-color: brown; */
}

.about-img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



.about-text {
  font-size: 1.5rem;
}

.core-services-section {
  padding-bottom: 60px;
}

.card-container {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;       
  justify-content: center;
  gap: 20px;        
  flex-wrap: wrap;
}

.card-text {
  color: rgb(50, 50, 50);
}

.address-card1 {
  background-color: rgb(253, 243, 255);
}

.address-card2 {
  background-color: rgb(235, 244, 255);
}

.address-card3 {
  background-color: rgb(241, 255, 236);
}

.card-body {
  padding: 20px;
}



.wa-btn {
  background-color: #25D366;
  color: white;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  border-radius: 15px;
  border: rgb(255, 255, 255) 1px solid;
  cursor: pointer;
  box-shadow: 0 0px 7px -5px rgba(0, 0, 0, 0.5);
}

/* ---------------------------------------- */
/*             HERO BOX                     */
/* ---------------------------------------- */

.hero-box {
  display: flex;
  align-items: center;    /* vertically center text beside the image */
  gap: 2rem;
  max-width: 1200px;
  text-align: left;       /* keep text left-aligned when side-by-side */
  margin-bottom: 40px;
}

.hero-box img {
  max-width: 400px;
  height: auto;
  flex: 0 0 auto;         /* prevent image from shrinking */
}

.hero-content {
  padding-left: 20px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center; 
}


/* ---------------------------------------- */
/*             REG FORM                     */
/* ---------------------------------------- */

.form-container {
  max-width: 500px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-top: 60px;
  margin-bottom: 60px;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}



button:hover {
  background-color: #0056b3;
}

.submit-button {
  border: 1px solid grey;
  border-radius: 5px;
  padding: 5px 10px;
}

/* ---------------------------------------- */
/*                   WHY                    */
/* ---------------------------------------- */

.why-section {
  max-width: 1000px;
  margin-top: 20px;
  margin: 0 auto;
  padding: 20px;
}

.why-text {
  font-size: 1.3rem;
}

.font-8 {
  font-size: 1rem;
  line-height: 1.6;
}


/* ---------------------------------------- */
/*                   FAQ                    */
/* ---------------------------------------- */

.faq-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.question-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgb(49, 49, 49);
  margin-bottom: 10px;
  line-height: 1.6;
}




/* ---------------------------------------- */
/*                  MEDIA                  */
/* ---------------------------------------- */

@media (min-width: 992px) and (max-width: 1199.98px) {

  .about-us-section {
    flex-direction: column;
    padding: 20px;
  }

  .about-img {
    max-width: 50%;
  }

  .hero-box {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    display: flex;
    align-items: center;
  }

  .reg-btn {
    align-self: center;
  }

  h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 2.5 rem;
  }
}






@media (min-width: 768px) and (max-width: 991.98px) {

  .about-us-section {
    flex-direction: column;
    padding: 20px;
  }

  .hero-box {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    display: flex;
    align-items: center;
  }

  .reg-btn {
    align-self: center;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.5 rem;
  }

}


@media (max-width: 767.8px) {

  .about-us-section {
    flex-direction: column;
    padding: 20px;
  }

  .about-img {
    max-width: 50%;
  }

   .hero-box {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    display: flex;
    align-items: center;
  }

  .reg-btn {
    align-self: center;
  }

  .hero-box img {
    max-width: 250px;
  }

  .container-xl {
    padding: 20px;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

}

