/* ==========================================================================
   RupayTree Securities Services - Modern Fintech Design System
   Color Palette:
   - Primary Wine: #7a1239
   - Primary Dark: #5c0d2a
   - Gold/Accent: #c8942a
   - Gold Light: #f0cb72
   - Text Dark: #2a1b20
   - Muted Text: #6b5c62
   - Background: #ffffff
   - Soft Background: #fbf4ea
   - Grey Background: #f5f2f3
   - Border/Line: #ebddd0
   Fonts:
   - Body: Poppins, sans-serif
   - Headings: Playfair Display, serif
   ========================================================================== */

:root {
  --primary-wine: #7a1239;
  --primary-dark: #5c0d2a;
  --gold-accent: #c8942a;
  --gold-light: #f0cb72;
  --text-dark: #2a1b20;
  --muted-text: #6b5c62;
  --bg-white: #ffffff;
  --bg-soft: #fbf4ea;
  --bg-grey: #f5f2f3;
  --border-line: #ebddd0;
  --input-border: #e3d3d9;

  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  --shadow-sm: 0 4px 12px rgba(42, 27, 32, 0.05);
  --shadow-md: 0 8px 24px rgba(122, 18, 57, 0.08);
  --shadow-lg: 0 16px 40px rgba(92, 13, 42, 0.15);
  --shadow-hero: 0 24px 60px rgba(42, 27, 32, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    /* Aliases for Leadership section */
  --primary: var(--primary-wine);
  --gold: var(--gold-accent);
  --gold-glow: rgba(200, 148, 42, 0.15);
  --bg-light: var(--bg-soft);
  --border-color: var(--border-line);
  --text-muted: var(--muted-text);
}

/* --------------------------------------------------------------------------
   1. Base & Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
  max-width: 100%;
}

/* Component Placeholders to prevent Layout Shift */
#site-header {
  display: block;
  min-height: 110px;
}
#site-footer {
  display: block;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

p {
  margin: 0 0 16px;
}

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

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* --------------------------------------------------------------------------
   2. Layout & Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1415px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 80px 0;
  position: relative;
}

.bg-white { background-color: var(--bg-white); }
.bg-soft { background-color: var(--bg-soft); }
.bg-grey { background-color: var(--bg-grey); }
.bg-wine { background-color: var(--primary-wine); color: #ffffff; }
.bg-wine-dark { background-color: var(--primary-dark); color: #ffffff; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--bg-soft);
  color: var(--primary-wine);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--primary-wine);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--muted-text);
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   3. Typography & Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-wine);
  color: #ffffff;
  border-color: var(--primary-wine);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-accent));
  color: var(--primary-dark);
  font-weight: 700;
  border-color: var(--gold-accent);
}

.btn-gold:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 148, 42, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-wine);
  border-color: var(--primary-wine);
}

.btn-outline:hover {
  background-color: var(--primary-wine);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

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

.btn-outline-gold:hover {
  background-color: var(--gold-accent);
  color: #ffffff;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  min-height: 54px;
  padding: 14px 32px;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   4. Top Announcement Bar & Sticky Header
   -------------------------------------------------------------------------- */

/* -- Topbar gold shimmer animation -- */
@keyframes topbarShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.topbar {
  background: linear-gradient(92deg, #3d0616 0%, var(--primary-dark) 35%, #4d1228 65%, #3d0616 100%);
  color: #f7e6ec;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(200, 148, 42, 0.35);
  position: relative;
  overflow: hidden;
}

.topbar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(240, 203, 114, 0.07) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: topbarShimmer 6s ease-in-out infinite;
  pointer-events: none;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  position: relative;
  z-index: 1;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-left b {
  color: var(--gold-light);
  font-weight: 600;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-link {
  color: #f7e6ec;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  position: relative;
}

.topbar-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width 0.3s ease;
}

.topbar-link:hover {
  color: var(--gold-light);
}

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

.topbar-link i {
  font-size: 11px;
  opacity: 0.85;
}

/* ---------- Header Navbar ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(235, 221, 208, 0.65);
  box-shadow: 0 1px 3px rgba(92, 13, 42, 0.04);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Scroll-aware: JS adds .header-scrolled for extra depth */
header.header-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 24px rgba(92, 13, 42, 0.08), 0 1px 3px rgba(0,0,0,0.04);
  border-bottom-color: rgba(235, 221, 208, 0.9);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

/* ---------- Brand / Logo ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--border-line);
  box-shadow: 0 3px 12px rgba(122, 18, 57, 0.1);
  transition: var(--transition);
}

.brand:hover img {
  transform: scale(1.06) rotate(-2deg);
  border-color: var(--gold-accent);
  box-shadow: 0 6px 18px rgba(200, 148, 42, 0.22);
}

.brand-text b {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--primary-wine);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.brand-text small {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--gold-accent);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-top: 3px;
}

.brand-text small i {
  font-size: 10px;
  opacity: 0.8;
}

/* ---------- Nav Menu ---------- */
.navbar {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  position: relative;
  transition: color 0.25s ease, background-color 0.25s ease;
  overflow: hidden;
}

/* Animated underline indicator */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-accent), var(--gold-light));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-wine);
  background-color: rgba(251, 244, 234, 0.7);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--primary-wine);
  font-weight: 600;
  background: linear-gradient(135deg, rgba(251, 244, 234, 0.9), rgba(245, 242, 243, 0.6));
  box-shadow: inset 0 0 0 1px rgba(235, 221, 208, 0.7);
}

