
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --secondary: #7c3aed;
  --accent: #f59e0b;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --success: #10b981;
  --error: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

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

html, body {
  height: 100%;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #f0f9ff 0%, #fef7ff 100%);
  color: var(--dark);
  line-height: 1.6;
}

/* ===== PAGE LAYOUT ===== */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow-x: hidden;
}

.background-shapes {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: -150px;
  right: -100px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--secondary);
  bottom: -80px;
  left: -80px;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--accent);
  top: 50%;
  right: 10%;
}

/* ===== MAIN CARD ===== */
.form-card {
    margin-top: 7%;
  width: 100%;
  max-width: 800px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 10;
}

.form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  z-index: 11;
}

/* ===== HEADER ===== */
.form-header {
  padding: 32px 40px 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.form-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.form-header::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.header-content {
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.brand-icon {
  font-size: 24px;
  background: rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.9;
}

.form-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.form-header p {
  font-size: 15px;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 16px;
}

.header-features {
  display: flex;
  flex-wrap: wrap;
  gap: 90px;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 20px;
}

.feature-item i {
  font-size: 12px;
}

/* ===== IFRAME CONTAINER ===== */
.iframe-container {
  padding: 0;
  position: relative;
  background: var(--light);
}

.iframe-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: opacity 0.3s ease;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.iframe-wrapper {
  width: 100%;
  height: 1500px;
  position: relative;
  transition: opacity 0.3s ease;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  transition: opacity 0.3s ease;
}

/* ===== FOOTER ===== */
.form-footer {
  padding: 20px 264px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
  gap: 15px;
}

.footer-text {
  font-size: 13px;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-text i {
  color: var(--success);
  font-size: 16px;
}

.security-badges {
  display: flex;
  gap: 15px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-700);
  padding: 6px 12px;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

.badge i {
  color: var(--primary);
}

/* ===== SUCCESS MODAL ===== */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.success-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.success-modal.active .modal-content {
  transform: translateY(0);
}

.modal-icon {
  font-size: 64px;
  color: var(--success);
  margin-bottom: 20px;
}

.modal-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.modal-content p {
  color: var(--gray-500);
  margin-bottom: 25px;
}

.modal-button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .page-wrapper {
    padding: 20px 15px;
  }
  
  .form-card {
    max-width: 100%;
    border-radius: var(--radius-lg);
  }
  
  .form-header {
    margin-top: 10%;
    padding: 25px 25px 20px;
  }
  
  .form-header h1 {
    font-size: 22px;
  }
  
  .brand-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .header-features {
    flex-direction: column;
    gap: 10px;
  }
  
  .iframe-wrapper {
    height: 1350px;
  }
  
  .form-footer {
    padding: 15px 25px;
    flex-direction: column;
    text-align: center;
  }
  
  .security-badges {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .form-header h1 {
    font-size: 20px;
  }
  
  .form-header p {
    font-size: 14px;
  }
  
  .iframe-wrapper {
    height: 1400px;
  }
  
  .modal-content {
    padding: 30px 20px;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}







.s-header {
  z-index: 500;
  width: 100%;
  height: 140px;
  background-color: White;
  position: absolute;
  top: 5px;
}

/* -------------------------------------------------------------------
 * ## header logo
 * ------------------------------------------------------------------- */
.header-logo {
  display: inline-block;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 150px;
  top: 78%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.header-logo a {
  display: block;
  padding: 0;
  outline: 0;
  border: none;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.header-logo img {
    margin-top: -40%;
    width: 210px;
    height: 115px;
}
@media screen and (max-width: 499px) {
.header{
  margin-bottom: 20px !important;
}
        
   .header-logo img {
     margin-top: 0%;
          width: 110px !important;
    height: 60px !important;
}
  .s-header {
  height: 80px !important;
}

.header-logo {
  position: relative !important;
  left: 20px !important;
  top: 55% !important;
}

.header-menu-toggle {
  right: 20px !important;
  top: 30px !important;
}
.header-nav {
  width: 415px !important;
}
.space-header{
margin-top: 20% !important;
}
}
/* ------------------------------------------------------------------- 
 * ## main navigation 
 * ------------------------------------------------------------------- */
.header-nav {
  z-index: 900;
  font-family: "metropolis-regular", sans-serif;
  font-size: 16px; /* Changed from 62.5% to 16px */
  line-height: 1.846;
  padding: 36px 30px 36px 36px; /* Converted from rem to px */
  height: 100%;
  width: 480px;
  background: #0c0c0c;
  color: rgba(255, 255, 255, 0.25);
  overflow-y: auto;
  overflow-x: hidden;
  position: fixed;
  right: 0;
  top: 0;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
  visibility: hidden;
}
.header-nav a,
.header-nav a:visited {
  color: rgba(255, 255, 255, 0.5);
}
.header-nav a:hover,
.header-nav a:focus,
.header-nav a:active {
  color: white;
}
.header-nav h3 {
  font-family: "metropolis-semibold", sans-serif;
  font-size: 11px !important;
  line-height: 1.363;
  text-transform: uppercase;
  letter-spacing: 2.5px; /* Converted from 0.25rem to 2.5px */
  margin-bottom: 48px; /* Converted from 4.8rem to 48px */
  margin-top: 9px; /* Converted from 0.9rem to 9px */
  color: white;
}
.header-nav p {
  margin-bottom: 27px; /* Converted from 2.7rem to 27px */
}

.header-nav__content {
  background: #0c0c0c;
  position: relative;
  left: 50px;
  opacity: 0;
  visibility: hidden;
}

.header-nav__list {
  font-family: "metropolis-regular", sans-serif;
  font-size: 16px; /* Changed from 1.6rem to 16px */
  margin: 36px 0 30px 0; /* Converted from rem to px */
  padding: 0 0 18px 0; /* Converted from rem to px */
  list-style: none;
  counter-reset: ctr;
}
.header-nav__list li {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  line-height: 48px; /* Changed from 4.8rem to 48px */
  position: relative;
}
.header-nav__list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.header-nav__list a {
  display: block;
  color: white;
  position: relative;
  padding-left: 35px; /* Changed from 3.5rem to 35px */
}
.header-nav__list a::before {
  content: counter(ctr, decimal-leading-zero) ".";
  counter-increment: ctr;
  font-family: "metropolis-regular", sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  position: absolute;
  left: 3px;
  top: 0;
}
.header-nav__list a:hover::before {
  color: white;
}

.header-nav__social {
  list-style: none;
  display: inline-block;
  font-size: 18px; /* Changed from 1.8rem to 18px */
  margin: 0;
}
.header-nav__social li {
  display: inline-block;
  margin-right: 12px;
  padding-left: 0;
}
.header-nav__social li a {
  color: rgba(255, 255, 255, 0.15);
}
.header-nav__social li a:hover,
.header-nav__social li a:focus {
  color: white;
}
.header-nav__social li:last-child {
  margin: 0;
}

.header-nav__close {
  z-index: 800;
  display: block;
  background-color: rgba(0, 0, 0, 0.3);
  height: 30px;
  width: 30px;
  border-radius: 3px;
  position: absolute;
  top: 36px;
  right: 30px;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}
.header-nav__close span::before,
.header-nav__close span::after {
  content: "";
  display: block;
  height: 2px;
  width: 12px;
  background-color: #ffffff;
  position: absolute;
  top: 50%;
  left: 9px;
  margin-top: -1px;
}
.header-nav__close span::before {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.header-nav__close span::after {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* ====== NESTED MENU / SUBMENU ====== */

/* Parent items that have a submenu */
.header-nav__list li.has-submenu > a {
    text-decoration: none;
  padding-right: 30px; /* Changed from 3rem to 30px */
  position: relative;
}

/* Chevron arrow */
.header-nav__list li.has-submenu > a .chevron {
  position: absolute;
  right: 6px; /* Changed from 0.6rem to 6px */
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) rotate(45deg); /* pointing right */
  transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Rotate chevron when submenu is "open" (hovered) */
.header-nav__list li.has-submenu:hover > a .chevron {
  transform: translateY(-50%) rotate(135deg); /* pointing down */
  border-color: #ffffff;
}

/* Submenu container */
.header-nav__list li .submenu {
  list-style: none;
  margin: 6px 0 0 0; /* Changed from 0.6rem to 6px */
  padding-left: 38px; /* Changed from 3.8rem to 38px */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

/* Show submenu on hover */
.header-nav__list li.has-submenu:hover > .submenu {
  max-height: 600px;
  opacity: 1;
}

/* Each submenu item */
.header-nav__list li .submenu li {
  border: 0;
  padding: 3px 0 3px 16px; /* Changed from rem to px */
  position: relative;
}

/* Submenu bullet (small dot) */
.header-nav__list li .submenu li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px; /* Changed from 2.5rem to 25px */
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

/* Submenu links */
.header-nav__list li .submenu a {
  font-size: 14px; /* Changed from 1.4rem to 14px */
  padding-left: 0;
  display: inline-block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
}

/* Remove numeric counter for submenu */
.header-nav__list li .submenu a::before {
  content: none;
}

/* Hover on submenu item */
.header-nav__list li .submenu a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.header-nav__list li .submenu li:hover::before {
  background: #ffffff;
}

/* (Optional) slightly darker bg strip on hover */
.header-nav__list li .submenu li:hover {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2px;
}

/* menu is open */
.menu-is-open .header-nav {
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  visibility: visible;
  -webkit-overflow-scrolling: touch;
}
.menu-is-open .header-nav .header-nav__content {
  opacity: 1;
  visibility: visible;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
  left: 0;
}

/* ------------------------------------------------------------------- 
 * ## mobile menu toggle 
 * ------------------------------------------------------------------- */
.header-menu-toggle {
  position: fixed;
  right: 110px;
  top: 70px;
  width: 48px;
  height: 45px;
  line-height: 45px;
  font-family: "metropolis-regular", sans-serif;
  font-size: 14px; /* Changed from 1.4rem to 14px */
  text-transform: uppercase;
  letter-spacing: 4px; /* Changed from 0.4rem to 4px */
  color: black;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.header-menu-toggle::before {
  display: inline-block;
  content: "Menu";
  height: 45px;
  left: auto;
  text-align: right;
  padding-left: 15px;
  padding-right: 10px;
  position: absolute;
  top: 0;
  right: 100%;
}
.header-menu-toggle.opaque {
  background-color: white;
}
.header-menu-toggle.opaque::before {
  display: none;
}
.header-menu-toggle:hover,
.header-menu-toggle:focus,
.header-menu-toggle:active {
  color: #cc147f;
}

.header-menu-icon {
  display: block;
  width: 26px;
  height: 2px;
  margin-top: -1px;
  right: auto;
  bottom: auto;
  background-color: black;
  position: absolute;
  left: 11px;
  top: 50%;
}
.header-menu-icon::before,
.header-menu-icon::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: inherit;
  position: absolute;
  left: 0;
}
.header-menu-icon::before {
  top: -9px;
}
.header-menu-icon::after {
  bottom: -9px;
}

.site-footer {
    margin-top: 6px;
    background: #f5f5f5;
    color: #000;
    font-family: 'Verdana', sans-serif;
    border-top: 5px solid #d8d8d8;
}

/* Layout */
.footer-wrapper {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0px 30px 30px 30px;
}

/* Column headings */
.footer-col h4 {
  font-family: "metropolis-semibold", sans-serif;
  color: #000000;
    margin-top: 30px; /* Changed from 3rem to 30px */
    font-size: 22px;
    margin-bottom: 15px;
    /* font-weight: 900; */
}

/* List reset */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin-left: 0;
}

/* Items */
.footer-col ul li {
    margin-bottom: 10px;
}

/* LINKS WITH ANIMATION */
.footer-col ul li a {
    position: relative;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    padding-bottom: 3px;
    transition: color 0.25s ease;
}

/* Animated underline */
.footer-col ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: black;
    transition: width 0.25s ease;
}

.footer-col ul li a:hover {
    color: black;
}

.footer-col ul li a:hover::after {
    width: 100%;
}

/* SOCIAL ICONS */
.footer-social {
    display: flex;
    gap: 15px;
    font-size: 22px;
    padding-left: 0;
}

.footer-social li {
    list-style: none;
}

.footer-social a {
    color: #333;
    transition: transform 0.25s ease, color 0.25s ease;
}

.footer-social a:hover {
    transform: translateY(-3px) scale(1.08);
    color: #e10079;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    font-size: 14px;
    padding-top: 20px;
    padding-bottom: 24px;
    border-top: 1px solid #ccc;
}
.footer-bottom p{
  color: black;
  font-size: 14px !important;
}
