/* =====================================================
   APS PVT LTD – Main Stylesheet
   ===================================================== */

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

:root {
  --navy:      #0b1f3a;
  --navy-mid:  #132a4e;
  --gold:      #c9933a;
  --gold-lt:   #e8b86d;
  --cream:     #f8f4ee;
  --white:     #ffffff;
  --text:      #1a1a2e;
  --muted:     #6b7280;
  --border:    #e5ddd0;
  --shadow:    0 8px 40px rgba(11,31,58,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── TOPBAR ─────────────────────────────── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding: 8px 0;
  letter-spacing: 0.02em;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a   { color: var(--gold-lt); }
.topbar-right { display: flex; gap: 24px; align-items: center; }
.topbar span  { display: flex; align-items: center; gap: 6px; }

/* ── HEADER ─────────────────────────────── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(11,31,58,0.08);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  width: 46px; height: 46px; background: var(--navy); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; color: var(--gold);
  font-size: 1.3rem; font-weight: 700; flex-shrink: 0;
}
.logo-text { line-height: 1.1; }
.logo-text strong { display: block; font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--navy); font-weight: 700; }
.logo-text span   { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

nav { display: flex; gap: 2px; align-items: center; }
nav a {
  padding: 8px 14px; color: var(--navy); font-size: 0.88rem; font-weight: 500;
  border-radius: 6px; transition: background 0.2s, color 0.2s; white-space: nowrap;
}
nav a:hover, nav a.active { background: var(--cream); color: var(--gold); }
.nav-cta {
  background: var(--gold) !important; color: var(--white) !important;
  padding: 9px 20px !important; border-radius: 8px !important;
  font-weight: 600 !important; margin-left: 8px;
}
.nav-cta:hover { background: #b07d28 !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

.mobile-nav {
  display: none; position: fixed; top: 73px; left: 0; right: 0; bottom: 0;
  background: var(--white); overflow-y: auto; z-index: 999;
  padding: 24px; flex-direction: column; gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 14px 16px; color: var(--navy); font-weight: 500; border-bottom: 1px solid var(--border); font-size: 1rem; }
.mobile-nav .m-section { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); padding: 16px 16px 4px; font-weight: 600; }

/* ── PAGE HERO (inner pages) ─────────────── */
.page-hero {
  background: var(--navy); padding: 70px 24px 60px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,147,58,0.15) 0%, transparent 70%);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-bottom: 14px; }
.page-hero .breadcrumb a { color: var(--gold-lt); }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: 2.6rem; color: var(--white); font-weight: 700; line-height: 1.2; }
.page-hero p  { color: rgba(255,255,255,0.6); margin-top: 14px; font-size: 1rem; max-width: 520px; line-height: 1.7; }

/* ── COMMON SECTION ─────────────────────── */
section { padding: 90px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.section-sub   { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 560px; }
.section-header { margin-bottom: 52px; }

.btn-primary {
  background: var(--gold); color: var(--white); padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; transition: background 0.2s, transform 0.2s; display: inline-block;
}
.btn-primary:hover { background: #b07d28; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3);
  padding: 14px 28px; border-radius: 10px; font-weight: 500; font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--gold-lt); background: rgba(201,147,58,0.08); }
.btn-dark { background: var(--navy); color: var(--white); padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 0.95rem; transition: background 0.2s; display: inline-block; }
.btn-dark:hover { background: var(--navy-mid); }