.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
  width: 24px;
}

/* ---------- Header CTA Buttons ---------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn-outline {
  border-radius: var(--radius-full);
  padding: 9px 20px;
  font-size: 13.5px;
  border-width: 1.5px;
  position: relative;
  overflow: hidden;
}

.header-actions .btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-wine);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
  border-radius: inherit;
}

.header-actions .btn-outline:hover {
  color: #fff;
  border-color: var(--primary-wine);
  transform: translateY(-1px);
}

.header-actions .btn-outline:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions .btn-gold {
  border-radius: var(--radius-full);
  padding: 9px 24px;
  font-size: 13.5px;
  box-shadow: 0 3px 12px rgba(200, 148, 42, 0.25);
  position: relative;
  overflow: hidden;
}

/* Gold button glow pulse */
@keyframes goldPulse {
  0%, 100% { box-shadow: 0 3px 12px rgba(200, 148, 42, 0.25); }
  50%      { box-shadow: 0 4px 20px rgba(200, 148, 42, 0.45), 0 0 0 4px rgba(240, 203, 114, 0.12); }
}

.header-actions .btn-gold {
  animation: goldPulse 3s ease-in-out infinite;
}

.header-actions .btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 6px 24px rgba(200, 148, 42, 0.4);
}

/* Mobile-menu CTA block: hidden on desktop (buttons live in .header-actions there) */
.nav-menu-cta {
  display: none;
}

/* ---------- Mobile Menu Toggle ---------- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 6px;
  color: var(--primary-wine);
  position: relative;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.mobile-toggle:hover {
  background: rgba(251, 244, 234, 0.8);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--primary-wine);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, width 0.3s ease;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-toggle span:nth-child(1) { top: 11px; }
.mobile-toggle span:nth-child(2) { top: 19px; width: 16px; }
.mobile-toggle span:nth-child(3) { top: 27px; }

/* Animated X when open */
.mobile-toggle.active span:nth-child(1) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.mobile-toggle.active span:nth-child(3) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. Trust Ticker Banner
   -------------------------------------------------------------------------- */
.trust-ticker-wrap {
  width: 100%;
  overflow: hidden;
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 10px 0;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-line);
}

.trust-ticker {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  animation: tickerScroll 30s linear infinite;
}

.trust-ticker-wrap:hover .trust-ticker {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #f7e6ec;
}

.ticker-item strong {
  color: var(--gold-light);
  margin-right: 6px;
}

.ticker-item .dot {
  color: var(--gold-accent);
  font-size: 18px;
  margin-left: 24px;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(rgba(107, 17, 48, 0.88), rgba(77, 10, 34, 0.94)),
              url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #FFFFFF;
  padding: 95px 0 85px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 148, 42, 0.15) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(240, 203, 114, 0.4);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(32px, 4.2vw, 48px);
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.55;
  color: #f7e1ea;
  margin-bottom: 20px;
  max-width: 520px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-chips span {
  padding: 6px 14px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(235, 221, 208, 0.25);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Signup Card on Hero */
.hero-card {
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 22px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hero);
  border: 1px solid var(--border-line);
}

.hero-card h2 {
  font-size: 21px;
  color: var(--primary-wine);
  margin-bottom: 4px;
}

.hero-card p {
  font-size: 13px;
  color: var(--muted-text);
  margin-bottom: 12px;
}

.steps-list {
  margin-bottom: 14px;
  counter-reset: step;
}

.steps-list li {
  position: relative;
  padding-left: 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--bg-soft);
  color: var(--primary-wine);
  border: 1px solid var(--border-line);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.divider-text {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 10px;
  font-size: 11.5px;
  color: var(--muted-text);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border-line);
}

/* --------------------------------------------------------------------------
   7. Form Inputs & Control Styles
   -------------------------------------------------------------------------- */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  margin-bottom: 10px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  min-height: 42px;
  padding: 8px 14px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 13.5px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-wine);
  box-shadow: 0 0 0 3px rgba(122, 18, 57, 0.12);
}

