/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
:root {

  /* Navbar Colors */
  --beige-50: #ffffff;
  --beige-100: #f8f8f8;
  --beige-200: #e5e5e5;
  --beige-400: #d4a24a;
  --beige-600: #c8973a;
  --beige-700: #1f3c88;

  --text-dark: #111111;
  --text-light: #666666;

  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-drop: 0 10px 30px rgba(0,0,0,0.12);

  /* Placement Page Colors */
  --gold: #c8973a;
  --gold-lt: #d4a24a;
  --gold-dim: #a67c2d;

  --ink: #1b2d45;
  --ink-soft: #304b73;

  --cream: #f8f7f3;
  --cream-dark: #e5e0d5;

  --white: #ffffff;

  --text-body: #333333;
  --text-mid: #666666;

  --sans: 'Poppins', sans-serif;
  --serif: 'Poppins', sans-serif;
}
/* ==========================================
   NAVBAR
   ========================================== */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--beige-50);
  border-bottom: 2px solid var(--beige-200);
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}

/* ==========================================
   BRAND / LOGO
   ========================================== */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.brand-text {
  line-height: 1.15;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--beige-700);
  display: block;
  letter-spacing: 0.01em;
}

.brand-tagline {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ==========================================
   DESKTOP NAV LINKS
   ========================================== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.nav-links > li > button {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav-links > li > a:hover,
.nav-links > li > button:hover {
  background: var(--beige-100);
  color: var(--beige-600);
}

/* Downward arrow on dropdown buttons using ::after */
.nav-links > li > button::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--beige-600);
  border-bottom: 2px solid var(--beige-600);
  transform: rotate(45deg);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), border-color 0.18s;
  margin-left: 4px;
  margin-top: -3px;
  flex-shrink: 0;
}

.nav-links > li > button:hover::after {
  border-color: var(--beige-700);
}

.nav-links > li.open > button::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}

/* ==========================================
   DESKTOP DROPDOWN MENUS
   ========================================== */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--beige-50);
  border: 1.5px solid var(--beige-200);
  border-radius: 12px;
  box-shadow: var(--shadow-drop);
  min-width: 280px;
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  z-index: 200;
}

.nav-links > li.open .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0.6rem 1.25rem;
  font-size: 13px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 400;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
  line-height: 1.4;
}

.dropdown li a::after {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-right: 1.8px solid var(--text-light);
  border-bottom: 1.8px solid var(--text-light);
  transform: rotate(-45deg);
  transition: border-color 0.15s, transform 0.15s;
}

.dropdown li a:hover {
  background: var(--beige-100);
  color: var(--beige-600);
  padding-left: 1.6rem;
}

.dropdown li a:hover::after {
  border-color: var(--beige-600);
  transform: rotate(-45deg) translateX(3px);
}

.dropdown li + li {
  border-top: 1px solid var(--beige-100);
}

/* ==========================================
   ENROLL NOW BUTTON
   ========================================== */
.enroll-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--beige-400), var(--beige-600));
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.55rem 1.3rem;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: opacity 0.18s, transform 0.15s;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(140, 90, 40, 0.25);
  flex-shrink: 0;
  text-decoration: none;
  display: inline-block;
}

.enroll-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ==========================================
   HAMBURGER BUTTON
   ========================================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--beige-700);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================
   MOBILE MENU
   ========================================== */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--beige-50);
  border-top: 1.5px solid var(--beige-200);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s;
}

.mobile-menu.open {
  max-height: 1000px;
  opacity: 1;
}

/* Mobile nav list */
.mobile-links {
  list-style: none;
  padding: 0.75rem 0 1rem;
  display: flex;
  flex-direction: column;
}

.mobile-links > li {
  border-bottom: 1px solid var(--beige-100);
}

.mobile-links > li:last-child {
  border-bottom: none;
}

.mobile-links > li > a,
.mobile-links > li > button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.15s;
  text-align: left;
}

.mobile-links > li > a:hover,
.mobile-links > li > button:hover {
  background: var(--beige-100);
}

/* Mobile arrow using ::after on the button */
.mobile-links > li > button::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--beige-600);
  border-bottom: 2px solid var(--beige-600);
  transform: rotate(45deg);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
  margin-top: -3px;
  flex-shrink: 0;
}

.mobile-links > li.open > button::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}

