/* ============================================================
   VVS Brand Theme — Logo-extracted palette
   Primary:  #0a3d8f (Deep Blue)
   Accent:   #FFCC00 (Gold/Yellow)
   Action:   #CC2200 (Red)
   Light bg: #f4f7fe
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --blue:        #0a3d8f;
  --blue-dark:   #072e6a;
  --blue-light:  #1558c0;
  --gold:        #FFCC00;
  --gold-dark:   #d4a800;
  --gold-light:  #ffe566;
  --red:         #CC2200;
  --red-dark:    #991a00;
  --white:       #ffffff;
  --bg:          #f4f7fe;
  --bg2:         #eef2fb;
  --text:        #1a2340;
  --text-muted:  #4b5670;
  --border:      #dce3f0;
  --shadow-sm:   0 2px 8px rgba(10,61,143,0.08);
  --shadow-md:   0 6px 24px rgba(10,61,143,0.13);
  --shadow-lg:   0 16px 48px rgba(10,61,143,0.18);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   36px;
  --transition:  all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', serif;
  color: var(--text);
  line-height: 1.15;
}

/* ── HEADER ──────────────────────────────────────────────── */
.vvs-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 20px rgba(10,61,143,0.12);
  transition: var(--transition);
}

.vvs-header-inner {
  width: 100%;
  padding: 0 clamp(16px, 4vw, 64px);
  height: clamp(70px, 8vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.vvs-logo img {
  height: clamp(52px, 6vw, 80px);
  width: auto;
  display: block;
}

.vvs-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  list-style: none;
}

.vvs-nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(13px, 1vw, 16px);
  color: var(--text);
  text-decoration: none;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.vvs-nav a:hover,
.vvs-nav a.active {
  color: var(--blue);
  border-bottom-color: var(--gold);
}

.vvs-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--blue);
  font-size: 26px;
}

/* Mobile menu */
.vvs-mobile-menu {
  display: none;
  position: fixed;
  top: clamp(70px, 8vw, 96px);
  left: 0; right: 0;
  background: var(--white);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
}

.vvs-mobile-menu.open { display: block; }

.vvs-mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 16px 24px 24px;
}

.vvs-mobile-menu nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.vvs-mobile-menu nav a:last-child { border-bottom: none; }
.vvs-mobile-menu nav a:hover { color: var(--blue); padding-left: 8px; }

@media (max-width: 900px) {
  .vvs-nav { display: none; }
  .vvs-hamburger { display: flex; }
}

/* ── FOOTER ──────────────────────────────────────────────── */
.vvs-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  padding: clamp(40px, 5vw, 80px) clamp(16px, 4vw, 64px) 0;
}

.vvs-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.vvs-footer-logo img {
  height: clamp(60px, 5vw, 80px);
  width: auto;
  margin-bottom: 16px;
}

.vvs-footer h4 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--gold);
  margin-bottom: 16px;
}

.vvs-footer p,
.vvs-footer a {
  font-size: clamp(13px, 0.9vw, 15px);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  text-decoration: none;
  transition: var(--transition);
}

.vvs-footer a:hover { color: var(--gold); }

.vvs-footer ul { list-style: none; }
.vvs-footer ul li { margin-bottom: 8px; }

.vvs-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.vvs-footer-contact-item i {
  color: var(--gold);
  width: 18px;
  flex-shrink: 0;
}

.vvs-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  text-align: center;
}

.vvs-footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.vvs-footer-bottom a {
  color: var(--gold);
  font-size: 13px;
}

/* ── HERO BANNER ─────────────────────────────────────────── */
.vvs-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
  padding: clamp(80px, 10vw, 140px) clamp(16px, 4vw, 64px) clamp(60px, 7vw, 100px);
  position: relative;
  overflow: hidden;
}

.vvs-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  top: -180px; right: -120px;
  border-radius: 50%;
  border: 2px solid rgba(255,204,0,0.15);
  pointer-events: none;
}

