/*
  TemplateMo 589 lugx gaming - Adapted for Ar-Rahman Institute
  https://templatemo.com/tm-589-lugx-gaming
*/

/* ------------------------- Reset & Fonts ------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900");

html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ul, li, header, nav, section, footer {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #1e1e1e;
  font-weight: 700;
}

p {
  font-size: 14px;
  line-height: 28px;
  color: #4a4a4a;
}

img {
  width: 100%;
  overflow: hidden;
}

/* ------------------------- Global Styles ------------------------- */
body {
  overflow-x: hidden;
}

.section {
  margin-top: 120px;
}

.section-heading {
  margin-bottom: 70px;
}

.section-heading h2 {
  font-size: 36px;
  text-transform: capitalize;
  margin-top: 20px;
  line-height: 44px;
}

.section-heading h2 em {
  font-style: normal;
  color: #b71b12;
}

.section-heading h6 {
  color: #b71b12;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-button a {
  display: inline-block;
  background-color: #b71b12;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  height: 50px;
  line-height: 50px;
  padding: 0 30px;
  border-radius: 25px;
  transition: all 0.3s;
}

.main-button a:hover {
  background-color: #b71b12;
  color: #fff;
}

/* ------------------------- Preloader ------------------------- */
.js-preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  z-index: 9999;
  transition: opacity 0.25s ease;
}

.js-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  position: relative;
  width: 142px;
  height: 40px;
}

.preloader-inner .dot {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 12px;
  left: 15px;
  background: #b71b12;
  border-radius: 50%;
  animation: dot 2.8s infinite;
}

.preloader-inner .dots {
  transform: translateX(0);
  margin-top: 12px;
  margin-left: 31px;
  animation: dots 2.8s infinite;
}

.preloader-inner .dots span {
  display: block;
  float: left;
  width: 16px;
  height: 16px;
  margin-left: 16px;
  background: #b71b12;
  border-radius: 50%;
}

@keyframes dot {
  50% { transform: translateX(96px); }
}

@keyframes dots {
  50% { transform: translateX(-31px); }
}

/* ------------------------- Header ------------------------- */
.header-area {
  position: fixed;
  background-color: transparent;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.5s ease;
}

.background-header {
  background-color: #b71b12 !important;
  border-radius: 0 0 25px 25px;
  height: 80px !important;
  position: fixed !important;
  top: 0 !important;
}

.header-area .main-nav {
  display: flex;
}

.header-area .main-nav .logo {
  margin-top: 12px;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.85));
  transition: all 0.3s ease;
}

.header-area .main-nav ul.nav {
  border-radius: 0 0 25px 25px;
  flex-basis: 100%;
  margin-top: 20px;
  justify-content: right;
  transition: all 0.3s ease;
}

.header-area .main-nav .nav li {
  padding: 0 10px;
  height: 40px;
  line-height: 40px;
}

.header-area .main-nav .nav li a {
  display: block;
  padding: 0 20px;
  border-radius: 20px;
  font-size: 15px;
  color: #fff;
  font-weight: 400;
  transition: all 0.4s ease;
}

.header-area .main-nav .nav li:last-child a {
  background-color: #fff;
  color: #b71b12;
  font-weight: 500;
  text-transform: uppercase;
}

.header-area .main-nav .nav li:last-child:hover a {
  background-color: transparent;
  color: #fff;
  outline: 1px solid #fff;
}

.header-area .main-nav .nav li:hover a {
  outline: 1px solid #fff;
}

.header-area .main-nav .nav li a.active {
  border-bottom: 1px solid #fff;
  border-bottom-style: inset;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  position: absolute;
  top: 22px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 20px;
  display: none;
}

.background-header .main-nav .menu-trigger {
  top: 22px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  background-color: #fff;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  transition: all 0.4s;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  background-color: #fff;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
  content: "";
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #fff;
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: #fff;
}

.header-area .main-nav .menu-trigger.active span:after {
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #fff;
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: #fff;
}
/* ------------------------- Banner ------------------------- */
.main-banner {
  background: url(../images/banner-background2.png), url(../images/banner-background.png), linear-gradient(135deg, #b71b12 0%, #1a1a1a 100%);
  background-position: left top, calc(100% - 200px) 50%, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 100%, 650px, cover;
  border-radius: 0 0 150px 150px;
  padding: 150px 0;
}

.main-banner .caption h6 {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.85));
}

