/* TaxEasy - Global Styles */
:root {
  --primary: #0b3d91;
  --primary-dark: #072a66;
  --accent: #ffb800;
  --accent-dark: #e0a300;
  --dark: #0f172a;
  --muted: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--dark); }

/* ===== Navbar ===== */
.navbar-custom {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 14px 0;
}
.navbar-custom .navbar-brand {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary);
}
.navbar-custom .navbar-brand span { color: var(--accent); }
.navbar-custom .nav-link {
  color: var(--dark) !important;
  font-weight: 500;
  padding: 8px 16px !important;
  transition: color .2s;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active { color: var(--primary) !important; }

/* ===== Buttons ===== */
.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: all .25s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11,61,145,0.25);
}
.btn-accent-custom {
  background: var(--accent);
  color: var(--dark);
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  transition: all .25s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-accent-custom:hover {
  background: var(--accent-dark);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,184,0,0.35);
}
.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 26px;
  border-radius: 8px;
  font-weight: 600;
  transition: all .25s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-outline-custom:hover { background: var(--primary); color: #fff; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #0b3d91 0%, #1e5bc6 100%);
  color: #fff;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: rgba(255,184,0,0.12);
  border-radius: 50%;
}
.hero h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero p.lead {
  font-size: 1.15rem;
  opacity: .92;
  margin-bottom: 30px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stats .stat h3 {
  color: var(--accent);
  font-size: 2rem;
  margin: 0;
}
.hero-stats .stat p { margin: 0; opacity: .85; font-size: .95rem; }

.hero-card {
  background: #fff;
  color: var(--dark);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.hero-card h4 { color: var(--primary); margin-bottom: 20px; }
.hero-card .form-control, .hero-card .form-select {
  border-radius: 8px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.hero-card .form-control:focus, .hero-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11,61,145,0.12);
}

/* ===== Page header ===== */
.page-header {
  background: linear-gradient(135deg, #0b3d91 0%, #1e5bc6 100%);
  color: #fff;
  padding: 70px 0 60px;
  text-align: center;
}
.page-header h1 { color: #fff; font-size: 2.5rem; margin-bottom: 10px; }
.page-header p { opacity: .9; font-size: 1.1rem; margin: 0; }
.page-header .breadcrumb-nav a { color: var(--accent); text-decoration: none; }

/* ===== Section ===== */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.25rem; margin-bottom: 12px; }
.section-title p { color: var(--muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.section-alt { background: var(--light); }

/* ===== Cards ===== */
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  height: 100%;
  transition: all .3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11,61,145,0.12);
  border-color: var(--primary);
  color: inherit;
}
.service-card .icon {
  width: 54px; height: 54px;
  background: rgba(11,61,145,0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.service-card h5 { margin-bottom: 10px; }
.service-card p { color: var(--muted); margin: 0; font-size: .95rem; }

.step-card {
  text-align: center;
  padding: 20px;
}
.step-card .step-num {
  width: 60px; height: 60px;
  background: var(--accent);
  color: var(--dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.step-card h5 { margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: .95rem; }

.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.feature-item .fi-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(255,184,0,0.18);
  color: var(--accent-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.feature-item h6 { margin-bottom: 4px; font-size: 1.05rem; }
.feature-item p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ===== Pricing ===== */
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  height: 100%;
  transition: all .3s ease;
  position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.08); }
.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 12px 30px rgba(11,61,145,0.15);
}
.price-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--dark);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
}
.price-card h4 { margin-bottom: 8px; }
.price-card .price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin: 16px 0;
}
.price-card .price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0; }
.price-card ul li {
  padding: 8px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.price-card ul li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 700;
  margin-right: 8px;
}

/* ===== FAQ ===== */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
}
.faq-question:hover { background: var(--light); }
.faq-question .arrow { transition: transform .3s; font-size: 1.2rem; color: var(--primary); }
.faq-item.active .arrow { transform: rotate(180deg); }
.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  transition: all .35s ease;
}
.faq-item.active .faq-answer { padding: 0 22px 20px; max-height: 400px; }

/* ===== Testimonial ===== */
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  height: 100%;
  border: 1px solid var(--border);
}
.testimonial-card .stars { color: var(--accent); margin-bottom: 12px; }
.testimonial-card p { color: var(--dark); font-style: italic; }
.testimonial-card .who {
  display: flex; align-items: center; gap: 12px; margin-top: 20px;
}
.testimonial-card .avatar {
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.testimonial-card .who h6 { margin: 0; font-size: .95rem; }
.testimonial-card .who small { color: var(--muted); }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, #ffb800 0%, #ffcf47 100%);
  padding: 60px 0;
  border-radius: 20px;
  text-align: center;
  color: var(--dark);
}
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { margin-bottom: 24px; font-size: 1.1rem; }

/* ===== Contact ===== */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  text-align: center;
  height: 100%;
}
.contact-card .icon {
  width: 54px; height: 54px;
  background: rgba(11,61,145,0.1);
  color: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.contact-form .form-control,
.contact-form .form-select {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11,61,145,0.12);
}

/* ===== Footer ===== */
.footer {
  background: #0a1628;
  color: #cbd5e1;
  padding: 60px 0 20px;
}
.footer h5 { color: #fff; margin-bottom: 18px; font-size: 1.05rem; }
.footer a {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  transition: color .2s;
}
.footer a:hover { color: var(--accent); }
.footer .brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.footer .brand span { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  font-size: .9rem;
}
.social-icons { margin-top: 14px; display: flex; gap: 10px; }
.social-icons a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 0;
}
.social-icons a:hover { background: var(--accent); color: var(--dark); }

/* ===== Utility ===== */
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background: var(--primary) !important; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: all .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 2.1rem; }
  .page-header { padding: 50px 0 40px; }
  .page-header h1 { font-size: 1.9rem; }
  .section { padding: 60px 0; }
  .section-title h2 { font-size: 1.7rem; }
  .hero-stats { gap: 20px; }
}


.text-danger{
    color:#dc3545;
    font-size:13px;
    display:block;
    margin-top:4px;
}

#formMessage{
    margin-top:15px;
}

#submitBtn:disabled{
    opacity:.7;
    cursor:not-allowed;
}