/* ==========================================================================
   ManSophy Premium CSS Stylesheet
   ========================================================================== */
/* Design Tokens & Theme Variables */
:root {
  --blue-primary: #041E42;
  --blue-dark: #020F22;
  --blue-light: #0D2D58;
  --gold: #C5A059;
  --gold-light: #DFCA9E;
  --gold-dark: #A17F40;
  
  --bg-cream: #F8F6F0;
  --bg-white: #FFFFFF;
  --bg-dark: #051429;
  
  --text-dark: #2C3A4B;
  --text-muted: #5E6D82;
  --text-light: #E2E8F0;
  --text-light-muted: #94A3B8;
  
  --font-serif: 'Cinzel', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  --font-quote: 'Lora', Georgia, serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-premium: 0 15px 35px rgba(4, 30, 66, 0.08);
  --shadow-heavy: 0 20px 40px rgba(2, 15, 34, 0.25);
  --shadow-glass: 0 8px 32px 0 rgba(4, 30, 66, 0.1);
  
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--blue-dark);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--blue-dark);
  color: var(--text-dark);
  font-size: 1rem; /* 16px web standard base */
  line-height: 1.75;
  font-weight: 300;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Typography Selection */
::selection {
  background-color: var(--gold-light);
  color: var(--blue-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; }   /* 40px */
h2 { font-size: 2rem; }     /* 32px */
h3 { font-size: 1.5rem; }   /* 24px */
h4 { font-size: 1.25rem; }  /* 20px */
h5 { font-size: 1.125rem; } /* 18px */
h6 { font-size: 1rem; }     /* 16px */

p {
  font-size: 1rem; /* 16px */
  line-height: 1.75;
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.text-gold { color: var(--gold); }
.text-gold-light { color: var(--gold-light); }
.text-blue { color: var(--blue-primary); }
.text-white { color: var(--bg-white); }
.text-white-muted { color: var(--text-light-muted); }
.font-serif { font-family: var(--font-serif); }
.w-full { width: 100%; }

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem; /* 14px */
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--blue-primary);
  color: var(--bg-white);
  border: 1px solid var(--blue-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.6s;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background-color: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(4, 30, 66, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.btn-arrow {
  margin-left: 8px;
  transition: var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Header & Multi-Level Navigation System
   ========================================================================== */

/* 1. Top Announcement Bar */
.top-announcement-bar {
  background: linear-gradient(90deg, #020f22 0%, #0d2d58 50%, #020f22 100%);
  color: var(--text-light);
  font-size: 0.75rem;
  padding: 0.4rem 1.5rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  text-align: center;
  position: relative;
  z-index: 1010;
}

.announcement-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.announcement-text {
  letter-spacing: 0.05em;
}

.badge-gold {
  background-color: var(--gold);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 2px;
  margin-right: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement-link {
  color: var(--gold-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition-fast);
}

.announcement-link:hover {
  color: var(--bg-white);
}

/* 2. Main Sticky Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(248, 246, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  background-color: rgba(4, 30, 66, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

.main-header.scrolled .logo-man {
  color: var(--bg-white);
}

.main-header.scrolled .logo-tagline {
  color: rgba(255, 255, 255, 0.85);
}

.main-header.scrolled .logo-img-icon {
  filter: brightness(0) invert(1);
}

.main-header.scrolled .nav-item {
  color: var(--text-light);
}

.main-header.scrolled .search-toggle-btn {
  color: var(--gold);
  border-color: rgba(197, 160, 89, 0.3);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
  padding: 0.75rem 2rem;
}

/* 3. Brand Logo */
.logo-link {
  display: block;
  margin-right: 2rem;
  text-decoration: none;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img-icon {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.logo-man {
  color: var(--blue-primary);
  transition: var(--transition-smooth);
}

.logo-sophy {
  color: var(--gold);
}

.logo-tagline {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue-primary);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.tagline-line {
  flex: 1;
  height: 1.5px;
  background-color: var(--gold);
  display: block;
}

/* 4. Desktop Navigation Bar */
.desktop-nav {
  display: flex;
  align-items: center;
}

.desktop-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-item-li {
  position: relative;
  padding: 0.5rem 0;
}

.nav-item {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  text-decoration: none;
  padding: 0.4rem 0;
  transition: var(--transition-fast);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition-smooth);
}

.nav-item:hover,
.nav-item-li:hover > .nav-item {
  color: var(--gold);
}

.nav-item:hover::after,
.nav-item-li:hover > .nav-item::after {
  width: 100%;
}

.chevron-icon {
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  stroke-width: 2.5px;
}

.nav-item-li:hover > .nav-item .chevron-down {
  transform: rotate(180deg);
}

/* 5. Desktop Multi-Level Dropdown & Submenu Styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: rgba(2, 15, 34, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(197, 160, 89, 0.1);
  padding: 0.6rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1100;
}

/* Open Level 1 Dropdown on Hover or JS open */
.nav-item-li:hover > .dropdown-menu,
.dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  position: relative;
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

.dropdown-link:hover,
.has-submenu:hover > .dropdown-link {
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-light);
  padding-left: 1.7rem;
}

/* Level 2 Submenu (Flyout to Right) */
.has-submenu {
  position: relative;
}

.submenu-menu {
  position: absolute;
  top: -0.6rem;
  left: 100%;
  min-width: 230px;
  background: rgba(4, 30, 66, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  padding: 0.6rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1200;
}

/* Hover bridge between dropdown & flyout */
.has-submenu::after {
  content: '';
  position: absolute;
  top: 0;
  right: -10px;
  width: 15px;
  height: 100%;
}

.has-submenu:hover > .submenu-menu,
.submenu-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.has-submenu:hover .chevron-right {
  transform: translateX(3px);
  color: var(--gold);
}

.submenu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.3rem;
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--text-light-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.submenu-link:hover {
  background: rgba(197, 160, 89, 0.18);
  color: var(--gold);
  padding-left: 1.6rem;
}

/* Badges for Nav Links */
.nav-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  line-height: 1;
  margin-left: 8px;
}

.badge-new {
  background: linear-gradient(135deg, var(--gold) 0%, #d4af37 100%);
  color: var(--blue-dark);
}

.badge-featured {
  background: rgba(197, 160, 89, 0.25);
  color: var(--gold-light);
  border: 1px solid rgba(197, 160, 89, 0.4);
}

/* 6. Header Actions & Quick Search */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-toggle-btn {
  background: transparent;
  border: 1px solid rgba(4, 30, 66, 0.2);
  color: var(--blue-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.search-toggle-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background-color: rgba(197, 160, 89, 0.1);
  transform: scale(1.05);
}

.nav-cta-btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.75rem;
  gap: 6px;
}

.btn-arrow-svg {
  transition: transform 0.2s ease;
}

.nav-cta-btn:hover .btn-arrow-svg {
  transform: translateX(4px);
}

/* 7. Mobile Menu Hamburger Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1500;
  padding: 0;
}

.mobile-menu-btn .bar {
  width: 100%;
  height: 2px;
  background-color: var(--blue-primary);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: center;
}

.main-header.scrolled .mobile-menu-btn .bar {
  background-color: var(--gold);
}

/* Hamburger active transform into X */
.mobile-menu-btn.is-active .bar-1 {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--gold) !important;
}

.mobile-menu-btn.is-active .bar-2 {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-btn.is-active .bar-3 {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--gold) !important;
}

/* 8. Mobile Drawer Navigation */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: 340px;
  max-width: 88vw;
  height: 100vh;
  background-color: #020f22;
  border-left: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: var(--shadow-heavy);
  z-index: 2000;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.close-drawer-btn {
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: var(--gold);
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
}

.close-drawer-btn:hover {
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-light);
  display: block;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--gold);
}

/* Mobile Accordions Level 1 */
.accordion-toggle {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0.5rem 0;
}

.accordion-toggle:hover {
  color: var(--gold);
}

.accordion-panel {
  display: none;
  padding: 0.5rem 0 0.5rem 0.8rem;
  border-left: 2px solid rgba(197, 160, 89, 0.3);
  margin-top: 0.3rem;
  margin-bottom: 0.5rem;
}

.accordion-panel.open {
  display: block;
}

.accordion-panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mobile-sublink {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light-muted);
  text-decoration: none;
  display: block;
  padding: 0.2rem 0;
  transition: color 0.2s ease;
}

.mobile-sublink:hover {
  color: var(--gold-light);
}

/* Mobile Subaccordions Level 2 */
.mobile-subaccordion {
  margin-top: 0.2rem;
}

.subaccordion-toggle {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0.3rem 0;
}

.subaccordion-toggle:hover {
  color: var(--gold-light);
}

.subaccordion-panel {
  display: none;
  padding: 0.4rem 0 0.4rem 0.8rem;
  border-left: 1.5px dashed rgba(197, 160, 89, 0.3);
  margin-top: 0.3rem;
  margin-left: 0.2rem;
}

.subaccordion-panel.open {
  display: block;
}

.mobile-sublink-2 {
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.mobile-sublink-2:hover {
  color: var(--gold);
}

.drawer-actions {
  margin-top: auto;
  padding-top: 1.5rem;
  flex-shrink: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(2, 15, 34, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1900;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* 9. Interactive Search Modal Overlay */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 15, 34, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.search-modal.open {
  opacity: 1;
  visibility: visible;
}

.search-modal-content {
  width: 90%;
  max-width: 650px;
  background: rgba(4, 30, 66, 0.98);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-heavy), 0 0 30px rgba(197, 160, 89, 0.15);
  padding: 2rem;
  transform: translateY(-20px);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.search-modal.open .search-modal-content {
  transform: translateY(0);
}

.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.close-search-btn {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--gold);
  cursor: pointer;
  line-height: 1;
}

.search-input-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(2, 15, 34, 0.7);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: var(--border-radius-sm);
  padding: 0.8rem 1.2rem;
  color: var(--gold);
}

.search-input-box input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--bg-white);
}

.search-input-box input::placeholder {
  color: var(--text-light-muted);
}

.search-suggestions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.suggestion-title {
  font-size: 0.75rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.suggestion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.suggestion-tag {
  font-size: 0.8rem;
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(197, 160, 89, 0.25);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.suggestion-tag:hover {
  background: var(--gold);
  color: var(--blue-dark);
}

/* 10. Responsive Breakpoints for Navigation */
@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .top-announcement-bar {
    display: none; /* Hide announcement bar on smaller mobile screens for vertical space */
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.8rem 1.2rem;
  }

  .logo-tagline {
    display: none;
  }

  .nav-cta-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.7rem;
  }
}

/* Hero Section Slider Styles — Grid-based, zero-crop layout */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  display: grid; /* All slides occupy the same grid cell */
  width: 100%;
}

.slide {
  grid-area: 1 / 1; /* Stack all slides on top of each other */
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Image layer — sets the grid cell height naturally */
.slide-image-wrapper {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  z-index: 0;
  line-height: 0;
}

.slide-img {
  display: block;
  width: 100%;
  height: auto; /* Image keeps its natural aspect ratio, never cropped */
  transition: transform 1.5s ease-in-out;
  transform: scale(1.03);
}

.slide.active .slide-img {
  transform: scale(1);
}

/* Dark overlay — sits on top of image, behind text */
.slide-overlay {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(2, 15, 34, 0.82) 0%, rgba(2, 15, 34, 0.40) 50%, rgba(2, 15, 34, 0.70) 100%);
  z-index: 1;
}

/* Content layer — overlaid on top of both image and overlay */
.slide-content-container {
  grid-area: 1 / 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 2.5rem 3rem 2.5rem;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.slide-content {
  max-width: 750px;
  color: var(--bg-white);
}

.hero-title {
  font-size: 1.5rem; /* 24px web standard */
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 400;
  color: var(--bg-white);
}

.hero-title span {
  font-weight: 500;
}

.hero-lead {
  font-family: var(--font-quote);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 1rem;
  line-height: 1.6;
  border-left: 2px solid var(--gold);
  padding-left: 15px;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-light-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* Features Grid on Slide 1 */
.features-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-item .icon-box {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.feature-item .icon-box svg {
  width: 100%;
  height: 100%;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feat-title {
  font-size: 0.75rem; /* 12px */
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--bg-white);
}

.feat-subtitle {
  font-size: 0.6875rem; /* 11px */
  color: var(--text-light-muted);
  margin-top: 2px;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Slider Controls Styles */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--bg-white);
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slider-control:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--blue-dark);
}

.prev-slide { left: 2rem; }
.next-slide { right: 2rem; }

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dots .dot.active {
  background-color: var(--gold);
  transform: scale(1.2);
  box-shadow: 0 0 8px var(--gold);
}

/* Animations for Slides content */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bottom Statistics Banner */
.stats-banner-section {
  background-color: var(--blue-primary);
  border-bottom: 2px solid var(--gold);
  color: var(--bg-white);
  position: relative;
  z-index: 5;
}

.stats-banner-container {
  max-width: 1450px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: block;
}

.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.stats-item {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(197, 160, 89, 0.2);
  padding-left: 1rem;
  grid-column: auto !important;
}

.stats-item:first-child {
  border-left: none;
  padding-left: 0;
}

.stats-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--bg-white);
}

