/* NVMA Website - Checklist-Driven Professional CSS */

/* DESIGN SYSTEM */
:root {
  --primary-bg: #fff;
  --primary-text: #1b2330;
  --secondary-text: #60739b;
  --accent: #3182ce;
  --accent-dark: #233876;
  --cta: #fdbe43;
  --cta-hover: #ffaa10;
  --header-bg: #7dd5f5;
  --header-text: #1a202c;
  --footer-bg: #7dd5f5;
  --footer-text: #edf2f7;
  --footer-link-hover: #a0aec0;
  --container-width: 1200px;
  --space-xs: 0.35rem;
  --space-sm: 0.85rem;
  --space-md: 1.7rem;
  --space-lg: 2.5rem;
  --space-xl: 4.2rem;
  --font-sans: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-base: 1rem;
  --font-heading: 2rem;
  --font-h2: 1.44rem;
  --font-h3: 1.18rem;
  --line-height-base: 1.65;
  --line-height-heading: 1.21;
  --border-radius: 0.68rem;
  --shadow-sm: 0 1.5px 3px rgba(49,130,206,0.06);
  --shadow-md: 0 4px 10px rgba(49,130,206,0.12);
  --shadow-lg: 0 8px 22px rgba(49,130,206,0.17);
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--primary-text);
  font-size: var(--font-base);
  background: var(--primary-bg);
  line-height: var(--line-height-base);
  letter-spacing: 0.005em;
}
img { max-width: 100%; height: auto; display: block; }
a { transition: color 0.2s, border 0.2s; text-decoration: none;}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  margin-bottom: var(--space-xs);
  letter-spacing: 0.2px;
  color: var(--primary-text);
  line-height: var(--line-height-heading);
}
h1 { font-size: var(--font-heading); margin-bottom: 0.6em;}
h2 { font-size: var(--font-h2);}
h3 { font-size: var(--font-h3);}
p { margin-bottom: var(--space-xs); }
.text-secondary { color: var(--secondary-text);}
mark, .text-highlight {
  background: linear-gradient(90deg, #ffe066 58%, #fff6b7 100%);
  color: #1b2330;
  padding: 2px 7px;
  border-radius: 0.36em;
  font-weight: 600;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* HEADER & NAV */
.site-header {
  background: var(--header-bg);
  color: var(--header-text);
  padding: 0.49rem 0 0.49rem 0;
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 119;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  padding: 0 var(--space-md);
}
.site-logo img { height: 40px; }
.site-nav-wrap {
  overflow-x: auto; white-space: nowrap;
}
.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem; /* reduced gap for compactness */
  font-size: 1rem;
}
.site-nav li { display: inline-block; }
.site-nav a {
  color: var(--header-text); font-weight: 500;
  padding: 0.46rem 0.83rem;
  border-radius: var(--border-radius);
  background: transparent;
  position: relative;
  white-space: nowrap;
  transition: background 0.16s, color 0.18s;
}
.site-nav a:after {
  content: "";
  display: block; height: 2px;
  background: var(--accent); width: 0;
  transition: width .19s cubic-bezier(.85,0,.15,1);
  position: absolute; left: 18%; right: 17%; bottom: 5px;
  border-radius: 1.7px;
}
.site-nav a:hover:after, .site-nav a:focus:after, .site-nav a.active:after { width: 60%; }
.site-nav a.active {
  background: #e6f6fe;
  color: var(--accent-dark);
  font-weight: 800;
}
.language-switcher {
  display: inline-flex; gap: 0.4rem; margin-left: 0.5rem;
  padding: 0.22rem 0.7rem;
  background: rgba(255,255,255,0.31);
  border-radius: 2rem; font-size: 1rem; align-items: center;
  box-shadow: var(--shadow-sm);
}

/* HERO SECTION (HOME/KHANDALA/MEMBERSHIP) */
.page-hero {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(110deg, #3182ce 0%, #e4f6fd 95%);
  position: relative;
  padding: 2.6rem var(--space-xs) 2.6rem var(--space-xs);
  margin-bottom: var(--space-md);
  text-align: center;
  min-height: 180px;
  border-radius: 0.8rem;
  box-shadow: var(--shadow-md);
}
.page-hero h1 {
  font-size: 1.34rem;
  font-weight: 800;
  color: #233876;
  text-shadow: 0 2px 7px rgba(39,67,147, 0.07);
  margin-bottom: 0.2em;
}
.page-hero .lead, .page-hero p {
  font-size: 1.06rem;
  color: #3a5564;
  margin-bottom: 0.16em;
  font-weight: 500;
  line-height: 1.55;
}

/* SECTION HEADINGS & CARDS */
.section-heading {
  text-align: left;
  margin: 1.5rem 0 0.8rem 0;
  padding: 0.52rem 1.05rem 0.52rem 1.05rem;
  font-size: 1.05rem;
  font-weight: 800;
  background: linear-gradient(95deg, #e9f3fe 60%, #bee6f7 100%);
  color: #233876;
  border-radius: 0.6rem;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.07em;
  display: block;
}
.info-card, .content-box, .membership-box, .leadership-card, .cta-box {
  background: linear-gradient(92deg, #f7fbfc 85%, #e0f3fd 100%);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem 1rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-text);
}
.cta-box, .important-box {
  background: linear-gradient(93deg,#fff8e7 70%,#f7e8d6 100%);
  color: #6b3c09; font-weight: 700;
  border-radius: 0.8rem; box-shadow: var(--shadow-md);
}

/* LEADERSHIP/MULTI-COLUMN CARDS */
.leadership-card {
  display: flex; align-items: center; gap: 1.0rem;
  background: linear-gradient(91deg,#e9f3fe 79%,#f6fbfe 100%);
  margin-bottom: 0.5rem;
  font-size: 1.07rem;
  font-weight: 630;
}

/* CONTACT INFO - TWO NUMBERS INLINE */
.contact-info-block {
  background: #f8fafc;
  border: 1.2px solid #d0e4f7;
  border-radius: 0.7rem;
  font-size: 1.09rem;
  display: flex; align-items: center;
  gap: 1.1rem; padding: 0.85em 1.1em;
  color: var(--primary-text);
}
.contact-info-block .phone {
  color: var(--accent-dark);
  font-weight: 730;
  background: rgba(49,130,206,0.07);
  border-radius: 0.35em;
  padding: 2px 12px 2px 5px;
  display: flex; align-items: center; gap: 0.34em;
}
.contact-info-block .phone svg { vertical-align: middle; margin-right: 6px; color: var(--cta); font-size: 1.18em;}

/* BUTTONS */
.btn, .cta-btn {
  display: inline-block;
  padding: 0.88rem 1.7rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 700;
  background: var(--cta);
  color: #6d4708;
  box-shadow: 0 3.5px 9px 0 rgba(253,190,67,0.14);
  margin-top: 0.4rem; margin-bottom: 0.6rem;
  border: none;
  cursor: pointer;
  transition: transform 0.12s, background 0.16s;
}
.btn:hover, .btn:active, .cta-btn:hover { background: var(--cta-hover); transform: translateY(-2px) scale(1.015);}
.btn-secondary {
  background: #fff; color: var(--accent); border: 2px solid var(--accent);
}
.btn-secondary:hover { background: var(--accent); color: #fff; }

form button[type="submit"], form .btn-primary {
  border-radius: 2rem;
  font-size: 1.04rem;
  margin-top: 0.6rem;
  min-width: 130px;
}

/* LISTS */
ul, ol { padding-left: 1.13rem; margin-bottom: 0.73rem;}
ul li, ol li { margin-bottom: 0.40em; font-size: 1.03em; line-height: 1.58;}
ul li::marker { color: var(--accent); font-weight: 640; font-size: 1.05em;}
ol li::marker { color: var(--cta); font-weight: 700; font-size: 1.01em;}
ul.accent-list li::before {
  content: "✔";
  color: var(--accent);
  margin-right: 0.54em;
  font-size: 1.13em;
  vertical-align: text-bottom;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}
.service-item {
  background: #fff;
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.13s;
  border-top: 3px solid transparent;
}
.service-item:hover {
  transform: translateY(-2.5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--accent);
}
.service-item h3 { color: var(--accent); font-weight: 750; font-size: 1.06em;}

/* FOOTER */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: var(--space-md) 0 var(--space-xs);
  border-radius: 0.7rem 0.7rem 0 0;
  font-size: 0.97rem;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: var(--space-sm);
}
.footer-logo-img { max-width: 110px; margin-bottom: 0.27rem;}
.footer-col h4 { margin-bottom: 0.4rem; font-weight: 700;}
.footer-col a {
  color: var(--footer-text);
  display: block;
  margin-bottom: 0.32rem;
  border-bottom: 2px solid transparent;
  font-size: 0.97em;
}
.footer-col a:hover { color: var(--footer-link-hover); border-bottom: 2px solid var(--footer-link-hover);}
.footer-bottom {
  text-align: center;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255,255,255,0.11);
  font-size: 0.88rem;
}

.skip-to-content {
  position: absolute; top: -40px; left: 0;
  background: var(--accent); color: #fff;
  padding: 0.36rem 0.76rem; border-radius: 0.4rem;
  text-decoration: none; z-index: 100; font-size: 1.01rem;
}
.skip-to-content:focus { top: 0; }
a:focus-visible { outline: 2.2px solid var(--accent); outline-offset: 2px; }

/* RESPONSIVE */
@media (max-width: 1050px) {
  .container { padding: 0 var(--space-xs);}
  .header-container { gap: var(--space-xs);}
}
@media (max-width: 780px) {
  .container { padding: 0 0.35rem; }
  .site-nav ul {
    flex-direction: row;
    gap: 0.58rem;
    overflow-x: auto;
  }
  .site-logo img { height: 32px;}
  .page-hero { padding: 1.03rem 0.2rem 1.45rem 0.2rem; min-height: 110px;}
  .page-hero h1 { font-size: 0.99rem;}
  .page-hero .lead, .page-hero p { font-size: 0.89rem;}
  .section-heading { font-size: 0.97rem; margin: 0.77rem 0 0.5rem 0;}
  .info-card, .content-box, .membership-box, .leadership-card, .cta-box {
    padding: 0.7rem 0.22rem; margin-bottom: 0.65rem; border-radius: 0.57rem;
  }
  ul, ol { padding-left: 0.7rem;}
  ul li, ol li { font-size: 0.97em;}
  .footer-logo-img { max-width: 65px;}
  .footer-container { gap: 0.35rem;}
  .site-footer { padding: 0.75rem 0.4rem 0.4rem 0.4rem;}
  .contact-info-block { flex-direction: column; gap: 0.45rem; padding: 0.36em 0.51em;}
  .services-grid { gap: 0.7rem;}
}
/* Contact Page Specific Styles */
.contact-info-block {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #3182ce;
}

.contact-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(49, 130, 206, 0.1);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    color: #1a365d;
    font-weight: 600;
}

.contact-item a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.8;
}

.phone svg {
    fill: #3182ce;
}
/* ========================================
   CONTACT PAGE STYLES
======================================== */
.contact-info-block {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #3182ce;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(49, 130, 206, 0.15);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    color: #1a365d;
    font-weight: 700;
    margin-right: 0.5rem;
}

.contact-item a {
    transition: all 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.8;
}

/* Info Card Styling */
.info-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}
