@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,300&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CHETAK WEALTH – STYLE SHEET
   Primary:    #3F455F   Background: #F6F6E9
   ============================================================ */
:root {
  --primary:    #3F455F;
  --primary-dk: #2d3247;
  --bg:         #F6F6E9;
  --bg-alt:     #EEEDE3;
  --text-muted: #6c757d;
  --white:      #FFFFFF;
  --gold:       #C4A35A;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--primary);
  -webkit-user-select: none;
  user-select: none;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

h1,h2,h3,h4,h5,h6 { font-family: 'Merriweather', serif; color: var(--primary); margin: 0; }
h1,h2,h3 { font-weight: 700 !important; }
h4,h5,h6 { font-weight: 400 !important; }
p { font-family: 'Source Sans 3', sans-serif; color: var(--text-muted); line-height: 1.8; text-align: center; }
p strong { color: var(--primary); font-weight: 700; }
a { text-decoration: none; color: var(--primary); transition: color .2s; }
ul { padding-left: 0 !important; }
ul li { list-style: none; }

/* ---- GRADIENT DIVIDER LINE (reused from chetak_final .mv-divider concept) ---- */
.grad-line {
  display: block;
  width: 60px; height: 2px;
  background: linear-gradient(to right, transparent, var(--primary) 30%, var(--primary) 70%, transparent);
  margin: 0 auto 36px;
  border: none;
}
.grad-line-v {
  width: 1px; flex-shrink: 0;
  background: linear-gradient(to bottom, transparent, var(--primary) 25%, var(--primary) 75%, transparent);
  align-self: stretch; min-height: 80px; margin: 20px 0;
}

/* ---- SECTION TITLE ---- */
.section-title { text-align: center; margin-bottom: 8px; }
.section-title h2 {
  display: inline-block;
  font-size: 1.7rem; font-weight: 700; color: var(--primary);
  padding-bottom: 3px; border-bottom: 2px solid var(--primary);
  letter-spacing: 0.01em; margin-bottom: 0;
}
.section-title p { margin-top: 10px; font-size: 0.95rem; color: var(--text-muted); text-align: center; }

/* ============================================================
   CONSENT OVERLAY
   ============================================================ */
#consent-overlay {
  position: fixed; inset: 0;
  background: rgba(20,24,40,0.82);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
#consent-box {
  background: var(--bg); border-radius: 18px;
  padding: 40px 36px 32px; max-width: 500px; width: 92%;
  box-shadow: 0 28px 70px rgba(0,0,0,0.38); text-align: center;
}
#consent-box .consent-logo { width: 130px; background: transparent; margin: 0 auto 18px; display: block; }
#consent-box h3 { font-family: 'Merriweather', serif; font-size: 1.25rem; color: var(--primary); margin-bottom: 8px; }
#consent-box .consent-intro { font-size: 0.88rem; color: #555; margin-bottom: 22px; text-align: center; }
.consent-checks { text-align: left; }
.consent-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.consent-check input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--primary); cursor: pointer; }
.consent-check label { font-size: 0.88rem; color: #444; cursor: pointer; text-align: left; }
.consent-check label a { color: var(--primary); text-decoration: underline; font-weight: 600; }
#consent-enter-btn {
  margin-top: 20px; width: 100%; padding: 13px;
  font-size: 1rem; font-family: 'Source Sans 3', sans-serif; font-weight: 600;
  background: var(--primary); color: var(--bg);
  border: none; border-radius: 10px; cursor: pointer;
  transition: opacity .3s, transform .2s; letter-spacing: 0.05em;
}
#consent-enter-btn:disabled { opacity: 0.35; cursor: not-allowed; }
#consent-enter-btn:not(:disabled):hover { transform: translateY(-2px); opacity: 0.88; }

/* ============================================================
   NAVBAR (bottom fixed)
   ============================================================ */
.navbar { width: 80%; margin: 10px auto; border-radius: 50px; border: 2px solid var(--primary); background-color: var(--bg); box-shadow: 0 -1px 5px rgba(0,0,0,0.1); }
.nav-link { color: var(--primary) !important; font-size: 1.1rem; transition: transform .2s; }
.navbar .nav-link:hover { color: var(--primary) !important; transform: scale(1.2); transition: all .3s ease; }
.tooltip-inner { background-color: var(--primary) !important; color: var(--bg); padding: 8px 12px; font-size: 14px; border-radius: 5px; }
.tooltip-arrow::before { border-top-color: var(--primary) !important; }