.stats-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.1;
}

.stats-plus {
  font-size: 1.5rem;
  color: var(--gold-light);
}

.stats-desc {
  font-size: 0.75rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.stats-desc-bold {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.stats-item-wide {
  grid-column: span 1;
}

.stats-motto {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.motto-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--gold-light);
}

.motto-flower {
  width: 48px;
  height: 48px;
  color: var(--gold);
}

/* Page Hero Banner for Inner Pages */
.page-hero {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
  padding: 8rem 0 3rem 0; /* top padding accounts for fixed header */
  text-align: left;
}

.page-hero .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-hero-breadcrumb {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.page-hero-breadcrumb a {
  color: var(--gold-light);
}

.page-hero-breadcrumb a:hover {
  color: var(--gold);
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 500;
  color: var(--bg-white);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.page-hero-underline {
  width: 60px;
  height: 3px;
  background-color: var(--gold);
}

/* Sections Structure */
.section-padding {
  padding: 1rem 0;
}

.content-section {
  position: relative;
  background-color: var(--bg-cream);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--bg-white);
}

.section-cream {
  background-color: #F3EFE6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-tag {
  font-size: 0.75rem; /* 12px */
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem); /* 32-40px */
  font-weight: 400;
  line-height: 1.3;
  color: var(--blue-primary);
}

.section-dark .section-title {
  color: var(--bg-white);
}

.title-underline {
  width: 60px;
  height: 3px;
  background-color: var(--gold);
  margin-top: 1.2rem;
}

.title-underline.bg-gold {
  background-color: var(--gold-light);
}

/* Grid Frameworks */
.grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.align-center { align-items: center; }

/* Text Blocks */
.lead-paragraph {
  font-family: var(--font-quote);
  font-size: 1.125rem; /* 18px */
  line-height: 1.75;
  font-style: italic;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
}

.section-dark .lead-paragraph {
  color: var(--gold-light);
}

.about-text p {
  color: var(--text-dark);
  font-size: 1rem; /* 16px */
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.section-dark .about-text p {
  color: var(--text-light-muted);
}

.text-center-max {
  max-width: 800px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.text-center { text-align: center; }
.margin-top-lg { margin-top: 3.5rem; }

/* Cards & Modules Styles */
.about-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background-color: var(--bg-white);
  border: 1px solid rgba(197, 160, 89, 0.15);
  padding: 2.2rem;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(4, 30, 66, 0.05);
}

.card-title {
  font-size: 1.125rem; /* 18px */
  margin-bottom: 0.8rem;
}

.info-card p {
  font-size: 0.875rem; /* 14px */
  color: var(--text-muted);
  line-height: 1.75;
}

/* Rishiv Path Timeline */
.visual-placeholder-card {
  background: linear-gradient(135deg, rgba(13, 45, 88, 0.3) 0%, rgba(2, 15, 34, 0.6) 100%);
  border: 1px solid rgba(197, 160, 89, 0.2);
  padding: 3rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-heavy);
  backdrop-filter: blur(8px);
}

.glass-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.module-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-step {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 17px;
  width: 1px;
  height: calc(100% + 1rem);
  background-color: rgba(197, 160, 89, 0.2);
}

.timeline-step:last-child::before {
  display: none;
}

.step-num {
  width: 36px;
  height: 36px;
  background-color: var(--blue-dark);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  color: var(--gold-light);
  flex-shrink: 0;
  z-index: 2;
}

.timeline-step h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--bg-white);
  margin-top: 4px;
}