.input-icon-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-group i.input-icon {
  position: absolute;
  left: 16px;
  color: var(--primary-wine);
  font-size: 15px;
  pointer-events: none;
  z-index: 2;
}

.input-icon-group .form-control {
  padding-left: 44px;
}

.phone-input-group {
  display: flex;
}

.phone-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background-color: var(--bg-grey);
  border: 1.5px solid var(--input-border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-wine);
}

.phone-input-group .form-control {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted-text);
  margin-bottom: 20px;
  line-height: 1.5;
}

.consent-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary-wine);
  cursor: pointer;
  flex-shrink: 0;
}

.form-message {
  display: none;
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
}

.form-message.success {
  display: block;
  background-color: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}

.form-message.error {
  display: block;
  background-color: #fce8e6;
  color: #c5221f;
  border: 1px solid #fad2cf;
}

.form-message.pending {
  display: block;
  background-color: var(--bg-soft);
  color: var(--primary-wine);
  border: 1px solid var(--border-line);
}

.picked-product-badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: var(--bg-soft);
  color: var(--primary-wine);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   8. Product Cards & Grid
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: left;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-accent);
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--bg-soft);
  color: var(--primary-wine);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 20px;
  border: 1px solid var(--border-line);
}

.product-card h3 {
  font-size: 20px;
  color: var(--primary-wine);
  margin-bottom: 10px;
}

.product-card p {
  font-size: 14.5px;
  color: var(--muted-text);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-features {
  margin-bottom: 24px;
}

.product-features li {
  font-size: 13.5px;
  color: var(--text-dark);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-accent);
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   9. Platforms & Tabs Component
   -------------------------------------------------------------------------- */
.tabs-control {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 28px;
  background-color: var(--bg-white);
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-full);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--primary-wine);
  color: var(--primary-wine);
}

.tab-btn.active {
  background-color: var(--primary-wine);
  color: #ffffff;
  border-color: var(--primary-wine);
  box-shadow: var(--shadow-sm);
}

.tab-content {
  display: none;
  max-width: 1180px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-content h3 {
  font-size: 26px;
  color: var(--primary-wine);
  margin-bottom: 10px;
}

.tab-content p {
  font-size: 16px;
  color: var(--muted-text);
  margin-bottom: 24px;
}

.platform-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.platform-feature-item {
  padding: 16px;
  background-color: var(--bg-soft);
  border-radius: var(--radius-sm);
  border-left: 3.5px solid var(--gold-accent);
}

.platform-feature-item h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-wine);
  margin-bottom: 4px;
}

.platform-feature-item p {
  font-size: 13.5px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. Feature Cards Grid
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px 24px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  text-align: left;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-wine);
}

.feature-card i {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background-color: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 24px;
  font-style: normal;
  margin-bottom: 20px;
  color: var(--primary-wine);
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-wine);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted-text);
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. SIP Calculator Component
   -------------------------------------------------------------------------- */
.calc-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background-color: var(--bg-white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.slider-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.slider-group output {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-wine);
}

input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border-line);
  outline: none;
  accent-color: var(--primary-wine);
  cursor: pointer;
}

.calc-display {
  background: linear-gradient(135deg, var(--primary-wine), var(--primary-dark));
  color: #ffffff;
  padding: 36px;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.calc-display small {
  display: block;
  font-size: 13.5px;
  color: #f0d9e2;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.calc-display strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 46px);
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 16px;
}

.calc-breakdown {
  display: flex;
  justify-content: space-around;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.calc-stat-item span {
  display: block;
  font-size: 12px;
  color: #f0d9e2;
}

.calc-stat-item b {
  display: block;
  font-size: 16px;
  color: #ffffff;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   12. Research & Learning Cards
   -------------------------------------------------------------------------- */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.learn-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: left;
  transition: var(--transition);
}

.learn-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--gold-accent);
}

.learn-tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--bg-soft);
  color: var(--gold-accent);
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.learn-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-wine);
  margin-bottom: 10px;
}

.learn-card p {
  font-size: 14px;
  color: var(--muted-text);
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   13. App Banner
   -------------------------------------------------------------------------- */
.app-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-wine) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-md);
}

.app-banner-content h2 {
  font-size: 30px;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.app-banner-content p {
  font-size: 16px;
  color: #f7e1ea;
  max-width: 580px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   14. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 1020px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item details {
  padding: 0;
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--primary-wine);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--gold-accent);
  transition: transform 0.2s;
}

.faq-item details[open] summary::after {
  content: '−';
}

.faq-item details[open] {
  background-color: #fff;
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--muted-text);
  line-height: 1.6;
  border-top: 1px solid var(--bg-grey);
}

