/* =========================================================
   Kathak Ashwamedh — Registration (registration.css)
   ========================================================= */

   :root {
    --pink:       #ec2d8c;
    --pink-dark:  #c2185b;
    --gold:       #f7b500;
    --gold-deep:  #e8a317;
    --blue:       #1d4ed8;
    --blue-title: #2563eb;
    --cyan:       #67e8f9;
    --slate:      #1e293b;
    --text:       #475569;
    --dark:       #161616;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans:  'Poppins', 'Segoe UI', sans-serif;
  }
  
  * { margin: 0; padding: 0; box-sizing: border-box; }
  
  html { scroll-behavior: smooth; }
  
  body {
    font-family: var(--sans);
    color: var(--text);
    background: #fff;
    line-height: 1.7;
    font-size: 15.5px;
  }
  
  .container {
    width: min(1150px, 92%);
    margin-inline: auto;
  }
  
  a { text-decoration: none; }
  
  .btn {
    display: inline-block;
    font-weight: 600;
    letter-spacing: .5px;
    border-radius: 6px;
    border: 0;
    cursor: pointer;
    font-family: var(--sans);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .btn:hover { transform: translateY(-2px); }
  
  .btn-register {
    padding: .65rem 2.2rem;
    font-size: 1.05rem;
    color: #fff;
    background: linear-gradient(90deg, var(--pink), var(--pink-dark));
    box-shadow: 0 6px 20px rgba(236, 45, 140, .45);
  }
  
  /* shared page title + cyan divider */
  .page-title {
    text-align: center;
    font-weight: 700;
    font-size: clamp(1.4rem, 2.6vw, 1.8rem);
    color: var(--blue-title);
    letter-spacing: 1px;
  }
  .title-line {
    width: min(680px, 80%);
    height: 2px;
    margin: .9rem auto 0;
    background: var(--cyan);
  }
  
  /* =========================================================
     HEADER
     ========================================================= */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .1);
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    padding: .6rem 0;
    flex-wrap: wrap;
  }
  
  .main-nav { display: flex; align-items: center; gap: 1.8rem; }
  .main-nav > a:not(.btn-nirzar) {
    color: var(--slate);
    font-size: .88rem;
    font-weight: 500;
    padding: .35rem 0;
    border-bottom: 3px solid transparent;
    transition: border-color .25s, color .25s;
  }
  .main-nav > a:not(.btn-nirzar):hover,
  .main-nav > a.active:not(.btn-nirzar) { color: var(--pink); border-color: var(--pink); }
  
  .header-social { display: flex; gap: .5rem; }
  .header-social a {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: .75rem;
    color: #64748b;
    background: #f1f5f9;
  }
  .header-social a:hover { background: var(--pink); color: #fff; }
  
  .btn-nirzar {
    background: linear-gradient(90deg, #d946ef, #7c3aed);
    color: #fff;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: .6rem 1.1rem;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(168, 85, 247, .4);
  }
  
  .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: .4rem;
  }
  .nav-toggle span { width: 26px; height: 3px; border-radius: 3px; background: var(--slate); }
  
  /* =========================================================
     HERO (same as ashwamedh home, without bottom CTA)
     ========================================================= */
  .hero {
    color: #fff;
    background:
      linear-gradient(rgba(30, 10, 60, .55), rgba(30, 10, 60, .55)),
      url('images/ashwamedh-hero.jpg') center / cover no-repeat,
      linear-gradient(120deg, #86198f 0%, #4c1d95 45%, #1e3a8a 100%);
  }
  .hero-inner { text-align: center; padding: 2.2rem 0 3rem; }
  
  .partner-logos {
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
  }
  .p-logo {
    width: 58px; height: 58px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 1.3rem;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .5);
    backdrop-filter: blur(2px);
  }
  .l1 { background: linear-gradient(140deg, #f59e0b, #b45309); }
  .l2 { background: linear-gradient(140deg, #ef4444, #991b1b); }
  .l3 { background: linear-gradient(140deg, #10b981, #065f46); }
  .l4 { background: linear-gradient(140deg, #f97316, #7c2d12); }
  .l5 { background: linear-gradient(140deg, #8b5cf6, #4c1d95); }
  
  .hero-sub {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 1px;
  }
  .hero-title {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 4.4vw, 3.3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2.2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .45);
  }
  
  .season-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .season-logo .kathak {
    font-family: var(--serif);
    font-size: clamp(3rem, 8vw, 5.2rem);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: 0 4px 0 rgba(0, 0, 0, .18), 0 10px 30px rgba(0, 0, 0, .5);
  }
  .season-logo .season {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--pink);
    -webkit-text-stroke: 1.5px #fff;
    text-shadow: 0 6px 24px rgba(0, 0, 0, .5);
  }
  .season-logo .ribbon {
    position: absolute;
    left: 8%; bottom: -26px;
    transform: rotate(-5deg);
    background: linear-gradient(90deg, var(--gold), #fde047, var(--gold));
    color: #1e293b;
    font-weight: 700;
    font-size: clamp(.85rem, 1.6vw, 1.1rem);
    letter-spacing: 1px;
    padding: .3rem 1.2rem;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
  }
  
  .info-bar {
    margin-top: 3.4rem;
    background: linear-gradient(90deg, #fbbf24, var(--gold) 40%, #f59e0b);
    color: #1e293b;
    padding: 1.1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
  .info-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .info-col { text-align: center; padding: 0 1rem; }
  .info-col + .info-col { border-left: 2px solid rgba(30, 41, 59, .35); }
  .info-col p { font-size: .95rem; font-weight: 500; }
  .info-col p .red { color: #dc2626; font-weight: 600; }
  .info-col strong { font-size: clamp(.95rem, 1.8vw, 1.25rem); font-weight: 700; }
  
  /* =========================================================
     RULES & REGULATIONS
     ========================================================= */
  .rules-section { padding: 3rem 0 3.5rem; }
  
  .rules-heading {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: #334155;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin: 2.2rem 0 2rem;
  }
  
  .rules-list {
    list-style: none;
    max-width: 1000px;
    margin: 0 auto;
  }
  .rules-list li {
    position: relative;
    font-size: .88rem;
    font-weight: 300;
    color: #334155;
    padding-left: 1.4rem;
    margin-bottom: .9rem;
  }
  .rules-list li::before {
    content: '';
    position: absolute;
    left: 0; top: .5em;
    width: 8px; height: 8px;
    background: #334155;
  }
  
  /* =========================================================
     REGISTRATION FORM
     ========================================================= */
  .form-section { padding: 0 0 4rem; }
  
  #regForm { text-align: center; margin-top: 2.6rem; }
  
  .agree-row {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-size: .92rem;
    font-weight: 500;
    color: var(--slate);
    cursor: pointer;
    margin-bottom: 1.8rem;
  }
  .agree-row input[type="checkbox"] {
    width: 22px; height: 22px;
    accent-color: var(--pink);
    cursor: pointer;
  }
  
  .form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: min(460px, 100%);
    margin: 0 auto 1.4rem;
  }
  .form-fields input,
  .form-fields select {
    width: 100%;
    font-family: var(--sans);
    font-size: .95rem;
    font-weight: 400;
    color: var(--slate);
    padding: .8rem 1.1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
  }
  .form-fields input::placeholder { color: #64748b; }
  .form-fields input:focus,
  .form-fields select:focus {
    border-color: var(--blue-title);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
  }
  .form-fields select {
    appearance: none;
    background-image:
      linear-gradient(45deg, transparent 50%, #64748b 50%),
      linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position:
      calc(100% - 20px) 50%,
      calc(100% - 14px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
    color: #64748b;
  }
  .form-fields select:valid { color: var(--slate); }
  
  .fees-line {
    font-size: .92rem;
    color: var(--slate);
    margin-bottom: 1.6rem;
  }
  .fees-line strong { font-weight: 600; }
  .fees-line em { color: #64748b; font-weight: 300; }
  
  .consent {
    font-size: .95rem;
    font-weight: 600;
    color: var(--slate);
    line-height: 2;
    margin-bottom: 1.8rem;
  }
  
  .form-note {
    font-size: .8rem;
    font-style: italic;
    color: #64748b;
    margin-top: 1.2rem;
  }
  
  /* success message card */
  .success-card {
    width: min(640px, 100%);
    margin: 3rem auto 0;
    background: #fff;
    border: 3px solid var(--pink);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
    padding: 1rem;
  }
  .success-inner {
    border: 1px solid #f3f4f6;
    border-radius: 10px;
    padding: 2.4rem 1.6rem 2rem;
    text-align: center;
  }
  .check {
    width: 64px; height: 64px;
    margin: 0 auto 1.4rem;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: #16a34a;
    border: 5px solid #16a34a;
  }
  .success-title {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    font-weight: 700;
    color: var(--pink);
    line-height: 1.6;
    margin-bottom: 1.8rem;
  }
  .success-title span { color: var(--slate); }
  .success-text { font-size: .9rem; font-weight: 500; color: var(--slate); margin-bottom: .4rem; }
  .email-note { text-align: center; }
  
  /* =========================================================
     FOOTER
     ========================================================= */
  .site-footer {
    background: var(--dark);
    color: #a3a3a3;
    padding: 3.2rem 0 1.6rem;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.2rem;
    border-bottom: 1px solid #2e2e2e;
  }
  .f-col h4 { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 1.1rem; }
  .f-col a {
    display: block;
    color: #a3a3a3;
    font-size: .82rem;
    padding: .22rem 0;
  }
  .f-col a::before { content: '> '; color: #737373; }
  .f-col a:hover { color: #fff; }
  .f-col p { font-size: .82rem; line-height: 1.9; }
  .f-ico { color: #737373; margin-right: .3rem; }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.4rem;
    font-size: .78rem;
  }
  .footer-social { display: flex; gap: .6rem; }
  .footer-social a {
    width: 24px; height: 24px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: .7rem;
    color: #a3a3a3;
    background: #2e2e2e;
  }
  .footer-social a:hover { background: var(--pink); color: #fff; }
  
  /* =========================================================
     RESPONSIVE
     ========================================================= */
  @media (max-width: 1024px) {
    .main-nav { gap: 1.1rem; }
  }
  
  @media (max-width: 880px) {
    .header-inner { flex-wrap: nowrap; }
  
    .nav-toggle { display: flex; }
    .main-nav {
      position: absolute;
      top: 100%; left: 0; right: 0;
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
      background: #fff;
      box-shadow: 0 18px 30px rgba(0, 0, 0, .12);
      padding: .6rem 4%;
      display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav > a:not(.btn-nirzar) { width: 100%; padding: .85rem 0; border-bottom: 1px solid #f1f5f9; }
    .header-social { padding: .8rem 0; }
    .btn-nirzar { margin: .6rem 0 .8rem; text-align: center; }
  
    .info-grid { grid-template-columns: 1fr; }
    .info-col + .info-col {
      border-left: 0;
      border-top: 2px solid rgba(30, 41, 59, .35);
      padding-top: .8rem; margin-top: .8rem;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }
  
  @media (max-width: 520px) {
    .brand-text strong { font-size: 1.1rem; }
    .brand-text em { font-size: .85rem; }
    .agree-row { font-size: .8rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
  }

  
.registration-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.45);
}

.registration-success-popup {
  position: relative;
  width: 100%;
  max-width: 650px;
  box-sizing: border-box;
  padding: 35px 25px;
  background: #fff;
  border: 4px solid #ff2990;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.18);
  text-align: center;
  font-family: inherit;
}

.success-check {
  width: 76px;
  height: 76px;
  margin: 0 auto 15px;
  color: #00b568;
}

.success-check svg {
  width: 100%;
  height: 100%;
}

.registration-success-popup h2 {
  margin: 0 0 35px;
  color: #111;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 700;
}

.registration-success-popup h2 span {
  color: #ff2990;
}

.registration-number,
.reporting-message {
  margin: 12px 0;
  color: #111;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.registration-number strong {
  overflow-wrap: anywhere;
}

.success-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 28px;
  cursor: pointer;
}

.success-ok {
  margin-top: 15px;
  padding: 10px 28px;
  border: 0;
  border-radius: 6px;
  background: #ff2990;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .registration-success-popup {
      padding: 35px 18px 25px;
  }

  .registration-success-popup h2 {
      font-size: 19px;
      margin-bottom: 25px;
  }

  .registration-number,
  .reporting-message {
      font-size: 14px;
  }
}

  