/* ============================================================
   HERO — centered logo, medium italic tagline, flat bg color, no curved border
   ============================================================ */
.hero-section {
  background-color: #eeede3;
  padding: 44px 0 32px;
  text-align: center;
}
.hero-logo {
  width: 160px;
  background: #eeede3;
  margin: 0 auto 0;
  display: block;
}
.hero-tagline {
  font-family: 'Merriweather', serif;
  font-size: 0.9rem; font-weight: 300; font-style: italic;
  color: #3f455f;
  letter-spacing: 0.02em; line-height: 1.65;
  max-width: 580px; margin: 0 auto;
  text-align: center;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--bg); padding: 60px 0; }
.about-section p { text-align: center; font-size: 0.97rem; margin-bottom: 16px; }

/* ============================================================
   MISSION & VISION — side-by-side with vertical divider
   ============================================================ */
.mission-vision-section { background: var(--bg-alt); padding: 60px 0; }
.mv-flex { display: flex; align-items: stretch; }
.mv-col { flex: 1; padding: 20px 40px; text-align: center; }
.mv-col .mv-icon { font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.mv-col h3 {
  font-family: 'Merriweather', serif; font-size: 1.2rem; color: var(--primary);
  margin-bottom: 12px; padding-bottom: 2px;
  display: inline-block; border-bottom: 2px solid var(--primary);
}
.mv-col p { text-align: center; font-size: 0.95rem; line-height: 1.85; color: var(--text-muted); }

/* ============================================================
   SERVICES — flat, no card, white bg placeholder for icon
   ============================================================ */
.services-section { background: var(--bg); padding: 60px 0; }
.svc-flex { display: flex; align-items: stretch; }
.svc-col { flex: 1; padding: 24px 36px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.svc-img-box {
  width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.svc-img-box img { width: 70px; height: 70px; object-fit: contain; }
.svc-col h3 {
  font-family: 'Merriweather', serif; font-size: 1.15rem; color: var(--primary);
  margin-bottom: 14px; padding-bottom: 2px;
  display: inline-block; border-bottom: 2px solid var(--primary);
}
.svc-col p { text-align: center; font-size: 0.92rem; color: var(--text-muted); margin-bottom: 10px; }
.svc-col-body { flex: 1; display: flex; flex-direction: column; align-items: center; }

.inquiry-btn {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px; padding: 10px 26px;
  background: var(--primary); color: var(--bg);
  border-radius: 8px; font-weight: 600; font-size: 0.93rem;
  font-family: 'Source Sans 3', sans-serif; border: none; cursor: pointer;
  transition: background .3s, transform .2s; text-decoration: none;
}
.inquiry-btn:hover { background: var(--primary-dk); transform: translateY(-2px); color: var(--bg); }

/* ============================================================
   TEAM — "Minds Behind It All" — flat, uniform height, name+desig ABOVE photo
   ============================================================ */
.team-section { background: var(--bg-alt); padding: 60px 0; }
.team-swiper { padding: 10px 60px 50px !important; }

.team-swiper .swiper-button-prev,
.team-swiper .swiper-button-next {
  color: var(--primary); width: 26px; height: 26px; top: 38%;
}
.team-swiper .swiper-button-prev::after,
.team-swiper .swiper-button-next::after { font-size: 14px; font-weight: 900; }
.team-swiper .swiper-button-prev { left: 6px; }
.team-swiper .swiper-button-next { right: 6px; }
.team-swiper .swiper-pagination-bullet-active { background: var(--primary); }
/* Equal-height slides */
.team-swiper .swiper-wrapper { align-items: stretch !important; }
.team-swiper .swiper-slide  { height: auto !important; display: flex; }

.team-slide-inner {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 12px 20px;
  width: 100%; position: relative;
}
/* Gradient vertical line BETWEEN slides — on the right edge of each inner */
.team-swiper .swiper-slide:not(:last-child) .team-slide-inner::after {
  content: '';
  position: absolute; right: -14px; top: 8%; bottom: 8%; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--primary) 25%, var(--primary) 75%, transparent);
}

/* Name + Designation ABOVE the photo */
.team-name {
  font-family: 'Merriweather', serif; font-size: 1rem; font-weight: 700 !important;
  color: var(--primary); margin-bottom: 3px;
}
/* Plain text designation — no pill/background */
.team-desig {
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 14px;
  font-family: 'Source Sans 3', sans-serif;
}

.team-photo-circle {
  width: 120px; height: 120px; border-radius: 50%;
  overflow: hidden; border: 3px solid var(--primary);
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; flex-shrink: 0;
  transition: transform .35s ease, box-shadow .35s ease;
}
.team-photo-circle img { width: 100%; height: 100%; object-fit: cover; margin:10px }

/* Hover effect — same scale lift as gallery images */
.swiper-slide:hover .team-photo-circle {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(63,69,95,0.22);
}

/* small gradient line below photo, separating from description */
.team-mini-line {
  display: block; width: 36px; height: 2px; border: none;
  background: linear-gradient(to right, transparent, var(--primary) 30%, var(--primary) 70%, transparent);
  margin: 0 auto 12px;
}

.team-desc {
  font-size: 0.87rem; color: var(--text-muted);
  text-align: center; line-height: 1.65; flex: 1;
  margin-bottom: 14px;
}
.team-socials { display: flex; gap: 10px; justify-content: center; margin-top: auto; }
.team-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.86rem; transition: background .2s, transform .2s; text-decoration: none;
}
.team-socials a:hover { background: var(--gold); transform: scale(1.12); }

