/* ═══════════════════════════════════
   CA Karthik Kukunuru — Shared Styles
═══════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', sans-serif; color: #1a1a2e; background: #fff; line-height: 1.7; font-size: 16px; }

:root {
  --accent:       #2563eb;
  --accent-light: #eff6ff;
  --accent-mid:   #dbeafe;
  --text:         #1a1a2e;
  --muted:        #64748b;
  --border:       #e2e8f0;
  --surface:      #f8fafc;
  --radius:       14px;
  --shadow:       0 4px 24px rgba(37,99,235,0.08);
  --shadow-hover: 0 8px 40px rgba(37,99,235,0.16);
  --max-w:        1100px;
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 66px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; letter-spacing: .5px;
}
.nav-name { font-size: 15px; font-weight: 600; color: var(--text); }
.nav-name em { color: var(--accent); font-style: normal; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 500;
  color: var(--muted); transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.nav-cta {
  background: var(--accent); color: white !important;
  padding: 8px 20px; border-radius: 8px;
  transition: background .2s !important;
}
.nav-links a.nav-cta:hover { background: #1d4ed8 !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ── Page wrapper ── */
.page-body { padding-top: 66px; }

/* ── Section base ── */
.section { padding: 80px 5%; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
h1.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700; color: var(--text); line-height: 1.15; margin-bottom: 14px;
}
h1.page-title em { color: var(--accent); font-style: normal; }
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; color: var(--text); line-height: 1.2; margin-bottom: 14px;
}
.section-desc { font-size: 16px; color: var(--muted); line-height: 1.8; }
.divider { height: 1px; background: var(--border); max-width: var(--max-w); margin: 0 auto; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--accent); color: white;
  padding: 13px 30px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(37,99,235,.25);
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.35); }
.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--border); color: var(--text);
  padding: 13px 30px; border-radius: 10px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: border-color .2s, color .2s, transform .2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── Page hero banner (used on inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--surface) 0%, var(--accent-light) 100%);
  border-bottom: 1px solid var(--border);
  padding: 60px 5% 52px;
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero p { font-size: 17px; color: var(--muted); max-width: 560px; line-height: 1.8; margin-top: 12px; }

/* ── Cards ── */
.card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--accent-mid); }

/* ── Animations ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fd1 { transition-delay: .1s; } .fd2 { transition-delay: .2s; } .fd3 { transition-delay: .3s; }

/* ── Footer ── */
footer {
  background: var(--text); color: rgba(255,255,255,.5);
  padding: 52px 5%;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 32px;
}
.ft-brand { font-family: 'Playfair Display',serif; font-size: 19px; font-weight: 700; color: white; margin-bottom: 10px; }
.ft-brand em { color: #93c5fd; font-style: normal; }
.ft-about { font-size: 13.5px; line-height: 1.7; }
.ft-col-title { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.ft-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ft-links a { color: rgba(255,255,255,.45); text-decoration: none; font-size: 13.5px; transition: color .2s; }
.ft-links a:hover { color: white; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px; font-size: 13px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-copy .hl { color: #93c5fd; }

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 60px 6%; }
  .page-hero { padding: 48px 6% 40px; }
}
@media (max-width: 500px) {
  .footer-top { grid-template-columns: 1fr; gap: 22px; }
  .footer-copy { flex-direction: column; text-align: center; }
}
