/* ============================================================
   live-classes.css
   Profenaa Montessori — Live Classes Page (content only)
   Palette: Warm beige / brown, matching site design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
/* 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;
}
/* ── CSS Variables ── */
: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-body:  #66584d;
  --text-light: #9a7050;
  --white:      #ffffff;
  --accent:     #9a6b43;
  --accent-dark:#7a5030;
  --shadow-sm:  0 4px 16px rgba(100,60,10,0.08);
  --shadow-md:  0 8px 32px rgba(100,60,10,0.12);
  --shadow-lg:  0 20px 50px rgba(100,60,10,0.14);
  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  25px;
  --radius-xl:  32px;
  --transition: 0.3s ease;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: var(--text-body);
  line-height: 1.7;
}
/* ==========================================
   NAVBAR
   ========================================== */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--beige-50);
  border-bottom: 2px solid var(--beige-200);
  box-shadow: var(--shadow-sm);
}

.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-md);
  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 */

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }

/* ── Shared Container ── */
.lc-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 6%;
}

/* ── Shared Section Header ── */
.lc-section-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 60px;
}

.lc-section-tag {
  display: inline-block;
  background: #f1dfcb;
  color: #7a5738;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}

.lc-section-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.lc-section-sub {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* ── Shared Buttons ── */
.lc-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.lc-btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(154,107,67,0.3);
}

.lc-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(154,107,67,0.38);
}

.lc-btn--outline {
  background: #fff;
  color: var(--text-mid);
  border: 1.5px solid var(--beige-300);
}

.lc-btn--outline:hover {
  transform: translateY(-3px);
  background: var(--beige-50);
}

.lc-btn--outline-dark {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}

.lc-btn--outline-dark:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

/* ── Highlight Span ── */
.lc-highlight {
  color: var(--accent);
  position: relative;
}


/* ============================================================
   PEST (Profenaa Evaluation Skill Test) Section
   FIX: variables below were missing in the original file —
   every --gold-*, --ink, --white, --red, --green, --grey,
   --radius and --shadow reference had nothing to resolve to,
   which is why colors were broken (transparent/black/invisible).
   Re-declared here and tied to the site's existing beige/accent
   palette so PEST visually matches the rest of the page.
   ============================================================ */
#pest-section {
  --gold-50:  var(--beige-50);
  --gold-100: var(--beige-100);
  --gold-200: var(--beige-200);
  --gold-300: var(--beige-300);
  --gold-400: var(--beige-400);
  --gold-500: var(--beige-500);
  --gold-600: var(--beige-600);
  --gold-700: var(--beige-700);
  --ink:      var(--text-dark);
  --ink-soft: var(--text-mid);
  --white:    #ffffff;
  --green:    #2e7d4f;
  --red:      #c0392b;
  --grey:     var(--text-light);
  --radius:   var(--radius-md);
  --shadow:   var(--shadow-md);
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  box-sizing: border-box;
}

#pest-section *,#pest-section *::before,#pest-section *::after{box-sizing:inherit;}

.pest-wrap{
  width:100%;
  padding:64px 16px 60px;
  background:linear-gradient(160deg,var(--gold-50) 0%,var(--gold-100) 100%);
  display:flex;
  justify-content:center;
  align-items:flex-start;
}

.pest-container{
  width:100%;
  max-width:760px;
  margin:0 auto;
}

/* ---------- Generic panel ---------- */
.pest-panel{
  background:var(--white);
  border:1px solid var(--gold-200);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:32px 24px;
  animation:pestFadeIn .45s ease both;
}
@keyframes pestFadeIn{
  from{opacity:0; transform:translateY(14px);}
  to{opacity:1; transform:translateY(0);}
}

.pest-hidden{display:none !important;}

