/* Paramshree Technologies — Shared Styles (Light Theme) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f8fafc;
  --bg2: #f1f5f9;
  --bg3: #e8edf5;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --text2: #475569;
  --text3: #94a3b8;
  --accent: #00c896;
  --accent2: #00a87e;
  --accent-dark: #007a5e;
  --accent-bg: rgba(0,200,150,0.08);
  --accent-border: rgba(0,200,150,0.25);
  --navy: #0f172a;
  --navy2: #1e293b;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── TOPBAR ── */
.topbar { background: var(--navy); padding: 9px 24px; font-size: 12.5px; }
.topbar-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.topbar a:hover { color: var(--accent); }
.topbar-item { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.65); }
.topbar-right { margin-left: auto; display: flex; gap: 16px; align-items: center; }
.topbar-badge { background: var(--accent); color: var(--navy); font-weight: 700; font-size: 11px; padding: 2px 8px; border-radius: 100px; letter-spacing: 0.5px; }

/* ── NAVBAR ── */
nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 0 24px; box-shadow: var(--shadow-sm); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav-logo { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 19px; font-weight: 800; letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px; color: var(--navy); }
.nav-logo span { color: var(--accent); }
.logo-mark { width: 32px; height: 32px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 900; font-size: 14px; flex-shrink: 0; }
/* Legacy logo dot for old pages */
.logo-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 6px var(--accent); }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links > li {
  position: relative;
  /* KEY FIX: extend li area downward to bridge the gap to dropdown */
  padding-bottom: 8px;
  margin-bottom: -8px;
}
.nav-links > li > a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--text); background: var(--bg2); }
.nav-links > li > a.active { color: var(--accent); }

/* DROPDOWN — no gap, uses padding bridge */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;       /* flush to bottom of li (which has padding-bottom: 8px) */
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
}
.nav-links > li:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--text2);
  border-radius: 8px;
  transition: all 0.15s;
  white-space: nowrap;
}
.dropdown-menu a:hover { color: var(--accent); background: var(--accent-bg); }

.nav-cta { background: var(--accent) !important; color: white !important; font-weight: 600 !important; padding: 9px 22px !important; border-radius: 8px !important; box-shadow: 0 2px 8px rgba(0,200,150,0.3) !important; }
.nav-cta:hover { background: var(--accent2) !important; transform: translateY(-1px) !important; }

.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--navy); padding: 8px; }
.mobile-menu { display: none; background: var(--surface); border-top: 1px solid var(--border); padding: 16px 24px; box-shadow: var(--shadow); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text2); }
.mobile-menu a:hover { color: var(--accent); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: var(--surface); padding: 72px 24px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero-bg { display: none; }
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text3); margin-bottom: 20px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb-sep { color: var(--text3); }
.page-hero h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; color: var(--navy); }
.page-hero p { font-size: 17px; color: var(--text2); max-width: 600px; line-height: 1.7; }

/* ── SECTION COMMONS ── */
section { padding: 88px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-dark); background: var(--accent-bg); border: 1px solid var(--accent-border); padding: 4px 12px; border-radius: 100px; margin-bottom: 16px; }
.section-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; letter-spacing: -0.8px; line-height: 1.2; margin-bottom: 16px; color: var(--navy); }
.section-sub { font-size: 16px; color: var(--text2); max-width: 560px; line-height: 1.7; }
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn-primary { background: var(--accent); color: white; font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 10px; border: none; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 3px 12px rgba(0,200,150,0.3); }
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,200,150,0.4); }
.btn-secondary { background: transparent; color: var(--navy); font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 10px; border: 1.5px solid var(--border); cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* ── CTA STRIP ── */
.cta-strip { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 0 24px; }
.cta-strip-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.cta-item { padding: 44px 28px; text-align: center; border-right: 1px solid var(--border); transition: background 0.2s; }
.cta-item:last-child { border-right: none; }
.cta-item:hover { background: var(--surface); }
.cta-item-icon { width: 48px; height: 48px; background: var(--accent-bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin: 0 auto 14px; }
.cta-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.cta-item p { font-size: 13px; color: var(--text3); }

/* ── FOOTER ── */
footer { background: var(--navy2); color: white; padding: 64px 24px 0; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); margin-top: 16px; line-height: 1.7; max-width: 280px; }
.footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-contact a:hover { color: var(--accent); }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 8px; }

/* ── FADE IN ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1, .delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2, .delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3, .delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4, .delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-strip-inner { grid-template-columns: 1fr; }
  .cta-item { border-right: none; border-bottom: 1px solid var(--border); }
  .cta-item:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  section { padding: 60px 20px; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-right { display: none; }
}

/* ── Animated Trust Strip ── */
.topbar { background: linear-gradient(90deg,#0f172a,#13233b 50%,#0f172a) !important; background-size: 200% 100% !important; animation: tsbg 9s linear infinite; border-bottom: 1px solid rgba(0,200,150,0.25); }
@keyframes tsbg { 0%{background-position:0% 50%} 100%{background-position:200% 50%} }
.ts-shine { font-size: 12.5px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; background: linear-gradient(90deg,#00c896,#ffffff,#f0b429,#00c896); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: shine 4s linear infinite; white-space: nowrap; }
@keyframes shine { to { background-position: 200% center } }
@media(max-width:600px){ .ts-shine{font-size:10.5px;letter-spacing:0.2px;} }
.feat-new { margin-left: auto; font-size: 9px; font-weight: 800; letter-spacing: 0.5px; color: #fff; background: var(--accent); padding: 2px 7px; border-radius: 100px; flex-shrink: 0; }