/* Mobile sub-dropdown */
.mobile-dropdown {
  list-style: none;
  background: var(--beige-100);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-links > li.open .mobile-dropdown {
  max-height: 600px;
}

.mobile-dropdown li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0.7rem 2.25rem;
  font-size: 13px;
  color: var(--text-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--beige-200);
  transition: background 0.13s, color 0.13s;
}

.mobile-dropdown li a::after {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-right: 1.8px solid var(--text-light);
  border-bottom: 1.8px solid var(--text-light);
  transform: rotate(-45deg);
  transition: border-color 0.15s;
}

.mobile-dropdown li:last-child a {
  border-bottom: none;
}

.mobile-dropdown li a:hover {
  background: var(--beige-200);
  color: var(--beige-700);
}

.mobile-dropdown li a:hover::after {
  border-color: var(--beige-600);
}

/* Mobile enroll button */
.mobile-enroll {
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-enroll .enroll-btn {
  width: 100%;
  text-align: center;
  padding: 0.85rem 1rem;
  font-size: 15px;
  border-radius: 10px;
}

/* ==========================================
   PAGE PLACEHOLDER
   ========================================== */
.page-placeholder {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  opacity: 0.55;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
  .brand-name {
    font-size: 13px;
  }
  .nav-links > li > a,
  .nav-links > li > button {
    font-size: 12.5px;
    padding: 0.4rem 0.55rem;
  }
  .enroll-btn {
    font-size: 12.5px;
    padding: 0.5rem 1rem;
  }
}

/* Mobile */
@media (max-width: 860px) {
  .nav-links,
  .desktop-enroll {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
  .brand-name {
    font-size: 13.5px;
  }
}
/* Navbar End */



/* ============================================================
   footer.css
   Profenaa Montessori Teacher Training Institute – Coimbatore
   Palette: Deep warm brown bg · Beige text · Gold accent
   ============================================================ */

:root {
  --f-bg:          #1e130a;       /* deep espresso brown */
  --f-bg-top:      #241608;
  --f-border:      rgba(181,129,58,0.18);
  --f-border-btm:  rgba(181,129,58,0.25);
  --accent:        #b5813a;
  --accent-hover:  #d4a05a;
  --f-text:        #c8b89a;       /* warm beige body text */
  --f-muted:       #8a7560;
  --f-white:       #f5efe4;
  --f-link-hover:  #e8c98a;
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Lato', 'Segoe UI', sans-serif;
  --transition:    0.25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: #f5f0e8;
}

a { text-decoration: none; color: inherit; }
address { font-style: normal; }

/* ══════════════════════════════════════════
   FOOTER WRAPPER
══════════════════════════════════════════ */
.site-footer {
  background: var(--f-bg);
  color: var(--f-text);
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

/* subtle warm radial glow top-left */
.site-footer::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(181,129,58,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Footer Top ── */
.footer-top {
  position: relative;
  z-index: 1;
  padding: 60px 40px 52px;
  border-bottom: 1px solid var(--f-border-btm);
  max-width: 1300px;
  margin: 0 auto;
}

/* ── 5-column grid ── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.1fr 1.2fr 1.2fr;
  gap: 40px 32px;
  align-items: start;
}

/* ── Column base ── */
.footer-col {}

/* ── Col Title ── */
.footer-col__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--f-white);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ══════════════════════════════════════════
   COL 1 – BRAND
══════════════════════════════════════════ */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  width: fit-content;
}

.footer-logo__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.footer-logo__icon svg {
  width: 100%;
  height: 100%;
}

.footer-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-logo__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--f-white);
  letter-spacing: 0.02em;
}

.footer-logo__sub {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.footer-brand__desc {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--f-text);
  margin-bottom: 22px;
  max-width: 300px;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--f-border);
  border-radius: 50%;
  color: var(--f-text);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.footer-social__link svg {
  width: 17px;
  height: 17px;
}

.footer-social__link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════
   COLS 2–4 – LINKS
══════════════════════════════════════════ */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links li a {
  font-size: 0.855rem;
  color: var(--f-text);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color var(--transition), gap var(--transition);
  line-height: 1.4;
}

.footer-links li a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
  flex-shrink: 0;
  transition: opacity var(--transition), transform var(--transition);
}

.footer-links li a:hover {
  color: var(--f-link-hover);
  gap: 10px;
}