/* --------------------------------------------------------------------------
   15. Leadership / Directors Section
   -------------------------------------------------------------------------- */

#leadership {
  background: var(--bg-grey);
}

#leadership .section-title {
  font-size: 16px;
  text-align: center;
  margin-bottom: 40px;
}

#leadership .section-title h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--primary-wine);
  margin-bottom: 10px;
}

#leadership .section-title p {
  color: var(--muted-text);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.section-badge {
  display: inline-block;
  background: var(--gold-glow);
  color: #8c6d2b;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(200, 148, 42, 0.35);
  margin-bottom: 12px;
}

.director-portfolio-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 40px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.director-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;       /* sab kuch center */
  text-align: center;
  border-right: 1px solid var(--border-color);
  padding-right: 35px;
  min-width: 0;
}

.director-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;   /* image center */
  margin-bottom: 16px;
}

.director-img {
  width: 180px;
  height: 220px;
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
  object-position: top center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gold);
}

.director-name {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 4px;
  font-weight: 800;
}

.director-role {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.director-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 20px;
}

.cred-pill {
  background: var(--bg-light);
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.director-companies {
  width: 100%;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px;
  text-align: left;
}

.director-companies h5 {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.director-companies li {
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.director-sidebar .btn-full {
  width: 100%;
  white-space: normal;       /* chhoti screen par text wrap ho */
}

.quote-banner {
  background: var(--bg-light);
  border-left: 4px solid var(--gold);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
}

.quote-banner p {
  font-size: 14.5px;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.65;
  margin: 0;
}

.director-bio-content {
  min-width: 0;
}

.director-bio-content h4 {
  font-family: var(--font-body);
  font-size: 19px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.bio-text {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 14px;
}

.director-expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
}

.exp-item {
  display: flex;
  gap: 15px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 18px;
}

.exp-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.exp-item h5 {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--primary);
  margin-bottom: 4px;
  font-weight: 700;
}

.exp-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.mb-md { margin-bottom: 35px; }
.mt-md { margin-top: 15px; }

/* ---------- Tablet ---------- */
@media (max-width: 992px) {
  .director-portfolio-card {
    grid-template-columns: 1fr;       /* ek column */
    gap: 28px;
    padding: 28px;
  }
  .director-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 28px;
  }
  .director-companies {
    max-width: 460px;
  }
  .director-sidebar .btn-full {
    max-width: 460px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  #leadership {
    padding: 50px 0;
  }
  .director-portfolio-card {
    padding: 20px 16px;
    gap: 22px;
    border-radius: 14px;
  }
  .director-img {
    width: 150px;
    height: 185px;
  }
  .director-name {
    font-size: 20px;
  }
  .director-expertise-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .exp-item {
    padding: 14px;
    gap: 12px;
  }
  .quote-banner {
    padding: 14px 16px;
  }
  .director-bio-content h4 {
    font-size: 17px;
  }
}

/* --------------------------------------------------------------------------
   16. Image Gallery Marquee
   -------------------------------------------------------------------------- */
.gallery-section {
  padding: 68px 0 76px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  overflow: hidden;
  position: relative;
}

.gallery-section .section-title {
  margin-top: 8px;
  margin-bottom: 12px;
}

.marquee-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 16px 0 20px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
  will-change: transform;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

/* Modern Gallery Card */
.gallery-card {
  width: 320px;
  height: 225px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: #1e030c;
  box-shadow: 0 10px 24px rgba(42, 27, 32, 0.12);
  border: 1px solid rgba(200, 148, 42, 0.22);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
  user-select: none;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(122, 18, 57, 0.22);
  border-color: var(--gold-accent);
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.08);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 2, 8, 0.08) 0%,
    rgba(20, 2, 8, 0.35) 45%,
    rgba(20, 2, 8, 0.92) 100%
  );
  transition: background 0.35s ease;
  pointer-events: none;
}

.gallery-card:hover .gallery-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(20, 2, 8, 0.15) 0%,
    rgba(92, 13, 42, 0.45) 40%,
    rgba(20, 2, 8, 0.96) 100%
  );
}

.gallery-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary-wine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.gallery-card-badge i {
  color: var(--gold-accent);
  font-size: 11px;
}

.gallery-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  z-index: 2;
}

