/* ==========================================
   SANSKAR ACADEMY - ADMISSION PAGE STYLESHEET
   ========================================== */

@import url("css/style.css");

:root {
  --primary-color: #0B2C5F;
  --primary-dark: #071D40;
  --accent-color: #F4C430;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --bg-light: #d4ebfe;
  --white: #ffffff;
  --max-width: 1280px;
  --radius-md: 16px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- HERO SECTION ---------- */
.admission-hero {
  position: relative;
  width: 100%;
  min-height: 55vh;
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
}

.admission-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 24, 54, 0.92) 0%, rgba(11, 44, 95, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 850px;
}

.hero-content .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-color);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.hero-content h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero-content h1 span {
  color: var(--accent-color);
}

.hero-content p {
  color: #cbd5e1;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 28px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- SECTION HEADINGS ---------- */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--primary-color);
  font-weight: 800;
  line-height: 1.25;
}

.section-title p {
  color: var(--text-muted);
  margin-top: 8px;
  font-size: 15px;
}

/* ---------- ADMISSION PROCESS ---------- */
.process {
  padding: 80px 24px;
}

.process-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  background: var(--white);
  padding: 36px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.process-card .number {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: #fef3c7;
  color: #d97706;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.process-card i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 18px;
  display: inline-block;
}

.process-card h3 {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- REQUIRED DOCUMENTS ---------- */
.documents {
  padding: 80px 24px;
  background: var(--white);
}

.doc-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.doc-box {
  background: var(--bg-light);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 15px;
  transition: var(--transition);
  border: 1px solid rgba(11, 44, 95, 0.1);
}

.doc-box:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-4px);
}

.doc-box i {
  font-size: 22px;
  color: #d97706;
}

.doc-box:hover i {
  color: var(--accent-color);
}

/* ---------- CLASSES OFFERED ---------- */
.classes {
  padding: 80px 24px;
}

.class-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.class-box {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.class-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.class-box i {
  font-size: 32px;
  color: #d97706;
}

.class-box span {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
}

/* ---------- FEE STRUCTURE & SCHOOL HOURS ---------- */
.fees,
.office-time {
  padding: 80px 24px;
  background: var(--white);
}

.office-time {
  background: var(--bg-light);
}

.fee-info,
.time-card-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fee-card,
.time-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.fee-card:hover,
.time-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.fee-card i,
.time-card i {
  font-size: 36px;
  color: #d97706;
  margin-bottom: 16px;
  display: inline-block;
}

.fee-card h3,
.time-card h3 {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.fee-card p,
.time-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- ENQUIRY FORM ---------- */
.enquiry {
  padding: 80px 24px;
}

.form-container-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.form-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.enquiry-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.enquiry-form-card h2 {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.enquiry-form-card p.sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.enquiry-form-card input,
.enquiry-form-card select,
.enquiry-form-card textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  outline: none;
  font-size: 15px;
  color: var(--text-dark);
  background: #f8fafc;
  transition: var(--transition);
  margin-bottom: 16px;
}

.enquiry-form-card input:focus,
.enquiry-form-card select:focus,
.enquiry-form-card textarea:focus {
  border-color: #d97706;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.enquiry-form-card textarea {
  resize: vertical;
  min-height: 120px;
}

.enquiry-form-card button {
  width: 100%;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.enquiry-form-card button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

/* ---------- IMPORTANT NOTES ---------- */
.notes {
  padding: 80px 24px;
  background: var(--white);
}

.note-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.note-card {
  background: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  transition: var(--transition);
}

.note-card i {
  font-size: 32px;
  color: #d97706;
  margin-bottom: 12px;
  display: block;
}

/* ---------- BANNER CTA ---------- */
.admission-banner {
  padding: 80px 24px;
  background: linear-gradient(135deg, rgba(6, 24, 54, 0.95) 0%, rgba(11, 44, 95, 0.9) 100%),
              url("school1.png") center/cover no-repeat;
  text-align: center;
  color: var(--white);
}

.admission-banner h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.admission-banner p {
  font-size: 18px;
  color: #e2e8f0;
  margin-bottom: 32px;
}

/* ---------- RESPONSIVE MEDIA QUERIES ---------- */

/* Laptop / Small Desktop (<= 1024px) */
@media (max-width: 1024px) {
  .process-grid,
  .class-grid,
  .fee-info,
  .time-card-grid,
  .note-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-container-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Tablet / Mobile (<= 768px) */
@media (max-width: 768px) {
  .admission-hero,
  .process,
  .documents,
  .classes,
  .fees,
  .office-time,
  .enquiry,
  .notes,
  .admission-banner {
    padding: 60px 16px;
  }

  .process-grid,
  .doc-grid,
  .class-grid,
  .fee-info,
  .time-card-grid,
  .note-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}