.vvs-hero::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  bottom: -80px; left: -60px;
  border-radius: 50%;
  border: 2px solid rgba(255,204,0,0.1);
  pointer-events: none;
}

.vvs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,204,0,0.15);
  border: 1px solid rgba(255,204,0,0.4);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: clamp(10px, 0.8vw, 12px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.vvs-hero-badge span {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

.vvs-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.vvs-hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.vvs-hero p {
  font-size: clamp(15px, 1.2vw, 20px);
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin-bottom: 32px;
}

.vvs-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
}

.vvs-divider .line { height: 3px; width: 48px; background: var(--gold); border-radius: 2px; }
.vvs-divider .dot  { width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.vvs-divider .line-short { height: 3px; width: 18px; background: rgba(255,204,0,0.4); border-radius: 2px; }

/* ── SECTION ─────────────────────────────────────────────── */
.vvs-section {
  padding: clamp(48px, 6vw, 96px) clamp(16px, 4vw, 64px);
}

.vvs-section-title {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 12px;
}

.vvs-section-sub {
  font-size: clamp(15px, 1.1vw, 18px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
}

.vvs-underline {
  width: 72px;
  height: 4px;
  background: linear-gradient(to right, var(--gold), var(--red));
  border-radius: 2px;
  margin: 12px auto 32px;
}

/* ── CARDS ───────────────────────────────────────────────── */
.vvs-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
}

.vvs-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10,61,143,0.2);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.vvs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(10px, 1.2vw, 14px) clamp(20px, 2.5vw, 32px);
  border-radius: 50px;
  font-weight: 700;
  font-size: clamp(13px, 0.95vw, 16px);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: var(--transition);
}

.vvs-btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.vvs-btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,61,143,0.3);
}

.vvs-btn-gold {
  background: var(--gold);
  color: var(--blue-dark);
  border-color: var(--gold);
}
.vvs-btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,204,0,0.4);
}

.vvs-btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.vvs-btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* ── TABLE ───────────────────────────────────────────────── */
.vvs-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.vvs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(13px, 0.95vw, 15px);
}

.vvs-table thead tr {
  background: linear-gradient(to right, var(--blue), var(--blue-light));
  color: var(--white);
}

.vvs-table thead th {
  padding: clamp(10px, 1.2vw, 16px) clamp(10px, 1.5vw, 20px);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  text-align: left;
}

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

.vvs-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.vvs-table tbody tr:nth-child(even) { background: var(--bg2); }
.vvs-table tbody tr:hover { background: rgba(10,61,143,0.05); }

.vvs-table tbody td {
  padding: clamp(10px, 1.1vw, 14px) clamp(10px, 1.5vw, 20px);
  color: var(--text);
}

/* ── TAB BUTTONS ─────────────────────────────────────────── */
.vvs-tab-btn {
  padding: clamp(10px,1.2vw,14px) clamp(16px,2vw,28px);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: clamp(13px,0.95vw,15px);
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.vvs-tab-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.vvs-tab-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(10,61,143,0.25);
  transform: translateY(-2px);
}

/* ── INFO BADGES ─────────────────────────────────────────── */
.vvs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: clamp(12px, 0.85vw, 14px);
  font-weight: 600;
  background: rgba(10,61,143,0.08);
  color: var(--blue);
  border: 1px solid rgba(10,61,143,0.15);
}

/* ── STAFF/LEADER CARD ───────────────────────────────────── */
.vvs-leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: clamp(20px,2.5vw,36px);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(16px,2vw,32px);
  transition: var(--transition);
}

.vvs-leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10,61,143,0.2);
}

.vvs-leader-avatar {
  width: clamp(100px,9vw,150px);
  height: clamp(100px,9vw,150px);
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 4px 16px rgba(10,61,143,0.18);
  flex-shrink: 0;
  transition: border-color 0.3s;
}

.vvs-leader-card:hover .vvs-leader-avatar { border-color: var(--gold); }