.gallery-card-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 5px 0;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.gallery-card-subtitle {
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 500;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-card-subtitle i {
  font-size: 11px;
  color: var(--gold-accent);
}

/* Fallback for any marquee-item */
.marquee-item {
  width: 280px;
  height: 190px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Mobile Gallery Controls & Slider Logic (Responsive Only)
   -------------------------------------------------------------------------- */
.gallery-mobile-controls {
  display: none;
}

@media (max-width: 991px) {
  .gallery-section {
    padding: 48px 0 54px;
  }

  .marquee-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 12px 16px 18px;
    -webkit-mask-image: none;
    mask-image: none;
    cursor: grab;
  }

  .marquee-wrap:active {
    cursor: grabbing;
  }

  .marquee-wrap::-webkit-scrollbar {
    display: none;
  }

  .marquee-track {
    animation: none !important;
    gap: 16px;
  }

  .gallery-card {
    width: 270px;
    height: 195px;
  }

  .gallery-card-title {
    font-size: 14.5px;
  }

  .gallery-card-subtitle {
    font-size: 11.5px;
  }

  .gallery-card-badge {
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 10px;
  }

  .gallery-card-content {
    padding: 12px 14px;
  }

  /* Mobile Slider Navigation Bar */
  .gallery-mobile-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
  }

  .gallery-mobile-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--border-line);
    color: var(--primary-wine);
    box-shadow: 0 4px 12px rgba(42, 27, 32, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .gallery-mobile-btn:active {
    background: var(--primary-wine);
    color: #ffffff;
    border-color: var(--primary-wine);
    transform: scale(0.92);
  }

  .gallery-mobile-dots {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .gallery-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #d6c6cc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .gallery-dot.active {
    width: 24px;
    background: var(--primary-wine);
    box-shadow: 0 2px 8px rgba(122, 18, 57, 0.3);
  }
}

/* --------------------------------------------------------------------------
   Interactive Gallery Lightbox Modal Slider
   -------------------------------------------------------------------------- */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.gallery-modal.active {
  display: flex;
  animation: galleryModalFade 0.25s ease forwards;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 2, 8, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gallery-modal-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  background: #1f030c;
  border: 1px solid rgba(200, 148, 42, 0.35);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  animation: galleryModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.gallery-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-modal-close:hover {
  background: var(--gold-accent);
  color: #1a040b;
}

.gallery-modal-body {
  position: relative;
  display: flex;
  flex-direction: column;
}

.gallery-modal-slide {
  width: 100%;
}

.gallery-modal-img-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  background: #100207;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #140209;
  transition: opacity 0.2s ease;
}

.gallery-modal-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-wine);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gallery-modal-badge i {
  color: var(--gold-accent);
}

.gallery-modal-info {
  padding: 16px 20px;
  background: #1c030c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(200, 148, 42, 0.2);
  gap: 12px;
}

.gallery-modal-title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}

