/* Base */
:root {
  --primary: #3a4f9a;
  --secondary: #7c8fdb;
  --accent: #9ed8c6;
  --bg: #f7f5ef;
  --card-bg: #ffffff;
  --whatsapp: #25d366;
  --text-dark: #2e2e2e;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.08);
  --transition-fast: 0.3s ease;
}

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

/* ✅ FIX 1 — prevent any child from causing horizontal overflow */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Utility */
.section {
  padding: 3.5rem 1.25rem;
}

.section-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin: 1.5rem 1.25rem;
  padding: 2.5rem 1.75rem;
}

.section-title {
  font-family: "Merriweather", serif;
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
  text-align: center;
}

.section-subtitle {
  margin: 0 auto 2rem;
  max-width: 500px;
  text-align: center;
  font-size: 0.95rem;
  color: #555;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 239, 0.97);
  backdrop-filter: blur(12px);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  position: relative;
  z-index: 101;
}

.header.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 101;
  position: relative;
}

.logo img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: #666;
}

/* Mobile nav */
.nav {
  position: absolute;
  top: calc(100% + 6px);
  left: 1rem;
  right: 1rem;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(58, 79, 154, 0.18);
  border-radius: var(--radius-lg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0.4rem 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              transform 0.35s ease;
  pointer-events: none;
}

.nav.open {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #f0f0f8;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav a:last-child {
  border-bottom: none;
}

.nav a:hover {
  background: rgba(58, 79, 154, 0.06);
  color: var(--primary);
}

/* Hamburger */
.hamburger {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 102;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease;
  transform-origin: center;
}

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

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 1.25rem 3.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(122, 146, 219, 0.25), rgba(158, 216, 198, 0.25));
  background-image: url("/images/hero-classroom.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(247, 245, 239, 0.92) 0%,
    rgba(247, 245, 239, 0.88) 30%,
    rgba(247, 245, 239, 0.6) 70%,
    rgba(247, 245, 239, 0.92) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.45;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
  z-index: 1;
}

.hero-bg-shape--1 {
  width: 280px; height: 280px;
  background: rgba(124, 143, 219, 0.38);
  top: -100px; right: -80px;
  animation-delay: 0s;
}

.hero-bg-shape--2 {
  width: 220px; height: 220px;
  background: rgba(158, 216, 198, 0.42);
  left: -90px; bottom: -80px;
  animation-delay: 2s;
}

.hero-bg-shape--3 {
  width: 180px; height: 180px;
  background: rgba(122, 146, 219, 0.32);
  top: 20%; left: 10%;
  animation-delay: 4s;
}

.hero-content {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 600;
}

.hero-heading {
  font-family: "Merriweather", serif;
  font-size: 1.9rem;
  margin: 0.4rem 0 0.6rem;
  background: linear-gradient(135deg, #2e2e2e, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheading {
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  color: #444;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: #444;
}

.hero-highlights li::before {
  content: "• ";
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), color var(--transition-fast);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-small {
  padding-inline: 0.9rem;
  font-size: 0.85rem;
}

.btn-narrow {
  align-self: flex-start;
  padding-inline: 1.4rem;
}

/* Ripple */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
  opacity: 0;
  transform: scale(0);
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.ripple:active::after {
  opacity: 1;
  transform: scale(1.4);
}

/* Info cards */
.why-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.info-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.4rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: 0 4px 16px rgba(58, 79, 154, 0.10);
  border: 1px solid rgba(124, 143, 219, 0.18);
  transform: translateY(0) scale(1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.info-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 143, 219, 0.12), rgba(158, 216, 198, 0.15));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  stroke-width: 1.7;
  fill: none;
}

.info-card h3 {
  font-size: 0.95rem;
  margin: 0.2rem 0 0;
}

.info-card p {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
}

/* Subjects */
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.subjects-grid.single-subject {
  grid-template-columns: minmax(0, 220px);
  justify-content: center;
}

.subject-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.2rem 1rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  min-width: 0;
  word-break: break-word;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.subject-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.subject-card h3 {
  font-size: 0.9rem;
  margin: 0.4rem 0 0;
  word-break: break-word;
}