.footer-links li a:hover::before {
  opacity: 1;
  transform: scale(1.3);
}

/* ══════════════════════════════════════════
   COL 5 – CONTACT
══════════════════════════════════════════ */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--f-text);
  line-height: 1.6;
  transition: color var(--transition);
}

.footer-contact__item:hover {
  color: var(--f-link-hover);
}

.footer-contact__item--location {
  align-items: flex-start;
}

.footer-contact__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--accent);
  margin-top: 2px;
}

.footer-contact__icon svg {
  width: 100%;
  height: 100%;
}

/* ══════════════════════════════════════════
   BOTTOM BAR
══════════════════════════════════════════ */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-bottom__copy {
  font-size: 0.78rem;
  color: var(--f-muted);
}

.footer-bottom__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--f-muted);
}

.footer-bottom__nav a {
  color: var(--f-muted);
  transition: color var(--transition);
}

.footer-bottom__nav a:hover {
  color: var(--accent);
}

/* ══════════════════════════════════════════
   RESPONSIVE – Tablet ≤1024px
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px 28px;
  }

  /* Brand spans full row */
  .footer-col--brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 28px;
    align-items: start;
  }

  .footer-logo {
    grid-row: 1;
    grid-column: 1;
    margin-bottom: 0;
  }

  .footer-brand__desc {
    grid-row: 1;
    grid-column: 2;
    margin-bottom: 0;
    max-width: 100%;
  }

  .footer-social {
    grid-row: 2;
    grid-column: 1 / -1;
    margin-top: 14px;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE – Tablet ≤768px
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .footer-top {
    padding: 44px 24px 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand__desc {
    max-width: 100%;
  }

  .footer-col--contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE – Mobile ≤480px
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .footer-top {
    padding: 36px 18px 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col--brand,
  .footer-col--contact {
    grid-column: 1;
  }

  .footer-logo__name  { font-size: 1.15rem; }
  .footer-logo__icon  { width: 40px; height: 40px; }

  .footer-col__title  { font-size: 0.95rem; margin-bottom: 14px; }

  .footer-links       { gap: 9px; }
  .footer-links li a  { font-size: 0.82rem; }

  .footer-contact__item { font-size: 0.82rem; }

  .footer-bottom {
    padding: 14px 18px;
  }

  .footer-bottom__copy,
  .footer-bottom__nav { font-size: 0.73rem; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .footer-social__link,
  .footer-links li a,
  .footer-contact__item { transition: none !important; }
}


/* Form */
/* Demo trigger button */
.demo-trigger {
    padding: 14px 32px;
    background: linear-gradient(135deg, #c9a56d, #b78d55);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}
.demo-trigger:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #b78d55, #9e7840);
}
 
/* ===== OVERLAY ===== */
.montessori-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.70);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
 
.montessori-overlay.active {
    opacity: 1;
    visibility: visible;
}
 
/* ===== POPUP ===== */
.montessori-popup {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 24px;
    padding: 36px 32px 30px;
    position: relative;
    overflow-y: auto;
    max-height: 92vh;
    box-shadow: 0 30px 70px rgba(0,0,0,0.25);
    animation: popupZoom .4s cubic-bezier(0.34,1.56,0.64,1);
}
 
@keyframes popupZoom {
    from { transform: scale(0.82); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}
 
/* ===== CLOSE BUTTON ===== */
.montessori-close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: #f0e6d3;
    color: #b78d55;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 36px;
    text-align: center;
    transition: .3s;
    font-weight: bold;
}
.montessori-close:hover {
    background: #e0d1ba;
    color: #7c5d33;
}
 
/* ===== HEADER ===== */
.montessori-header {
    text-align: center;
    margin-bottom: 26px;
}
 
.logo-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #e0d1ba;
    overflow: hidden;
    margin: 0 auto 14px;
    background: #f5ecdb;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
 
/* Fallback placeholder shown when no logo image is set */
.logo-placeholder {
    font-size: 13px;
    color: #b78d55;
    text-align: center;
    line-height: 1.3;
    padding: 6px;
    font-weight: 600;
    letter-spacing: .3px;
}
 
.montessori-header h2 {
    font-size: 1.75rem;
    color: #7c5d33;
    margin-bottom: 6px;
    font-weight: 700;
}
 
.montessori-header p {
    color: #9a7d55;
    font-size: 0.9rem;
}
 
/* ===== FORM ===== */
.montessori-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}
 
/* Two-column row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
 
.form-group {
    position: relative;
    margin-bottom: 12px;
}
 
.form-row .form-group {
    margin-bottom: 0;
}
 
/* Icons inside fields */
.field-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #c9a56d;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
}
 
.field-icon.top {
    top: 14px;
    transform: none;
    align-items: flex-start;
}
 
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 14px 13px 38px;
    border: 1.5px solid #e0d1ba;
    background: #fdf9f4;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #4a3520;
    outline: none;
    transition: border-color .25s, box-shadow .25s;
}
 
