* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Scroll Animation Classes */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-left.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-scale.animate-in {
  opacity: 1;
  transform: scale(1);
}

/* Scroll Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #C8102E, #E84855);
  z-index: 9999;
  transition: width 0.1s ease-out;
}

.user-icon {
  width: 50px;
  height: 50px;
  display: block;
  margin: 0 auto 25px auto;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 46px;
  width: auto;
}

.apply-btn {
  display: none;
  background: #c8102e;
  color: white;
  border: none;
  padding: 12px 35px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.apply-btn:hover {
  background: #a00d25;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  background: linear-gradient(0deg,
      rgba(0, 0, 0, 0.98) 6.7%,
      rgba(84, 84, 84, 0.482) 87.2%),
    url("https://rishihoodmarketingimg.s3.ap-south-1.amazonaws.com/commonLP/Hero.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  padding: 80px 60px 40px 60px;
  position: relative;
}

/* Mobile User Icon */
.mobile-user-icon {
  display: none;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
}

.hero-text {
  flex: 1;
  color: white;
  margin-left: 2rem;
}

.hero-tagline {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.highlight-red {
  color: #ffffff;
  font-weight: 700;
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 48px;
}

.hero-features-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.feature-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #ffffff;
  line-height: 1.3;
}

.feature-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-subheading {
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin-bottom: 24px;
}

.programs-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.programs-heading {
  font-size: 18.5px;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.98;
}

.programs-arrow {
  color: #c8102e;
  font-size: 22px;
  font-weight: 700;
}

.bullet-arrow {
  color: #c8102e;
  font-weight: 700;
  margin-right: 3px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 700px;
  position: relative;
  z-index: 10;
}

.program-item {
  border-left: 5px solid #c8102e;
  padding-left: .5rem;
  line-height: normal;
  position: relative;
  z-index: 10;
}

.program-item h2 {
  font-size: 17px;
  margin-bottom: 2px;
}

.program-item p {
  font-size: 13.5px;
  opacity: 0.9;
}

.waitlist-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 10px 18px;
  font-size: 13px;
  color: white;
  width: fit-content;
  margin-top: 24px;
}

/* Form Card */
.form-card {
  background: white;
  border-radius: 10px;
  padding: 20px 26px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.user-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.form-tagline {
  font-size: 15px;
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: 2px;
}

.form-title {
  font-size: 21px;
  font-weight: 800;
  color: #c8102e;
  text-align: center;
  margin-bottom: 8px;
}

.red-line-divider {
  width: 100%;
  height: 3px;
  background: #c8102e;
  border-radius: 2px;
  margin-bottom: 10px;
}

.form-subline {
  font-size: 12px;
  color: #666666;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 14px;
}

.trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #666666;
  margin-top: 10px;
}

.tab {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 10px;
  font-size: 17px;
  font-weight: 600;
  color: #c8102e;
  cursor: pointer;
  position: relative;
  text-align: center;
}

/* Success Message Styling */
.success-message {
  display: none;
  text-align: center;
  padding: 20px 10px 10px 10px;
}

.success-message.active {
  display: block;
}

