/* ============================================================
   blogs.css — Profenaa Montessori Blog Page
   Palette: Warm beige / brown, matching site design system
   ============================================================ */

@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;
}

/* ── 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 2px 12px rgba(100,60,10,0.07);
  --shadow-md:  0 8px 28px rgba(100,60,10,0.11);
  --shadow-lg:  0 20px 50px rgba(100,60,10,0.13);
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  22px;
  --radius-xl:  30px;
  --trans:      0.28s ease;
}
/* ==========================================
   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 */

/* ── 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;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ── Container ── */
.bl-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 6%;
}

/* ── Section Header ── */
.bl-section-header { text-align: center; max-width: 820px; margin: 0 auto 52px; }
.bl-section-header--left { text-align: left; margin-left: 0; }

.bl-section-tag {
  display: inline-block;
  background: #f1dfcb;
  color: #7a5738;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.bl-section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.22;
}

.bl-section-sub {
  margin-top: 14px;
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.8;
}

/* ── Buttons ── */
.bl-btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
  border: none;
  font-family: 'Poppins', sans-serif;
}

.bl-btn--cta-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(154,107,67,0.3);
}
.bl-btn--cta-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(154,107,67,0.38); }

.bl-btn--cta-outline {
  background: #fff;
  color: var(--text-mid);
  border: 1.5px solid var(--beige-300);
}
.bl-btn--cta-outline:hover { transform: translateY(-3px); background: var(--beige-50); }

.bl-btn--load-more {
  background: var(--beige-50);
  color: var(--text-mid);
  border: 1.5px solid var(--beige-200);
  padding: 13px 42px;
}
.bl-btn--load-more:hover { background: var(--beige-100); transform: translateY(-2px); }

.bl-btn--subscribe {
  background: var(--accent);
  color: #fff;
  white-space: nowrap;
  padding: 14px 28px;
}
.bl-btn--subscribe:hover { transform: translateY(-2px); background: var(--accent-dark); }

/* ── Accent ── */
.bl-accent { color: var(--accent); }

/* ── Read More Link ── */
.bl-read-more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
  margin-top: 10px;
  transition: color var(--trans), letter-spacing var(--trans);
}
.bl-read-more:hover { color: var(--accent-dark); letter-spacing: 0.02em; }

/* ── Post Meta ── */
.bl-post-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-light);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.bl-post-meta__author { font-weight: 600; color: var(--text-mid); }
.bl-post-meta__dot { opacity: 0.4; }

/* ── Category Badge ── */
.bl-post-cat {
  display: inline-block;
  background: rgba(253,248,241,0.9);
  color: var(--text-mid);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}
.bl-post-cat--featured {
  background: var(--accent);
  color: #fff;
}

/* ================================================================
   HERO
================================================================ */
.bl-hero {
  background: linear-gradient(135deg, #F8F1E9, #F4E6D8, #EEDBC8);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.bl-hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.bl-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
}
.bl-orb--1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #c9a06a, transparent 70%);
  top: -160px; right: -80px;
}
.bl-orb--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #b07d45, transparent 70%);
  bottom: -60px; left: 5%;
}

.bl-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.bl-hero__tag {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--beige-200);
  color: var(--text-mid);
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.bl-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.13;
  max-width: 860px;
}

.bl-hero__desc {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.85;
  max-width: 680px;
}

/* Search */
.bl-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--beige-200);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  width: 100%;
  max-width: 640px;
  box-shadow: var(--shadow-md);
  gap: 10px;
}

.bl-search__icon {
  width: 20px; height: 20px;
  color: var(--text-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.bl-search__icon svg { width: 100%; height: 100%; }

.bl-search__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: transparent;
}
.bl-search__input::placeholder { color: var(--text-light); }

.bl-search__btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background var(--trans);
  white-space: nowrap;
}
.bl-search__btn:hover { background: var(--accent-dark); }

@media (max-width: 576px) {
  .bl-hero { padding: 70px 0 50px; }
  .bl-hero__title { font-size: 2rem; }
  .bl-search { flex-direction: column; border-radius: var(--radius-lg); padding: 16px; gap: 12px; }
  .bl-search__btn { width: 100%; text-align: center; }
}

/* ================================================================
   CATEGORIES
================================================================ */
.bl-categories {
  background: #fff;
  padding: 28px 0;
  border-bottom: 1px solid var(--beige-100);
  position: sticky;
  top: 70px;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(100,60,10,0.05);
}

.bl-categories__list {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.bl-categories__list::-webkit-scrollbar { display: none; }

.bl-cat-btn {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--beige-200);
  background: #fff;
  color: var(--text-mid);
  transition: all var(--trans);
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
}
.bl-cat-btn:hover { background: var(--beige-50); border-color: var(--beige-300); }
.bl-cat-btn--active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ================================================================
   FEATURED
================================================================ */
.bl-featured {
  padding: 80px 0 0;
  background: #fffdf9;
}

.bl-featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--beige-200);
  box-shadow: var(--shadow-md);
  background: #fff;
  transition: transform var(--trans), box-shadow var(--trans);
}
.bl-featured-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.bl-featured-card__img {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
}
.bl-featured-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.bl-featured-card:hover .bl-featured-card__img img { transform: scale(1.06); }

.bl-featured-card__img .bl-post-cat {
  position: absolute;
  top: 18px; left: 18px;
}

