/* ==========================================================================
   FIA & ASSOCIATES — ULTRA-MODERN CORPORATE WEBSITE STYLESHEET
   Empowering You With Legal Clarity | Tax, VAT, RJSC & Corporate Law
   ========================================================================== */

:root {
  --primary: #0a1128;
  --primary-light: #111d4a;
  --primary-dark: #050a18;
  --accent: #00c996;
  --accent-glow: rgba(0, 201, 150, 0.25);
  --accent-hover: #00b386;
  --gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.2);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 17, 40, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   URGENT NOTICE BAR
   ========================================================================== */
.urgent-notice-bar {
  background: #b91c1c;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  position: relative;
  z-index: 1001;
  text-align: center;
}
.urgent-notice-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-right: 36px;
}
.urgent-notice-content i { font-size: 1rem; flex-shrink: 0; }
.notice-action-btn {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  padding: 2px 12px;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}
.notice-action-btn:hover { background: rgba(255,255,255,0.35); }
.notice-close-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}
.notice-close-btn:hover { color: #fff; }

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  background: var(--primary-dark);
  color: var(--text-light);
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cbd5e1;
}

.topbar-item i {
  color: var(--accent);
  font-size: 0.88rem;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-social-link {
  color: #94a3b8;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.topbar-social-link:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-only {
  display: none;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(10, 17, 40, 0.2);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 17, 40, 0.3);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 201, 150, 0.4);
}

.btn-portal {
  background: linear-gradient(135deg, #0a1128 0%, #1e293b 100%);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.15);
  position: relative;
  overflow: hidden;
}

.btn-portal::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(56, 189, 248, 0.15), transparent);
  transform: rotate(45deg);
  animation: shine 4s infinite linear;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.btn-portal:hover {
  color: #ffffff;
  border-color: #38bdf8;
  background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--bg-light);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 85% 20%, #172554 0%, var(--primary-dark) 70%);
  color: #ffffff;
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 201, 150, 0.12);
  border: 1px solid rgba(0, 201, 150, 0.3);
  color: #4ade80;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-badge i {
  font-size: 0.75rem;
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #00c996 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
}

.hero-stat-item h4 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.hero-stat-item h4 span {
  color: var(--accent);
}

.hero-stat-item p {
  font-size: 0.84rem;
  color: #94a3b8;
}

/* HERO RIGHT CARD */
.hero-card-portal {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 201, 150, 0.2), rgba(56, 189, 248, 0.2));
  border: 1px solid rgba(0, 201, 150, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.3rem;
}

.hero-card-header h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.hero-card-header p {
  color: #94a3b8;
  font-size: 0.85rem;
}

.portal-feature-list {
  list-style: none;
  margin-bottom: 28px;
}

.portal-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cbd5e1;
  font-size: 0.92rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.portal-feature-list li i {
  color: var(--accent);
  font-size: 0.95rem;
}

.portal-box-cta {
  background: rgba(30, 41, 59, 0.6);
  border: 1px dashed rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
}

.portal-box-cta p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

/* ==========================================================================
   TRUST / TICKER SECTION
   ========================================================================== */
.trust-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 201, 150, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.trust-text h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.trust-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES / PRACTICE AREAS
   ========================================================================== */
.section {
  padding: 100px 0;
}

.section-light {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #38bdf8);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 201, 150, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(10, 17, 40, 0.04);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--primary);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
}