/* ============================================================
   TESTIMONIALS — flat, all text center, arrows pushed out
   ============================================================ */
.testimonials-section { background: var(--bg); padding: 60px 0; }
.testi-swiper { padding: 10px 60px 50px !important; }
.testi-swiper .swiper-button-prev,
.testi-swiper .swiper-button-next {
  color: var(--primary); width: 26px; height: 26px; top: 38%;
}
.testi-swiper .swiper-button-prev::after,
.testi-swiper .swiper-button-next::after { font-size: 14px; font-weight: 900; }
.testi-swiper .swiper-button-prev { left: 6px; }
.testi-swiper .swiper-button-next { right: 6px; }
.testi-swiper .swiper-wrapper { align-items: stretch !important; }
.testi-swiper .swiper-slide { height: auto !important; display: flex; }
.testi-swiper .swiper-pagination { position: relative; margin-top: 6px; }
.testi-swiper .swiper-pagination-bullet-active { background: var(--primary); }

.testi-slide-inner {
  text-align: center; padding: 10px 14px 20px;
  display: flex; flex-direction: column; align-items: center; width: 100%;
  position: relative;
}
/* Gradient vertical line BETWEEN testi slides */
.testi-swiper .swiper-slide:not(:last-child) .testi-slide-inner::after {
  content: '';
  position: absolute; right: -14px; top: 8%; bottom: 8%; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--primary) 25%, var(--primary) 75%, transparent);
}
/* Remove old horizontal mini-line (now unused) */
.testi-mini-line { display: none; }
.testi-slide-inner h3 { font-size: 1rem; font-weight: 700 !important; color: var(--primary); margin-bottom: 2px; }
.testi-slide-inner h4 { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 2px; margin-top: 10px; font-weight: 400 !important; }
.testi-slide-inner .stars { margin-bottom: 10px; }
.testi-slide-inner .stars i { color: var(--gold); font-size: 0.85rem; }
.testi-slide-inner .quote-text {
  font-style: italic; font-size: 0.9rem; color: var(--text-muted);
  line-height: 1.78; text-align: center; flex: 1;
}

/* ============================================================
   GALLERY — "Chetak in Frames" — flat, vertical divider BETWEEN slides
   ============================================================ */
.gallery-section { background: var(--bg-alt); padding: 60px 0; overflow: hidden; }
.gallery-swiper { padding: 10px 60px 50px !important; }
.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
  color: var(--primary); width: 26px; height: 26px;
}
.gallery-swiper .swiper-button-prev::after,
.gallery-swiper .swiper-button-next::after { font-size: 14px; font-weight: 900; }
.gallery-swiper .swiper-button-prev { left: 6px; }
.gallery-swiper .swiper-button-next { right: 6px; }
.gallery-swiper .swiper-wrapper { align-items: stretch !important; }
.gallery-swiper .swiper-slide  {
  height: auto !important;
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
/* Gradient vertical line BETWEEN gallery slides */
.gallery-swiper .swiper-slide:not(:last-child)::after {
  content: '';
  position: absolute; right: -14px; top: 8%; bottom: 8%; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--primary) 25%, var(--primary) 75%, transparent);
}
.gallery-swiper .swiper-slide img {
  width: 100%; height: 200px; object-fit: contain;
  background: var(--bg); padding: 12px;
  transition: transform .4s ease, box-shadow .4s ease; display: block;
  border: none; border-radius: 0;
}
.gallery-swiper .swiper-slide img:hover { transform: scale(1.04); box-shadow: 0 8px 26px rgba(63,69,95,0.18); }
.gallery-swiper .swiper-pagination-bullet-active { background: var(--primary); }

