/* =============================================
   GHD Infra Kolkata Expo – Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest:       #051710;
  --forest-mid:   #173b2c;
  --moss:         #405840;
  --gold:         #d7b365;
  --gold-light:   #f6e6b9;
  --gold-ink:     #836326;
  --cream:        #f7f3e8;
  --cream-dark:   #eee4ce;
  --white:       #ffffff;
  --text-dark:   #1a1a1a;
  --text-mid:    #4a4a4a;
  --text-light:  #7a7a7a;
  --border:      #d8c79c;
  --shadow:      0 4px 30px rgba(0,0,0,.12);
  --radius:      12px;
  --transition:  .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
}

/* ---------- Utility ---------- */
.container {
  width: 92%;
  max-width: 1140px;
  margin: 0 auto;
 
}

.hero .container {
  width: 92%;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 12px;
}

.gold-line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 16px 0 24px;
}
.gold-line.center { margin: 16px auto 24px; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 0;
  background: var(--cream);
  backdrop-filter: none;
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: box-shadow var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.nav-logo img {
  height: auto;
  width: 100px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold);
  color: var(--forest);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  /* overflow: hidden; */
  padding: 75px 0 35px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/banner-kolkatta.jpg') center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(3, 14, 10, .88) 0%,
    rgba(5, 23, 16, .84) 45%,
    rgba(3, 18, 12, .75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 112px 0 80px;
  max-width: 40%;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(215,179,101,.16);
  border: 1px solid rgba(215,179,101,.55);
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero h1 span { color: var(--gold-light); }

.hero-banner-text {
  font-size: 17px;
  color: rgba(255,255,255,.88);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--forest);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(215,179,101,.4); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.5);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--forest);
  padding: 24px 0;
  border-bottom: 2px solid var(--gold);
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 16px;
}

.stat-item {
  text-align: center;
}
.stat-item .num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 29px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}
.stat-item .label {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---------- About Project ---------- */
.about-project {
  padding: 96px 0;
  background: var(--cream);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-project h2 {
  font-size: 36px;
  color: var(--forest);
  margin-bottom: 8px;
}

.about-project p {
  color: var(--text-mid);
  margin-bottom: 20px;
  font-size: 16px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-mid);
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23051710'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

.about-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 16px;
}
.about-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--forest);
  border: 1px solid var(--gold);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 13px;
}
.about-img-badge strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  color: var(--gold-light);
}

/* Event details strip */
.event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--cream-dark);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}
.event-detail-item {
  font-size: 15px;
  color: var(--forest);
  font-weight: 500;
}

/* Why section T&C note */
.why-tnc {
  text-align: center;
  margin-top: 28px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  font-style: italic;
}

/* ---------- Why Section ---------- */
.why-section {
  background: var(--forest);
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: 36px;
  color: var(--white);
}
.section-header .section-label { color: var(--gold-light); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* Center incomplete last row */
.why-section .cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.why-section .cards-grid .card {
  flex: 0 1 calc(25% - 18px);
  min-width: 220px;
}

.card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(215,179,101,.28);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform var(--transition), background var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.1);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(215,179,101,.16);
  border: 1px solid rgba(215,179,101,.4);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}

.card h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 10px;
}
.card p {
  font-size: 14px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}

/* ---------- Developer Section ---------- */
.developer-section {
  background: var(--cream-dark);
  padding: 96px 0;
}

.developer-inner {
  display: block;
  max-width: 760px;
  margin: 0 auto;
}

.dev-logo-wrap {
  text-align: center;
  background: var(--white);
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: var(--shadow);
}
.dev-logo-wrap img {
  max-height: 80px;
  margin: 0 auto;
}
.dev-tagline {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
}

.developer-section h2 {
  font-size: 34px;
  color: var(--forest);
  margin-bottom: 8px;
}
.developer-section p {
  color: var(--text-mid);
  font-size: 16px;
}

/* ---------- Register / Form Section ---------- */
.register-section {
  background: var(--forest);
  padding: 96px 0;
  background-image: radial-gradient(ellipse at 80% 20%, rgba(215,179,101,.1) 0%, transparent 60%);
}

.register-wrapper {
  /* display: flex; */
  /* justify-content: center; */
  /* align-items: start; */
  position: relative;
  width: 40%;
}

.register-info h2 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 8px;
}
.register-info .gold-line { background: var(--gold); }
.register-info p { color: rgba(255,255,255,.75); }

.register-info .perks {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.register-info .perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.82);
}
.register-info .perks li span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---------- Form Card ---------- */
.form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 10px 20px;
  box-shadow: 0 8px 48px rgba(0,0,0,.25);
  width: 100%;
  max-width: 500px;
}