.service-features li {
  font-size: 0.86rem;
  color: var(--text-main);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li i {
  color: var(--accent);
  font-size: 0.8rem;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.service-link:hover {
  gap: 10px;
  color: var(--accent-hover);
}

/* ==========================================================================
   ABOUT / LEADERSHIP SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-card-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 240px;
}

.about-card-badge h3 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 2px;
}

.about-card-badge p {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.about-profile-box {
  background: linear-gradient(135deg, #0a1128 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar-large {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #0a1128;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.about-profile-box h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.about-profile-box .title-tag {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.about-point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-point-item i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 3px;
}

.about-point-item h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.about-point-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   TAX AUDIT SEARCH WIDGET BANNER
   ========================================================================== */
.audit-cta-section {
  background: linear-gradient(135deg, #0a1128 0%, #111d4a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.audit-cta-section::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 201, 150, 0.2) 0%, transparent 70%);
}

.audit-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.audit-cta-content h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 14px;
}

.audit-cta-content p {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.audit-cta-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.audit-cta-box h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.audit-cta-box p {
  color: #cbd5e1;
  font-size: 0.86rem;
  margin-bottom: 20px;
}

/* ==========================================================================
   PORTAL HIGHLIGHT SECTION
   ========================================================================== */
.portal-showcase {
  padding: 100px 0;
  background: #ffffff;
}

.portal-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.portal-mockup-card {
  background: #0f172a;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid #334155;
  overflow: hidden;
}

.mockup-topbar {
  background: #1e293b;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #334155;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }

.mockup-body {
  padding: 24px;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.mockup-stat {
  background: #1e293b;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #334155;
}

.mockup-stat span {
  font-size: 0.72rem;
  color: #94a3b8;
  display: block;
  text-transform: uppercase;
}

.mockup-stat strong {
  font-size: 1.15rem;
  color: #38bdf8;
  font-weight: 700;
}

.mockup-row {
  background: #1e293b;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.mockup-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* ==========================================================================
   TESTIMONIALS / FAQ
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq-item h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item h4 i {
  color: var(--accent);
  font-size: 0.95rem;
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.contact-info-col h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.contact-info-col p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 32px;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(10, 17, 40, 0.04);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-text h5 {
  font-size: 0.92rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.contact-info-text p, .contact-info-text a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-info-text a:hover {
  color: var(--accent);
}

/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--text-main);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.92rem;
  margin-top: 16px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1080px) {
  .navbar { height: 70px; }
  .mobile-toggle { display: block; }
  .mobile-only { display: block; width: 100%; }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 18px;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-actions { display: none; }
}

@media (max-width: 1024px) {
  .hero-title { font-size: 2.6rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; padding: 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .audit-cta-grid { grid-template-columns: 1fr; }
  .portal-showcase-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .hero { padding: 60px 0 80px; }
  .hero-title { font-size: 2.1rem; }
  .hero-highlights { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
}

/* ==========================================================================
   NEW COMPONENTS: LANGUAGE SWITCHER, TAX CALCULATOR, REVIEWS, ACCORDION, MAP
   ========================================================================== */

/* Language Switcher */
.lang-switch-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 2px 6px;
  gap: 4px;
}
.lang-pill-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 14px;
  transition: var(--transition);
}
.lang-pill-btn:hover {
  color: #ffffff;
}
.lang-pill-btn.active {
  color: #042f2e;
  background: var(--accent);
  box-shadow: 0 2px 6px rgba(0, 201, 150, 0.35);
}
.lang-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.72rem;
}

/* Income Tax Calculator */
.calculator-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px;
  margin-top: 28px;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.calc-results-wrap {
  background: #091226;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(9, 18, 38, 0.25);
}
.calc-summary-card {
  text-align: center;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  margin-bottom: 18px;
}
.calc-stat-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}
.calc-main-amount {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}
.calc-rebate-tag {
  display: inline-block;
  background: rgba(0, 201, 150, 0.15);
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  margin-top: 6px;
}
.calc-breakdown-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #cbd5e1;
}
.breakdown-row strong {
  color: #ffffff;
  font-size: 0.94rem;
}
.breakdown-row.total-row {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 700;
}
.breakdown-row.total-row strong {
  color: var(--accent);
  font-size: 1.15rem;
}
.calc-cta-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
.testi-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 201, 150, 0.4);
}
.testi-rating {
  color: #f59e0b;
  font-size: 0.88rem;
  margin-bottom: 12px;
  display: flex;
  gap: 3px;
}
.testi-quote {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #334155;
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
}
.testi-client {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a1128 0%, #1c2b59 100%);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 2px solid rgba(0, 201, 150, 0.3);
  flex-shrink: 0;
}
.testi-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.94rem;
}
.testi-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-accordion-wrap {
  max-width: 840px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-accordion-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.faq-accordion-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.faq-accordion-header {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.faq-accordion-header:hover {
  color: var(--accent);
}
.faq-chevron {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}
.faq-accordion-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 20px;
}
.faq-accordion-item.active .faq-accordion-body {
  padding-bottom: 18px;
}
.faq-accordion-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Chamber Map Card */
.chamber-map-card {
  margin-top: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

/* Alert Toast */
.alert-toast {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeIn 0.3s ease;
}
.alert-toast.success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}
.alert-toast.error {
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Official Portal Links in Calculator */
.calc-official-links {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.official-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 17, 40, 0.05);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.official-pill-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
#slab-table-body tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}
#slab-table-body tr:hover {
  background: rgba(255, 255, 255, 0.04);
}
#slab-table-body td {
  padding: 6px 10px;
}