.vvs-leader-name {
  font-size: clamp(18px,1.8vw,26px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.vvs-leader-role {
  font-size: clamp(13px,1vw,16px);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 12px;
}

.vvs-leader-bio {
  font-size: clamp(13px,0.95vw,15px);
  color: var(--text-muted);
  line-height: 1.7;
  text-align: justify;
}

@media (max-width: 600px) {
  .vvs-leader-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .vvs-leader-bio { text-align: left; }
}

/* ── DOC CARD ────────────────────────────────────────────── */
.vvs-doc-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: clamp(20px,2vw,32px) clamp(16px,1.5vw,24px);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.vvs-doc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10,61,143,0.2);
}

.vvs-doc-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--white);
  flex-shrink: 0;
}

/* ── NEWS CARD ───────────────────────────────────────────── */
.vvs-news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: clamp(18px,2vw,28px);
  transition: var(--transition);
  position: relative;
}

.vvs-news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10,61,143,0.2);
}

/* ── GALLERY CARD ────────────────────────────────────────── */
.vvs-gallery-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.vvs-gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.vvs-gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

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

/* ── SANGHA / INFO SECTION ───────────────────────────────── */
.vvs-sangha-section {
  background: var(--blue);
  padding: clamp(48px,6vw,80px) clamp(16px,4vw,64px);
  position: relative;
  overflow: hidden;
}

.vvs-sangha-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,204,0,0.22);
  border-radius: var(--radius-md);
  padding: clamp(20px,2vw,32px);
  text-align: center;
  transition: var(--transition);
}

.vvs-sangha-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,204,0,0.5);
}

/* ── MILESTONE ───────────────────────────────────────────── */
.vvs-milestone {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px,3vw,48px);
  align-items: center;
  margin-bottom: clamp(48px,6vw,96px);
}

.vvs-milestone.reverse { direction: rtl; }
.vvs-milestone.reverse > * { direction: ltr; }

.vvs-milestone-img {
  border-radius: var(--radius-md);
  width: 100%;
  height: clamp(280px,25vw,400px);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  transition: transform 0.7s ease, box-shadow 0.7s ease;
}

.vvs-milestone:hover .vvs-milestone-img {
  transform: scale(1.03);
  box-shadow: 0 24px 64px rgba(10,61,143,0.22);
}

@media (max-width: 768px) {
  .vvs-milestone,
  .vvs-milestone.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* ── UTILITY ─────────────────────────────────────────────── */
.text-blue   { color: var(--blue) !important; }
.text-gold   { color: var(--gold) !important; }
.text-red    { color: var(--red) !important; }
.bg-blue     { background: var(--blue) !important; }
.bg-gold     { background: var(--gold) !important; }
.bg-red      { background: var(--red) !important; }
.bg-light    { background: var(--bg) !important; }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }

.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: clamp(16px,2vw,32px); }
.grid-2    { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: clamp(16px,2vw,32px); }
.grid-3    { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: clamp(16px,2vw,32px); }
.grid-4    { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: clamp(16px,2vw,28px); }

.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

/* ── BACK TO TOP ─────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 500;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:hover {
  background: var(--gold);
  color: var(--blue-dark);
  transform: translateY(-3px);
}/* ======================================
   Large Desktop Scaling (1920px and above)
====================================== */
@media screen and (min-width: 1920px) {

  html {
    font-size: 112.5%; /* 18px base instead of 16px */
  }

  body {
    font-size: 20px;
    line-height: 1.8;
  }

  h1 { font-size: 5rem !important; }
  h2 { font-size: 3.8rem !important; }
  h3 { font-size: 2.3rem !important; }
  h4 { font-size: 1.8rem !important; }

  p,
  li,
  a,
  span,
  td,
  th,
  label,
  input,
  textarea,
  button {
    font-size: 1.15rem !important;
  }

  .vvs-section {
    padding: 100px 80px;
  }

  .vvs-nav a {
    font-size: 1.2rem !important;
  }

  .vvs-btn {
    font-size: 1.15rem !important;
    padding: 16px 36px;
  }

  img {
    max-width: 100%;
  }
}