:root {
      --primary: #0B6E4F;
      --primary-dark: #085A40;
      --primary-light: #E8F5F0;
      --accent: #1A8A5C;
      --text-dark: #1A1A1A;
      --text-muted: #4A5568;
      --text-light: #718096;
      --bg-light: #F8FAFC;
      --white: #FFFFFF;
      --border: #E2E8F0;
      --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
      --radius: 12px;
      --radius-lg: 16px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      color: var(--text-dark);
      line-height: 1.6;
      background: var(--bg-light);
      overflow-x: hidden;
    }

    body.menu-open {
      overflow: hidden;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    } 

    .error{
      background: #FFD5D5;
      border:red;
      border-radius: 10px;
      padding: 10px 30px;
      text-align: center;
      margin-bottom: 2vh;
    }

    .spinning-circle { 
      width: 22px;
      height: 22px; 
      border-radius: 50%; 
      border: 3px solid #f3f3f3; 
      border-top: 4px solid #0B6E4F; 
      animation: spin 1s linear infinite;
}


/* The animation logic */
@keyframes spin {
  0% { 
    transform: rotate(0deg); 
  }
  100% { 
    transform: rotate(360deg); 
  }
}


.forgot-pass{
  float: right;
  color: var(--primary); 
  margin-bottom: 2vh;
  font-size: 14px;
}



    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ========== HEADER ========== */
    .header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: var(--white);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
      gap: 24px;
    }

    .logo img{
      height: 45px;
    }

     

    .nav-desktop {
      display: flex;
      align-items: center;
      gap: 28px;
    }

    .nav-desktop a {
      font-size: 14px;
      font-weight: 500;
      color: var(--text-muted);
      transition: color 0.2s;
      position: relative;
    }

    .nav-desktop a:hover,
    .nav-desktop a.active {
      color: var(--primary);
    }

    .nav-desktop a.active::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
      border-radius: 1px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 22px;
      font-size: 14px;
      font-weight: 600;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(11, 110, 79, 0.3);
    }

    .header-cta {
      display: inline-flex;
    }

    /* Hamburger */
    .mobile-toggle {
      display: none;
      width: 44px;
      height: 44px;
      background: none;
      border: none;
      cursor: pointer;
      position: relative;
      z-index: 1100;
      padding: 0;
    }

    .mobile-toggle span {
      display: block;
      position: absolute;
      left: 10px;
      width: 24px;
      height: 2.5px;
      background: var(--text-dark);
      border-radius: 2px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-toggle span:nth-child(1) { top: 14px; }
    .mobile-toggle span:nth-child(2) { top: 21px; }
    .mobile-toggle span:nth-child(3) { top: 28px; }

    .mobile-toggle.open span:nth-child(1) {
      top: 21px;
      transform: rotate(45deg);
    }
    .mobile-toggle.open span:nth-child(2) {
      opacity: 0;
      transform: translateX(-8px);
    }
    .mobile-toggle.open span:nth-child(3) {
      top: 21px;
      transform: rotate(-45deg);
    }

     

    .drawer-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 24px;
      border-bottom: 1px solid var(--border);
    }

    .drawer-nav {
      flex: 1;
      padding: 24px 0;
      overflow-y: auto;
    }

    .drawer-nav a {
      display: block;
      padding: 14px 28px;
      font-size: 16px;
      font-weight: 500;
      color: var(--text-dark);
      transition: all 0.2s;
      border-left: 3px solid transparent;
    }

    .drawer-nav a:hover,
    .drawer-nav a.active {
      background: var(--primary-light);
      color: var(--primary);
      border-left-color: var(--primary);
    }

    .drawer-footer {
      padding: 24px;
      border-top: 1px solid var(--border);
    }

    .drawer-footer .btn {
      width: 100%;
      padding: 14px 22px;
      font-size: 15px;
    }

    /* ========== SIGNUP LAYOUT ========== */
     

    /* RIGHT PANEL - FORM */
    .signup-right {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 48px 32px;
      background: var(--bg-light);
    }
    .join-label {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      opacity: 0.85;
      color: var(--primary);
      margin-bottom: 16px;
    }

    .form-card {
      background: var(--white);
      border-radius: 20px;
      padding: 40px 36px;
      width: 100%;
      max-width: 680px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
      border: 1px solid var(--border);
    }

    .form-card h1 { 
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 6px;
      letter-spacing: -0.3px;
    }
    .card-span{
      color: #4ADE80;
    }
    .form-card .subtitle {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 28px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-dark);
      margin-bottom: 8px;
    }

    /* Account Type Selector */
    .account-types {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
    }

    .account-type {
      border: 1.5px solid var(--border);
      border-radius: 12px;
      padding: 14px 8px;
      text-align: center;
      cursor: pointer;
      transition: all 0.2s ease;
      background: var(--white);
      position: relative;
    }

    .account-type:hover {
      border-color: var(--primary);
      background: var(--primary-light);
    }

    .account-type.selected {
      border-color: var(--primary);
      background: var(--primary-light);
      box-shadow: 0 0 0 1px var(--primary);
    }

    .account-type.selected::after {
      content: '✓';
      position: absolute;
      top: 6px;
      right: 6px;
      width: 18px;
      height: 18px;
      background: var(--primary);
      color: white;
      border-radius: 50%;
      font-size: 11px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
    }

    .account-type-icon {
      font-size: 22px;
      margin-bottom: 6px;
      color: var(--primary);
    }

    .account-type span {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-dark);
      display: block;
      line-height: 1.3;
    }

    /* Inputs */
    .input-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .input-wrapper {
      position: relative;
    }

    .form-input {
      width: 100%;
      padding: 13px 16px;
      font-size: 14px;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      background: var(--white);
      color: var(--text-dark);
      transition: all 0.2s;
      font-family: inherit;
    }

    .form-input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.12);
    }

    .form-input::placeholder {
      color: #A0AEC0;
    }

    .input-icon {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-light);
      font-size: 16px;
      pointer-events: none;
    }

    .form-input.has-icon {
      padding-left: 42px;
    }

    .password-toggle {
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      color: var(--text-light);
      font-size: 16px;
      padding: 4px;
    }

    .password-toggle:hover {
      color: var(--primary);
    }

    /* Checkboxes */
    .checkbox-group {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 24px;
    }

    .checkbox-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      cursor: pointer;
    }

    .checkbox-item input[type="checkbox"] {
      width: 18px;
      height: 18px;
      margin-top: 2px;
      accent-color: var(--primary);
      cursor: pointer;
      flex-shrink: 0;
    }

    .checkbox-item label {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.45;
      cursor: pointer;
    }

    .checkbox-item label a {
      color: var(--primary);
      font-weight: 600;
    }

    .checkbox-item label a:hover {
      text-decoration: underline;
    }

    /* Submit Button */
    .btn-submit {
      width: 100%;
      padding: 15px 22px;
      font-size: 15px;
      font-weight: 600;
      background: var(--primary);
      color: white;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .btn-submit:hover {
      background: var(--primary-dark);
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(11, 110, 79, 0.3);
    }

    /* Divider */
    .divider {
      display: flex;
      align-items: center;
      gap: 16px;
      margin: 24px 0;
      color: var(--text-light);
      font-size: 13px;
    }

    .divider::before,
    .divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border);
    }

    /* Google Button */
    .btn-google {
      width: 100%;
      padding: 13px 22px;
      font-size: 14px;
      font-weight: 600;
      background: var(--white);
      color: var(--text-dark);
      border: 1.5px solid var(--border);
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .btn-google:hover {
      background: var(--bg-light);
      border-color: #CBD5E0;
    }

    .btn-google img {
      width: 18px;
      height: 18px;
    }

    .login-link {
      text-align: center;
      margin-top: 24px;
      font-size: 14px;
      color: var(--text-muted);
    }

    .login-link a {
      color: var(--primary);
      font-weight: 600; 
    }
 

    /* ========== FOOTER ========== */
    .footer {
      background: #0A1F18;
      color: #A0AEC0;
      padding: 40px 0 20px;
    }

    .footer-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 40px;
      margin-bottom: 32px;
      flex-wrap: wrap;
    }

    .footer-brand .logo-text strong {
      color: white;
    }

    .footer-brand .logo-text span {
      color: #A0AEC0;
    }

    .footer-tagline {
      font-size: 13px;
      margin-top: 12px;
      max-width: 220px;
      line-height: 1.5;
    }

    .footer-nav {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
    }

    .footer-nav a {
      font-size: 14px;
      color: #A0AEC0;
      transition: color 0.2s;
    }

    .footer-nav a:hover {
      color: white;
    }

    .footer-social {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .footer-social span {
      font-size: 13px;
      color: #718096;
    }

    .social-links {
      display: flex;
      gap: 12px;
    }

    .social-links a {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255,255,255,0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #A0AEC0;
      transition: all 0.2s;
      font-size: 14px;
    }

    .social-links a:hover {
      background: var(--primary);
      color: white;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding-top: 18px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      font-size: 12px;
    }

    .footer-bottom a {
      color: #718096;
      margin-right: 16px;
    }

    .footer-bottom a:hover {
      color: white;
    }

    /* ========== RESPONSIVE ========== */
    @media (max-width: 1024px) {
      .signup-wrapper {
        grid-template-columns: 1fr;
      }

      .signup-left {
        padding: 48px 32px;
        min-height: 480px;
      }

      .signup-right {
        padding: 40px 24px;
      }
    }

    @media (max-width: 768px) {
      .nav-desktop,
      .header-cta {
        display: none;
      }

      .mobile-toggle {
        display: block;
      }

      .account-types {
        grid-template-columns: repeat(2, 1fr);
      }

      .input-row {
        grid-template-columns: 1fr;
      }

      .form-card {
        padding: 32px 24px;
      }

      .footer-top {
        flex-direction: column;
        gap: 28px;
      }
    }

    @media (max-width: 480px) {
      .container {
        padding: 0 16px;
      }

      .signup-left {
        padding: 40px 24px;
      }

      .signup-left h1 {
        font-size: 28px;
      }

      .form-card {
        padding: 28px 20px;
        border-radius: 16px;
      }
    }