/* Investment Rebate Toggle Card & Fields (Standard Form Style) */
.inv-toggle-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.inv-toggle-card:hover {
  border-color: var(--primary-light);
}
.inv-toggle-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: 0.25s;
  border-radius: 24px;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-slider {
  background-color: var(--accent);
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}
.investment-breakdown-card {
  border: 1px solid var(--border);
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  animation: fadeIn 0.3s ease;
}
.inv-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.inv-total-badge {
  background: var(--bg-white);
  color: var(--primary);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
}
.inv-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 600px) {
  .inv-fields-grid {
    grid-template-columns: 1fr;
  }
}
.inv-field-item label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
  display: block;
}
.input-taka-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-taka-wrap .taka-symbol {
  position: absolute;
  left: 12px;
  color: #64748b;
  font-weight: 700;
  font-size: 0.92rem;
  pointer-events: none;
}
.input-taka-wrap input {
  padding-left: 28px !important;
}

/* ==========================================================================
   TAX SUMMARY PRINT MODAL — Screen Styles
   ========================================================================== */

/* PDF download button on calc section */
.tax-pdf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 12px 20px;
  background: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  font-family: inherit;
}
.tax-pdf-btn:hover {
  background: #d4af37;
  color: #0a1128;
}

/* Modal overlay */
.tax-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 24px 16px;
}

/* The A4-like card */
.tax-summary-print-card {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 820px;
  border-radius: 6px;
  padding: 40px 48px;
  font-family: 'Plus Jakarta Sans', 'Outfit', 'Hind Siliguri', Arial, sans-serif;
  color: #0f172a;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  margin: auto;
}

/* Close & Print buttons (screen only) */
.tax-modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #475569;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.tax-modal-close-btn:hover { background: #e2e8f0; }