.form-group select {
    appearance: none;
    cursor: pointer;
    padding-right: 36px;
}
 
.select-arrow {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 20px;
    color: #c9a56d;
    display: flex;
    align-items: center;
}
 
.form-group textarea {
    padding-top: 13px;
    resize: none;
}
 
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #c9a56d;
    box-shadow: 0 0 0 3px rgba(201,165,109,0.18);
    background: #fff;
}
 
/* Error state */
.form-group input.error,
.form-group select.error {
    border-color: #e05c5c;
    box-shadow: 0 0 0 3px rgba(224,92,92,0.15);
}
 
.error-msg {
    font-size: 11px;
    color: #c0392b;
    margin-top: 4px;
    display: none;
    padding-left: 4px;
}
 
.error-msg.visible {
    display: block;
}
 
/* ===== SUBMIT ===== */
.submit-btn {
    width: 100%;
    border: none;
    padding: 15px;
    background: linear-gradient(135deg, #c9a56d, #b78d55);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: .3s;
    letter-spacing: .3px;
    margin-top: 4px;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183,141,85,0.4);
}
.submit-btn:active {
    transform: translateY(0);
}
.submit-btn.success {
    background: linear-gradient(135deg, #4caf87, #38896a);
    pointer-events: none;
}
 
/* Privacy note */
.privacy-note {
    text-align: center;
    font-size: 11.5px;
    color: #b0956f;
    margin-top: 12px;
}
 
/* ===== RESPONSIVE ===== */
@media (max-width: 520px) {
    .montessori-popup {
        padding: 28px 20px 22px;
        border-radius: 20px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-row .form-group {
        margin-bottom: 12px;
    }
    .form-row .form-group:last-child {
        margin-bottom: 0;
    }
    .montessori-header h2 {
        font-size: 1.5rem;
    }
    .logo-wrapper {
        width: 68px;
        height: 68px;
    }
}
 
@media (max-width: 380px) {
    .montessori-popup {
        padding: 22px 16px 18px;
    }
    .montessori-header h2 {
        font-size: 1.35rem;
    }
}


/* .contact-sidebar */

.contact-sidebar {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.contact-icon {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  background: linear-gradient(145deg, #e0b93f, #b8860b);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  isolation: isolate;

  /* fly-in entrance, then hand off to floating loop */
  opacity: 0;
  animation:
    flyIn 0.8s cubic-bezier(.17,.89,.32,1.28) forwards,
    float 3s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.18s), calc(var(--i) * 0.18s + 0.9s);
}

/* fly in from far right, spinning, with a little overshoot bounce */
@keyframes flyIn {
  0% {
    opacity: 0;
    transform: translateX(220px) translateY(-40px) rotate(280deg) scale(0.3);
  }
  60% {
    opacity: 1;
    transform: translateX(-8px) translateY(4px) rotate(-10deg) scale(1.08);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(0deg) scale(1);
  }
}

/* gentle continuous up-down float, staggered per icon */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-7px) rotate(2deg); }
}

/* pulsing halo ring */
.contact-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: -1;
  box-shadow: 0 0 0 0 rgba(212,175,55,0.6);
  animation: pulse 2.2s ease-out infinite;
  animation-delay: calc(var(--i) * 0.3s + 1.2s);
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(212,175,55,0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

.contact-icon i {
  transition: transform 0.35s ease;
}

/* hover: pause float, wobble + scale up + brighten */
.contact-icon:hover {
  animation-play-state: paused;
  transform: scale(1.2) !important;
  box-shadow: 0 8px 22px rgba(184,134,11,0.6);
  background: linear-gradient(145deg, #f0c94a, #c9950f);
}

.contact-icon:hover i {
  animation: wobble 0.6s ease;
}

@keyframes wobble {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-18deg) scale(1.2); }
  50%  { transform: rotate(14deg) scale(1.2); }
  75%  { transform: rotate(-8deg) scale(1.1); }
  100% { transform: rotate(0deg) scale(1); }
}

