@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Caveat:wght@600&display=swap');

/* ============================================================
   Pancholi Samaj — Main Stylesheet
   Palette: White #FFFFFF · Orange #E86B2A · Black #1A1A1A
   Font: Plus Jakarta Sans (Global) + Caveat (Accents)
   ============================================================ */

/* ── Reset & Root ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:    #E86B2A;
  --orange-dk: #C85520;
  --orange-lt: #FFF3EC;
  --black:     #1A1A1A;
  --white:     #FFFFFF;
  --gray-50:   #F8F7F5;
  --gray-100:  #F0EFEC;
  --gray-200:  #DCDCD8;
  --gray-400:  #9A9A95;
  --gray-600:  #6B6B66;
  --gray-800:  #3A3A38;

  /* Unified Global Typography */
  --font-serif: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-sans:  'Plus Jakarta Sans', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --nav-h: 72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

/* Apply font globally to body and all form elements */
body, button, input, textarea, select {
  font-family: var(--font-sans);
}

body {
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-serif); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
a  { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dk); }

/* ── Container ──────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }

/* ── Blood Ticker ───────────────────────────────────────────── */
.blood-ticker {
  background: #C62828; color: #fff; height: 36px;
  display: flex; align-items: center; overflow: hidden; 
  position: fixed !important; 
  top: 0; left: 0; width: 100%;
  z-index: 9999 !important; 
}
.blood-ticker__label {
  flex-shrink: 0; padding: 0 16px; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; background: #9b1111; height: 100%;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.blood-ticker__scroll {
  flex: 1; overflow: hidden; position: relative;
  display: flex; animation: ticker 28s linear infinite;
  white-space: nowrap;
}
.blood-ticker__item { padding: 0 48px; font-size: 12.5px; flex-shrink: 0; }
.blood-ticker__item a { color: #ffcdd2; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Force header down when ticker is active */
body.has-ticker .site-header { 
  top: 36px !important; 
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  height: var(--nav-h);
  background: transparent; 
  border-bottom: 1px solid transparent;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
body.has-ticker .site-header { top: 36px; }
.site-header.scrolled {
  background: var(--white); 
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.site-header.hide { transform: translateY(-100%); }
.site-header.scrolled.hide { transform: translateY(calc(-100% - 1px)); }

.nav {
  height: var(--nav-h); display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}

.nav__logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.nav__logo-text {
  font-family: var(--font-serif); font-size: 22px; font-weight: 700;
  color: var(--black) !important;
  transition: color var(--transition);
}
.nav__logo-tagline {
  font-size: 10px; letter-spacing: .12em; color: var(--gray-600) !important;
  transition: color var(--transition); text-transform: uppercase; margin-top: 2px;
}

.nav__menu {
  display: flex; align-items: center; list-style: none; gap: 2px; flex: 1; justify-content: center;
}
.nav__link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600; 
  color: var(--black) !important; 
  text-decoration: none;
  transition: all var(--transition); white-space: nowrap;
}
.nav__link:hover { color: var(--orange) !important; background: transparent; }
.nav__arrow { font-size: 10px; opacity: .6; }

.nav__item--dropdown { position: relative; }
.nav__dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); list-style: none;
  min-width: 200px; padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: all .22s ease;
  border: 1px solid var(--gray-100);
}
.nav__dropdown--wide { min-width: 260px; }
.nav__dropdown--right { left: auto; right: 0; }
.nav__item--dropdown:hover .nav__dropdown,
.nav__user:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a {
  display: block; padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 500; color: var(--black) !important; transition: all .18s ease;
}
.nav__dropdown a:hover { background: var(--orange-lt); color: var(--orange) !important; }
.nav__dropdown-divider { height: 1px; background: var(--gray-100); margin: 6px 0; }

