/* ============================================================
   style.css — Sambhrama Chits Private Ltd.
   Brand Colors: Red #D62B2B | Blue #1A3B8C | Gold #C9A84C
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --red:        #D62B2B;
  --blue:       #1A3B8C;
  --blue-dark:  #0F2460;
  --blue-light: #2A5BC4;
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --white:      #FFFFFF;
  --off-white:  #F8F6F2;
  --gray-100:   #F3F4F6;
  --gray-300:   #D1D5DB;
  --gray-500:   #6B7280;
  --gray-700:   #374151;
  --gray-900:   #111827;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.18);
  --radius:     10px;
  --radius-lg:  18px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Lato', 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--blue-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 80px 0; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.02em;
  text-align: center;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(214,43,43,0.35);
}
.btn-primary:hover {
  background: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214,43,43,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--blue-dark);
  box-shadow: 0 4px 14px rgba(201,168,76,0.4);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--blue-dark);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(15, 36, 96, 0.97);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  background: var(--white);
  border-radius: 6px;
  padding: 3px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .brand { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.05rem; font-weight: 700; }
.nav-logo-text .tagline { color: var(--gold-light); font-size: 0.65rem; letter-spacing: 0.08em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-links .btn { margin-left: 0.5rem; padding: 0.55rem 1.25rem; font-size: 0.82rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--blue-dark);
  padding: 1rem 1.25rem 1.5rem;
  gap: 0.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav.open { display: flex; }
.mobile-nav a { color: rgba(255,255,255,0.85); padding: 0.65rem 0; font-size: 0.9rem; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn { margin-top: 0.75rem; justify-content: center; }

/* ---------- HERO ---------- */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-dark) 0%, #162D75 60%, #1A3B8C 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(214,43,43,0.08) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-text .section-label { margin-bottom: 1rem; }
.hero-text h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-text p { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin-bottom: 2rem; max-width: 480px; }

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-badge-row {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-card-wrap {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(10px);
  text-align: center;
  max-width: 340px;
  width: 100%;
}

.hero-card img {
  width: 140px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  background: white;
  border-radius: 10px;
  padding: 10px;
}

.hero-card h3 { color: var(--white); margin-bottom: 0.3rem; }
.hero-card p { color: var(--gold-light); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

.stat-item {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.stat-num { font-size: 1.6rem; font-weight: 800; color: var(--gold-light); font-family: 'Playfair Display', serif; }
.stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.65); letter-spacing: 0.05em; }

/* ---------- WHY CHOOSE US ---------- */
#why {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header p {
  max-width: 560px;
  margin: 0.75rem auto 0;
  color: var(--gray-500);
  font-size: 1rem;
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.feature-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
}

.feature-card h3 { margin-bottom: 0.6rem; color: var(--blue-dark); }
.feature-card p { color: var(--gray-500); font-size: 0.9rem; }

/* ---------- CHIT PLANS ---------- */
#chits {
  background: var(--white);
}

.chit-note {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Loading spinner */
.table-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  gap: 1rem;
  color: var(--gray-500);
}

.spinner {
  width: 28px; height: 28px;
  border: 3px solid var(--gray-300);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Table */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  margin-top: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

thead {
  background: var(--blue-dark);
}

thead th {
  color: var(--white);
  padding: 1rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

thead th:first-child { border-radius: var(--radius) 0 0 0; }
thead th:last-child  { border-radius: 0 var(--radius) 0 0; }

tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}

tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: #EFF6FF; }

tbody td {
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  white-space: nowrap;
}

.group-name {
  font-weight: 700;
  color: var(--blue-dark);
  font-family: 'Playfair Display', serif;
}

.amount { font-weight: 600; color: var(--gray-900); }

.prize-amount {
  font-weight: 700;
  color: var(--red);
  font-size: 0.95rem;
}

.badge-bid {
  display: inline-block;
  background: rgba(26, 59, 140, 0.1);
  color: var(--blue);
  border-radius: 50px;
  padding: 0.2rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Fallback static table */
.table-error-msg {
  text-align: center;
  padding: 2rem;
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ---------- ABOUT ---------- */
#about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- MD HERO (About top) ---------- */
.about-md-hero {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3.5rem;
  min-height: 340px;
}

.about-md-img-wrap {
  position: relative;
  overflow: hidden;
}

.about-md-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.about-md-hero:hover .about-md-img-wrap img {
  transform: scale(1.03);
}

.about-md-hero-info {
  background: var(--blue-dark);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-md-role {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  display: block;
}

.about-md-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.about-md-desc {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 380px;
}

/* detail-item sub value */
.detail-item .value-sub {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.1rem;
  font-style: italic;
}

/* Remove old md photo card styles */
.about-md-photo { display: none; }
.about-md-caption { display: none; }

@media (max-width: 900px) {
  .about-md-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .about-md-img-wrap img {
    height: 300px;
    object-position: center 20%;
  }
  .about-md-hero-info { padding: 2rem 1.5rem; }
  .about-md-desc { max-width: 100%; }
}

.about-logo-circle {
  width: 300px;
  height: auto;
  border-radius: var(--radius-lg);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gold-light);
  padding: 28px;
}

.about-logo-circle img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.about-text .section-label { margin-bottom: 0.5rem; }
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--gray-500); margin-bottom: 1rem; }

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.detail-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--gold);
}

.detail-item .label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); }
.detail-item .value { font-size: 0.9rem; font-weight: 600; color: var(--blue-dark); margin-top: 0.2rem; }

/* ---------- CONTACT ---------- */
#contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

/* Info panel */
.contact-info {
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  color: var(--white);
}

