@font-face {
  font-family: "Kalpurush";
  src: url("../font/kalpurush.ttf") format("truetype");
  
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AkhandBengali";
  src: url("../font/AkhandBengali.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AkhandBengali";
  src: url("../font/AkhandBengali-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AkhandBengali";
  src: url("../font/AkhandBengali-Semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AkhandBengali";
  src: url("../font/AkhandBengali-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
body { font-family: "Kalpurush", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

/* ===== CSS Variables ===== */
:root {
  --primary: #0b6b5b;
  --primary-dark: #084d42;
  --primary-light: #0d8570;
  --accent: #f3c04a;
  --accent-dark: #d4a63a;
  --muted: #6b7280;
  --text: #0b1b18;
  --text-light: #4b5563;
  --bg: #ffffff;
  --surface: #f8faf9;
  --surface-alt: #f1f5f4;
  --border: rgba(11, 27, 24, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 20px;
  --container: 1200px;
  --shadow-sm: 0 2px 8px rgba(11, 27, 24, 0.04), 0 1px 3px rgba(11, 27, 24, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 27, 24, 0.06), 0 2px 8px rgba(11, 27, 24, 0.08);
  --shadow-lg: 0 8px 32px rgba(11, 27, 24, 0.08), 0 4px 16px rgba(11, 27, 24, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "AkhandBengali", "Kalpurush", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* prevent any horizontal overflow from hero SVG */
}

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

/* ===== Container ===== */
.container {
  width: 95%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  background-color: #eefff9c3;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
  flex-wrap: wrap;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-section img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.school-name h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.2;
}

.school-name p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

/* ===== Navigation ===== */
.main-nav { 
  flex: 1 1 100%; 
  order: 2; 
  border-top: 1px solid var(--border); 
  border-bottom: 1px solid var(--border); 
  /* background: #eaf6f2; */
  font-family: "AkhandBengali", "Kalpurush", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 300; /* AkhandBengali-Light */
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  row-gap: .35rem;
  align-items: center;
  justify-content: center;
  padding: .25rem 0;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--primary);
  /* color: #ffffff; */
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--transition);
  white-space: nowrap;
}

.main-nav a i {
  font-size: 0.875rem;
  color: var(--primary);
}

.main-nav a:hover,
.main-nav a:focus {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.main-nav a:hover i,
.main-nav a:focus i {
  color: white;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary);
  font-size: 1.5rem;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 90px;
  overflow: hidden; /* contain bg */
  background: linear-gradient(135deg, rgba(11, 107, 91, 0.03) 0%, rgba(243, 192, 74, 0.02) 100%);
}

/* Ensure hero content is centered on all screens */
.hero .container{
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-bg {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  z-index: 0;
  overflow: hidden; /* clip background artwork */
}

.hero-svg {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill full hero area */
  object-position: center;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 3rem 1rem;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--surface);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 2px;
}

.text-center {
  text-align: center;
  margin-top: 2rem;
}

/* ===== About Section ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  font-size: 1.0625rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: white;
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.stat-card h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 0.5rem;
}

.stat-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ===== Teachers Section ===== */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.teacher-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.teacher-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.teacher-image {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--surface);
  box-shadow: var(--shadow-md);
}

.teacher-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.teacher-role {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.teacher-qualification {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0;
}

/* ===== Academic Section ===== */
.academic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.academic-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.academic-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.academic-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
}

.academic-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.academic-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* ===== Admission Section ===== */
.admission-content {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 3rem;
  align-items: start;
}

.admission-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.admission-info p {
  font-size: 1.0625rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.admission-info ul {
  list-style: none;
  margin-bottom: 2rem;
}

.admission-info li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--text-light);
}

.admission-info li i {
  color: var(--primary);
  font-size: 1.125rem;
}

.admission-form {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.admission-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.admission-form input,
.admission-form textarea,
.result-form select,
.result-form input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.admission-form input:focus,
.admission-form textarea:focus,
.result-form select:focus,
.result-form input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 107, 91, 0.1);
}

/* ===== Notice Board ===== */
.notice-board {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.notice-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}

.notice-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.notice-card.important {
  border-left: 5px solid var(--accent);
}

.notice-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--text);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 700;
}

.notice-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.notice-card p {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
}

.notice-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.notice-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

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

/* ===== News Section ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.news-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 1.75rem;
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

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

.news-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.news-content p {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin: 0 0 1rem;
  line-height: 1.7;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.news-link:hover {
  gap: 0.75rem;
}

/* ===== Gallery Section ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  text-align: center;
}

.gallery-overlay i {
  color: white;
  font-size: 1.5rem;
}

/* ===== Result Section ===== */
.result-content {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 3rem;
  align-items: center;
}

.result-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.result-info p {
  font-size: 1.0625rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.result-form {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.result-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ===== Payment Section ===== */
.payment-content {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 3rem;
  align-items: start;
}

.fee-structure h3,
.payment-methods h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--border);
}

table thead {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

table th {
  padding: 1.25rem 1rem;
  text-align: left;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text);
}

table tbody tr:last-child td {
  border-bottom: none;
}

table tbody tr:hover {
  background: var(--surface);
}

.payment-methods {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.method-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: var(--transition);
  border: 2px solid var(--border);
}

.method-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.method-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
}

.method-card p {
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 600;
  margin: 0;
}

/* ===== Download Section ===== */
.download-grid {
  display: grid;
    grid-template-columns: repeat(4, 1fr); 
  gap: 2rem;
}

.download-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.download-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.download-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.download-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.download-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.contact-item p {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(135deg, #1a3a35 0%, #0d2621 100%);
  color: #e0f2ed;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.footer-section p {
  font-size: 0.9375rem;
  color: #c7e3db;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #c7e3db;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent);
  padding-left: 0.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: var(--text);
  transform: translateY(-5px);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9375rem;
  font-family: inherit;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--text);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9375rem;
  color: #93b8ad;
  margin: 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .about-content,
  .admission-content,
  .result-content,
  .payment-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

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

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

  .gallery-grid,
  .download-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .header-wrapper {
    padding: 0.75rem 0;
  }

  .logo-section img {
    width: 50px;
    height: 50px;
  }

  .school-name h1 {
    font-size: 1rem;
  }

  .school-name p {
    font-size: 0.75rem;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.open {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

  .main-nav a {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
  }

  .main-nav a span {
    flex: 1;
    text-align: left;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    min-height: 500px;
    margin-top: 80px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .teachers-grid,
  .academic-grid,
  .news-grid,
  .gallery-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .methods-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: 100%;
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .stat-card,
  .teacher-card,
  .academic-card,
  .download-card {
    padding: 1.5rem 1rem;
  }
}

/* ===== Accessibility ===== */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(11, 107, 91, 0.3);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}