.nav__auth { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-nav {
  padding: 8px 18px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.btn-nav--outline { border: 1.5px solid var(--gray-400); color: var(--black) !important; background: transparent; }
.btn-nav--outline:hover { border-color: var(--orange); color: var(--orange) !important; }
.btn-nav--solid { background: var(--orange); color: var(--white) !important; border: none; }
.btn-nav--solid:hover { background: var(--orange-dk); color: var(--white) !important; }

.nav__user { position: relative; }
.nav__user-btn {
  display: flex; align-items: center; gap: 8px;
  background: transparent; border: 1.5px solid var(--gray-200);
  border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: 13.5px;
  color: var(--black) !important; font-family: inherit; font-weight: 600; transition: all var(--transition);
}
.nav__user-btn:hover { border-color: var(--orange); color: var(--orange) !important; }
.site-header.scrolled .nav__user-btn { background: var(--gray-50); }
.nav__user-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.nav__user-initials {
  width: 26px; height: 26px; border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--white) !important;
}

.nav__hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 6px;
}
.nav__hamburger span {
  display: block; width: 24px; height: 2px; background: var(--black) !important;
  border-radius: 2px; transition: all var(--transition);
}
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 130; }

@media (max-width: 900px) {
  .nav__menu { display: none; }
  .nav__hamburger { display: flex; }
  .nav__menu.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: fixed; top: 0; right: 0; height: 100vh; width: 300px;
    background: var(--white); z-index: 140; padding: 80px 20px 24px;
    overflow-y: auto; box-shadow: -8px 0 40px rgba(0,0,0,.15);
  }
  .nav__menu.open .nav__link { color: var(--black) !important; font-size: 15px; width: 100%; }
  .nav__menu.open .nav__dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: var(--gray-50); border: none; margin: 4px 0 8px 12px;
  }
  .nav-overlay.open { display: block; }
}

/* ── Section Styles ─────────────────────────────────────────── */
.section { padding: 80px 0; }
.section--gray { background: var(--gray-50); }
.section__header { text-align: center; margin-bottom: 54px; }
.section__label {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.section__title { color: var(--black); margin-bottom: 12px; font-weight: 800; }
.section__subtitle { color: var(--gray-600); max-width: 520px; margin: 0 auto; font-size: 16px; font-weight: 500;}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.card__body { padding: 22px; }
.card__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.card__title { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; color: var(--black); margin-bottom: 10px; line-height: 1.3; }
.card__excerpt { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.card__meta { font-size: 12px; font-weight: 500; color: var(--gray-400); display: flex; align-items: center; gap: 12px; }
.card__link { font-size: 13.5px; font-weight: 700; color: var(--orange); }

/* ── Grid ───────────────────────────────────────────────────── */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid--4,.grid--3,.grid--2 { grid-template-columns: 1fr; } }

/* ── Gallery Masonry (Original) ─────────────────────────────── */
.gallery-grid { columns: 4; column-gap: 14px; }
.gallery-grid__item {
  break-inside: avoid; margin-bottom: 14px; border-radius: var(--radius-md);
  overflow: hidden; position: relative; cursor: pointer;
}
.gallery-grid__item img { width: 100%; display: block; transition: transform .5s ease; }
.gallery-grid__item:hover img { transform: scale(1.05); }
.gallery-grid__overlay {
  position: absolute; inset: 0; background: rgba(26,26,26,.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
}
.gallery-grid__item:hover .gallery-grid__overlay { opacity: 1; }
.gallery-grid__zoom { color: var(--white); font-size: 28px; }
@media (max-width: 1024px) { .gallery-grid { columns: 3; } }
@media (max-width: 640px)  { .gallery-grid { columns: 2; } }

/* ── NEW: Album Masonry (Pinterest Style) ───────────────────── */
.album-masonry {
  column-count: 3;
  column-gap: 24px;
  width: 100%;
}

.album-masonry__item {
  display: block; 
  width: 100%;
  margin-bottom: 28px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  text-decoration: none;
}

.album-masonry__img-wrap {
  border-radius: var(--radius-sm); 
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--gray-50);
}

.album-masonry__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition);
}

.album-masonry__item:hover .album-masonry__img-wrap img {
  transform: scale(1.03);
}

.album-masonry__title {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
  line-height: 1.4;
  text-align: left;
}

@media (max-width: 900px) { .album-masonry { column-count: 2; } }
@media (max-width: 600px) { .album-masonry { column-count: 1; } }