.contact-info h3 { color: var(--white); margin-bottom: 0.5rem; }
.contact-info > p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 2rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item-text .ci-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.25rem; }
.contact-item-text a, .contact-item-text p { color: var(--white); font-size: 0.9rem; transition: var(--transition); }
.contact-item-text a:hover { color: var(--gold-light); }

.hours-grid {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.hours-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.75rem; }

.hours-row { display: flex; justify-content: space-between; font-size: 0.82rem; padding: 0.3rem 0; color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.07); }
.hours-row:last-child { border-bottom: none; }
.hours-row .day { font-weight: 600; }
.closed { color: var(--gold-light) !important; }

/* Form */
.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--gray-100);
}

.contact-form-wrap h3 { color: var(--blue-dark); margin-bottom: 0.4rem; }
.contact-form-wrap > p { color: var(--gray-500); font-size: 0.88rem; margin-bottom: 1.75rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group {
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label { font-size: 0.8rem; font-weight: 700; color: var(--gray-700); letter-spacing: 0.03em; }

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,59,140,0.12);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit { width: 100%; justify-content: center; padding: 0.9rem; font-size: 1rem; border-radius: var(--radius); }

/* Form feedback */
.form-msg {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}
.form-msg.success { background: #D1FAE5; color: #065F46; display: block; }
.form-msg.error   { background: #FEE2E2; color: #991B1B; display: block; }

/* ---------- DOCUMENTS BANNER ---------- */
.docs-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #162D75 100%);
  padding: 2rem 0;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.docs-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.docs-banner-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.docs-banner-title {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.docs-banner-sub {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .docs-banner-inner { flex-direction: column; text-align: center; }
  .docs-banner-inner .btn { width: 100%; justify-content: center; }
}

/* ---------- MAP SECTION ---------- */
#map-section {
  background: var(--gray-100);
  padding: 0;
}

#map-section iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img {
  width: 50px;
  height: auto;
  background: white;
  border-radius: 6px;
  padding: 4px;
  object-fit: contain;
}

.footer-logo-text .name { color: var(--white); font-size: 1rem; font-weight: 700; font-family: 'Playfair Display', serif; }
.footer-logo-text .sub  { color: var(--gold-light); font-size: 0.68rem; letter-spacing: 0.08em; }

.footer-brand p { font-size: 0.85rem; max-width: 280px; }

.footer-col h4 { color: var(--white); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; font-family: 'Lato', sans-serif; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { font-size: 0.85rem; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-col ul a:hover { color: var(--gold-light); }

.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 1.25rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.footer-bottom .cin { color: rgba(255,255,255,0.45); }

/* ---------- DIRECTORS STRIP (Hero) ---------- */
.directors-strip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  border-left: 3px solid var(--gold);
  padding: 0.6rem 1rem;
  margin-bottom: 1.75rem;
  max-width: 420px;
}

.directors-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.directors-names {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

.directors-names strong {
  color: var(--white);
  font-weight: 700;
}

/* ---------- LEADERSHIP INLINE (About) ---------- */
.leadership-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 0.7rem 1.1rem;
  margin: 0.5rem 0 1.25rem;
  font-size: 0.92rem;
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
}

.leadership-inline-icon { font-size: 1.1rem; }
.leadership-inline strong { color: var(--blue-dark); font-weight: 700; }

/* ---------- DOCUMENTS PAGE ---------- */
.docs-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #162D75 100%);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.docs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.docs-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.docs-hero p  { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto; }

.docs-section { padding: 60px 0; background: var(--off-white); }

.docs-category { margin-bottom: 3rem; }

.docs-category-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gray-100);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.doc-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}

.doc-icon {
  width: 52px; height: 52px; min-width: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.doc-icon.pdf  { background: #FEE2E2; }
.doc-icon.img  { background: #DBEAFE; }
.doc-icon.misc { background: #FEF3C7; }

.doc-info { flex: 1; min-width: 0; }
.doc-info strong { display: block; font-size: 0.9rem; color: var(--blue-dark); font-weight: 700; margin-bottom: 0.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-info span   { font-size: 0.75rem; color: var(--gray-500); }

.doc-action {
  font-size: 1.1rem;
  color: var(--gray-300);
  transition: var(--transition);
}
.doc-card:hover .doc-action { color: var(--blue); }

.doc-upload-area {
  background: var(--white);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin-top: 2rem;
  transition: var(--transition);
}
.doc-upload-area:hover { border-color: var(--blue); background: #EFF6FF; }
.doc-upload-area p { color: var(--gray-500); margin-bottom: 1rem; }

/* Responsive for new elements */
@media (max-width: 900px) {
  .directors-strip { max-width: 100%; }
  .leadership-members { gap: 1rem; }
}

@media (max-width: 600px) {
  .docs-grid { grid-template-columns: 1fr; }
  .directors-strip { flex-direction: column; gap: 0.5rem; }
}

/* ---------- Scroll-to-top ---------- */
#scrollTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

#scrollTop.visible { opacity: 1; pointer-events: all; }
#scrollTop:hover { background: #b71c1c; transform: translateY(-3px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  section { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .hero-content  { grid-template-columns: 1fr; text-align: center; }
  .hero-text p   { margin: 0 auto 2rem; }
  .hero-cta      { justify-content: center; }
  .hero-badge-row { justify-content: center; }
  .hero-card-wrap { display: none; }
  .about-grid    { grid-template-columns: 1fr; text-align: center; }
  .about-logo-wrap { order: -1; }
  .about-logo-circle { width: 200px; }
  .about-details { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .nav-links     { display: none; }
  .hamburger     { display: flex; }
}

@media (max-width: 600px) {
  section { padding: 48px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats    { grid-template-columns: 1fr 1fr; }
  .about-logo-circle { width: 220px; }
}