*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

/* =========================================
   Profenaa Montessori Education - Navbar CSS
   ========================================= */

:root {
  --beige-50:  #fdf8f1;
  --beige-100: #f5ead8;
  --beige-200: #e8d5b7;
  --beige-300: #d9bc8e;
  --beige-400: #c9a06a;
  --beige-500: #b07d45;
  --beige-600: #8a5e30;
  --beige-700: #6b4520;
  --beige-800: #4e2f10;
  --text-dark:  #3a2510;
  --text-mid:   #6b4520;
  --text-light: #9a7050;
  --white:      #ffffff;
  --shadow:     0 4px 24px rgba(100, 60, 10, 0.10);
  --shadow-drop:0 8px 32px rgba(100, 60, 10, 0.13);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }

body { font-family:'Poppins',sans-serif; background:#f0e8d8; min-height:100vh; }

/* ==========================================
   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 { 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-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; }

.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-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); }

.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; }

.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-btn {
  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 {
  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.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 {
  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-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-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-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 { 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; }

@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; }
}
@media(max-width:860px){
  .nav-links,.desktop-enroll { display:none; }
  .hamburger { display:flex; }
  .mobile-menu { display:flex; }
  .brand-name { font-size:13.5px; }
}

/* ==========================================
   PAGE BODY
   ========================================== */
body { background:#fff; }

/* ==========================================
   HERO — amgle
   ========================================== */
.amgle-hero {
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #F8F1E9, #F4E6D8, #EEDBC8);
    padding: 40px 7%;
    box-sizing: border-box;
    overflow: hidden;
}
.amgle-container {
    max-width: 1400px;
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.amgle-content { flex: 1; }

.amgle-badge {
    display: inline-block;
    background: #d6b58f;
    color: #5a3f2a;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.amgle-content h1 {
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    color: #3d2b1f;
    line-height: 1.15;
    margin-bottom: 16px;
    font-weight: 800;
}
.amgle-content p {
    color: #66584d;
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 600px;
    margin-bottom: 22px;
}
.amgle-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

.amgle-btn-primary {
    text-decoration: none;
    background: #9a6b43;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;
}
.amgle-btn-primary:hover { transform: translateY(-3px); }

.amgle-btn-secondary {
    text-decoration: none;
    background: white;
    color: #5f4330;
    border: 1px solid #cdb79f;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;
}
.amgle-btn-secondary:hover { transform: translateY(-3px); }

.amgle-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.amgle-image img {
    width: 100%;
    max-width: 480px;
    height: calc(100vh - 200px);
    max-height: 520px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
}

@media(max-width: 991px) {
    .amgle-hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 5% 60px;
        overflow: visible;
    }
    .amgle-container { flex-direction: column-reverse; text-align: center; }
    .amgle-buttons { justify-content: center; }
    .amgle-content p { margin-left: auto; margin-right: auto; }
    .amgle-image img {
        max-width: 420px;
        height: 300px;
        max-height: 300px;
    }
}
@media(max-width: 576px) {
    .amgle-hero { padding: 80px 20px 50px; }
    .amgle-content h1 { font-size: 1.8rem; }
    .amgle-content p { font-size: .9rem; }
    .amgle-buttons { flex-direction: column; }
    .amgle-btn-primary, .amgle-btn-secondary { width: 100%; text-align: center; }
    .amgle-image img { max-width: 100%; height: 240px; }
}

/* ==========================================
   ABOUT — amgle
   ========================================== */
.amgle-about { padding:100px 8%; background:#fffdf9; }
.amgle-about-container { max-width:1200px; margin:auto; }

.amgle-about-badge {
    display:table; margin:0 auto 20px; background:#f1dfcb; color:#7a5738;
    padding:10px 20px; border-radius:50px; font-size:14px; font-weight:600;
}
.amgle-about h2 {
    text-align:center; font-size:clamp(2rem,4vw,3.2rem);
    color:#3e2c1f; margin-bottom:25px; line-height:1.2;
}
.amgle-about-intro {
    text-align:center; max-width:1000px; margin:0 auto 20px;
    color:#6c5a4b; font-size:1rem; line-height:1.9;
}
.amgle-about-grid {
    margin-top:50px; display:grid;
    grid-template-columns:repeat(3,1fr); gap:25px;
}
.amgle-about-card {
    background:#f9f2ea; border:1px solid #ead9c8;
    border-radius:20px; padding:30px; transition:.4s ease;
}
.amgle-about-card:hover { transform:translateY(-8px); }
.amgle-about-card h3 { color:#5f4330; font-size:1.2rem; margin-bottom:12px; }
.amgle-about-card p { color:#6c5a4b; line-height:1.8; font-size:.95rem; }

@media(max-width:991px){ .amgle-about-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:576px){
    .amgle-about { padding:70px 20px; }
    .amgle-about-grid { grid-template-columns:1fr; }
    .amgle-about h2 { font-size:2rem; }
    .amgle-about-intro { text-align:left; }
}

/* ==========================================
   WHY CHOOSE — amgle
   ========================================== */
.amgle-why-choose { padding:100px 8%; background:#fdf8f2; }
.amgle-why-container {
    max-width:1300px; margin:auto;
    display:grid; grid-template-columns:1.2fr 0.8fr; gap:60px; align-items:center;
}
.amgle-why-tag {
    display:inline-block; padding:10px 20px; background:#ead9c7; color:#7b5a3b;
    border-radius:50px; font-size:14px; font-weight:600; margin-bottom:20px;
}
.amgle-why-content h2 {
    font-size:clamp(2rem,4vw,3.2rem); color:#3b2a1e; line-height:1.2; margin-bottom:25px;
}
.amgle-why-content p { color:#6b5a4b; font-size:1rem; line-height:1.9; margin-bottom:20px; }

.amgle-why-points {
    background:#fff; padding:40px; border-radius:25px;
    border:1px solid #ead9c7; box-shadow:0 10px 30px rgba(0,0,0,0.05);
}
.amgle-point { display:flex; align-items:flex-start; gap:15px; margin-bottom:22px; }
.amgle-point:last-child { margin-bottom:0; }
.amgle-point span {
    width:35px; height:35px; min-width:35px;
    display:flex; align-items:center; justify-content:center;
    border-radius:50%; background:#b58a5a; color:#fff; font-weight:700;
}
.amgle-point p { margin:0; color:#5f4c3d; line-height:1.7; font-weight:500; }

@media(max-width:991px){ .amgle-why-container { grid-template-columns:1fr; gap:40px; } }
@media(max-width:576px){
    .amgle-why-choose { padding:70px 20px; }
    .amgle-why-content h2 { font-size:2rem; }
    .amgle-why-points { padding:25px; }
}

/* ==========================================
   GALLERY — amgle
   ========================================== */
.amgle-gallery { padding:100px 8%; background:#fff; }
.amgle-gallery-header { text-align:center; max-width:900px; margin:0 auto 60px; }

.amgle-gallery-tag {
    display:inline-block; background:#f2e4d6; color:#8a6747;
    padding:10px 20px; border-radius:50px; font-size:14px; font-weight:600; margin-bottom:20px;
}
.amgle-gallery-header h2 {
    font-size:clamp(2rem,4vw,3.5rem); color:#3f2f22; margin-bottom:20px; line-height:1.2;
}
.amgle-gallery-header p { color:#6f5e4f; line-height:1.9; font-size:1rem; }

.amgle-gallery-collage {
    max-width:1400px; margin:auto;
    display:grid; grid-template-columns:repeat(4,1fr);
    grid-auto-rows:220px; gap:20px;
}
.gallery-item { overflow:hidden; border-radius:25px; position:relative; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:.6s ease; }
.gallery-item:hover img { transform:scale(1.08); }
.gallery-large { grid-column:span 2; grid-row:span 2; }
.gallery-tall { grid-row:span 2; }

@media(max-width:991px){
    .amgle-gallery-collage { grid-template-columns:repeat(2,1fr); }
    .gallery-large { grid-column:span 2; }
}
@media(max-width:576px){
    .amgle-gallery { padding:70px 20px; }
    .amgle-gallery-collage { grid-template-columns:1fr; grid-auto-rows:250px; }
    .gallery-large,.gallery-tall { grid-column:unset; grid-row:unset; }
    .amgle-gallery-header h2 { font-size:2rem; }
}

/* ==========================================
   CTA — amgle
   ========================================== */
.amgle-cta { padding:0 8% 100px; background:#fff; }
.amgle-cta-content {
    max-width:1200px; margin:auto;
    background:linear-gradient(135deg,#f6eadc,#efe0cf);
    border:1px solid #e5d3c0; border-radius:24px; padding:35px 40px;
    display:flex; align-items:center; justify-content:space-between; gap:25px;
}
.amgle-cta-text h2 { color:#3f2f22; font-size:1.8rem; margin-bottom:10px; line-height:1.3; }
.amgle-cta-text p { color:#6b5a4b; line-height:1.7; }
.amgle-cta-buttons { display:flex; gap:15px; flex-wrap:wrap; }

.amgle-cta-btn-primary {
    text-decoration:none; background:#9c7350; color:#fff;
    padding:14px 28px; border-radius:50px; font-weight:600; transition:.3s;
}
.amgle-cta-btn-primary:hover { transform:translateY(-3px); }

.amgle-cta-btn-secondary {
    text-decoration:none; background:#fff; color:#6a4b33;
    border:1px solid #d7c0ab; padding:14px 28px;
    border-radius:50px; font-weight:600; transition:.3s;
}
.amgle-cta-btn-secondary:hover { transform:translateY(-3px); }

@media(max-width:768px){
    .amgle-cta-content { flex-direction:column; text-align:center; padding:30px 25px; }
    .amgle-cta-text h2 { font-size:1.5rem; }
    .amgle-cta-buttons { justify-content:center; }
}
@media(max-width:576px){
    .amgle-cta { padding:0 20px 70px; }
    .amgle-cta-buttons { width:100%; flex-direction:column; }
    .amgle-cta-btn-primary,.amgle-cta-btn-secondary { width:100%; text-align:center; }
}


/* ============================================================
   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);
}