/* click ripple burst */
.contact-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}

.contact-icon:active::after {
  animation: ripple 0.5s ease-out;
}

@keyframes ripple {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(9); opacity: 0; }
}

/* tooltip slide-out label */
.contact-icon .tooltip {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #3a2e13;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.contact-icon .tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #3a2e13;
}

.contact-icon:hover .tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Mobile */
@media (max-width: 768px) {
  .contact-sidebar {
    top: auto;
    bottom: 18px;
    right: 14px;
    transform: none;
    gap: 10px;
  }
  .contact-icon {
    width: 46px;
    height: 46px;
    font-size: 19px;
    animation: flyIn 0.8s cubic-bezier(.17,.89,.32,1.28) forwards;
  }
  .contact-icon::before { display: none; }
  .contact-icon .tooltip { display: none; }
}
.contact-icon.instagram {
  background: linear-gradient(145deg, #e0b93f, #b8860b);
  color: #fff;
}

.contact-icon.instagram:hover {
  background: linear-gradient(145deg, #f0c94a, #c9950f);
  box-shadow: 0 8px 22px rgba(184,134,11,0.6);
}

.contact-icon.instagram::before {
  box-shadow: 0 0 0 0 rgba(212,175,55,0.55);
  animation: pulse 2.2s ease-out infinite;
  animation-delay: calc(var(--i) * 0.3s + 1.2s);
}
/* Gallery Section */
#gallerySection {
  width: 100%;
  padding: 60px 20px;
  background-color: #ffffff;
  font-family: Arial, sans-serif;
}

/* Main Container */
#gallerySection .gwrap {
  max-width: 1200px;
  margin: auto;
}

/* Gallery Heading */
#gallerySection .g-eyebrow {
  text-align: center;
  color: #777;
  font-size: 14px;
  margin-bottom: 10px;
}

#gallerySection .g-title {
  text-align: center;
  font-size: 35px;
  color: #222;
  margin-bottom: 10px;
}

#gallerySection .g-title em {
  color: #c8973a;
}

#gallerySection .g-sub {
  max-width: 700px;
  margin: 0 auto 35px;
  text-align: center;
  color: #666;
  line-height: 1.6;
}

/* Gallery Filter Buttons */
#gallerySection .g-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

#gallerySection .gallery-btn {
  padding: 10px 20px;
  border: 1px solid #c8973a;
  background-color: white;
  color: #333;
  border-radius: 5px;
  cursor: pointer;
}

#gallerySection .gallery-btn:hover,
#gallerySection .gallery-btn.active {
  background-color: #c8973a;
  color: white;
}

/* Hide unwanted animation elements */
#gallerySection .g-float-shape,
#gallerySection .g-cube-wrap,
#gallerySection .g-ring3d,
#gallerySection .g-ring-outer,
#gallerySection .g-tab-indicator {
  display: none;
}

/* Gallery Image Grid */
#gallerySection .gallery-images {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

#gallerySection .gallery-images.active {
  display: grid;
}

/* Image Card */
#gallerySection .g-card {
  width: 100%;
}

/* Image Frame */
#gallerySection .g-frame {
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}

/* Gallery Image */
#gallerySection .g-media-wrap {
  width: 100%;
}

#gallerySection .g-media-wrap img,
#gallerySection .g-media-wrap video {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

/* Hide unnecessary effects */
#gallerySection .g-tilt,
#gallerySection .g-zoom-hint,
#gallerySection .g-caption {
  display: none;
}

/* Tablet */
@media screen and (max-width: 992px) {
  #gallerySection .gallery-images {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  #gallerySection {
    padding: 40px 15px;
  }

  #gallerySection .g-title {
    font-size: 28px;
  }

  #gallerySection .gallery-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  #gallerySection .g-media-wrap img,
  #gallerySection .g-media-wrap video {
    height: 180px;
  }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
  #gallerySection .gallery-images {
    grid-template-columns: 1fr;
  }

  #gallerySection .g-media-wrap img,
  #gallerySection .g-media-wrap video {
    height: 230px;
  }
}