/* =============================================
   ORCHIDS INTERNATIONAL SCHOOL – YELAHANKA NEW TOWN
   Global Styles
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #fdb022;
  --primary-dark: #f59e0b;
  --orchid-red: #9d0022;
  --orchid-blue: #003087;
  --orchid-blue-light: #0055C4;
  --text-dark: #1a1a2e;
  --text-body: #4a4a6a;
  --text-muted: #7a7a9a;
  --bg-light: #f7f8fc;
  --bg-white: #ffffff;
  --border-color: #e4e6f0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.13);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  font-size: 16px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* =============================================
   LAYOUT
   ============================================= */

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-header p {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* =============================================
   TYPOGRAPHY
   ============================================= */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 700; }

.section-label {
  display: inline-block;
  background: rgba(253,176,34,0.13);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #1a1a2e;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253,176,34,0.38);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* =============================================
   HEADER
   ============================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--orchid-red);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 999;
}
.nav-overlay.overlay-visible {
  display: block;
}
.text-white{
  color: #fff;
}
.logo img {
  height: 52px;
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.18s;
}

.main-nav a:hover {
  color: var(--primary-dark);
}

.main-nav .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* =============================================
   BANNER
   ============================================= */

.banner {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: url('images/about-us.webp') center center / cover no-repeat;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 48, 135, 0.88) 0%,
    rgba(0, 85, 196, 0.70) 55%,
    rgba(0, 48, 135, 0.40) 100%
  );
}

.banner-content {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 60px;
}

.banner-text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.banner-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
  background: rgba(253,176,34,0.15);
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
}

.banner h1 {
  color: #fff;
  margin-bottom: 22px;
}

.banner-sub {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 600px;
}

.banner-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* =============================================
   ABOUT
   ============================================= */

.about {
  background: var(--bg-white);
}

.about-text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 18px;
  color: var(--text-body);
}

.about-text .btn {
  margin-top: 10px;
}

/* =============================================
   WHY CHOOSE US
   ============================================= */

.why-us {
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, transform 0.22s;
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.feature-card h3 {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   FEE STRUCTURE
   ============================================= */

.fees {
  background: var(--bg-white);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 480px;
}

.fee-table thead tr {
  background: var(--orchid-red);
  color: #fff;
}

.fee-table th {
  padding: 16px 20px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fee-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark);
  font-weight: 600;
}

.fee-table td:first-child {
  color: var(--text-body);
  font-weight: 500;
}

.fee-table tbody tr:nth-child(even) {
  background: var(--bg-light);
}

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

.fee-table tbody tr:hover td {
  background: rgba(253,176,34,0.07);
}

.fee-note {
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--text-muted);
  font-style: italic;
}

/* =============================================
   CONTACT
   ============================================= */

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

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 340px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.contact-card .contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.contact-card div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-card strong {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
}

.contact-card span {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
}

.contact-card a {
  color: var(--orchid-blue-light);
}

.contact-card a:hover {
  text-decoration: underline;
}

/* =============================================
   MANDATORY DISCLOSURE
   ============================================= */

.disclosure {
  background: var(--bg-white);
}

.disclosure-block {
  margin-bottom: 36px;
}

.disclosure-block:last-of-type {
  margin-bottom: 0;
}

.disclosure-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--orchid-red);
  margin-bottom: 14px;
  padding-left: 2px;
}

.disclosure-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 480px;
}

.disclosure-table th {
  background: var(--bg-light);
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-dark);
  border-bottom: 2px solid var(--border-color);
}

.disclosure-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-body);
  vertical-align: top;
}

.disclosure-table td:first-child {
  font-weight: 600;
  color: var(--text-dark);
  width: 40%;
  background: var(--bg-light);
}

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

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: var(--primary);
  color: var(--text-dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding: 60px 24px 48px;
}

.footer-logo img {
  margin-bottom: 14px;
  filter: none;
}

.footer-logo p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 260px;
  color: var(--text-dark);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--orchid-red);
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-dark);
  transition: color 0.18s;
}

.footer-links a:hover {
  color: var(--orchid-red);
}

.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.footer-contact a {
  color: var(--text-dark);
  transition: color 0.18s;
}

.footer-contact a:hover {
  color: var(--orchid-red);
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.12);
  padding: 20px 24px;
  text-align: center;
}


/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .map-wrap {
    height: 280px;
  }


  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .section-pad {
    padding: 56px 0;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -4px 0 24px rgba(0,0,0,0.14);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 80px 0 32px;
    overflow-y: auto;
  }

  .main-nav.nav-open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .main-nav ul li a {
    display: block;
    padding: 14px 28px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
  }

  .main-nav ul li a:hover {
    background: var(--bg-light);
    color: var(--orchid-red);
  }


  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .banner {
    min-height: 520px;
  }

  .banner-ctas {
    flex-direction: column;
    align-items: center;
  }

  .disclosure-table td:first-child {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .banner h1 {
    font-size: 1.7rem;
  }

  .header-inner {
    gap: 12px;
  }

  .logo img {
    height: 40px;
  }
}