.subject-svg {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin: 0 auto 0.35rem;
  background: rgba(124, 143, 219, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.subject-svg svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
  stroke-width: 1.7;
  fill: none;
}

/* Accordion */
.classes-intro {
  font-size: 0.9rem;
  color: #555;
  text-align: center;
  margin-top: 0.5rem;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.accordion-item {
  border-radius: var(--radius-md);
  background: #f7f7ff;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 0.9rem 1rem;
  border: none;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.98rem;
}

.accordion-header-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.badge {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.badge-primary   { background: var(--primary); }
.badge-secondary { background: var(--secondary); }
.badge-accent    { background: var(--accent); }

.accordion-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}

.accordion-item.open .accordion-body {
  padding-bottom: 0.8rem;
}

.accordion-list {
  padding-left: 1rem;
  margin: 0.5rem 0 0.2rem;
  font-size: 0.9rem;
}

.accordion-list li {
  margin-bottom: 0.25rem;
}

/* About */
.about-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.about-image-large img {
  width: 160px;
  height: 160px;
  border-radius: 22px;
  object-fit: cover;
}

.about-content-wide { flex: 1; }

.about-paragraph {
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

/* Benefits */
.section-benefits { background: none; }

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

.benefit-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem 0.85rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(124, 143, 219, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.benefit-card h3 {
  font-size: 0.9rem;
  margin: 0.2rem 0 0;
}

.benefit-card p {
  font-size: 0.82rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.benefit-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(158, 216, 198, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.2rem;
}

.benefit-icon-circle svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
  stroke-width: 1.6;
  fill: none;
}

/* ✅ FIX 2 — Timings table: scrollable + no squishing */
.timings-table-wrapper {
  margin-top: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.timings-table th,
.timings-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #ececf7;
  white-space: nowrap;
}

.timings-table th {
  text-align: left;
  background: #f0f2ff;
}

.timings-table tbody tr:hover {
  background: rgba(124, 143, 219, 0.06);
}

/* ── Testimonials — CSS infinite scroll ── */
.testimonials-wrapper {
  overflow: hidden;
  margin-top: 1.5rem;
  /* ✅ FIX 3 — contain the scroll track so it never leaks page width */
  contain: layout style;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
}

.testimonials-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  width: max-content;
  animation: scrollTestimonials 28s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTestimonials {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  min-width: 260px;
  max-width: 280px;
  flex-shrink: 0;
  background: #ffffff;
  padding: 1.1rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(124, 143, 219, 0.12);
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7f8;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.85rem;
  margin: 0;
}

.stars {
  color: #f6b100;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.9rem;
  margin: 0;
}

/* Gallery */
.gallery-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.gallery-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast);
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Location */
.location-wrapper {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-container {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.location-actions {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.location-buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.address { font-size: 0.9rem; }

/* Contact */
.contact-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 520px;
  margin-inline: auto;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group-full { width: 100%; }

label {
  font-size: 0.85rem;
  font-weight: 500;
}

input,
select,
textarea {
  border-radius: 10px;
  border: 1px solid #d3d7f0;
  padding: 0.6rem 0.7rem;
  font-family: inherit;
  font-size: 0.9rem;
  background: #ffffff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(124, 143, 219, 0.28);
}

.alert {
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.alert-success { background: #e2f7ea; color: #1f6b3a; }
.alert-error   { background: #ffe9e7; color: #b02a24; }

/* Mobile bottom bar */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12);
  display: flex;
  z-index: 30;
}

.mobile-bar-btn {
  flex: 1;
  padding: 0.7rem 0;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--primary);
}

.mobile-bar-btn--whatsapp { background: var(--whatsapp); }

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Scroll reveal */
.observe {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.observe.in-view {
  opacity: 1;
  transform: translateY(0);
}

.slide-left  { transform: translateX(-20px); }

/* ✅ FIX 3 — slide-right must NOT push content beyond the viewport */
.slide-right {
  transform: translateX(0);   /* disabled on mobile — was causing right overflow */
}

/* On-load hero animation */
.animate-on-load {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(18px);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 1.5rem 0;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer .logo-title   { color: #fff; }
.footer .logo-subtitle { color: rgba(255, 255, 255, 0.65); }

.footer-tagline {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 260px;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  stroke: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

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

/* Desktop */
@media (min-width: 768px) {
  .section,
  .section-card {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .hero { padding: 5rem 3rem 4rem; }
  .hero-inner { align-items: center; }
  .hero-content { max-width: 520px; }
  .hero-buttons { flex-direction: row; }
  .hero-side-image { display: block; }

  .why-grid      { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .subjects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery-grid  { grid-template-columns: repeat(5, minmax(0, 1fr)); }

  .subjects-grid.single-subject {
    grid-template-columns: minmax(0, 240px);
  }

  .about-wrapper { flex-direction: row; align-items: center; }
  .about-image-large img { width: 200px; height: 200px; }

  .location-wrapper { flex-direction: row; }
  .map-container    { flex: 3; height: 260px; }
  .location-actions { flex: 2; }

  /* ✅ Restore slide-right animation on desktop where there's no overflow risk */
  .slide-right { transform: translateX(20px); }

  .nav {
    position: static;
    max-height: none;
    overflow: visible;
    opacity: 1;
    transform: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    flex-direction: row;
    gap: 1.5rem;
    padding: 0;
    pointer-events: auto;
    transition: none;
    left: auto;
    right: auto;
    top: auto;
  }

  .nav a {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-bottom: none;
    border-radius: 6px;
  }

  .nav a:hover {
    background: rgba(58, 79, 154, 0.08);
    color: var(--primary);
  }

  .info-card  { padding: 1.1rem 1rem; }
  .hamburger  { display: none; }
  .mobile-bar { display: none; }

  .form-row   { flex-direction: row; }
  .form-group { flex: 1; }
  .contact-form { max-width: 640px; }
}