/* ── Kahan Gaye Cards ───────────────────────────────────────── */
.kahan-card {
  display: flex; gap: 24px; padding: 28px; background: var(--white);
  border-radius: var(--radius-lg); border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm); transition: all var(--transition); align-items: flex-start;
}
.kahan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.kahan-card__photo {
  width: 100px; height: 100px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 3px solid var(--orange-lt); box-shadow: 0 0 0 2px var(--orange);
}
.kahan-card__photo-placeholder {
  width: 100px; height: 100px; border-radius: 50%; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center; font-size: 40px; flex-shrink: 0;
}
.kahan-card__name { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.kahan-card__date { font-size: 12px; font-weight: 600; color: var(--orange); margin-bottom: 10px; }
.kahan-card__desc { font-size: 14px; color: var(--gray-600); line-height: 1.65; }
@media (max-width: 640px) { .kahan-card { flex-direction: column; align-items: center; text-align: center; } }

/* ── Sponsors ───────────────────────────────────────────────── */
.sponsor-card {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-100);
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm);
  transition: all var(--transition); display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.sponsor-card:hover { box-shadow: var(--shadow-md); border-color: var(--orange); transform: translateY(-4px); }
.sponsor-card__logo { height: 56px; max-width: 140px; object-fit: contain; }
.sponsor-card__name { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; }
.sponsor-card__desc { font-size: 13px; font-weight: 500; color: var(--gray-600); }
.sponsor-card__badge {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
}
.sponsor-card__badge--sponsor    { background: var(--orange-lt); color: var(--orange); }
.sponsor-card__badge--co_sponsor { background: var(--gray-100); color: var(--gray-600); }

/* ── Advertisements (Standard) ─────────────────────────────────────────── */
.ads-strip { display: flex; gap: 16px; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.ads-strip::-webkit-scrollbar { display: none; }
.ads-strip__item {
  flex-shrink: 0; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  border: 1px solid var(--gray-100);
}
.ads-strip__item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ads-strip__item img { height: 100px; width: auto; display: block; }
.ads-featured {
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  position: relative; transition: all var(--transition);
}
.ads-featured:hover { transform: translateY(-4px); }
.ads-featured img { width: 100%; display: block; border-radius: var(--radius-xl); }
.ads-featured__badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,.5); color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: .08em; padding: 3px 10px; border-radius: 20px; text-transform: uppercase;
}