.timeline-step p {
  font-size: 0.875rem; /* 14px */
  color: var(--text-light-muted);
  margin-top: 4px;
}

.custom-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1.5rem;
}

.custom-list li {
  list-style: none;
  position: relative;
  padding-left: 20px;
  font-size: 0.875rem;
}

.custom-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
}

/* Mansophy Lok Grid */
.lok-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.lok-card {
  background-color: var(--bg-white);
  border: 1px solid rgba(197, 160, 89, 0.1);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.lok-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--shadow-glass);
}

.lok-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.2rem;
}

.lok-card-icon {
  font-size: 2rem;
  color: var(--gold);
}

.lok-card h3 {
  font-size: 1.25rem;
  color: var(--blue-primary);
}

.lok-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Experiences Cards */
.exp-card {
  background-color: var(--bg-white);
  border: 1px solid rgba(197, 160, 89, 0.1);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.exp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glass);
}

.exp-img-placeholder {
  width: 100%;
  height: 240px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.exp-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--gold);
  color: var(--blue-dark);
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 3;
}

.exp-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 30, 66, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.exp-card:hover .exp-img-overlay {
  background: rgba(4, 30, 66, 0.2);
}

.exp-gold-flower {
  width: 70px;
  height: 70px;
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.exp-card:hover .exp-gold-flower {
  transform: scale(1.1) rotate(15deg);
  opacity: 0.8;
}

.exp-content {
  padding: 2rem;
}

.exp-location {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.exp-card h3 {
  font-size: 1.125rem;
  color: var(--blue-primary);
  margin-bottom: 0.8rem;
}

.exp-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Knowledge/Trust Repository Styles */
.knowledge-intro {
  display: flex;
  flex-direction: column;
}

.knowledge-intro p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pub-highlight {
  background-color: var(--blue-primary);
  color: var(--bg-white);
  padding: 2.5rem;
  border-left: 3px solid var(--gold);
  margin-top: 1.5rem;
}

.pub-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.5rem;
}

.pub-highlight h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.pub-highlight p {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.btn-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-light);
  display: inline-block;
  position: relative;
  padding-bottom: 2px;
}

