:root {
  --primary-color: #1c355e;
  --primary-light: #3b82f6;
  --secondary-color: #00ae42;
  --secondary-light: #34d399;
  --dark-color: #1e293b;
  --darker-color: #0f172a;
  --light-color: #f8fafc;
  --text-color: #334155;
  --text-light: #64748b;
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--dark-color) 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    #059669 100%
  );
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --primary-color: #3b82f6;
  --primary-light: #60a5fa;
  --secondary-color: #34d399;
  --secondary-light: #6ee7b7;
  --dark-color: #1e293b;
  --darker-color: #0f172a;
  --light-color: #1e293b;
  --text-color: #e2e8f0;
  --text-light: #94a3b8;
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    #1e40af 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    #065f46 100%
  );
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Jost", sans-serif;
  background-color: var(--light-color);
  color: var(--text-color);
  transition: var(--transition);
  line-height: 1.6;
  padding-top: 30px;
  /* For sticky header */
}
/* Header Styles */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  max-width: 1350px;
  margin: 0 auto;
}

/* Logo */
.logo img {
  height: 40px; /* Fixed height for consistency */
  width: auto; /* Maintain aspect ratio */
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

/* Register Button - Desktop */
.register-btn {
  background: var(--gradient-secondary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Mobile Menu Button - Hidden by default */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  z-index: 1001;
}

/* Register Button in Mobile Menu - Hidden on desktop */
.register-btn-mobile {
  display: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .header-container {
    padding: 0 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: all 0.5s ease;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    padding: 2rem;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .register-btn .btn-text {
    display: none;
  }

  .register-btn i {
    margin-right: 0;
  }

  .register-btn-mobile {
    display: flex;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .header-container {
    padding: 0.5rem 1rem;
  }

  .logo img {
    height: 35px;
  }

  .nav-links {
    width: 85%;
  }

  .register-btn {
    padding: 0.5rem 1rem;
    font-size: 0;
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Jost", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: var(--dark-color);
  padding: 8rem  0;
  position: relative;
  overflow: hidden;
  /* clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); */
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%231c355e" opacity="0.05"><circle cx="25" cy="25" r="5"/><circle cx="75" cy="25" r="5"/><circle cx="50" cy="50" r="5"/><circle cx="25" cy="75" r="5"/><circle cx="75" cy="75" r="5"/></svg>');
  background-size: 100px;
}

.hero-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: var(--secondary-color);
  span{
  font-size: 2.5rem;
  color: var(--primary-color );

  }
}

.hero-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}
.hero-img {
  /* position: absolute; */
  /* bottom: -6%; */
  /* right: 5%; */
  width: 100%;
  /* max-width: 850px; */
  z-index: 1;
  /* animation: floating 6s ease-in-out infinite; */
}
/* Header branding styles */
.logo-branding-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vertical-separator {
    height: 40px;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.3);
}

.hdfc-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.powered-by {
    font-size: 10px;
    color: rgba(36, 35, 35, 0.7);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.hdfc-logo {
    height: 45px;
    width: auto;
    /* filter: brightness(0) invert(1); */
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.hdfc-branding:hover .hdfc-logo {
    opacity: 1;
}

/* Mobile responsiveness */
@media (max-width: 992px) {
    .logo-branding-container {
        gap: 10px;
    }
    
    .vertical-separator {
        height: 25px;
    }
    
    .hdfc-logo {
        height: 16px;
    }
    
    .powered-by {
        font-size: 8px;
    }
}
.hero-subtitle {
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  max-width: 600px;
  color: var(--text-color);
}

.highlight-box {
  background-color: rgba(255, 255, 255, 0.8);
  border-left: 4px solid var(--secondary-color);
  padding: 1.5rem;
  margin: 1rem 0 0 0 ;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  color: var(--dark-color);
}

.highlight-box i {
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  margin-right: 1rem;
}
.highlight-box:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  background-color: white;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.feature-card {
  background-color: var(--light-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-secondary);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}



.form-section {
  background-color: var(--light-color);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

.form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%231c355e" opacity="0.03"><circle cx="25" cy="25" r="5"/><circle cx="75" cy="25" r="5"/><circle cx="50" cy="50" r="5"/><circle cx="25" cy="75" r="5"/><circle cx="75" cy="75" r="5"/></svg>');
  background-size: 100px;
  z-index: -1;
}

.form-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.form-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

/* Enhanced Form Styles */
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-label {
  position: absolute;
  left: 16px;
  top: 14px;
  padding: 0 5px;
  background-color: transparent;
  color: var(--text-light);
  font-weight: 500;
  transition: all 0.3s ease;
  pointer-events: none;
  transform-origin: left center;
}

.form-control {
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  font-size: 1rem;
  width: 100%;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  background-color: white;
}

/* Animated form labels */
.form-control:focus + .form-label, .select2-search,
.form-control:not(:placeholder-shown) + .form-label {
  transform: translateY(-28px) scale(0.9);
  background-color: var(--light-color);
  color: var(--primary-color);
  padding: 0 5px;
}

.form-control:hover {
  border-color: var(--primary-light);
}

.form-control:focus {
  outline: none;
}

.btn-primary {
  background: var(--gradient-secondary);
  border: none;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  color: white;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-primary:hover::before {
  left: 100%;
}

.countdown {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color);
  background-color: rgba(16, 185, 129, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  display: inline-block;
  margin-top: 1rem;
}

.countdown-item {
  display: inline-block;
  min-width: 60px;
  text-align: center;
}

.countdown-item span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-light);
}

.theme-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: none;
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(30deg);
  box-shadow: var(--shadow-xl);
}

.success-message {
  display: none;
  text-align: center;
  border-radius: 16px;
}

.success-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  animation: bounce 1.5s infinite alternate;
}

@keyframes bounce {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(-20px) scale(1.05);
  }
}

