/* ============================================
   DALMIA WEALTH — Main Stylesheet
   Edit colors, fonts, spacing here.
   ============================================ */

/* --- CSS Variables (Edit to change theme) --- */
:root {
  --primary: #002e38; /* Darker shade for headings and hover states */
  --primary-light: #004451; /* Main requested color for buttons and active links */
  --primary-lighter: #e2f1f4; /* Light complementary teal for icon backgrounds */
  --accent: #059669;
  --accent-light: #d1fae5;
  --gold: #d97706;
  --gold-light: #fef3c7;
  --red: #dc2626;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #004451; /* Main requested color for the footer */
  --text: #1e293b;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--primary);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.3;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  line-height: 1.7;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}
.btn-primary { background: var(--primary-light); color: #fff; }
.btn-primary:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary-light); border: 2px solid var(--primary-light); }
.btn-outline:hover { background: var(--primary-light); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #047857; color: #fff; }
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-3 { margin-bottom: 24px; }

/* =====================
   HEADER / NAVBAR
   ===================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--primary-light);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-light); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =====================
   HERO SLIDER
   ===================== */
.hero {
  margin-top: 72px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-alt) 0%, #e8f0fe 100%);
}
.hero-slides { display: flex; transition: transform 0.6s ease; }
.hero-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  padding: 60px 0;
  min-height: 520px;
}
.hero-slide .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
}
.hero-content { flex: 1; max-width: 520px; }
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero-content p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 28px; }
.hero-image { flex: 1; max-width: 480px; }
.hero-image img { width: 100%; border-radius: var(--radius-lg); }
.hero-nav {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.hero-dot.active { background: var(--primary-light); width: 32px; border-radius: 6px; }

/* =====================
   CALCULATOR TABS
   ===================== */
.calc-section { background: var(--bg-alt); }
.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}
.calc-tab {
  padding: 10px 22px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--bg);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-light);
  transition: all var(--transition);
}
.calc-tab:hover { border-color: var(--primary-light); color: var(--primary-light); }
.calc-tab.active { background: var(--primary-light); color: #fff; border-color: var(--primary-light); }
.calc-panel { display: none; }
.calc-panel.active { display: block; }
.calc-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}
.calc-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 28px;
  text-align: center;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.calc-field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 6px;
  font-weight: 500;
}
.calc-field input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--bg-alt);
}
.calc-field input:focus { outline: none; border-color: var(--primary-light); background: var(--bg); }
.calc-result {
  margin-top: 28px;
  padding: 24px;
  background: linear-gradient(135deg, var(--primary-lighter), #eff6ff);
  border-radius: var(--radius);
  text-align: center;
}
.calc-result .value {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-light);
  font-weight: 700;
}
.calc-result .label { color: var(--text-light); font-size: 0.9rem; margin-top: 4px; }
.calc-btn {
  display: block;
  margin: 24px auto 0;
  padding: 13px 40px;
}

/* =====================
   WHY US / FEATURES
   ===================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  display: block;
}
.feature-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.feature-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.65; }

/* =====================
   SERVICES
   ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-color, var(--primary-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-icon { font-size: 2.6rem; margin-bottom: 16px; display: block; }
.service-card h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.service-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* =====================
   PRESENTATIONS
   ===================== */
.pres-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 12px 0 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.pres-scroll::-webkit-scrollbar { height: 6px; }
.pres-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.pres-card {
  min-width: 260px;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  scroll-snap-align: start;
  flex-shrink: 0;
  transition: all var(--transition);
}
.pres-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pres-card .pres-img {
  height: 160px;
  background: linear-gradient(135deg, var(--primary-lighter), #c7d8f5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.pres-card h5 {
  padding: 16px;
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonial-section { background: var(--bg-alt); }
.testimonials-wrapper { position: relative; max-width: 800px; margin: 0 auto; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
  min-width: 100%;
  padding: 40px;
  text-align: center;
}
.testimonial-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-lighter), var(--accent-light));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
}
.testimonial-card blockquote {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding: 0 20px;
}
.testimonial-card blockquote::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--primary-light);
  opacity: 0.2;
  position: absolute;
  top: -20px; left: -5px;
}
.testimonial-name { font-weight: 700; color: var(--primary); font-size: 1.05rem; }
.testimonial-role { color: var(--text-light); font-size: 0.9rem; }
.test-nav { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.test-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-light);
  transition: all var(--transition);
}
.test-btn:hover { border-color: var(--primary-light); color: var(--primary-light); background: var(--primary-lighter); }