.pub-highlight .btn-link {
  color: var(--gold-light);
}

.knowledge-intro .btn-link {
  color: var(--gold-dark);
}

.btn-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: var(--transition-smooth);
}

.btn-link:hover::after {
  width: 100%;
}

.knowledge-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.knowledge-item {
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  padding-bottom: 1.5rem;
}

.knowledge-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.know-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.4rem;
}

.knowledge-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue-primary);
  margin-bottom: 0.5rem;
}

.knowledge-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Forms System (Premium & Responsive) */
.premium-form {
  background-color: var(--bg-white);
  border: 1px solid rgba(197, 160, 89, 0.2);
  padding: 3rem;
  box-shadow: var(--shadow-premium);
}

.form-dark-theme {
  background-color: var(--blue-dark);
  border-color: rgba(197, 160, 89, 0.2);
  box-shadow: var(--shadow-heavy);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--blue-primary);
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  padding-bottom: 1rem;
}

.form-dark-theme .form-title {
  color: var(--bg-white);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.form-row-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.premium-form label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.premium-form input[type="text"],
.premium-form input[type="email"],
.premium-form select,
.premium-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  background-color: #FAF9F6;
  border: 1px solid rgba(197, 160, 89, 0.2);
  color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.form-dark-theme input[type="text"],
.form-dark-theme input[type="email"],
.form-dark-theme textarea {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(197, 160, 89, 0.2);
  color: var(--bg-white);
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.form-dark-theme input:focus,
.form-dark-theme textarea:focus {
  background-color: rgba(255, 255, 255, 0.05);
}

.collab-routes {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-top: 2rem;
}

.route-item {
  display: flex;
  gap: 1rem;
}

.route-marker {
  color: var(--gold);
  font-size: 1.25rem;
  margin-top: -2px;
}

.route-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue-primary);
}