.form-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--forest);
  margin-bottom: 6px;
}
.form-card .sub {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0;
}
.form-group label .req { color: #b43a32; margin-left: 2px; }

.form-group input,
.form-group select {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: #fafafa;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--forest-mid);
  box-shadow: 0 0 0 3px rgba(23,59,44,.14);
  background: var(--white);
}
.form-group input.error { border-color: #b43a32; }
.form-group input.verified { border-color: #3c7550; }
.form-group .field-error {
  font-size: .75rem;
  color: #b43a32;
  display: none;
}
.form-group .field-error.show { display: block; }

/* OTP block */
.mobile-wrap {
  position: relative;
}
.mobile-wrap input {
  padding-right: 90px;
}
.send-otp-btn {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--forest);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.send-otp-btn:hover { background: var(--forest-mid); }
.send-otp-btn:disabled { background: #aaa; cursor: not-allowed; }

.otp-block {
  display: none;
  margin-top: 10px;
}
.otp-block.visible { display: block; }

.otp-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.otp-input-row input {
  flex: 1;
  letter-spacing: 4px;
  font-size: 18px;
  text-align: center;
  padding: 10px 12px;
}

.otp-actions {
  display: flex;
  gap: 10px;
}

.btn-verify {
  flex: 1;
  background: var(--forest);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-verify:hover { background: var(--forest-mid); }
.btn-verify:disabled { background: #aaa; cursor: not-allowed; }

.btn-resend {
  background: transparent;
  color: var(--forest-mid);
  border: 1.5px solid var(--forest-mid);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-resend:hover { background: var(--forest-mid); color: var(--white); }
.btn-resend:disabled { border-color: #aaa; color: #aaa; cursor: not-allowed; }

.otp-status {
  font-size: 12px;
  margin-top: 6px;
  min-height: 18px;
}
.otp-status.success { color: #3c7550; font-weight: 600; }
.otp-status.error   { color: #b43a32; }
.otp-status.info    { color: var(--text-light); }

.verified-badge {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #3c7550;
  font-weight: 600;
  margin-top: 5px;
}
.verified-badge.visible { display: flex; }

/* Checkbox */
.flex-lable{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    row-gap: 0px;
    margin-bottom: 10px;
    }
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
  cursor: pointer;
  font-size: 12px;
}
.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--forest);
  flex-shrink: 0;
  cursor: pointer;
}
.checkbox-group label {
  font-size: 14px;
  color: var(--text-mid);
  cursor: pointer;
  line-height: 1.45;
}

/* Submit btn */
.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--forest);
  border: none;
  border-radius: 50px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(215,179,101,.32); }
.btn-submit:disabled { background: #ccc; color: #888; cursor: not-allowed; transform: none; box-shadow: none; }

.form-disclaimer {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
}

/* Success overlay */
.success-overlay {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 16px;
  gap: 16px;
}
.success-overlay.active { display: flex; }
.success-icon {
  width: 72px;
  height: 72px;
  background: #f5edda;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.success-overlay h3 {
  color: var(--forest);
  font-size: 22px;
}
.success-overlay p { color: var(--text-mid); font-size: 15px; }

/* ---------- Footer ---------- */
footer {
  background: #051710;
  padding: .9rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-disclaimer {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}
.footer-logo {
  height: 32px;
  width: auto;
  flex-shrink: 0;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .7s ease forwards; opacity: 0; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }
.delay-4 { animation-delay: .6s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 42px; }
  .about-project h2,
  .section-header h2,
  .register-info h2 { font-size: 30px; }
  .developer-section h2 { font-size: 28px; }
  .two-col { gap: 48px; }
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap img { height: 280px; }
  .form-row { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .hero h1 { font-size: 32px; }
  .hero-content { padding: 96px 0 48px; }
  .hero-banner-text { font-size: 15px; }
  .btn-primary, .btn-outline { font-size: 14px; padding: 12px 22px; }
  .about-project { padding: 64px 0; }
  .about-project h2 { font-size: 26px; }
  .why-section { padding: 64px 0; }
  .section-header h2 { font-size: 26px; }
  .section-header { margin-bottom: 36px; }
  .cards-grid { grid-template-columns: 1fr; }
  .why-section .cards-grid .card { flex: 0 1 100%; min-width: unset; }
  .developer-section { padding: 64px 0; }
  .developer-section h2 { font-size: 24px; }
  .register-section { padding: 64px 0; }
  .form-card { padding: 28px 20px; }
  .stats-grid { gap: 24px; }
  .stat-item .num { font-size: 24px; }
  .otp-actions { flex-direction: column; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nav-logo img { width: 160px; }
  .hero .container {   flex-direction: column;}
  .hero-content{        width: 100%;
        max-width: 100%;
        padding:        padding: 60px 0 20px 0;
        text-align: center;}
  .register-wrapper{width:100%;max-width:100%}
  .form-group {margin-bottom:5px;}
  .hero-actions{display: flex;    align-items: center;    justify-content: center;}
}

@media (max-width: 400px) {
  .hero h1 { font-size: 26px; }
  .form-card { padding: 20px 14px; }
  .btn-submit { font-size: 14px; padding: 14px; }
}