/* =====================
   CONTACT FORM
   ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.contact-info-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--primary-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.contact-info-card h4 { font-size: 1rem; color: var(--primary); margin-bottom: 4px; }
.contact-info-card p { color: var(--text-light); font-size: 0.9rem; }
.contact-form {
  background: var(--bg);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-light); margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--bg-alt);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-light); background: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* =====================
   ABOUT PAGE
   ===================== */
.about-banner {
  margin-top: 72px;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  text-align: center;
}
.about-banner h1 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.about-banner p { opacity: 0.85; font-size: 1.1rem; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.vision-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.vm-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.vm-card .vm-icon { font-size: 3rem; margin-bottom: 16px; display: block; }
.vm-card h3 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--primary); margin-bottom: 12px; }
.vm-card p { color: var(--text-light); line-height: 1.7; }

/* =====================
   NRI PAGE
   ===================== */
.nri-hero {
  margin-top: 72px;
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
  text-align: center;
}
.nri-hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 20px; }
.nri-hero p { opacity: 0.85; max-width: 700px; margin: 0 auto 40px; font-size: 1.05rem; }
.nri-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.nri-stat { text-align: center; }
.nri-stat .val {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: #60a5fa;
}
.nri-stat .lbl { font-size: 0.9rem; opacity: 0.7; margin-top: 4px; }
.perf-table { overflow-x: auto; }
.perf-table table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.perf-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
}
.perf-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.perf-table tr:hover td { background: var(--primary-lighter); }
.perf-table .disclaimer { font-size: 0.8rem; color: var(--text-light); margin-top: 16px; font-style: italic; }
.nri-reasons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.nri-reason {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
}
.nri-reason h4 { font-family: var(--font-heading); color: var(--primary); margin-bottom: 10px; font-size: 1.1rem; }
.nri-reason p { color: var(--text-light); font-size: 0.95rem; line-height: 1.65; }
.nri-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.nri-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--primary-lighter);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}
.nri-badge span { font-size: 1.3rem; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  padding: 18px 24px;
  background: var(--bg);
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--bg-alt); }
.faq-q .faq-icon { font-size: 1.3rem; transition: transform var(--transition); }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.35s ease; }
.faq-a.open { padding: 0 24px 18px; max-height: 200px; }
.faq-a p { color: var(--text-light); line-height: 1.7; }

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-brand img { height: 40px; margin-bottom: 16px; filter: brightness(10); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; opacity: 0.7; }
.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #94a3b8; font-size: 0.9rem; }
.footer ul a:hover { color: #60a5fa; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.9rem; }
.footer-contact-item .fc-icon { font-size: 1rem; color: #60a5fa; flex-shrink: 0; margin-top: 2px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary-light); border-color: var(--primary-light); color: #fff; }
.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}
.footer-bottom a { color: #60a5fa; }

/* =====================
   WHATSAPP FAB
   ===================== */
.whatsapp-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--transition);
}
.whatsapp-fab:hover { transform: scale(1.1); }
.whatsapp-fab img { width: 30px; height: 30px; }

/* =====================
   CONTACT PAGE SPECIFIC
   ===================== */
.contact-hero {
  margin-top: 72px;
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  text-align: center;
}
.contact-hero h1 { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.5rem); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 992px) {
  .hero-slide .container { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-image { max-width: 400px; }
  .contact-grid, .about-content, .nri-reasons-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .vision-mission { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .hamburger { display: flex; }
  .hero-slide { min-height: 400px; padding: 40px 0; }
  .section { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .nri-stats { gap: 24px; }
  .calc-tabs { gap: 6px; }
  .calc-tab { font-size: 0.78rem; padding: 8px 14px; }
  .calc-card { padding: 24px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .features-grid, .services-grid { grid-template-columns: 1fr; }
}