.route-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Founder Profile Section */
.founder-profile-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 5rem;
  align-items: center;
}

.founder-visual {
  display: flex;
  justify-content: center;
}

.founder-image-placeholder {
  width: 100%;
  max-width: 420px;
  height: 480px;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
  border: 1px solid rgba(197, 160, 89, 0.25);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.founder-logo-img {
  width: 75%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.founder-title-badge {
  position: absolute;
  bottom: 2rem;
  background-color: rgba(4, 30, 66, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold);
  padding: 0.6rem 1.5rem;
}

.badge-role {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.founder-bio {
  display: flex;
  flex-direction: column;
}

.founder-name {
  font-size: 2.25rem;
  color: var(--blue-primary);
  margin-bottom: 0.4rem;
}

.founder-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.bio-paragraphs p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.founder-quote {
  font-family: var(--font-quote);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--blue-primary);
  line-height: 1.5;
  margin: 2rem 0;
  padding-left: 25px;
  border-left: 3px solid var(--gold);
}

.founder-quote cite {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: block;
  margin-top: 8px;
  font-style: normal;
}

.founder-socials {
  display: flex;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

/* Contact Methods */
.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.method-item {
  display: flex;
  gap: 1.5rem;
}

.method-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.method-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bg-white);
}

.method-item p {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  margin-top: 4px;
}

/* Footer Section Styles */
.main-footer {
  background-color: var(--blue-dark);
  color: var(--text-light);
  padding: 4rem 0 2.5rem 0;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  margin-top: auto;
  margin-bottom: 0 !important;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 3.5rem;
}

.footer-brand-box {
  max-width: 420px;
}

.footer-about-text {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  line-height: 1.6;
  margin-top: 1.5rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.footer-links-col h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links-col ul li a {
  font-size: 0.875rem;
  color: var(--text-light-muted);
}

.footer-links-col ul li a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

/* Horizontal Footer Link Bar */
.footer-nav-bar {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  margin-bottom: 2.5rem;
  text-align: center;
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-links li a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}

.footer-nav-links li a:hover {
  color: var(--gold);
}

.footer-nav-links li.sep {
  color: rgba(197, 160, 89, 0.4);
  font-size: 0.875rem;
  user-select: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-light-muted);
}

.footer-bottom-motto {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--gold);
}