/* ── MARQUEE ─────────────────────────────── */
.marquee-wrap { background: var(--gold); overflow: hidden; padding: 13px 0; }
.marquee-track { display: flex; gap: 60px; animation: marquee 30s linear infinite; white-space: nowrap; }
.marquee-item { color: var(--white); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.marquee-item::before { content: '◆'; font-size: 0.5rem; opacity: 0.6; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── FOOTER ──────────────────────────────── */
footer { background: #060f1f; color: rgba(255,255,255,0.5); padding: 70px 24px 32px; }
.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: 0.85rem; line-height: 1.7; max-width: 280px; margin-top: 14px; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-col a  { display: block; color: rgba(255,255,255,0.45); font-size: 0.83rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-lt); }
.footer-bottom {
  max-width: 1200px; margin: 32px auto 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.8rem;
}
.footer-bottom a { color: var(--gold-lt); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

/* ── HERO (index) ────────────────────────── */
.hero {
  background: var(--navy); position: relative; overflow: hidden; padding: 100px 24px 90px;
}
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(201,147,58,0.15) 0%, transparent 70%); pointer-events: none; }
.hero::after  { content: ''; position: absolute; bottom: -80px; left: -80px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(201,147,58,0.08) 0%, transparent 70%); pointer-events: none; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,147,58,0.15); border: 1px solid rgba(201,147,58,0.3); color: var(--gold-lt); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; padding: 6px 14px; border-radius: 100px; margin-bottom: 24px; }
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: 3.2rem; font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero > .hero-inner > div > p { color: rgba(255,255,255,0.65); font-size: 1.05rem; line-height: 1.7; margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 28px 24px; backdrop-filter: blur(10px); }
.stat-card.featured { grid-column: 1 / -1; background: rgba(201,147,58,0.12); border-color: rgba(201,147,58,0.25); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.stat-label { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

/* ── ABOUT ───────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-card-main { background: var(--navy); border-radius: 20px; padding: 48px 40px; color: var(--white); position: relative; overflow: hidden; }
.about-card-main::before { content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(201,147,58,0.2) 0%, transparent 70%); }
.about-card-main h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 16px; color: var(--gold-lt); }
.about-card-main p  { color: rgba(255,255,255,0.7); line-height: 1.7; font-size: 0.95rem; }
.about-card-float { position: absolute; bottom: -24px; right: -24px; background: var(--gold); border-radius: 14px; padding: 20px 24px; color: var(--white); box-shadow: var(--shadow); }
.about-card-float strong { font-family: 'Playfair Display', serif; font-size: 1.8rem; display: block; line-height: 1; }
.about-card-float span { font-size: 0.8rem; opacity: 0.85; }
.about-points { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.about-point { display: flex; align-items: flex-start; gap: 14px; }
.about-point-icon { width: 36px; height: 36px; background: rgba(201,147,58,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.about-point h4 { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.about-point p  { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* ── SERVICES ────────────────────────────── */
.services-bg { background: var(--navy); }
.services-bg .section-title { color: var(--white); }
.services-bg .section-label { color: var(--gold-lt); }
.services-bg .section-sub   { color: rgba(255,255,255,0.55); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 32px 28px; transition: background 0.3s, transform 0.3s, border-color 0.3s; display: block; }
.service-card:hover { background: rgba(201,147,58,0.1); border-color: rgba(201,147,58,0.3); transform: translateY(-4px); }
.service-icon { font-size: 2rem; margin-bottom: 20px; display: block; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--white); margin-bottom: 10px; font-weight: 600; }
.service-card p  { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.65; }
.service-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: 0.8rem; font-weight: 600; margin-top: 18px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── LINKS ───────────────────────────────── */
.links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.link-item { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; color: var(--navy); font-size: 0.85rem; font-weight: 500; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; display: flex; align-items: center; gap: 10px; line-height: 1.4; }
.link-item:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(201,147,58,0.12); transform: translateY(-2px); }
.link-item::before { content: '→'; color: var(--gold); font-size: 0.9rem; flex-shrink: 0; }

