/* ==========================================================================
   NSG Tax Filing — Main Stylesheet
   Theme: Deep Blue (#0B2545) + Gold (#D4AF37)
   ========================================================================== */

:root {
  --navy: #0B2545;
  --navy-dark: #071a33;
  --navy-light: #13355e;
  --gold: #D4AF37;
  --gold-light: #e8c75f;
  --gold-dark: #b8941f;
  --white: #ffffff;
  --offwhite: #f7f8fa;
  --gray-100: #eef1f5;
  --gray-300: #cfd6e0;
  --gray-500: #8b97a8;
  --gray-700: #4a5568;
  --text-dark: #1a2332;
  --success: #1f8a3c;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.08);
  --shadow-md: 0 6px 20px rgba(11, 37, 69, 0.12);
  --shadow-lg: 0 12px 32px rgba(11, 37, 69, 0.16);
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-weight: 700; color: var(--navy); line-height: 1.25; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }
p { color: var(--gray-700); }

.text-gold { color: var(--gold-dark); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: var(--gray-300);
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: var(--gray-300); }
.topbar a:hover { color: var(--gold-light); }
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Header / Nav ---------- */
header.main-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
}
.logo .logo-mark {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
}
.logo-mark-footer {
  width: 200px;
  height: 200px;
}
.mark-color {
	color: var(--gold-dark);
}
.logo .logo-text-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-top: -2px;
}

nav.main-nav ul {
  display: flex;
  gap: 32px;
}
nav.main-nav a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--navy);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}
.mobile-toggle span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.2s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover { background: #1ebd5a; transform: translateY(-1px); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, transparent 70%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); font-size: 2.6rem; margin-bottom: 16px; }
.hero h1 span { color: var(--gold); }
.hero p.lead { color: var(--gray-300); font-size: 1.1rem; margin-bottom: 28px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stat strong { display: block; font-size: 1.7rem; color: var(--gold); }
.hero-stat span { font-size: 0.85rem; color: var(--gray-300); }

.hero-card {
  background: var(--white);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  color: var(--text-dark);
}
.hero-card h3 { margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero-card .price-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 600;
}
.hero-card .price-row:last-child { border-bottom: none; }
.hero-card .price-row span.amt { color: var(--navy); font-weight: 800; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
.section-alt { background: var(--offwhite); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .tag {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { margin-bottom: 12px; }

/* ---------- Service cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: 0.25s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--gold); }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 18px; font-size: 0.95rem; }
.card .price-tag {
  display: inline-block;
  background: var(--gray-100);
  color: var(--navy);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  margin-bottom: 18px;
}
.card .price-tag strong { color: var(--gold-dark); }
.card-link {
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link:hover { color: var(--gold-dark); }

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid var(--gold);
}
.step h4 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { font-size: 0.9rem; }

/* ---------- Calculator widget ---------- */
.calc-box {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
}
.calc-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 26px 32px;
}
.calc-header h3 { color: var(--white); margin-bottom: 4px; }
.calc-header p { color: var(--gray-300); font-size: 0.9rem; margin: 0; }
.calc-body { padding: 32px; }

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-row .hint { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; display: block; }

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.96rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text-dark);
  transition: 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}
textarea { resize: vertical; min-height: 100px; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gray-700);
}
.checkbox-row input { width: auto; margin-top: 3px; }

.calc-result {
  margin-top: 24px;
  background: var(--offwhite);
  border: 1.5px dashed var(--gold);
  border-radius: 10px;
  padding: 24px;
  display: none;
}
.calc-result.show { display: block; }
.calc-result .result-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-300);
  font-size: 0.95rem;
}
.calc-result .result-row:last-child { border-bottom: none; }
.calc-result .result-row.total {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  padding-top: 14px;
}
.calc-result .result-row.total span.val { color: var(--gold-dark); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.testimonial-card .stars { color: var(--gold); margin-bottom: 12px; font-size: 1rem; }
.testimonial-card p.quote { font-style: italic; color: var(--gray-700); margin-bottom: 16px; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.author-name { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.author-role { font-size: 0.8rem; color: var(--gray-500); }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 24px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.faq-question .icon { color: var(--gold-dark); font-size: 1.3rem; transition: 0.2s; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: 0.25s ease;
  color: var(--gray-700);
  font-size: 0.94rem;
}
.faq-item.open .faq-answer { padding: 0 24px 20px; max-height: 500px; }

/* ---------- Trust badges ---------- */
.trust-strip {
  background: var(--navy);
  padding: 20px 0;
}
.trust-strip .container {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-300);
  font-weight: 600;
  font-size: 0.9rem;
}
.trust-item .ic { color: var(--gold); font-size: 1.2rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: var(--gray-300); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Page header (for inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 10px; }
.page-header p { color: var(--gray-300); }
.breadcrumb { font-size: 0.85rem; color: var(--gray-300); margin-bottom: 14px; }
.breadcrumb a { color: var(--gold-light); }

/* ---------- Footer ---------- */
footer {
  background: linear-gradient(135deg, var(--gold-dark), var(--navy-dark));
  color: var(--gray-300);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: var(--gray-300); font-size: 0.92rem; transition: 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-desc { font-size: 0.9rem; color: var(--offwhite); margin-bottom: 18px; max-width: 320px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.footer-social a:hover { background: var(--gold); color: var(--navy-dark); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; font-size: 0.9rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.85rem;
  color: var(--offwhite);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: var(--gray-300); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 999;
  font-size: 1.8rem;
  color: var(--white);
  animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 6px 18px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 6px 18px rgba(0,0,0,0.25), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 18px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Misc page content (about/terms/privacy) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 36px; margin-bottom: 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 0; }
.prose ul li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
  color: var(--gray-700);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.info-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.info-table th, .info-table td {
  padding: 13px 16px;
  border: 1px solid var(--gray-100);
  text-align: left;
  font-size: 0.92rem;
}
.info-table th { background: var(--navy); color: var(--white); }
.info-table tr:nth-child(even) { background: var(--offwhite); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 22px; }
.contact-info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-info-row .ic {
  width: 40px; height: 40px;
  background: rgba(212,175,55,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-info-row strong { display: block; color: var(--white); margin-bottom: 3px; font-size: 0.92rem; }
.contact-info-row span, .contact-info-row a { color: var(--gray-300); font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  nav.main-nav { display: none; }
  .mobile-toggle { display: flex; }
  .header-cta .btn-text { display: none; }
  .grid-3, .grid-2, .grid-4, .steps { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 60px; }
  h1 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-left { gap: 12px; }
  .calc-body { padding: 22px; }
}

nav.main-nav.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 16px 24px;
  gap: 4px;
}
nav.main-nav.mobile-open ul { flex-direction: column; gap: 4px; }
nav.main-nav.mobile-open a { display: block; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }

/* ---------- Services Dropdown ---------- */
nav.main-nav li.has-dropdown { position: relative; }
nav.main-nav li.has-dropdown > a::after {
  content: " ▾";
  font-size: 0.7rem;
  opacity: 0.7;
}
nav.main-nav .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 230px;
  z-index: 200;
  padding: 8px 0;
}
nav.main-nav li.has-dropdown:hover .dropdown { display: block; }
nav.main-nav .dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.92rem;
  border-bottom: none;
  white-space: nowrap;
  color: var(--navy);
  font-weight: 600;
}
nav.main-nav .dropdown li a:hover {
  background: var(--offwhite);
  color: var(--gold-dark);
  border-bottom-color: transparent;
}