.bl-featured-card__content {
  padding: 44px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.bl-featured-card__content h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
}
.bl-featured-card__content h3 a:hover { color: var(--accent); }

.bl-featured-card__content > p {
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.85;
}

@media (max-width: 900px) {
  .bl-featured-card { grid-template-columns: 1fr; }
  .bl-featured-card__img { min-height: 260px; }
  .bl-featured-card__content { padding: 30px 28px; }
}
@media (max-width: 576px) {
  .bl-featured { padding: 60px 0 0; }
  .bl-featured-card__content { padding: 24px 20px; }
  .bl-featured-card__content h3 { font-size: 1.15rem; }
}

/* ================================================================
   POSTS GRID
================================================================ */
.bl-posts {
  padding: 64px 0 80px;
  background: #fffdf9;
}

.bl-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 50px;
}

.bl-post-card {
  background: #fff;
  border: 1px solid var(--beige-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans), box-shadow var(--trans);
}
.bl-post-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }

.bl-post-card__img {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.bl-post-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.bl-post-card:hover .bl-post-card__img img { transform: scale(1.07); }

.bl-post-card__img .bl-post-cat {
  position: absolute;
  bottom: 12px; left: 12px;
}

.bl-post-card__body {
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.bl-post-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}
.bl-post-card__body h3 a:hover { color: var(--accent); }

.bl-post-card__body > p {
  font-size: 0.87rem;
  color: var(--text-body);
  line-height: 1.8;
  flex: 1;
}

/* Hidden cards (JS filtering) */
.bl-post-card--hidden,
.bl-featured-card--hidden {
  display: none !important;
}

/* Load More */
.bl-load-more { text-align: center; }

@media (max-width: 991px) { .bl-posts__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) {
  .bl-posts { padding: 50px 0 60px; }
  .bl-posts__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ================================================================
   TOPICS CLOUD
================================================================ */
.bl-topics {
  padding: 80px 0;
  background: #fdf8f2;
}

.bl-topics__cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.bl-topic-tag {
  display: inline-block;
  background: #fff;
  border: 1.5px solid var(--beige-200);
  color: var(--text-mid);
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--trans);
}
.bl-topic-tag:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(154,107,67,0.25);
}

@media (max-width: 576px) { .bl-topics { padding: 60px 0; } }

/* ================================================================
   NEWSLETTER
================================================================ */
.bl-newsletter {
  padding: 80px 0;
  background: #fff;
}

.bl-newsletter__inner {
  background: linear-gradient(135deg, #f8f0e4, #f0e2cc);
  border: 1px solid var(--beige-200);
  border-radius: var(--radius-xl);
  padding: 60px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bl-newsletter__bg-orb {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,160,106,0.15), transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.bl-newsletter__content { position: relative; z-index: 1; }

.bl-newsletter__icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 18px;
}

.bl-newsletter__inner h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.bl-newsletter__inner > .bl-newsletter__content > p {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 32px;
}

.bl-newsletter__form { max-width: 680px; margin: 0 auto; }

.bl-newsletter__fields {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.bl-newsletter__input {
  flex: 1;
  padding: 14px 20px;
  border: 1.5px solid var(--beige-200);
  border-radius: 50px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color var(--trans);
}
.bl-newsletter__input:focus { border-color: var(--accent); }
.bl-newsletter__input::placeholder { color: var(--text-light); }

.bl-newsletter__privacy {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 14px;
}

@media (max-width: 768px) {
  .bl-newsletter__inner { padding: 44px 30px; }
  .bl-newsletter__fields { flex-direction: column; }
  .bl-newsletter__input,
  .bl-btn--subscribe { width: 100%; border-radius: var(--radius-md); text-align: center; }
}
@media (max-width: 576px) {
  .bl-newsletter { padding: 60px 0; }
  .bl-newsletter__inner { padding: 36px 20px; }
}

/* ================================================================
   CTA STRIP
================================================================ */
.bl-cta {
  padding: 0 0 90px;
  background: #fff;
}

.bl-cta__inner {
  background: linear-gradient(135deg, #3d2b1f 0%, #6b4520 60%, #8a5e30 100%);
  border-radius: var(--radius-xl);
  padding: 50px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.bl-cta__inner::before {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,160,106,0.18), transparent 70%);
  pointer-events: none;
}

.bl-cta__text h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 10px;
}
.bl-cta__text p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 500px;
}

.bl-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.bl-btn--cta-primary {
  background: var(--beige-300);
  color: var(--text-dark);
  box-shadow: 0 4px 14px rgba(217,188,142,0.4);
}
.bl-btn--cta-primary:hover {
  background: var(--beige-400);
  transform: translateY(-3px);
}

.bl-btn--cta-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.bl-btn--cta-outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .bl-cta__inner { flex-direction: column; text-align: center; padding: 40px 30px; }
  .bl-cta__actions { justify-content: center; }
  .bl-cta__text p { margin: 0 auto; }
}
@media (max-width: 576px) {
  .bl-cta { padding: 0 0 60px; }
  .bl-cta__inner { border-radius: var(--radius-lg); padding: 32px 20px; }
  .bl-cta__actions { width: 100%; flex-direction: column; align-items: center; }
  .bl-cta__actions .bl-btn { 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; }
}