.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: var(--shadow-sm);
  }

  50% {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
  }

  100% {
    transform: scale(1);
    box-shadow: var(--shadow-sm);
  }
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  background-color: var(--light-color);
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(37, 99, 235, 0.05);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: rgba(241, 245, 249, 0.5);
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-toggle {
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}
.select2-selection__clear span{
  display: none;
}
/* Responsive adjustments */
@media (max-width: 992px) {
  body{
    margin-top: 60px;
  }
  .hero-title {
    font-size: 1rem;
  }
  .hero-title span {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.3rem;
  }

}

@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .form-section {
    padding: 2rem;
  }

  .header-container {
    padding: 1rem;
  }
  .hero-img {
   display: none;
  }
  .logo {
    width: 150px;
  }

  .register-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* Fireworks container */
#fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    z-index: 9999;
    pointer-events: none;
    display: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}
/* Additional styles for sticky form layout */
.sticky-form-container {
  position: relative;
  display: flex;
  flex-direction: column; /* Stack vertically on mobile */
}
.content-sections {
  width: 100%;
}

.form-section.sticky {
  position: sticky;
  top: 100px;
  height: fit-content;
  margin-left: 2rem;
  margin-bottom: 20px;
  margin-top: 20px;
}
@media (min-width: 992px) {
  .sticky-form-container {
    flex-direction: row; /* Side by side on desktop */
  }
  
  .content-sections {
    width: 60%;
    padding-right: 2rem;
    order: 1; /* Content first on desktop */
  }

  .form-section.sticky {
    width: 40%;
    order: 2; /* Form second on desktop */
  }
}


@media (max-width: 991px) {
  .form-section.sticky {
    position: static;
    margin-left: 0;
    margin-top: 2rem;
  }
}

/* Sticky Register Button for Mobile */
.sticky-register-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: var(--gradient-secondary);
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  text-decoration: none;
  align-items: center;
}

.sticky-register-btn i {
  margin-right: 8px;
}

.sticky-register-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: white;
}

@media (max-width: 991px) {
  .sticky-register-btn {
    display: flex;
    animation: pulse 2s infinite;
  }
}
/* Improved Select2 styles */
.select2-container {
    width: 100% !important;
    margin-bottom: 1rem;
}

.select2-container--default .select2-selection--single {
    height: 48px !important;
    padding: 10px 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
    transition: var(--transition) !important;
}

.select2-container--default .select2-selection--single:hover {
    border-color: var(--primary-light) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px !important;
    color: var(--text-color) !important;
    padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--text-light) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 10px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    margin: 5px !important;
    width: calc(100% - 20px) !important;
}

.select2-dropdown {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    box-shadow: var(--shadow-md) !important;
    z-index: 1060 !important;
    width: 70% !important;
}

.select2-results__option {
    padding: 8px 12px !important;
}

.select2-results__group {
    padding: 8px 6px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    background: rgba(0, 0, 0, 0.02) !important;
}

/* Fix for floating label */
.select2-container--default .select2-selection--single + .form-label {
    transform: translateY(-28px) scale(0.9);
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 0 5px;
    z-index: 1;
    left: 16px;
}

/* When select is focused */
.select2-container--open + .form-label {
    transform: translateY(-28px) scale(0.9);
    background-color: var(--light-color);
    color: var(--primary-color);
}
.person-images{
    width: 50%;
    gap: 20px;
}
@media (max-width: 991px) {
.person-images{
    width: 46.5%;
    gap: 20px;
    /* margin: auto; */
}
}