/* ── Notes Banner ───────────────────────────────────────────── */
.note-banner {
  border-radius: var(--radius-md); padding: 14px 20px;
  font-size: 14px; font-weight: 500; margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px;
  border-left: 4px solid; line-height: 1.5;
}
.note-banner--info      { background: #E3F2FD; color: #0D47A1; border-color: #1565C0; }
.note-banner--warning   { background: #FFF3EC; color: #7B3000; border-color: var(--orange); }
.note-banner--important { background: #FFEBEE; color: #7B1F1F; border-color: #C62828; }

/* ── Leaderboard ─────────────────────────────────────────────── */
.leaderboard { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.lb-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.lb-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.lb-item--gold   { border-color: #F9A825; background: linear-gradient(135deg, #FFFDE7, #fff); }
.lb-item--silver { border-color: #9E9E9E; background: linear-gradient(135deg, #FAFAFA, #fff); }
.lb-item--bronze { border-color: #A1887F; background: linear-gradient(135deg, #FBE9E7, #fff); }
.lb-rank { font-size: 22px; font-weight: 700; width: 36px; text-align: center; flex-shrink: 0; }
.lb-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.lb-initials {
  width: 44px; height: 44px; border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.lb-name { font-weight: 700; font-size: 15px; }
.lb-city { font-size: 12px; font-weight: 500; color: var(--gray-400); }
.lb-points { margin-left: auto; font-family: var(--font-serif); font-size: 20px; font-weight: 800; color: var(--orange); }

/* ── Matrimonial Cards ───────────────────────────────────────── */
.bio-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.bio-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.bio-card__photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.bio-card__photo-placeholder {
  width: 100%; aspect-ratio: 3/4; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center; font-size: 80px;
}
.bio-card__body { padding: 18px; }
.bio-card__name { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.bio-card__meta { font-size: 13px; font-weight: 500; color: var(--gray-600); display: flex; flex-direction: column; gap: 3px; margin-bottom: 14px; }
.bio-card__match { font-size: 12px; color: var(--orange); font-weight: 700; }
.bio-card__actions { display: flex; gap: 8px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none; transition: all var(--transition); font-family: inherit;
}
.btn--primary  { background: var(--black); color: var(--white); }
.btn--primary:hover { background: #333; color: var(--white); transform: translateY(-1px); }
.btn--orange   { background: var(--orange); color: var(--white); }
.btn--orange:hover { background: var(--orange-dk); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,107,42,.3); }
.btn--outline  { background: transparent; border: 1.5px solid var(--gray-200); color: var(--black); }
.btn--outline:hover { border-color: var(--orange); color: var(--orange); }
.btn--sm { padding: 7px 16px; font-size: 13px; }
.btn--full { width: 100%; justify-content: center; }

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--black); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--gray-200); border-radius: 8px;
  font-size: 14px; font-family: inherit; color: var(--black); font-weight: 500;
  background: var(--white); transition: border-color .18s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,107,42,.08); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ── Alert ───────────────────────────────────────────────────── */
.alert { padding: 13px 18px; border-radius: 8px; font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.alert--success { background: #E8F5E9; color: #1B5E20; border-left: 3px solid #2E7D32; }
.alert--error   { background: #FFEBEE; color: #7B1F1F; border-left: 3px solid #C62828; }
.alert--info    { background: #E3F2FD; color: #0D47A1; border-left: 3px solid #1565C0; }

/* ── Toast ───────────────────────────────────────────────────── */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--black); color: var(--white); padding: 13px 20px;
  border-radius: 10px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; max-width: 340px;
  animation: slideInRight .3s ease; transition: all .3s ease;
}
.toast--success { border-left: 3px solid #4CAF50; }
.toast--error   { border-left: 3px solid #F44336; }
.toast--info    { border-left: 3px solid var(--orange); }
.toast.removing { opacity: 0; transform: translateX(20px); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.footer__trigger {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 32px; color: rgba(255,255,255,.3); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.footer__trigger-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: float 2.5s ease-in-out infinite;
}
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px; padding: 48px 24px 60px;
}
.footer__logo { font-family: var(--font-serif); font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.footer__tagline { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: rgba(255,255,255,.35); text-transform: uppercase; margin-bottom: 16px; }
.footer__about { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 24px; }
.footer__social { display: flex; gap: 10px; }
.footer__social-link {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600;
  transition: all var(--transition); text-decoration: none;
}
.footer__social-link:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.footer__heading { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.6); transition: color var(--transition); text-decoration: none; }
.footer__links a:hover { color: var(--white); }
.footer__links--contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.footer__links--contact svg { flex-shrink: 0; margin-top: 2px; opacity: .5; }
.footer__links--contact a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer__links--contact a:hover { color: var(--white); }
.footer__cta { margin-top: 20px; }
.footer__cta-btn {
  display: inline-block; background: var(--orange); color: var(--white);
  padding: 10px 20px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  text-decoration: none; transition: all var(--transition);
}
.footer__cta-btn:hover { background: var(--orange-dk); color: var(--white); transform: translateY(-2px); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 18px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.3); }
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer__inner { grid-template-columns: 1fr; gap: 28px; } .footer__bottom-inner { flex-direction: column; gap: 6px; text-align: center; } }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pagination__item {
  width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--gray-200); color: var(--black);
  transition: all var(--transition);
}
.pagination__item:hover { border-color: var(--orange); color: var(--orange); }
.pagination__item--active { background: var(--black); color: var(--white); border-color: var(--black); }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--left  { transform: translateX(-30px); }
.reveal--right { transform: translateX(30px); }
.reveal--left.visible, .reveal--right.visible { transform: translateX(0); }

/* ── Rich Content (blog body) ────────────────────────────────── */
.rich-content { font-size: 16px; font-weight: 500; line-height: 1.8; color: var(--gray-800); }
.rich-content h1,.rich-content h2,.rich-content h3 { font-family: var(--font-serif); font-weight: 700; margin: 2em 0 .75em; color: var(--black); }
.rich-content img { max-width: 100%; border-radius: var(--radius-md); margin: 1.5em 0; }
.rich-content blockquote {
  border-left: 3px solid var(--orange); padding: 12px 20px; margin: 1.5em 0;
  color: var(--gray-600); font-style: italic; background: var(--orange-lt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.rich-content ul,.rich-content ol { padding-left: 24px; margin-bottom: 1em; }
.rich-content a { color: var(--orange); font-weight: 600; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.rich-content th { background: var(--black); color: var(--white); padding: 10px 14px; text-align: left; font-weight: 600;}
.rich-content td { padding: 10px 14px; border-bottom: 1px solid var(--gray-100); }

/* ── Lightbox ────────────────────────────────────────────────── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius-md); }
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  color: #fff; font-size: 32px; cursor: pointer; background: none; border: none; opacity: .7; transition: opacity .2s;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__prev, .lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 24px;
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer; transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.2); }

/* ── Author Spotlight ────────────────────────────────────────── */
.spotlight {
  background: linear-gradient(135deg, var(--black), #2d2010);
  border-radius: var(--radius-xl); padding: 48px; color: var(--white);
  display: flex; gap: 36px; align-items: center; box-shadow: var(--shadow-lg);
}
.spotlight__avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--orange); flex-shrink: 0; }
.spotlight__initials {
  width: 100px; height: 100px; border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.spotlight__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.spotlight__name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.spotlight__quote { font-size: 15px; font-style: italic; font-weight: 500; color: rgba(255,255,255,.7); line-height: 1.6; margin-bottom: 12px; }
.spotlight__bio { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.5); }
@media (max-width: 640px) { .spotlight { flex-direction: column; text-align: center; padding: 28px; } }

/* ── E-Navyug PDF Cards ──────────────────────────────────────── */
.pdf-card {
  background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--gray-100);
  padding: 22px; display: flex; align-items: center; gap: 18px;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.pdf-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--orange); }
.pdf-card__icon { font-size: 36px; flex-shrink: 0; }
.pdf-card__title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.pdf-card__date { font-size: 12px; font-weight: 500; color: var(--gray-400); margin-bottom: 10px; }
.pdf-card__btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--orange); text-decoration: none; }

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--black), #2d1810);
  padding: 140px 0 60px; text-align: center; color: var(--white);
}
.page-hero__title { font-family: var(--font-serif); font-weight: 800; font-size: clamp(1.8rem,4vw,3rem); margin-bottom: 10px; }
.page-hero__sub { color: rgba(255,255,255,.6); font-weight: 500; font-size: 15px; }
.page-hero__breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.4); margin-top: 16px; }
.page-hero__breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.page-hero__breadcrumb span { color: var(--orange); }

/* ── Site main padding (accounts for fixed navbar) ───────────── */
.site-main { padding-top: var(--nav-h); }
body.has-ticker .site-main { padding-top: calc(var(--nav-h) + 36px); }


/* ═══════════════════════════════════════════════════
   HOMEPAGE HEADER OVERRIDES
   ═══════════════════════════════════════════════════ */
.home-page .site-main { padding-top: 0 !important; }
body.has-ticker.home-page .site-main { padding-top: 36px !important; }

.home-page .site-header { background-color: transparent !important; box-shadow: none !important; border: none !important; }
.home-page .site-header.scrolled { background-color: #ffffff !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; }

/* Force Logo & Menu text to be dark */
.home-page .nav__logo-text, 
.home-page .nav__logo-tagline,
.home-page .nav__link,
.home-page .nav__user-btn { color: #111111 !important; }
.home-page .nav__link:hover { color: #E86B2A !important; }
.home-page .btn-nav--outline { color: #111111 !important; border-color: #111111 !important; }
.home-page .btn-nav--outline:hover { color: #E86B2A !important; border-color: #E86B2A !important; }
.home-page .nav__hamburger span { background-color: #111111 !important; }


/* ═══════════════════════════════════════════════════
   HOMEPAGE HERO CSS — BrandLyft Style
   ═══════════════════════════════════════════════════ */
.bl-hero {
  background-color: #F8F5EF; 
  padding: 150px 0 100px;
  text-align: center;
  font-family: var(--font-sans);
  overflow: hidden;
  position: relative;
}

.bl-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.bl-title-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.bl-title {
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 800;
  color: #111111;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

.bl-subtitle {
  font-size: 17px;
  color: #333;
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.6;
  font-weight: 500;
}

.bl-anno-text {
  font-family: 'Caveat', cursive; 
  font-size: 24px;
  color: #111;
  line-height: 1.1;
  display: block;
}

.bl-anno-elevate {
  position: absolute;
  right: -110px;
  top: 10px;
  text-align: left;
  transform: rotate(6deg);
}

.bl-arrow-right {
  display: block;
  margin-left: 20px;
  margin-top: -5px;
}

/* ── PERFECT GALLERY ARC LAYOUT ───────────────────── */
.bl-gallery {
  display: flex;
  justify-content: center;
  align-items: center; /* THIS CENTERS THEM VERTICALLY TO CREATE THE WAVE */
  gap: 16px;
  margin-bottom: 60px;
  padding: 0 10px;
  height: 420px; /* Gives the container enough height to hold the tallest card */
}

.bl-card {
  flex: 1;
  max-width: 170px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bl-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.bl-card img, .bl-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── THE WAVE HEIGHTS ── */
.bl-card-4 { height: 380px; }
.bl-card-3, .bl-card-5 { height: 320px; }
.bl-card-2, .bl-card-6 { height: 260px; }
.bl-card-1, .bl-card-7 { height: 200px; }

/* ── Bottom CTA ───────────────────────────────────── */
.bl-cta-wrapper {
  position: relative;
  display: inline-flex; 
  justify-content: center;
}

.bl-btn-dashed {
  border: 1px dashed;
  padding: 6px;
  border-radius: 999px;
  display: inline-block;
}

.bl-btn {
  font-size: 16px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0, 0.15);
}

.bl-btn-secondary {
  font-size: 16px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.bl-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Updated positioning for "Connect Today" */
.bl-anno-free {
  position: absolute;
  right: 100%;
  margin-right: 12px;
  bottom: 15px;
  text-align: right;
  transform: rotate(-6deg);
}

.bl-arrow-left {
  display: block;
  margin-left: auto;
  margin-right: -10px;
  margin-top: 0px;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1100px) {
  .bl-gallery { gap: 10px; height: 360px; }
  .bl-card { border-radius: 14px; }
  .bl-card-1, .bl-card-7 { display: none; }
  .bl-card-4 { height: 320px; }
  .bl-card-3, .bl-card-5 { height: 270px; }
  .bl-card-2, .bl-card-6 { height: 220px; }
  .bl-title { font-size: 4rem; }
  .bl-anno-elevate { right: -80px; }
}

@media (max-width: 768px) {
  .bl-hero { padding: 120px 0 60px; }
  .bl-title { font-size: 3rem; }
  .bl-anno-elevate, .bl-anno-free { display: none; }
  .bl-card-2, .bl-card-6 { display: none; }
  .bl-gallery { height: 300px; }
  .bl-card-4 { height: 280px; }
  .bl-card-3, .bl-card-5 { height: 230px; }
}

@media (max-width: 480px) {
  .bl-title { font-size: 2.4rem; }
  .bl-subtitle { font-size: 15px; padding: 0 15px; }
  .bl-gallery { gap: 8px; height: 260px; margin-bottom: 40px; }
  .bl-card-4 { height: 240px; }
  .bl-card-3, .bl-card-5 { height: 200px; }
}

/* ═══════════════════════════════════════════════════
   PREMIUM RECTANGLE ADVERTISEMENTS (Banner Style)
   ═══════════════════════════════════════════════════ */
.ad-banner-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.ad-banner-card {
  display: flex;
  width: 100%;
  max-width: 960px; /* Gives the banner a nice wide aspect ratio */
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  border-radius: 0px; /* Sharp corners matching the reference image */
  border: 1px solid #eaeaea;
}

.ad-banner-img {
  width: 50%; /* Image takes up exactly half the box */
  flex-shrink: 0;
  background: #f4f4f4;
}

.ad-banner-img img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover; /* Ensures the image/pattern perfectly fills the left side */
  display: block;
}

.ad-banner-content {
  width: 50%;
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: #ffffff;
  position: relative;
}

/* Subtle background dot pattern on the text side */
.ad-banner-content::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(#000 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.ad-banner-title {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 12px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.ad-banner-desc {
  font-size: 14px;
  font-weight: 500;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* Keeps description from overflowing the box */
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.ad-banner-btn {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  padding: 12px 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #000000;
  position: relative;
  z-index: 1;
}

.ad-banner-btn:hover {
  background: transparent;
  color: #000000;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
  .ad-banner-card {
    flex-direction: column;
  }
  .ad-banner-img, .ad-banner-content {
    width: 100%;
  }
  .ad-banner-img img {
    height: 200px;
    min-height: auto;
  }
  .ad-banner-content {
    padding: 30px 24px;
    align-items: center;
    text-align: center;
  }
}