/* ============================================
   Rainwater Private Tutoring — Premium Stylesheet
   High-End Private School Aesthetic
   ============================================ */

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

:root {
  --color-navy: #0c1f3f;
  --color-navy-light: #162d54;
  --color-navy-mid: #1a3660;
  --color-gold: #c9a84c;
  --color-gold-light: #dfc06e;
  --color-gold-dark: #a8883a;
  --color-cream: #faf8f4;
  --color-cream-dark: #f0ece3;
  --color-ivory: #f7f5f0;
  --color-white: #ffffff;
  --color-text: #1c1c1c;
  --color-text-muted: #4a4a4a;
  --color-text-light: #7a7a7a;
  --color-border: #ddd8cc;
  --color-border-light: #ebe8e0;
  --font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 4px rgba(12, 31, 63, 0.05), 0 1px 2px rgba(12, 31, 63, 0.04);
  --shadow-md: 0 4px 20px rgba(12, 31, 63, 0.07), 0 2px 6px rgba(12, 31, 63, 0.04);
  --shadow-lg: 0 16px 48px rgba(12, 31, 63, 0.1), 0 4px 16px rgba(12, 31, 63, 0.05);
  --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Decorative separator line --- */
.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 0 auto;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 31, 63, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(12, 31, 63, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-gold);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: transparent !important;
  color: var(--color-gold) !important;
  padding: 10px 28px;
  border: 1.5px solid var(--color-gold);
  border-radius: 2px;
  font-weight: 500;
  transition: all var(--transition) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--color-gold) !important;
  color: var(--color-navy) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
  background: var(--color-navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(201, 168, 76, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(22, 45, 84, 0.6) 0%, transparent 70%);
  z-index: 0;
}

/* Subtle texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

/* Gold decorative border at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}

.hero-crest {
  margin: 0 auto 32px;
  opacity: 0.9;
}

.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  margin-bottom: 28px;
  padding: 10px 28px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.06);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
  color: var(--color-gold);
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto 20px;
  font-weight: 300;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 72px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.hero-scroll a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--color-gold);
  opacity: 0.5;
  transition: var(--transition);
  animation: float 3s ease-in-out infinite;
}

.hero-scroll a:hover {
  opacity: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

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

.btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

/* On light backgrounds */
.section .btn-primary {
  background: var(--color-navy);
  color: #fff;
}

.section .btn-primary:hover {
  background: var(--color-navy-light);
  box-shadow: var(--shadow-lg);
}

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

/* --- Sections --- */
.section {
  padding: 120px 0;
  position: relative;
}

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

/* Subtle texture on alternating sections */
.section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a84c' fill-opacity='0.02'%3E%3Cpath fill-rule='evenodd' d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-gold-dark);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-navy);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  margin: 20px auto 0;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  font-weight: 300;
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-text .lead {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 20px;
}

.about-text .lead::first-letter {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  float: left;
  line-height: 1;
  margin-right: 8px;
  margin-top: 4px;
  color: var(--color-navy);
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
  font-weight: 300;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-gold), var(--color-gold-dark));
  opacity: 0;
  transition: opacity var(--transition);
}

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

.about-card:hover::before {
  opacity: 1;
}

.about-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* --- Subjects --- */
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.subject-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
}

.subject-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.subject-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(12, 31, 63, 0.15);
}

.subject-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border-light);
}

.subject-desc {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 14px;
  font-weight: 300;
  font-style: italic;
}

.subject-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subject-card li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding-left: 18px;
  position: relative;
  font-weight: 300;
}

.subject-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}

/* --- Subjects note --- */
.subjects-note {
  text-align: center;
  margin-top: 52px;
  padding: 36px;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}

.subjects-note p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-weight: 300;
}

.subjects-note strong {
  color: var(--color-navy);
  font-weight: 600;
}

/* --- Steps / Approach --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  position: relative;
  padding: 0 8px;
  text-align: center;
}

.step::after {
  content: '';
  position: absolute;
  top: 36px;
  right: -16px;
  width: 32px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.3;
}

.step:last-child::after { display: none; }

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  background: linear-gradient(180deg, var(--color-gold), var(--color-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
  margin-bottom: 20px;
  line-height: 1;
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.step p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  font-weight: 300;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: 40px;
  transition: all var(--transition);
  position: relative;
}

/* Decorative quote mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-gold);
  opacity: 0.15;
  line-height: 1;
}

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

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.testimonial-card blockquote {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
  font-weight: 300;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-light);
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-mid));
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-navy);
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--color-text-light);
  font-weight: 300;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-item a,
.contact-item span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  font-weight: 300;
}

.contact-item a:hover {
  color: var(--color-gold-dark);
}

.contact-note {
  background: var(--color-navy);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.contact-note::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-gold);
}

.contact-note p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  font-weight: 300;
}

.contact-note strong {
  color: var(--color-gold);
}

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-navy), var(--color-gold), var(--color-navy));
  border-radius: 0 0 2px 2px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group:not(.form-row .form-group) {
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-cream);
  transition: all var(--transition);
  outline: none;
  font-weight: 300;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(12, 31, 63, 0.08);
  background: var(--color-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-form .btn-primary {
  background: var(--color-navy);
  color: #fff;
  border: none;
  padding: 16px 36px;
}

.contact-form .btn-primary:hover {
  background: var(--color-navy-light);
  box-shadow: var(--shadow-lg);
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 12px;
  font-weight: 300;
}

/* --- Footer --- */
.footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 72px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-gold);
  display: block;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

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

.footer-contact-links {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-contact-links a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-contact-links a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
}

/* --- Scroll animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Form success state --- */
.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(12, 31, 63, 0.08);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-weight: 300;
}

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

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }

  .step::after { display: none; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--color-navy);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    flex-direction: column;
    padding: 28px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a::after { display: none; }

  .nav-cta {
    text-align: center;
    display: block;
  }

  .hero { min-height: auto; padding: 140px 0 80px; }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .contact-form {
    padding: 28px 20px;
  }

  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { padding: 14px 28px; width: 100%; justify-content: center; }
}