/* ============================================================
   SIP CALCULATOR
   ============================================================ */
.sip-section { background: var(--bg); padding: 60px 0; }
.sip-wrap { max-width: 680px; margin: 0 auto; padding: 36px 32px; border-top: 2px solid var(--primary); }
.sip-wrap .form-label { font-weight: 600; font-size: 0.9rem; color: var(--primary); margin-bottom: 6px; display: block; }
.sip-wrap .form-control {
  border: 1.5px solid rgba(63,69,95,0.25); border-radius: 8px;
  padding: 10px 14px; font-size: 0.95rem; width: 100%; background: var(--bg);
}
.sip-wrap .form-control:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(63,69,95,0.10); }
.sip-calc-btn {
  width: 100%; padding: 13px; background: var(--primary); color: var(--bg);
  border: none; border-radius: 8px; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: background .3s, transform .2s; margin-top: 8px;
  font-family: 'Source Sans 3', sans-serif;
}
.sip-calc-btn:hover { background: var(--primary-dk); transform: translateY(-2px); }
.sip-result-box { margin-top: 26px; border-top: 2px solid rgba(63,69,95,0.12); padding-top: 20px; }
.sip-result-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed rgba(63,69,95,0.15); }
.sip-result-item:last-of-type { border-bottom: none; }
.sip-label { font-size: 0.9rem; color: var(--text-muted); }
.sip-value { font-size: 1.05rem; font-weight: 700; color: var(--primary); font-family: 'Merriweather', serif; }
.sip-value.gain { color: #2e7d32; }
.sip-disclaimer { font-size: 0.75rem; color: var(--text-muted); margin-top: 12px; text-align: center; font-style: italic; }

/* ============================================================
   CONTACT — flat, centered text with dividers
   ============================================================ */
.contact-section { background: var(--bg-alt); padding: 60px 0; }
.contact-flex { display: flex; align-items: stretch; }
.contact-item { flex: 1; text-align: center; padding: 20px 20px; }
.contact-item .ci-icon { font-size: 1.8rem; color: var(--primary); margin-bottom: 8px; }
.contact-item h5 { font-family: 'Merriweather', serif; font-size: 0.98rem; color: var(--primary); margin-bottom: 6px; }
.contact-item p { font-size: 0.92rem; text-align: center; color: var(--text-muted); }
.contact-item a { color: var(--primary); font-weight: 500; }
.contact-item a:hover { color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--primary); color: var(--bg); padding: 32px 0 18px; text-align: center; }
.footer p { color: rgba(246,246,233,0.85); font-size: 0.88rem; margin-bottom: 6px; text-align: center; }
.footer a { color: var(--bg); text-decoration: underline; }
.footer a:hover { color: var(--gold); }
.footer hr { border-color: rgba(246,246,233,0.2); margin: 14px auto; max-width: 480px; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-header { background: var(--primary) !important; }
.modal-title { color: var(--bg) !important; font-family: 'Merriweather', serif !important; }
.modal-body h6 { color: var(--primary); margin-top: 16px; font-family: 'Merriweather', serif; }
.modal-body p { text-align: left; font-size: 0.92rem; line-height: 1.8; color: #444; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .navbar { width: 100%; border-radius: 0; border: none; border-top: 2px solid var(--primary); margin: 0; }
  .mv-flex, .svc-flex, .contact-flex { flex-direction: column; }
  .grad-line-v {
    width: auto !important; height: 2px !important; min-height: auto !important;
    margin: 0 20px !important;
    background: linear-gradient(to right, transparent, var(--primary) 25%, var(--primary) 75%, transparent) !important;
  }
  .mv-col, .svc-col { padding: 20px 18px; }
  .contact-item { padding: 16px 14px; }
  .sip-wrap { padding: 24px 14px; }
  .team-swiper { padding: 10px 44px 44px !important; }
  .gallery-swiper { padding: 0 44px 44px !important; }
  .testi-swiper { padding: 10px 44px 44px !important; }
}
@media (max-width: 480px) {
  .hero-tagline { font-size: 0.95rem; }
  .section-title h2 { font-size: 1.35rem; }
  .team-swiper { padding: 10px 36px 40px !important; }
  .gallery-swiper, .testi-swiper { padding-left: 36px !important; padding-right: 36px !important; }
}
.footer-data {
    margin-bottom: 70px;
}