.tax-modal-print-btn {
  padding: 6px 16px;
  border-radius: 6px;
  border: none;
  background: #0a1128;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.tax-modal-print-btn:hover { background: #1e3a8a; }

/* ── STEP 1: TAXPAYER INFO FORM ─────────────────────────── */
.ts-info-step {
  padding: 8px 0 4px;
}
.ts-info-step-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e2e8f0;
}
.ts-step-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}
.ts-info-step-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0a1128;
  margin-bottom: 3px;
}
.ts-info-step-sub {
  font-size: 0.82rem;
  color: #64748b;
}
.ts-info-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.ts-full-col {
  grid-column: 1 / -1;
}
.ts-info-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
}
.ts-info-form-group label i {
  color: #d4af37;
  margin-right: 5px;
}
.ts-form-input {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #0f172a;
  background: #f8fafc;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.ts-form-input:focus {
  border-color: #0a1128;
  box-shadow: 0 0 0 3px rgba(10,17,40,0.08);
  background: #fff;
}
.ts-form-input::placeholder { color: #94a3b8; font-size: 0.83rem; }

.ts-form-error {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #c53030;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 10px;
}
.ts-form-error i { color: #e53e3e; }

.ts-info-step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}
.ts-step-cancel-btn {
  padding: 10px 20px;
  background: #f1f5f9;
  border: none;
  border-radius: 8px;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.ts-step-cancel-btn:hover { background: #e2e8f0; }
.ts-step-proceed-btn {
  padding: 10px 22px;
  background: #0a1128;
  border: none;
  border-radius: 8px;
  color: #d4af37;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  font-family: inherit;
}
.ts-step-proceed-btn:hover { background: #1e3a8a; color: #fff; }

/* ── LETTERHEAD with real logo image ─────────────────────── */
.ts-letterhead-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* ── TAXPAYER IDENTITY BAR ───────────────────────────────── */
.ts-taxpayer-identity-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1.5px solid #0a1128;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 18px;
}
.ts-identity-item {
  flex: 1;
  min-width: 0;
  padding: 8px 14px;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ts-identity-item:last-child { border-right: none; }
.ts-identity-label {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ts-identity-label i { color: #d4af37; margin-right: 4px; }
.ts-identity-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a1128;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* LETTERHEAD */
.ts-letterhead {
  margin-bottom: 0;
}
.ts-logo-area {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.ts-logo-badge {
  width: 56px;
  height: 56px;
  background: #0a1128;
  color: #d4af37;
  font-size: 1.2rem;
  font-weight: 900;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.ts-firm-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0a1128;
  line-height: 1.2;
}
.ts-firm-subtitle {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
}
.ts-contact-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  color: #475569;
  border-top: 1px solid #e2e8f0;
  padding-top: 8px;
}
.ts-contact-bar i { color: #d4af37; margin-right: 4px; }

.ts-letterhead-divider {
  height: 3px;
  background: linear-gradient(90deg, #0a1128 60%, #d4af37 100%);
  border-radius: 2px;
  margin: 14px 0;
}

/* DOCUMENT TITLE */
.ts-doc-title-area {
  text-align: center;
  margin: 18px 0 22px;
}
.ts-doc-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0a1128;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ts-doc-subtitle {
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 4px;
}
.ts-doc-note {
  display: inline-block;
  font-size: 0.74rem;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 4px;
  padding: 3px 10px;
}

/* SECTIONS */
.ts-section {
  margin-bottom: 20px;
}
.ts-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0a1128;
  background: #f1f5f9;
  border-left: 4px solid #d4af37;
  padding: 6px 12px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ts-section-title i { color: #d4af37; margin-right: 6px; }

/* TABLES */
.ts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.ts-table th {
  background: #0a1128;
  color: #d4af37;
  padding: 8px 10px;
  font-weight: 700;
  font-size: 0.78rem;
  text-align: left;
}
.ts-table td {
  padding: 7px 10px;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
}
.ts-table tr:last-child td { border-bottom: none; }
.ts-table tr:nth-child(even) td { background: #f8fafc; }

/* Info table 4-column */
.ts-info-table .ts-td-label {
  font-weight: 600;
  color: #64748b;
  font-size: 0.78rem;
  width: 22%;
  background: #f8fafc;
}
.ts-info-table .ts-td-value {
  color: #0f172a;
  font-weight: 700;
  width: 28%;
}

/* Rebate table */
.ts-rebate-applied-row td {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  font-weight: 700;
}

/* Summary table */
.ts-summary-table .ts-deduct-row td { color: #16a34a; }
.ts-total-row td {
  background: #0a1128 !important;
  color: #d4af37 !important;
  font-size: 1rem;
  font-weight: 800;
  padding: 10px 10px !important;
}

/* CTA SECTION */
.ts-cta-section {
  background: linear-gradient(135deg, #0a1128 0%, #1e3a8a 100%);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 22px 0 16px;
  color: #fff;
}
.ts-cta-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.ts-cta-logo-badge {
  width: 44px;
  height: 44px;
  background: #d4af37;
  color: #0a1128;
  font-size: 1rem;
  font-weight: 900;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ts-cta-heading {
  font-size: 1rem;
  font-weight: 800;
  color: #d4af37;
  margin-bottom: 4px;
}
.ts-cta-subtext {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}
.ts-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ts-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}
.ts-cta-btn:hover { opacity: 0.9; }
.ts-cta-whatsapp {
  background: #25D366;
  color: #fff;
}
.ts-cta-book {
  background: #d4af37;
  color: #0a1128;
}
.ts-cta-contact-print {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  margin-top: 10px;
}
.ts-cta-contact-print i { margin-right: 4px; }

/* FOOTER DISCLAIMER */
.ts-footer-disclaimer {
  font-size: 0.73rem;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 14px;
  line-height: 1.6;
}
.ts-footer-disclaimer i { color: #f59e0b; margin-right: 4px; }

/* Scroll lock when modal open */
body.tax-modal-open { overflow: hidden; }

/* print-only elements hidden on screen */
.print-only { display: none !important; }

/* ==========================================================================
   TAX SUMMARY — @media print rules
   ========================================================================== */
@media print {
  /* Hide EVERYTHING on the page */
  body > *:not(#tax-summary-modal-overlay) {
    display: none !important;
  }

  /* Show the overlay and make it a plain white page */
  #tax-summary-modal-overlay {
    display: block !important;
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  /* The A4 card fills the page */
  .tax-summary-print-card {
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 18mm 18mm 14mm !important;
    max-width: 100% !important;
    width: 100% !important;
    page-break-inside: avoid;
  }

  /* Hide screen-only controls */
  .no-print, .tax-modal-close-btn, .tax-modal-print-btn { display: none !important; }

  /* Show print-only contact bar in CTA */
  .print-only { display: flex !important; }
  .ts-cta-actions { display: none !important; }

  /* Keep the gradient bg of CTA visible in print */
  .ts-cta-section {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Ensure table headers have background in print */
  .ts-table th {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .ts-total-row td {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Page setup */
  @page {
    size: A4 portrait;
    margin: 10mm;
  }
}