/* ---------- Intro Card ---------- */
.pest-intro{
  text-align:center;
  background:
    radial-gradient(circle at 20% 15%, rgba(154,107,67,0.14), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(154,107,67,0.12), transparent 45%),
    #ffffff !important;
  position:relative;
  z-index:2;
}
.pest-badge{
  display:inline-block;
  background:var(--gold-400, #c9a06a) !important;
  color:#ffffff !important;
  font-size:12px;
  font-weight:700;
  letter-spacing:1.5px;
  padding:6px 14px;
  border-radius:999px;
  margin-bottom:18px;
  text-transform:uppercase;
  text-shadow:0 1px 2px rgba(0,0,0,0.25);
  box-shadow:0 2px 8px rgba(140,90,40,0.25);
}
.pest-intro h1{
  font-size:clamp(22px,4vw,30px);
  margin:0 0 10px;
  color:var(--ink);
  font-weight:800;
}
.pest-intro p.pest-sub{
  color:var(--ink-soft);
  font-size:15px;
  max-width:480px;
  margin:0 auto 24px;
  line-height:1.6;
}
.pest-meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin-bottom:26px;
}
.pest-meta span{
  background:var(--gold-50);
  border:1px solid var(--gold-200);
  color:var(--gold-700);
  font-size:13px;
  font-weight:600;
  padding:7px 14px;
  border-radius:999px;
}