.gallery-modal-subtitle {
  color: var(--gold-light);
  font-size: 13px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-modal-counter {
  color: #f7cbd8;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.gallery-modal-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(26, 4, 12, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1.5px solid rgba(200, 148, 42, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 16px;
}

.gallery-modal-nav:hover {
  background: var(--gold-accent);
  color: #1a040b;
  border-color: var(--gold-accent);
}

.gallery-modal-prev {
  left: 14px;
}

.gallery-modal-next {
  right: 14px;
}

@media (max-width: 768px) {
  .gallery-modal-container {
    max-width: 96%;
    border-radius: 16px;
  }

  .gallery-modal-img-wrap {
    height: 260px;
  }

  .gallery-modal-nav {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .gallery-modal-prev {
    left: 8px;
  }

  .gallery-modal-next {
    right: 8px;
  }

  .gallery-modal-title {
    font-size: 15px;
  }

  .gallery-modal-subtitle {
    font-size: 12px;
  }

  .gallery-modal-info {
    padding: 12px 14px;
  }
}

@keyframes galleryModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes galleryModalPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* --------------------------------------------------------------------------
   17. Page Banner (For Inner Pages)
   -------------------------------------------------------------------------- */
.page-banner {
  background: linear-gradient(rgba(107, 17, 48, 0.88), rgba(77, 10, 34, 0.94)),
              url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #FFFFFF;
  padding: 95px 0 85px;
  text-align: center;
  position: relative;
}

.page-banner h1 {
  font-size: clamp(32px, 4vw, 48px);
  color: #ffffff;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 17px;
  color: #f7e1ea;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: #ffffff;
}

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

/* --------------------------------------------------------------------------
   18. Contact Page Layout
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-soft);
  color: var(--primary-wine);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-details h4 {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--primary-wine);
  margin-bottom: 4px;
}

.contact-details p {
  font-size: 14.5px;
  color: var(--muted-text);
  margin: 0;
  line-height: 1.5;
}.sticky-qr-widget {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background: #FFFFFF;
  border: 2px #5c0d2a;
  border-radius: 14px;
  padding: 14px 12px;
  box-shadow: 0 10px 30px rgba(134, 31, 65, 0.25);
  z-index: 995;
  text-align: center;
  width: 150px;
  transition: all 0.25s ease;
}

.sticky-qr-widget:hover {
  box-shadow: 0 14px 40px rgba(134, 31, 65, 0.4);
  transform: translateY(-52%) scale(1.02);
}

.sticky-qr-widget .qr-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: #FFFFFF;
  background:#5c0d2a;
  padding: 4px 8px;
  border-radius: 4px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.sticky-qr-widget img {
  width: 120px;
  height: 120px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.sticky-qr-widget .qr-subtext {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.3;
}

.sticky-qr-widget .qr-click-link {
  display: block;
  margin-top: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: #5c0d2a;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
footer {
  background: linear-gradient(180deg, #4d0a22 0%, var(--primary-dark) 40%, #3a0719 100%);
  color: #f7e6ec;
  padding: 42px 0 24px;
  border-top: 3px solid var(--gold-accent);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 26px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(240, 203, 114, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-brand b {
  font-family: var(--font-heading);
  font-size: 19px;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.footer-about p {
  font-size: 13px;
  color: #e5cbd4;
  line-height: 1.55;
  margin-bottom: 10px;
}

.footer-contact-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.footer-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--gold-light);
  font-weight: 500;
}

.footer-column h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 12px;
  position: relative;
  letter-spacing: 0.3px;
}

.footer-column h4::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--gold-accent);
  margin-top: 5px;
  border-radius: 2px;
}

.footer-column ul li {
  margin-bottom: 7px;
  font-size: 13px;
}

.footer-column ul a {
  font-size: 13px;
  color: #e5cbd4;
  display: inline-block;
  transition: var(--transition);
}

.footer-column ul a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-legal {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(240, 203, 114, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 12px;
  color: #d8b6c4;
  line-height: 1.5;
}

.footer-legal p {
  margin-bottom: 6px;
}

.footer-legal p:last-child {
  margin-bottom: 0;
}

.footer-legal b {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(235, 221, 208, 0.12);
  font-size: 12.5px;
  color: #c5a4b2;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(200, 148, 42, 0.15);
  border: 1px solid rgba(200, 148, 42, 0.3);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   20. Modal Popup Component (Global Request Callback Modal)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(42, 27, 32, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-container {
  background-color: var(--bg-white);
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-hero);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--muted-text);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--primary-wine);
}

.modal-header h3 {
  font-size: 22px;
  color: var(--primary-wine);
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 13.5px;
  color: var(--muted-text);
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   21. Responsive Rules
   -------------------------------------------------------------------------- */
@media (max-width: 1300px) {
  .sticky-qr-widget {
    right: 8px;
    width: 135px;
    padding: 10px 8px;
  }
  .sticky-qr-widget img {
    width: 105px;
    height: 105px;
  }
}

@media (max-width: 1024px) {
  .sticky-qr-widget {
    display: none;
  }
}


   @media (max-width: 992px) {
  /* Hide topbar in responsive mode so only header is visible and fixed */
  .topbar {
    display: none !important;
  }

  /* Responsive mode: Header fixed on scroll, bounded to viewport */
  header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 14px rgba(92, 13, 42, 0.08) !important;
  }

  body {
    padding-top: 64px !important;
  }

  #site-header {
    min-height: 0;
  }

  /* ---- Mobile header: 64px, tighter side padding ---- */
  .container {
    padding: 0 16px;
    max-width: 100%;
    box-sizing: border-box;
  }

  header .container {
    height: 64px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
  }

  .brand img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border-width: 1.5px;
    box-shadow: 0 2px 8px rgba(122, 18, 57, 0.08);
    flex-shrink: 0;
  }

  .brand:hover img {
    transform: none;
  }

  .brand-text b {
    font-size: 20px;
    letter-spacing: -0.2px;
    white-space: nowrap;
  }

  /* Show only "RupayTree" on mobile */
  .brand-sub {
    display: none;
  }

  .header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  /* Both CTAs move into the menu */
  .header-actions .btn-outline,
  .header-actions .btn-gold {
    display: none !important;
  }

  /* ---- Hamburger: 44px touch target ---- */
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--bg-soft);
    border: 1px solid var(--border-line);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-toggle:hover {
    background: var(--bg-soft);
  }

  .mobile-toggle span {
    width: 20px;
  }

  .mobile-toggle span:nth-child(1) { top: 14px; }
  .mobile-toggle span:nth-child(2) { top: 20px; width: 14px; }
  .mobile-toggle span:nth-child(3) { top: 26px; }

  .mobile-toggle.active {
    background: var(--primary-wine);
    border-color: var(--primary-wine);
  }

  .mobile-toggle.active span {
    background-color: #fff;
  }

  .mobile-toggle.active span:nth-child(1) {
    top: 20px;
    transform: translateX(-50%) rotate(45deg);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    width: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    top: 20px;
    transform: translateX(-50%) rotate(-45deg);
  }

  /* ---- Mobile menu panel ---- */
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    z-index: 1001;
    height: auto;
    max-height: calc(100dvh - 128px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 16px calc(22px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(175deg, #2b0410 0%, #45081e 50%, #1e020b 100%);
    border-top: 1px solid rgba(240, 203, 114, 0.22);
    border-bottom: 2px solid rgba(200, 148, 42, 0.4);
    border-radius: 0 0 22px 22px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(240, 203, 114, 0.1);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.35s;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Links: large touch targets, premium contrast */
  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 12px 18px;
    font-size: 16.5px;
    font-weight: 500;
    color: #f7e6ec;
    border: 0;
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.2s ease;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:active {
    background: rgba(240, 203, 114, 0.12);
    color: #ffffff;
  }

  .nav-menu .nav-link.active {
    background: linear-gradient(90deg, rgba(200, 148, 42, 0.25) 0%, rgba(200, 148, 42, 0.06) 100%);
    color: var(--gold-light, #f0cb72);
    font-weight: 600;
    box-shadow: inset 4px 0 0 var(--gold-accent, #c8942a);
  }

  /* Subtle chevron replaces the desktop underline */
  .nav-menu .nav-link::after,
  .nav-menu .nav-link:hover::after,
  .nav-menu .nav-link.active::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    bottom: auto;
    left: auto;
    width: 7px;
    height: 7px;
    background: none;
    border-top: 2px solid rgba(240, 203, 114, 0.55);
    border-right: 2px solid rgba(240, 203, 114, 0.55);
    border-radius: 0;
    opacity: 0.7;
    transform: translateY(-50%) rotate(45deg);
  }

  .nav-menu .nav-link.active::after {
    border-top-color: var(--gold-light, #f0cb72);
    border-right-color: var(--gold-light, #f0cb72);
    opacity: 1;
  }

  /* Staggered fade-in of menu items */
  .nav-menu > li {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-menu.active > li {
    opacity: 1;
    transform: none;
  }

  .nav-menu.active > li:nth-child(1) { transition-delay: 0.04s; }
  .nav-menu.active > li:nth-child(2) { transition-delay: 0.08s; }
  .nav-menu.active > li:nth-child(3) { transition-delay: 0.12s; }
  .nav-menu.active > li:nth-child(4) { transition-delay: 0.16s; }
  .nav-menu.active > li:nth-child(5) { transition-delay: 0.20s; }
  .nav-menu.active > li:nth-child(6) { transition-delay: 0.24s; }
  .nav-menu.active > li:nth-child(7) { transition-delay: 0.30s; }

  /* CTA block at the bottom of the menu */
  .nav-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    padding: 16px 2px 0;
    border-top: 1px solid rgba(240, 203, 114, 0.22);
  }

  .nav-menu-cta .btn {
    width: 100%;
    min-height: 50px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 700;
  }

  .nav-menu-cta .btn-gold {
    background: linear-gradient(135deg, #c8942a 0%, #f0cb72 50%, #b8831f 100%);
    color: #2a030e;
    box-shadow: 0 4px 18px rgba(200, 148, 42, 0.35);
    border: none;
  }

  .nav-menu-cta .btn-gold:hover,
  .nav-menu-cta .btn-gold:active {
    filter: brightness(1.1);
    transform: none;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .calc-box {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-text b {
    font-size: 20px;
  }

  .nav-menu {
    padding-left: 12px;
    padding-right: 12px;
  }

  section {
    padding: 50px 0;
  }

  .topbar-right {
    display: none;
  }

  .topbar .container {
    justify-content: center;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .hero-card {
    padding: 24px;
  }

  .app-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  footer {
    padding: 30px 0 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 14px;
    margin-bottom: 20px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-legal {
    padding: 12px 14px;
    font-size: 11.5px;
    line-height: 1.45;
  }

  .footer-bottom {
    margin-top: 14px;
    padding-top: 12px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}


/* --------------------------------------------------------------------------
   Responsive Bottom Action Buttons (Sabse Niche - Sirf Responsive Me)
   Desktop: Hidden (display: none !important)
   Mobile / Responsive: Edge-to-Edge Full Width (Left: WhatsApp, Right: Call Now)
   No outer padding, flush with edges, high-conversion mobile dock
   -------------------------------------------------------------------------- */
.responsive-bottom-actions {
  display: none !important;
}

@media (max-width: 992px) {
  .responsive-bottom-actions {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static;
    border: none !important;
    background: transparent !important;
  }

  .responsive-bottom-actions .container {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .resp-buttons-wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
  }

  .resp-btn {
    flex: 1;
    width: 50%;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.2px;
    text-decoration: none;
    line-height: 1;
    color: #ffffff;
    border: none;
    margin: 0;
    padding: 0 10px;
    box-shadow: none;
    transition: filter 0.15s ease, opacity 0.15s ease;
  }

  .resp-btn:active {
    filter: brightness(0.92);
  }

  .resp-btn i {
    font-size: 20px;
  }

  /* Left Button: WhatsApp (50% full width, edge-to-edge flush) */
  .resp-btn.resp-wa {
    background: #25d366;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
  }

  .resp-btn.resp-wa:hover,
  .resp-btn.resp-wa:active {
    background: #20bd5a;
  }

  /* Right Button: Call Now (50% full width, edge-to-edge flush) */
  .resp-btn.resp-call {
    background: var(--primary-wine, #7a1239);
  }

  .resp-btn.resp-call:hover,
  .resp-btn.resp-call:active {
    background: #5c0d2a;
  }

  .floating-contact-bar,
  .mobile-sticky-bar {
    display: none !important;
  }
}
/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.about-heading {
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--primary-wine);
  margin-bottom: 18px;
}

/* ---------- Story + At a Glance ---------- */
.about-story {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: start;
}

.about-story-text p {
  font-size: 15.5px;
  color: var(--muted-text);
  line-height: 1.8;
}

.about-story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.about-highlight-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-wine));
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold-accent);
}

.about-highlight-card h3 {
  color: var(--gold-light);
  font-size: 22px;
  margin-bottom: 20px;
}

.about-glance-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #f7e1ea;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.about-glance-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-glance-list i {
  color: var(--gold-light);
  font-size: 16px;
  width: 20px;
  text-align: center;
  margin-top: 3px;
  flex-shrink: 0;
}

.about-glance-list b {
  color: #ffffff;
}

.about-glance-list a {
  color: var(--gold-light);
  font-weight: 600;
}

/* ---------- Stats Strip ---------- */
.about-stats-section {
  padding: 0;
  background: var(--primary-wine);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.about-stat {
  text-align: center;
  padding: 38px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.about-stat:last-child {
  border-right: none;
}

.about-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 42px);
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 6px;
}

.about-stat span {
  font-size: 13.5px;
  color: #f7e1ea;
  font-weight: 500;
}

/* ---------- Mission & Vision ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.mv-card {
  background: var(--bg-white);
  border: 1px solid var(--border-line);
  border-top: 4px solid var(--gold-accent);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  text-align: left;
  transition: var(--transition);
}

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

.mv-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border-line);
  color: var(--primary-wine);
  font-size: 24px;
  margin-bottom: 18px;
}

.mv-card h3 {
  font-size: 22px;
  color: var(--primary-wine);
  margin-bottom: 10px;
}

.mv-card p {
  font-size: 15px;
  color: var(--muted-text);
  line-height: 1.75;
  margin: 0;
}

/* ---------- How We Work (steps) ---------- */
.about-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.about-step {
  background: var(--bg-white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 36px 22px 28px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.about-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-accent);
}

.about-step-no {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-accent));
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(200, 148, 42, 0.3);
}

.about-step h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-wine);
  margin-bottom: 8px;
}

.about-step p {
  font-size: 14px;
  color: var(--muted-text);
  line-height: 1.65;
  margin: 0;
}

/* ---------- Leadership strip ---------- */
.about-leader-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--bg-soft);
  border: 1px solid var(--border-line);
  border-left: 5px solid var(--gold-accent);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.about-leader-strip p {
  font-size: 15px;
  color: var(--muted-text);
  line-height: 1.75;
  max-width: 720px;
  margin: 0;
}

.about-leader-strip b {
  color: var(--primary-wine);
}

/* ---------- Disclosure ---------- */
.about-disclosure-section {
  padding: 50px 0;
}

.about-disclosure {
  background: var(--bg-white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 26px 30px;
}

.about-disclosure h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-wine);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-disclosure h3 i {
  color: var(--gold-accent);
}

.about-disclosure p {
  font-size: 13.5px;
  color: var(--muted-text);
  line-height: 1.7;
  margin: 0;
}

/* ---------- About page responsive ---------- */
@media (max-width: 992px) {
  .about-story {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stat:nth-child(2) {
    border-right: none;
  }

  .about-stat:nth-child(1),
  .about-stat:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .about-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-leader-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
  }
}

@media (max-width: 600px) {
  .about-story-actions .btn {
    width: 100%;
  }

  .about-steps {
    grid-template-columns: 1fr;
  }

  .about-highlight-card {
    padding: 26px 22px;
  }

  .mv-card {
    padding: 28px 22px;
  }
}