/* ── DOWNLOAD ─────────────────────────────── */
.download-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.download-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 28px 22px; transition: all 0.2s; display: block; }
.download-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(201,147,58,0.1); }
.dl-icon { width: 48px; height: 48px; background: rgba(201,147,58,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 14px; }
.download-card h4 { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.download-card span { font-size: 0.78rem; color: var(--muted); }

/* ── CALCULATOR ──────────────────────────── */
.calc-bg { background: var(--gold); }
.calc-bg .section-title { color: var(--white); }
.calc-bg .section-label { color: rgba(255,255,255,0.7); }
.calc-bg .section-sub   { color: rgba(255,255,255,0.75); }
.calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.calc-card { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); border-radius: 16px; padding: 32px 28px; transition: background 0.2s; display: flex; gap: 20px; align-items: center; }
.calc-card:hover { background: rgba(255,255,255,0.22); }
.calc-card-icon { font-size: 2.5rem; flex-shrink: 0; }
.calc-card h3 { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.1rem; margin-bottom: 6px; }
.calc-card p  { color: rgba(255,255,255,0.75); font-size: 0.85rem; line-height: 1.5; }

/* ── CONTACT ─────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; background: var(--navy); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item h4 { font-size: 0.85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--navy); font-size: 0.95rem; font-weight: 500; line-height: 1.5; }
.contact-item a:hover { color: var(--gold); }
.hours-card { background: var(--navy); border-radius: 20px; padding: 36px; color: var(--white); }
.hours-card h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--gold-lt); margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.hours-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.9rem; }
.hours-row:last-child { border-bottom: none; }
.hours-row .day  { color: rgba(255,255,255,0.6); }
.hours-row .time { color: var(--gold-lt); font-weight: 500; }
.hours-row.closed .time { color: #ef4444; }

/* ── CONTACT FORM ─────────────────────────── */
.contact-form { background: var(--white); border-radius: 20px; padding: 40px; border: 1px solid var(--border); }
.contact-form h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--navy); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input,
.form-group select,
.form-group textarea { border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--text); background: var(--cream); transition: border-color 0.2s; outline: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success { background: #dcfce7; border: 1px solid #86efac; border-radius: 8px; padding: 14px 18px; color: #15803d; font-weight: 500; margin-bottom: 16px; display: none; }

/* ── CAREER ──────────────────────────────── */
.career-banner { background: var(--navy-mid); border-radius: 20px; padding: 56px 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.career-banner h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--white); margin-bottom: 10px; }
.career-banner p { color: rgba(255,255,255,0.6); max-width: 480px; line-height: 1.6; }
.job-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 32px; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.job-badge { display: inline-block; background: rgba(201,147,58,0.1); color: var(--gold); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 12px; border-radius: 100px; margin-bottom: 8px; }
.job-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.job-card p  { font-size: 0.85rem; color: var(--muted); }

/* ── DISCLAIMER / POLICY PAGES ───────────── */
.policy-content { max-width: 860px; }
.policy-content h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--navy); margin: 40px 0 14px; }
.policy-content p  { color: var(--muted); line-height: 1.8; margin-bottom: 16px; font-size: 0.95rem; }
.policy-content ul { color: var(--muted); line-height: 1.8; padding-left: 20px; margin-bottom: 16px; font-size: 0.95rem; }

/* ── ACTS / RULES / CIRCULARS ─────────────── */
.acts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.act-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 32px; transition: all 0.2s; display: block; }
.act-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.act-card-icon { font-size: 2rem; margin-bottom: 16px; }
.act-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.act-card p  { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.act-card .act-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: 0.82rem; font-weight: 600; margin-top: 16px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── DIGITAL SIGNATURE PAGE ─────────────── */
.ds-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.ds-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; text-align: center; }
.ds-card .ds-icon { font-size: 2.5rem; margin-bottom: 16px; }
.ds-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.ds-card p  { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ── ANIMATIONS ──────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .links-grid     { grid-template-columns: repeat(3, 1fr); }
  .download-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .ds-types       { grid-template-columns: repeat(2, 1fr); }
  .acts-grid      { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero h1    { font-size: 2.2rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat-card.featured { grid-column: 1 / -1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card-float { position: static; margin-top: 16px; display: inline-block; }
  .services-grid  { grid-template-columns: 1fr; }
  .links-grid     { grid-template-columns: repeat(2, 1fr); }
  .download-grid  { grid-template-columns: 1fr 1fr; }
  .calc-grid      { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .career-banner  { padding: 36px 28px; }
  .career-banner h2 { font-size: 1.5rem; }
  .footer-grid    { grid-template-columns: 1fr; }
  .section-title  { font-size: 1.8rem; }
  .page-hero h1   { font-size: 2rem; }
  .ds-types       { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .links-grid    { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .hero-stats    { grid-template-columns: 1fr; }
}