.main-banner .caption h2 {
  font-size: 48px;
  color: #fff;
  margin: 20px 0;
  filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, 0.85));
}

.main-banner .caption p {
  color: #fff;
  max-width: 600px;
  filter: drop-shadow(0.5px 0.5px 1px rgba(0, 0, 0, 0.85));
}

/* ------------------------- Footer ------------------------- */
.footer {
  margin-top: 150px;
  background-color: #b71b12;
  background-image: url(../images/footer-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
  min-height: 200px;
  border-radius: 150px 150px 0 0;
  position: relative;
  overflow: hidden;
  color: #fff;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-social {
  margin-top: 30px;
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-left: 165px;
  flex-wrap: wrap;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.85));
}

.social-link {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(-5px);
}

.whatsapp-link:hover {
  transform: none;
}

.social-icon {
  width: 45px;
  height: 45px;
  filter: brightness(0) invert(1);
}

.whatsapp-link:hover .social-icon {
  filter: none;
}

.whatsapp-number {
  background-color: #fff;
  color: #b71b12;
  margin-left: -45.5px;
  margin-top: -0.25px;
  padding: 10px 12px 10px 50px;
  font-size: 1.1em;
  border-radius: 50px;
  z-index: -1;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-link:hover .whatsapp-number {
  opacity: 1;
  transform: translateX(0);
}

.footer-text {
  margin-top: 30px;
}

footer p {
  text-align: center;
  font-size: 16px;
  color: #fff;
}

/* ------------------------- Responsive ------------------------- */
@media (max-width: 1024px) { /* Tablet */
  .header-area .main-nav .nav {
    margin-top: 20px;
  }
  
  .header-area .main-nav .nav li a {
    padding: 0 15px;
    font-size: 14px;
  }
  
  .main-banner {
    padding: 100px 0;
    border-radius: 0 0 100px 100px;
  }
  
  .main-banner .caption h6 {
    font-size: 18px;
  }
  
  .main-banner .caption h2 {
    font-size: 36px;
    margin: 15px 0;
  }
  
  .main-banner .caption p {
    max-width: 500px;
    font-size: 13px;
    line-height: 24px;
  }
  
  .features .item {
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
  }
  
  .features .item h4 {
    font-size: 15px;
    margin-top: 15px;
  }
  
  .offer-section,
  .why-section,
  .guide-section {
    padding: 80px 0;
  }
  
  .offer-title,
  .why-title,
  .guide-title {
    font-size: 2em;
  }
  
  .offer-wrapper {
    gap: 30px;
  }
  
  .offer-item {
    max-width: 400px;
    border-radius: 10px;
  }
  
  .offer-image {
    height: 250px;
  }
  
  .offer-content {
    padding: 15px;
  }
  
  .offer-content h3 {
    font-size: 1.5em;
  }
  
  .offer-content p {
    font-size: 0.95em;
  }
  
  .offer-bar {
    margin: 10px auto;
  }
  
  .offer-benefits li {
    font-size: 0.9em;
  }
  
  .why-container {
    max-width: 500px;
  }
  
  .why-feature-item {
    padding: 0 15px;
  }
  
  .why-feature-icon {
    width: 45px;
    height: 45px;
    margin-right: 20px;
  }
  
  .why-feature-content h3 {
    font-size: 1.3em;
  }
  
  .why-feature-content p {
    font-size: 0.95em;
  }
  
  .guide-wrapper {
    gap: 20px;
    margin-bottom: -30px;
  }
  
  .guide-item {
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .guide-number {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 1.1em;
  }
  
  .guide-item h3 {
    font-size: 1.3em;
  }
  
  .guide-item p {
    font-size: 0.95em;
  }
  
  .cta::after {
    margin: -5% 0 10% -10%;
  }
  
  .cta .subscribe {
    padding: 60px 40px;
    margin: 0 -90% 10% 70%;
  }
  
  .cta .subscribe form input {
    height: 45px;
    font-size: 13px;
    margin-top: -40px;
  }
  
  .cta .subscribe form button {
    height: 45px;
    line-height: 45px;
    font-size: 14px;
  }
  
  .footer {
    border-radius: 100px 100px 0 0;
    min-height: 180px;
    margin-top: 0px;
  }
  
  .footer-container {
    padding: 30px 15px;
  }
  
  .footer-social {
    gap: 30px;
    margin-left: 100px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
  }
  
  .whatsapp-number {
    display: none;
  }
  
  .whatsapp-link:hover {
    transform: translateY(-5px);
  }
  
  .whatsapp-link:hover .social-icon {
    filter: brightness(0) invert(1);
  }
}

@media (max-width: 768px) { /* Phone */
  .header-area .main-nav .menu-trigger {
    display: block !important;
  }
  
  .header-area .main-nav .nav {
    display: none;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    margin: 20px auto;
    border-radius: 0;
    transition: all 0.3s ease;
    z-index: 99;
  }
  
  .header-area .main-nav .nav li {
    width: 100%;
    padding: 0;
    height: auto;
    line-height: normal;
    background-color: transparent;
    border-top: none;
    margin: 0;
  }
  
  .header-area .main-nav .nav.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .header-area .main-nav .nav li a {
    background-color: #fff;
    color: #b71b12;
    margin-bottom: 2px;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .header-area .main-nav .nav li a.active {
    text-decoration: underline;
    text-decoration-color: #b71b12;
  }
  
  .header-area .main-nav .nav li a:hover {
    background-color: #b71b12;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
  }
  
  .header-area .main-nav .nav li:last-child a {
    background-color: #b71b12;
    color: #ffffff;
  }
  
  .header-area .main-nav .nav li:last-child:hover a {
    background-color: #fff;
    color: #b71b12;
  }
  
  .header-area .main-nav .logo {
    left: 20px;
  }
  
  .main-banner {
    padding: 80px 0;
    border-radius: 0 0 30px 30px;
    background-position: left top, center;
    background-size: 100%, 250px;
  }
  
  .main-banner .caption h6 {
    font-size: 16px;
  }
  
  .main-banner .caption h2 {
    font-size: 24px;
    margin: 10px 0;
  }
  
  .main-banner .caption p {
    max-width: 100%;
    font-size: 12px;
    line-height: 22px;
  }
  
  .features {
    margin: -40px auto;
    max-width: 70%;
  }
  
  .features .item {
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 8px;
  }
  
  .features .item h4 {
    font-size: 13px;
    margin-top: 10px;
  }
  
  .features .item img {
    max-width: 150px;
  }
  
  .offer-section,
  .why-section,
  .guide-section {
    padding: 60px 0;
  }
  
  .offer-title,
  .why-title,
  .guide-title {
    font-size: 1.8em;
  }
  
  .offer-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  
  .offer-item {
    max-width: 100%;
    border-radius: 10px;
  }
  
  .offer-image {
    height: 180px;
  }
  
  .offer-content {
    padding: 12px;
  }
  
  .offer-content h3 {
    font-size: 1.3em;
  }
  
  .offer-content p {
    font-size: 0.9em;
    line-height: 1.4;
  }
  
  .offer-bar {
    width: 40px;
    margin: 8px auto;
  }
  
  .offer-benefits li {
    font-size: 0.85em;
    padding-left: 15px;
  }
  
  .offer-benefits li::before {
    font-size: 1em;
  }
  
  .why-container {
    max-width: 100%;
    padding: 12px;
  }
  
  .why-feature-item {
    padding: 0 10px;
    margin: 8px 0;
  }
  
  .why-feature-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
  }
  
  .why-feature-content h3 {
    font-size: 1.2em;
  }
  
  .why-feature-content p {
    font-size: 0.9em;
  }
  
  .guide-wrapper {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 50%;
  }
  
  .guide-item {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: none;
    padding: 12px;
  }
  
  .guide-number {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 1em;
    margin-bottom: 8px;
  }
  
  .guide-item h3 {
    font-size: 1.1em;
  }
  
  .guide-item p {
    font-size: 0.9em;
    line-height: 1.3;
  }
  
  .cta::after {
    width: 70%;
    height: 100%;
    margin: -100% 20% 0 10%;
  }
  
  .cta .subscribe {
    padding: 40px 20px;
    margin: 0 0 0 0;
    border-radius: 50px 50px 0 0;
  }
  
  .cta .subscribe form input {
    height: 40px;
    font-size: 12px;
    padding: 0 15px;
  }
  
  .cta .subscribe form button {
    position: relative;
    width: 100%;
    margin-top: 8px;
    height: 40px;
    line-height: 40px;
    font-size: 13px;
    padding: 0 15px;
  }
  
  .footer {
    border-radius: 0;
    min-height: 160px;
    margin-top: 0px;
  }
  
  .footer-container {
    padding: 20px 10px;
  }
  
  .footer-social {
    gap: 20px;
    margin-left: 0;
    margin-top: 15px;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
  }
  
  .whatsapp-number {
    display: none;
  }
  
  footer p {
    font-size: 13px;
  }
}

/* Responsive Adjustments for Google Workspace Grid */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------- Register Styles ------------------------- */
  .register {
    background: url(../images/banner-background2.png), linear-gradient(135deg, #b71b12 0%, #1a1a1a 100%);
    background-position: left top, center;
    background-repeat: no-repeat, no-repeat;
    background-size: 100%, cover;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 150px 150px;
  }

  .register-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .register-title {
    font-size: 3.5em;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.85));
  }

  .register-subtitle {
    font-size: 1.5em;
    font-weight: 400;
    color: #fff;
    margin-top: 20px;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.85));
  }

  /* Step Indicator */
  .step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    position: relative;
  }

  .step {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 12px;
    color: #00000070;
    font-weight: bold;
    z-index: 2;
    border: 2px solid #00000010;
    transition: all 0.3s ease;
  }

  .step.active {
    background-color: #b71b12;
    border-color: #00000000;
    color: #fff;
  }

  .step.completed {
    background-color: #fbd2d263;
    border-color: #00000000;
    color: #b71b12;
  }
    
  .register-form-section {
    position: relative;
  }

  /* Form Styles */
  .register-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .register-form-wrapper {
    background: #fff;
    border-radius: 50px;
    padding: 45px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
  }
  .register-form-group {
    margin-bottom: 10px;
  }

  .register-form-group label {
    font-size: 1.2em;
    font-weight: 600;
    color: #b71b12;
    display: block;
  }
  .register-form-group h2 {
    color: #b71b12;
    margin-bottom: 10px;
  }
  .form-step h2 {
    color: #b71b12;
    margin-bottom: 10px;
  }

  .register-form-group input,
  .register-form-group select {
    width: 100%;
    padding: 12px 15px;
    font-size: 1em;
    color: #333;
    border: none;
    border-radius: 20px;
    background: #fff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    outline: none;
    transition: box-shadow 0.3s ease;
    background-color: #fbd2d263;
  }

  .register-form-group input:focus,
  .register-form-group select:focus {
    box-shadow: inset 0 2px 4px rgba(183, 27, 18, 0.2);
  }

  .register-form-group input::placeholder {
    color: #0000005c;
  }

  .register-form-group select {
    appearance: none;
    background: url('../images/arrow-down.png') no-repeat right 15px center;
    background-size: 15px;
    background-color: #fbd2d263;
  }

  .register-form-group input[id="birthdate"],
  .register-form-group input[id*="childBirthdate"] {
    background: url('../images/calendar.png') no-repeat right 15px center;
    background-size: 20px;
    background-color: #fbd2d263;
  }

  .phone-input-wrapper {
    display: flex;
    gap: 10px;
  }

  .phone-code {
    width: 80px;
    text-align: center;
    background: #fbd2d263;
  }

  .phone-num {
    flex: 1;
  }

  .inline-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
  }


  .inline-group .register-form-group input[id="numKids"] {
    margin-left: 50%;
    width: 30%;
    text-align: center;
  }

  .inline-group .register-form-group label[id="numKidsLabel"] {
    margin: 5px 0 0 0;
    font-size: 1.5em;
    width: 170%;
    text-align: center;
  }

  .register-form-group input[id="phoneCode"],
  .register-form-group input[id="parentPhoneCode"] {
    width: 20%;
  }

  .inline-group .register-form-group {
    flex: 1;
    margin-bottom: 0;
  }

  /* Custom Radio Buttons */
  .radio-group {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
  }

  .radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 1.2em;
    color: #b71b12;
    position: relative;
    padding-left: 35px;
  }

  .radio-group input[type="radio"] {
    display: none;
  }

  .radio-group label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 2px solid #b71b12;
    border-radius: 50%;
    background: #fff;
    transition: background-color 0.3s ease;
  }

  .radio-group label:has(input[type="radio"]:checked)::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #b71b12;
  }

  .back-btn {
    padding: 15px 30px;
    background-color: #6c757d;
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    margin-right: 15px;
  }
  .next-btn, .submit-btn {
    padding: 15px 30px;
    background-color: #b71b12;
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    margin-right: 15px;
  }
  .submit-btn.loading {
      position: relative;
      pointer-events: none;
  }
  .submit-btn.loading::after {
      content: "";
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      width: 20px;
      height: 20px;
      border: 2px solid rgba(255,255,255,0.3);
      border-radius: 50%;
      border-top-color: #fff;
      animation: spin 1s ease-in-out infinite;
  }
  @keyframes spin {
      to { transform: translateY(-50%) rotate(360deg); }
  }
  .next-btn:hover, .submit-btn:hover {
    background-color: #900f0b;
    transform: translateY(-3px);
  }

  .back-btn:hover {
    background-color: #5a6268;
    transform: translateY(-3px);
  }

  .next-btn:disabled,
  .submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
  }

  /* Visibility Control */
  .form-step {
    display: none;
  }

  .form-step.active {
    display: block;
  }

  .register-form-wrapper {
    position: relative;
    min-height: 500px; /* Adjust based on your content */
  }

  .hidden {
    display: none;
  }

  .error-message {
    display: flex;
    gap: 15px;
    color: #6c757d;
    font-size: 0.9em;
    margin: 5px 0 0 5px;
  }

  /* Responsive Adjustments */
  @media (max-width: 992px) {
    .register {
      padding: 100px 0;
      border-radius: 0 0 100px 100px;
    }

    .register-title {
      font-size: 2.8em;
    }

    .register-subtitle {
      font-size: 1.3em;
    }

    .register-form-wrapper {
      padding: 30px;
    }
  }

  @media (max-width: 768px) {
    .register {
      padding: 80px 0 40px;
      border-radius: 0 0 30px 30px;
    }

    .register-title {
      font-size: 2.2em;
    }

    .register-subtitle {
      font-size: 1.1em;
    }

    .register-form-wrapper {
      padding: 25px;
      border-radius: 35px;
    }

    .inline-group {
      flex-direction: column;
      gap: 15px;
    }

    .step {
      width: 30px;
      height: 30px;
      font-size: 0.9em;
      margin: 0 10px;
    }

    .next-btn, .back-btn, .submit-btn {
      padding: 12px 25px;
      font-size: 1em;
    }
    
    .inline-group .register-form-group input[id="numKids"] {
      width: 80px;

      text-align: center;
    }

    .inline-group .register-form-group input[id="numKids"] {
      width: 80px;
      margin-left: 75%;
      margin-top: -100%;
      text-align: center;
    }
      
    .inline-group .register-form-group label[id="numKidsLabel"] {
      margin-bottom: -100%;
      font-size: 1.25em;
      width: 100%;
      text-align: left;
    }  
  }
  
  .success-message {
    background: #fff;
    border-radius: 40px;
    padding: 40px;
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease-out;
  }

  .success-message h2 {
    color: #b71b12;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 15px;
  }

  .success-message p {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 25px;
  }

  .success-message .home-link {
    display: inline-block;
    padding: 12px 25px;
    background-color: #b71b12;
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .success-message .home-link:hover {
    background-color: #900f0b;
    transform: translateY(-3px);
  }

  /* Optional fade-in animation (re-using your form animation style) */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