/* Modal Popup Framework */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(2, 15, 34, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  width: 100%;
  max-width: 680px;
  background-color: var(--bg-cream);
  border: 1px solid var(--gold);
  padding: 3.5rem;
  position: relative;
  transform: translateY(30px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-heavy);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--gold);
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-logo-img-icon {
  height: 64px;
  width: auto;
  margin: 0 auto 12px auto;
  display: block;
  object-fit: contain;
}

.modal-title {
  font-size: 2rem;
  color: var(--blue-primary);
}

.modal-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.modal-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

/* Intersection Observer Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.slide-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints Rules */
@media (max-width: 1200px) {
  .header-container { padding: 1.25rem 2rem; }
  .grid-2col { gap: 3rem; }
  .founder-profile-grid { gap: 3rem; }
  .stats-grid { gap: 1rem; }
}

@media (max-width: 991px) {
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .btn-primary.open-modal-btn { display: none; } /* Hide in nav header on tablets/mobile */
  .mobile-drawer .btn-primary.open-modal-btn { display: inline-flex; } /* Show inside drawer */
  
  /* Stacked slider on mobile/tablets — image on top, text below, zero crop */
  .hero-slider-section {
    overflow: visible;
  }

  .slide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .slide-image-wrapper {
    position: relative;
    width: 100%;
    flex-shrink: 0;
  }

  .slide-img {
    width: 100%;
    height: auto;
  }

  .slide-overlay {
    display: none;
  }

  .slide-content-container {
    padding: 2rem 1.5rem;
    background-color: var(--blue-dark);
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    max-width: 100%;
    margin-top: 0;
  }

  .slide-content {
    max-width: 100%;
  }
  
  .features-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .stats-grid {
    gap: 0.8rem;
  }
  
  .grid-2col, .grid-3col {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .lok-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .founder-profile-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .founder-image-placeholder {
    height: 380px;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 3rem;
  }
  
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .slide-content-container {
    padding: 0 1.5rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .features-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-banner-container {
    padding: 1.5rem;
  }
  
  .stats-grid {
    gap: 1rem;
  }
  
  .stats-item {
    padding-left: 0.8rem;
  }
  
  .stats-number {
    font-size: 1.5rem;
  }
  
  .stats-motto {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .motto-flower {
    display: none;
  }
  
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .modal-container {
    padding: 2rem;
  }
  
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .slider-control {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .prev-slide { left: 0.5rem; }
  .next-slide { right: 0.5rem; }
}

@media (max-width: 576px) {
  .features-row {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile saves vertical space */
    gap: 0.8rem;
  }
  
  .hero-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
  }
  
  .stats-grid {
    gap: 0.4rem;
  }
  
  .stats-item {
    border-left: 1px solid rgba(197, 160, 89, 0.2);
    padding-left: 0.4rem;
    border-bottom: none;
    padding-bottom: 0;
  }

  .stats-item:first-child {
    border-left: none;
    padding-left: 0;
  }

  .stats-title {
    font-size: 0.75rem;
  }

  .stats-number {
    font-size: 1.1rem;
  }

  .stats-desc, .stats-desc-bold {
    font-size: 0.55rem;
  }
}

/* Who Is ManSophy For & Why Choose Section Styles */
.audience-table-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.audience-cell {
  background-color: var(--bg-white);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-primary);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 4px 12px rgba(4, 30, 66, 0.03);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.audience-cell:hover {
  border-color: var(--gold);
  border-left-color: var(--blue-primary);
  background-color: var(--blue-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(4, 30, 66, 0.1);
}

.audience-icon {
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.audience-cell:hover .audience-icon {
  color: var(--gold-light);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1rem;
  margin-top: 1rem;
}

.why-choose-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.why-check {
  color: var(--gold-dark);
  font-size: 1.15rem;
  font-weight: bold;
}

@media (max-width: 1200px) {
  .audience-table-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .audience-table-grid {
    grid-template-columns: 1fr;
  }
}
