/* ==========================================================================
   DhanTax Group — Enterprise Corporate Portal Stylesheet
   Navy Blue / Royal Blue / Gold Accents / Modern Spacing
   ========================================================================== */

:root {
  --primary: #0f223d;
  --primary-dark: #091527;
  --primary-light: #183359;
  --secondary: #1e40af;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --gold-light: #fef3c7;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #0284c7;

  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #ffffff;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 1px 3px rgba(15, 34, 61, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 34, 61, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 34, 61, 0.12);
  --shadow-xl: 0 20px 40px rgba(15, 34, 61, 0.16);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* Base Reset & Typography */
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.25s ease;
}
a:hover {
  color: var(--secondary);
}

/* Topbar */
.site-topbar {
  background-color: var(--primary-dark);
  color: #94a3b8;
  font-size: 0.825rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-topbar a {
  color: #cbd5e1;
}
.site-topbar a:hover {
  color: #ffffff;
}

/* Navbar */
.site-navbar {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  padding: 14px 0;
}
.site-navbar.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1030;
}
.navbar-brand img {
  height: 46px;
  width: auto;
  object-fit: contain;
}
.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--primary) !important;
  padding: 8px 14px !important;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent) !important;
}

/* Dropdown Menu & Mega Menu */
.dropdown-menu {
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md);
  padding: 10px 0;
  margin-top: 10px;
}
.dropdown-item {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 8px 18px;
}
.dropdown-item:hover {
  background-color: #f1f5f9;
  color: var(--accent);
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px;
  min-width: 680px;
}
@media (max-width: 991px) {
  .mega-menu-grid {
    grid-template-columns: 1fr;
    min-width: 100%;
    padding: 10px;
  }
}

/* Buttons */
.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  transition: all 0.25s ease;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--secondary);
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: #d97706;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  transition: all 0.25s ease;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.btn-outline-primary {
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}
.btn-outline-primary:hover {
  background-color: var(--accent);
  color: #ffffff;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #091527 0%, #0f223d 60%, #1e3a8a 100%);
  color: #ffffff;
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero-section h1 {
  color: #ffffff;
  font-size: 2.85rem;
  line-height: 1.18;
  font-weight: 800;
}
.hero-section .lead {
  color: #cbd5e1;
  font-size: 1.15rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fef08a;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-card-img {
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  position: relative;
}
.hero-card-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.hero-card-img:hover img {
  transform: scale(1.02);
}

/* Quick Search Finder in Hero */
.search-finder-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Trust Indicators / Stat Counters */
.stats-bar {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 35px 0;
}
.stat-item h3 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 2px;
}
.stat-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

/* Section Common Styling */
.section-py {
  padding: 70px 0;
}
.section-bg-light {
  background-color: var(--bg-light);
}
.section-header {
  margin-bottom: 45px;
}
.section-subtitle {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Category Cards */
.category-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.category-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}
.category-card:hover .category-icon-box {
  background: var(--accent);
  color: #ffffff;
}

/* Service Cards */
.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-light);
  box-shadow: var(--shadow-xl);
}
.service-card-img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
  background-color: #e2e8f0;
}
.service-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img-wrapper img {
  transform: scale(1.06);
}
.service-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 34, 61, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}
.service-card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.service-card-footer {
  padding: 14px 20px;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-price-tag {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
}

/* Step By Step Process Cards */
.process-step-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 28px 22px;
  position: relative;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.process-step-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.step-number-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

/* Pricing Cards */
.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.pricing-card.is-popular {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}
.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}
.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  flex-grow: 1;
}
.feature-list li {
  padding: 8px 0;
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.feature-list li.included i {
  color: var(--success);
}
.feature-list li.excluded {
  color: var(--text-muted);
  text-decoration: line-through;
}
.feature-list li.excluded i {
  color: #94a3b8;
}

/* Testimonial Cards */
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-light);
}

/* Blog Cards */
.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.blog-card-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

/* Detailed Service Page Tabs */
.service-nav-tabs .nav-link {
  font-weight: 700;
  color: var(--text-secondary) !important;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 14px 20px !important;
  border-radius: 0;
}
.service-nav-tabs .nav-link.active {
  color: var(--accent) !important;
  border-bottom-color: var(--accent);
  background: transparent;
}
.checklist-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.checklist-icon {
  color: var(--success);
  font-size: 1.25rem;
}

/* Floating WhatsApp & Callback Buttons */
.floating-contact-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1020;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.btn-whatsapp-float {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
}
.btn-whatsapp-float:hover {
  transform: scale(1.1);
}
.btn-back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-back-to-top:hover {
  background-color: var(--accent);
}

/* Footer */
.site-footer {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  padding: 70px 0 25px;
  border-top: 4px solid var(--accent);
}
.footer-logo {
  height: 44px;
  width: auto;
  max-width: 100%;
  filter: brightness(0) invert(1);
  transition: opacity 0.25s ease;
}
.footer-logo:hover {
  opacity: 0.85;
}
.footer-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--gold);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 9px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding-top: 25px;
  font-size: 0.85rem;
  color: #64748b;
}

/* Toast and Alert Enhancements */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1080;
}