.success-icon {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.success-title {
  font-size: 20px;
  font-weight: 700;
  color: #c8102e;
  margin-bottom: 10px;
  line-height: 1.3;
}

.success-text {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 22px;
}

.explore-btn {
  display: inline-block;
  background: #c8102e;
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.explore-btn:hover {
  background: #a00d25;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.3);
}

.tab.active {
  color: #c8102e;
}

.tab.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: #c8102e;
  z-index: 1;
}

/* Form Styles */
.registration-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group {
  position: relative;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-group.half {
  flex: 1;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 2px;
  background: #FAF8F4;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.input-wrapper:focus-within {
  background: #eeeeee;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.input-icon {
  position: absolute;
  left: 15px;
  pointer-events: none;
}

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding: 15px 15px 15px 50px;
  border: none;
  background: transparent;
  font-size: 15px;
  outline: none;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

.dropdown-icon {
  position: absolute;
  right: 15px;
  pointer-events: none;
  transition: transform 0.25s ease;
}

/* Custom Select Dropdown Styling */
.custom-select-wrapper {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.custom-select-trigger {
  width: 100%;
  padding: 15px 40px 15px 50px;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.custom-select-trigger .selected-value {
  color: #757575;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-wrapper.has-value .selected-value {
  color: #333333;
  font-weight: 500;
}

.custom-select-wrapper.open .dropdown-icon {
  transform: rotate(180deg);
}

.custom-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(200, 16, 46, 0.15);
  max-height: 200px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease-in-out;
  z-index: 9999;
  scrollbar-width: thin;
  scrollbar-color: #C8102E #FAF8F4;
}

.custom-options::-webkit-scrollbar {
  width: 6px;
}

.custom-options::-webkit-scrollbar-track {
  background: #FAF8F4;
  border-radius: 4px;
}

.custom-options::-webkit-scrollbar-thumb {
  background: #C8102E;
  border-radius: 4px;
}

.custom-select-wrapper.open .custom-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 12px 18px;
  font-size: 14.5px;
  color: #333333;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.custom-option.placeholder-option {
  color: #888;
  font-style: italic;
}

.custom-option:hover {
  background: #FAF8F4;
  color: #C8102E;
}

.custom-option.selected {
  background: #FEF5E7;
  color: #C8102E;
  font-weight: 600;
}

/* Autocomplete Dropdown Styling */
.autocomplete-wrapper {
  position: relative;
}

.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(200, 16, 46, 0.15);
  max-height: 220px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease-in-out;
  z-index: 10000;
  scrollbar-width: thin;
  scrollbar-color: #C8102E #FAF8F4;
}

.autocomplete-dropdown::-webkit-scrollbar {
  width: 6px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
  background: #FAF8F4;
  border-radius: 4px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
  background: #C8102E;
  border-radius: 4px;
}

.autocomplete-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.autocomplete-item {
  padding: 10px 14px;
  font-size: 13.5px;
  color: #333333;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background: #FEF5E7;
  color: #C8102E;
  font-weight: 600;
}

.autocomplete-item .item-state-badge {
  font-size: 10.5px;
  color: #888;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  white-space: nowrap;
}

.autocomplete-item:hover .item-state-badge,
.autocomplete-item.active .item-state-badge {
  background: rgba(200, 16, 46, 0.12);
  color: #C8102E;
}

.autocomplete-empty {
  padding: 12px 14px;
  font-size: 13px;
  color: #888;
  text-align: center;
  font-style: italic;
}

.autocomplete-header {
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  background: #FAF8F4;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.checkbox-group {
  margin-top: 10px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-custom {
  min-width: 18px;
  width: 18px;
  height: 18px;
  border: 1.5px solid #cccccc;
  border-radius: 4px;
  background: #FAF8F4;
  position: relative;
  margin-top: 1px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-label:hover .checkbox-custom {
  border-color: #c8102e;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
  background: #c8102e;
  border-color: #c8102e;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.checkbox-text {
  color: #666;
}

.submit-btn {
  background: #c8102e;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #a00d25;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.3);
}

/* Form Popup Overlay (Mobile) */
.form-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1001;
}

.form-card.popup-active {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1002;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  display: block !important;
}

.form-close-btn {
  display: none;
}

.popup-active .form-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f0f0;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #444;
  cursor: pointer;
  z-index: 1003;
  transition: all 0.2s ease;
}

.popup-active .form-close-btn:hover {
  background: #e0e0e0;
  color: #c8102e;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    gap: 40px;
  }

  .hero-title {
    font-size: 48px;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {

  /* Header in Mobile */
  .header {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .header .container {
    padding: 0 16px;
  }

  .logo-img {
    height: 36px;
  }

  .apply-btn {
    display: inline-block;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(200, 16, 46, 0.3);
  }

  /* Hero Section in Mobile - Content placed 10% up from bottom & Person aligned */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: calc(10vh + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.3) 25%,
        rgba(0, 0, 0, 0.72) 52%,
        rgba(0, 0, 0, 0.95) 75%,
        #000000 100%),
      url("https://rishihoodmarketingimg.s3.ap-south-1.amazonaws.com/commonLP/Hero.png");
    background-size: cover;
    /* background-position: 85% center; */
    background-repeat: no-repeat;
    background-attachment: scroll;
  }

  .hero-content {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .hero-text {
    margin-left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  /* Tagline */
  .hero-tagline {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 8px;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  }

  /* Hero Title */
  .hero-title {
    font-size: clamp(26px, 7vw, 34px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  }

  .highlight-red {
    color: #ffffff;
    font-weight: 800;
  }

  /* Hero Subheading */
  .hero-subheading {
    font-size: 13.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    max-width: 100%;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  }

  /* Programs Header */
  .programs-header-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin-bottom: 12px;
    width: fit-content;
  }

  .programs-heading {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }

  .programs-arrow {
    color: #c8102e;
    font-size: 18px;
    font-weight: 700;
  }

  /* Programs Grid */
  .programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
    max-width: 100%;
    margin-bottom: 0;
  }

  .program-item {
    border-left: 3.5px solid #c8102e;
    padding-left: 8px;
    padding-top: 1px;
    padding-bottom: 1px;
    line-height: 1.2;
  }

  .program-item h2 {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }

  .program-item p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }

  /* Waitlist Banner Badge */
  .waitlist-banner {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    padding: 10px 16px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    width: 100%;
    margin-top: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  /* Form Card & Popup on Mobile */
  .form-card {
    display: none;
    padding: 24px 20px;
    width: 100%;
    border-radius: 16px;
  }

  .form-card.popup-active {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    max-width: 420px;
    max-height: 88vh;
    max-height: 88dvh;
    overflow-y: auto;
    z-index: 1002;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: block !important;
    animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes modalPopIn {
    from {
      opacity: 0;
      transform: translate(-50%, -46%) scale(0.96);
    }

    to {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
  }

  .form-row {
    flex-direction: column;
    gap: 8px;
  }

  .input-wrapper input,
  .input-wrapper select,
  .custom-select-trigger {
    padding: 13px 14px 13px 44px;
    font-size: 14px;
  }

  .input-icon {
    left: 14px;
  }

  .submit-btn {
    padding: 14px;
    font-size: 16px;
    border-radius: 25px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 32px;
  }

  .apply-btn {
    padding: 7px 16px;
    font-size: 13px;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: calc(10vh + env(safe-area-inset-bottom, 0px));
  }

  .hero-title {
    font-size: clamp(23px, 6.5vw, 28px);
  }

  .hero-subheading {
    font-size: 12.5px;
  }

  .programs-heading {
    font-size: 13.5px;
  }

  .program-item h2 {
    font-size: 13.5px;
  }

  .program-item p {
    font-size: 11.5px;
  }

  .waitlist-banner {
    font-size: 11.5px;
    padding: 8px 14px;
  }
}