/* ---------- Buttons ---------- */
.pest-btn{
  appearance:none;
  border:none;
  cursor:pointer;
  font-size:16px;
  font-weight:700;
  padding:14px 34px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--gold-400, #c9a06a),var(--gold-600, #8a5e30)) !important;
  background-color:var(--gold-500, #b07d45) !important;
  color:#ffffff !important;
  box-shadow:0 8px 18px rgba(140,90,40,0.3);
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.pest-btn:hover{transform:translateY(-2px); box-shadow:0 12px 22px rgba(140,90,40,0.38);}
.pest-btn:active{transform:translateY(0);}
.pest-btn:disabled{opacity:.5; cursor:not-allowed; transform:none; box-shadow:none;}
.pest-btn.pest-btn-outline{
  background:transparent !important;
  background-color:transparent !important;
  color:var(--gold-600, #8a5e30) !important;
  border:2px solid var(--gold-400, #c9a06a);
  box-shadow:none;
}
.pest-btn.pest-btn-outline:hover{background:var(--gold-50, #fdf8f1) !important;}
.pest-btn-row{display:flex; gap:12px; justify-content:center; flex-wrap:wrap;}

/* ---------- Registration form ---------- */
.pest-form h2{
  font-size:21px;
  margin:0 0 6px;
  text-align:center;
  color:var(--ink);
}
.pest-form p.pest-form-sub{
  text-align:center;
  color:var(--ink-soft);
  font-size:14px;
  margin:0 0 24px;
}
.pest-field{margin-bottom:18px;}
.pest-field label{
  display:block;
  font-weight:700;
  font-size:13px;
  color:var(--gold-700);
  margin-bottom:6px;
  letter-spacing:.3px;
}
.pest-field input{
  width:100%;
  padding:13px 14px;
  border:1.5px solid var(--gold-200);
  border-radius:10px;
  font-size:15px;
  background:var(--gold-50);
  color:var(--ink);
  outline:none;
  transition:border-color .15s ease, background .15s ease;
}
.pest-field input:focus{
  border-color:var(--gold-500);
  background:var(--white);
}
.pest-error{
  color:var(--red);
  font-size:12.5px;
  margin-top:5px;
  min-height:16px;
  font-weight:600;
}

/* ---------- Quiz ---------- */
.pest-quiz-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:18px;
}
.pest-quiz-head h2{font-size:18px; margin:0;}
.pest-progress-text{font-size:13px; color:var(--ink-soft); font-weight:600;}
.pest-progress-bar{
  width:100%;
  height:8px;
  background:var(--gold-100);
  border-radius:999px;
  overflow:hidden;
  margin-bottom:24px;
}
.pest-progress-fill{
  height:100%;
  width:0%;
  background:linear-gradient(90deg,var(--gold-400),var(--gold-600));
  transition:width .25s ease;
}
.pest-question{
  font-size:17px;
  font-weight:700;
  margin:0 0 18px;
  line-height:1.5;
  color:var(--ink);
}
.pest-question .pest-qnum{
  color:var(--gold-600);
  margin-right:6px;
}
.pest-options{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:26px;
}
.pest-option{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border:1.5px solid var(--gold-200);
  border-radius:10px;
  cursor:pointer;
  background:var(--gold-50);
  transition:border-color .15s ease, background .15s ease;
  font-size:14.5px;
}
.pest-option:hover{border-color:var(--gold-400);}
.pest-option.pest-selected{
  border-color:var(--gold-500);
  background:var(--gold-200);
  font-weight:700;
}
.pest-option input{accent-color:var(--gold-600);}
.pest-nav-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

/* ---------- Review grid (question palette) ---------- */
.pest-palette{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:22px;
}
.pest-pal-btn{
  width:34px;
  height:34px;
  border-radius:8px;
  border:1.5px solid var(--gold-200);
  background:var(--gold-50);
  color:var(--ink-soft);
  font-size:12.5px;
  font-weight:700;
  cursor:pointer;
}
.pest-pal-btn.pest-pal-current{outline:2px solid var(--gold-600); outline-offset:1px;}
.pest-pal-btn.pest-pal-answered{background:var(--gold-400); color:var(--white); border-color:var(--gold-400);}

/* ---------- Results ---------- */
.pest-result-score{
  text-align:center;
  margin-bottom:22px;
}
.pest-result-score .pest-score-num{
  font-size:46px;
  font-weight:800;
  color:var(--gold-600);
  line-height:1;
}
.pest-result-score .pest-score-out{
  font-size:16px;
  color:var(--ink-soft);
  font-weight:600;
}
.pest-stat-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-bottom:24px;
}
.pest-stat{
  text-align:center;
  padding:16px 8px;
  border-radius:12px;
  background:var(--gold-50);
  border:1px solid var(--gold-200);
}
.pest-stat .pest-stat-num{font-size:24px; font-weight:800;}
.pest-stat .pest-stat-label{font-size:12px; color:var(--ink-soft); font-weight:600; margin-top:4px;}
.pest-stat.pest-correct .pest-stat-num{color:var(--green);}
.pest-stat.pest-wrong .pest-stat-num{color:var(--red);}
.pest-stat.pest-skip .pest-stat-num{color:var(--grey);}

.pest-quote-box{
  background:linear-gradient(135deg,var(--gold-100),var(--gold-50));
  border-left:4px solid var(--gold-500);
  border-radius:10px;
  padding:18px 18px;
  font-style:italic;
  color:var(--ink);
  margin-bottom:24px;
  font-size:15px;
  line-height:1.6;
}
.pest-result-name{
  text-align:center;
  color:var(--ink-soft);
  font-size:14px;
  margin-bottom:6px;
}
.pest-submit-status{
  text-align:center;
  font-size:13px;
  margin-top:14px;
  color:var(--ink-soft);
  min-height:18px;
}

/* ---------- Responsive ---------- */
@media (max-width:520px){
  .pest-wrap{padding:36px 12px 40px;}
  .pest-panel{padding:24px 16px;}
  .pest-stat-grid{gap:8px;}
  .pest-stat .pest-stat-num{font-size:20px;}
  .pest-btn{padding:13px 24px; font-size:15px; width:100%;}
  .pest-btn-row{flex-direction:column;}
  .pest-nav-row .pest-btn{width:auto; flex:1;}
}


/* ============================================================
   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);
  --f-accent:      #b5813a;
  --f-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;
}

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;
}

/* ── 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(--f-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(--f-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 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social__link svg {
  width: 17px;
  height: 17px;
}

.footer-social__link:hover {
  background: var(--f-accent);
  border-color: var(--f-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 0.25s ease, gap 0.25s ease;
  line-height: 1.4;
}

.footer-links li a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--f-accent);
  opacity: 0.55;
  flex-shrink: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.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 0.25s ease;
}

.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(--f-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 0.25s ease;
}

.footer-bottom__nav a:hover {
  color: var(--f-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; }
}

/* ============================================================
   SIMPLE PAGE HERO
   ============================================================ */
.pest-hero{
  width:100%;
  padding:54px 16px 36px;
  text-align:center;
  background:linear-gradient(160deg, var(--beige-100) 0%, var(--beige-50) 100%);
  border-bottom:1px solid var(--beige-200);
}
.pest-hero-inner{
  max-width:680px;
  margin:0 auto;
}
.pest-hero-tag{
  display:inline-block;
  background:#f1dfcb;
  color:#7a5738;
  padding:7px 18px;
  border-radius:50px;
  font-size:12.5px;
  font-weight:600;
  letter-spacing:0.03em;
  margin-bottom:16px;
}
.pest-hero-title{
  font-size:clamp(24px,4vw,34px);
  font-weight:800;
  color:var(--text-dark);
  line-height:1.25;
  margin:0 0 12px;
}
.pest-hero-sub{
  font-size:15px;
  color:var(--text-body);
  line-height:1.6;
  margin:0;
}
@media (max-width:520px){
  .pest-hero{padding:40px 16px 28px;}
}


/* 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);
}