/* Smart Filer Color Scheme - New Palette */
:root {
  --sf-primary: #faad00; /* Amber - Primary brand color */
  --sf-secondary: #333333; /* Charcoal Gray - Secondary/Accent */
  --sf-accent: #333333; /* Charcoal Gray - For accents */
  --sf-success: #00d084; /* Keep green for success states */
  --sf-light: #f5f5f5; /* Light Gray - Backgrounds */
  --sf-gray: #333333; /* Charcoal Gray - Secondary text */
  --sf-border: #dddddd; /* Silver - Borders */
  --sf-white: #ffffff; /* Pure White */
  --sf-dark: #000000; /* Black - Primary text */
}

/* Typography */
html {
  font-size: 16px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--sf-dark);
  background-color: var(--sf-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h4 {
  color: var(--sf-dark);
}

/* Header & Navigation */
.navbar {
  background-color: var(--sf-white) !important;
  border-bottom: 1px solid var(--sf-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--sf-primary) !important;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-brand img {
  height: 45px;
  max-height: 45px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.nav-link {
  color: var(--sf-dark) !important;
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--sf-primary) !important;
  background-color: rgba(250, 173, 0, 0.1);
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--sf-primary);
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
  left: 10%;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--sf-primary), #e09c00);
  border: none;
  color: var(--sf-dark);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(250, 173, 0, 0.3);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e09c00, var(--sf-primary));
  color: var(--sf-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(250, 173, 0, 0.4);
}

.btn-outline-primary {
  color: var(--sf-primary);
  border: 2px solid var(--sf-primary);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-outline-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--sf-primary);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-outline-primary:hover::before {
  left: 0;
}

.btn-outline-primary:hover {
  color: var(--sf-dark);
  border-color: var(--sf-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 173, 0, 0.3);
}

/* Navbar specific button styling */
.navbar .btn {
  margin-left: 0.5rem;
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  margin: 0;
  display: block;
}

.hero input,
.hero select,
.hero button {
  pointer-events: auto !important;
  z-index: 10 !important;
  position: relative;
}

.hero .form-control {
  pointer-events: auto !important;
  z-index: 10 !important;
  position: relative;
}

/* Hero Section Icons - All icons should be white */
.hero i {
  color: white !important;
}

.hero .feature-badge i {
  color: white !important;
}

.hero .service-hero-image i {
  color: white !important;
}

.hero .hero-image i {
  color: white !important;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.05"><polygon points="0,100 1000,0 1000,100"/></svg>');
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: white;
}

/* Services Cards */
.service-card {
  background: var(--sf-white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid var(--sf-border);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--sf-primary);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: var(--sf-primary);
  color: var(--sf-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--sf-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--sf-secondary);
  margin-bottom: 1.5rem;
}

/* Section Styling */
.section {
  padding: 5rem 0;
  margin: 0;
  position: relative;
  display: block;
  clear: both;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sf-dark);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--sf-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Features */
.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 5rem;
  height: 5rem;
  background: var(--sf-primary);
  color: var(--sf-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.feature-item h4 {
  color: var(--sf-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Main Content */
main {
  flex: 1;
  padding-top: 80px; /* Account for fixed navbar */
  padding-bottom: 2rem;
}

/* Footer */
.footer {
  background-color: var(--sf-secondary);
  color: var(--sf-white);
  padding: 3rem 0 1rem;
  margin-top: 2rem;
  width: 100%;
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
}

.footer a {
  color: var(--sf-light);
  text-decoration: none;
}

.footer a:hover {
  color: var(--sf-white);
}

/* Form Styling */
.form-control {
  border-radius: 0.5rem;
  border: 1px solid var(--sf-border);
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(250, 173, 0, 0.25);
  border-color: var(--sf-primary);
}

/* Mobile Navigation Enhancements */
.navbar-toggler {
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(250, 173, 0, 0.1);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler:hover {
  background: rgba(250, 173, 0, 0.2);
  transform: scale(1.05);
}

.navbar-toggler-icon {
  width: 1.2em;
  height: 1.2em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: transform 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  transform: rotate(90deg);
}

.navbar-collapse {
  background: var(--sf-white);
  border-radius: 12px;
  margin-top: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  animation: mobileMenuSlide 0.3s ease;
}

/* Page Transition Animations */
.page-transition {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-in-out;
}

.page-transition.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Menu Item Click Animations */
.nav-link {
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(250, 173, 0, 0.1),
    transparent
  );
  transition: left 0.5s ease;
  z-index: -1;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link.clicked {
  transform: scale(0.95);
  background: rgba(250, 173, 0, 0.1) !important;
  border-radius: 5px;
  transition: all 0.2s ease;
}

/* Loading Animation */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--sf-white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--sf-light);
  border-top: 4px solid var(--sf-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Enhanced Dropdown Animation */
.dropdown-menu {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
}

.dropdown-item {
  transition: all 0.2s ease;
  border-radius: 5px;
  margin: 2px 5px;
  position: relative;
  overflow: hidden;
}

.dropdown-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sf-primary), #ffb800);
  transition: left 0.3s ease;
  z-index: -1;
}

.dropdown-item:hover::before {
  left: 0;
}

.dropdown-item:hover {
  color: white;
  transform: translateX(5px);
}

@keyframes mobileMenuSlide {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .service-card {
    margin-bottom: 2rem;
  }

  .navbar {
    padding: 0.75rem 0;
  }

  .navbar-brand img {
    height: 35px;
    max-height: 35px;
  }

  .nav-link {
    padding: 1rem 1.5rem !important;
    margin: 0.25rem 0;
    text-align: center;
  }

  .nav-link:hover {
    transform: translateX(10px);
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    background: rgba(250, 173, 0, 0.05);
    margin: 0.5rem 0;
  }

  .dropdown-item {
    padding: 0.75rem 2rem;
    text-align: center;
  }

  .navbar .btn {
    margin: 0.5rem 0;
    width: 100%;
    text-align: center;
  }

  .navbar .d-flex {
    flex-direction: column;
    width: 100%;
    padding: 1rem;
  }

  main {
    padding-top: 80px; /* Adjust for mobile navbar height */
    padding-bottom: 1rem;
  }

  /* Footer mobile improvements */
  .footer {
    padding: 2rem 0 1rem;
  }

  .footer .col-lg-4,
  .footer .col-lg-2 {
    margin-bottom: 1.5rem;
  }

  .footer .col-lg-4 p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .footer h6 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--sf-primary);
  }

  .footer .social-links a {
    font-size: 1.3rem;
    margin-right: 1rem;
  }
}

/* Extra small screens (phones) */
@media (max-width: 576px) {
  .footer {
    padding: 1.5rem 0 1rem;
  }

  .footer .col-lg-4,
  .footer .col-lg-2 {
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .footer .col-lg-4 p {
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .footer .social-links {
    text-align: center;
    margin-top: 1rem;
  }

  .footer h6 {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--sf-primary);
  }

  .footer .list-unstyled {
    text-align: center;
  }

  .footer .list-unstyled li {
    margin-bottom: 0.4rem;
    padding: 0.2rem 0;
  }
}

/* Utility Classes */
.text-primary {
  color: var(--sf-primary) !important;
}

.bg-light {
  background-color: var(--sf-light) !important;
}

.text-muted {
  color: var(--sf-gray) !important;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Additional Layout Fixes */
.container {
  max-width: 1200px;
}

/* Navigation Dropdown */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 280px;
  background: var(--sf-white);
  backdrop-filter: blur(10px);
  animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  color: var(--sf-secondary);
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 0.25rem 0.5rem;
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.dropdown-item:hover {
  background: linear-gradient(
    135deg,
    rgba(250, 173, 0, 0.1),
    rgba(250, 173, 0, 0.2)
  );
  color: var(--sf-primary);
  transform: translateX(8px);
  border-left: 3px solid var(--sf-primary);
}

.dropdown-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  background-color: var(--sf-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.dropdown-item:hover::before {
  width: 4px;
  height: 60%;
}

.dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Footer Improvements */
.footer h5,
.footer h6 {
  color: var(--sf-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-brand img {
  height: 50px;
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.footer .list-unstyled {
  margin-bottom: 0;
  padding-left: 0;
}

.footer .list-unstyled li {
  margin-bottom: 0.25rem;
  padding: 0.25rem 0;
  line-height: 1.5;
}

.footer .list-unstyled a {
  color: var(--sf-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .list-unstyled a:hover {
  color: var(--sf-white);
}

/* Footer column responsive improvements */
.footer .col-lg-4 {
  margin-bottom: 2rem;
}

.footer .col-lg-4 p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--sf-light);
  clear: both;
  position: relative;
  z-index: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Footer responsive breakpoints */
@media (max-width: 991.98px) {
  .footer .col-lg-4 {
    margin-bottom: 2rem;
  }

  .footer .col-lg-2 {
    margin-bottom: 1.5rem;
  }

  .footer .col-lg-4 p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .footer .social-links {
    margin-top: 1rem;
  }
}

/* Social Links */
.social-links a {
  color: var(--sf-primary);
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--sf-white);
  transform: translateY(-2px);
}

/* Footer Icons */
.footer i {
  color: var(--sf-primary) !important;
}

.footer a i {
  color: var(--sf-primary) !important;
}

.footer a:hover i {
  color: var(--sf-white) !important;
}

/* Footer Contact Info Links */
.footer p a {
  color: var(--sf-light) !important;
  text-decoration: none;
}

.footer p a:hover {
  color: var(--sf-white) !important;
}

/* Clearfix for floated elements */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Homepage Specific Styles */
.stat-item {
  text-align: center;
  color: white;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-image {
  text-align: center;
  padding: 2rem;
}

.contact-item {
  padding: 1rem;
}

.contact-item i {
  display: block;
  margin: 0 auto;
}

/* Old process step styles replaced with enhanced version above */

/* About Page Styles */
.service-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.service-item i {
  font-size: 1.5rem;
  margin-right: 1rem;
  margin-top: 0.5rem;
}

.service-item div {
  flex: 1;
}

.service-item h5 {
  margin-bottom: 0.5rem;
  color: var(--sf-dark);
}

.service-item p {
  margin-bottom: 0;
  color: var(--sf-gray);
}

.achievement-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.achievement-item p {
  color: var(--sf-gray);
  margin-bottom: 0;
}

.feature-highlight {
  text-align: center;
  padding: 2rem;
  background: var(--sf-light);
  border-radius: 1rem;
}

.feature-highlight h4 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-form {
  background: var(--sf-white);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info {
  background: var(--sf-light);
  padding: 2rem;
  border-radius: 1rem;
  height: fit-content;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--sf-primary);
  margin-right: 1rem;
  margin-top: 0.5rem;
  min-width: 2rem;
}

.contact-item div {
  flex: 1;
}

.contact-item h5 {
  margin-bottom: 0.5rem;
  color: var(--sf-dark);
}

.contact-item h5 i {
  color: var(--sf-primary);
}

.contact-item p {
  margin-bottom: 0;
  color: var(--sf-gray);
}

.contact-item a {
  color: var(--sf-primary);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--sf-accent);
}

.accordion-button {
  background-color: var(--sf-white);
  color: var(--sf-primary);
  font-weight: 500;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--sf-accent);
}

.accordion-button:not(.collapsed) {
  background-color: var(--sf-light);
  color: var(--sf-primary);
}

/* Service Pages Common Styles */
.feature-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
  color: white;
}

.feature-badge i {
  margin-right: 0.5rem;
}

.service-hero-image {
  text-align: center;
  padding: 2rem;
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-hero-image::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12rem;
  color: rgba(255, 255, 255, 0.1);
  z-index: 1;
  pointer-events: none;
}

/* Different icons for different services */
.service-hero-image.ntn-icon::before {
  content: "\f2c2"; /* fa-id-card */
}

.service-hero-image.tax-filing-icon::before {
  content: "\f571"; /* fa-file-invoice-dollar */
}

.service-hero-image.company-icon::before {
  content: "\f1ad"; /* fa-building */
}

.service-hero-image.sales-tax-icon::before {
  content: "\f53a"; /* fa-cash-register */
}

.service-hero-image.trademark-icon::before {
  content: "\f25e"; /* fa-registered */
}

.service-hero-image > * {
  position: relative;
  z-index: 2;
}

.hero-content-overlay {
  text-align: center;
  padding: 1rem;
}

.hero-content-overlay h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-content-overlay p {
  opacity: 0.9;
  margin-bottom: 1rem;
}

/* Content section styling */
.content-section {
  background: var(--sf-white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
  color: var(--sf-dark);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--sf-primary);
  display: inline-block;
}

/* Blog-specific styling */
.blog-post {
  border-bottom: 1px solid var(--sf-border);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.2s ease;
}

.blog-post:last-child {
  border-bottom: none;
}

.blog-post:hover {
  transform: translateY(-2px);
}

.post-header h3 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.post-header h3 a {
  color: var(--sf-dark);
  transition: color 0.3s ease;
  text-decoration: none;
}

.post-header h3 a:hover {
  color: var(--sf-primary);
  text-decoration: underline;
}

.post-meta {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--sf-gray);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.post-meta a {
  color: var(--sf-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-meta a:hover {
  color: var(--sf-primary);
}

.post-content {
  margin-top: 1rem;
}

.post-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--sf-gray);
}

.post-content img {
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  width: 100%;
}

/* Pagination styling */
.pagination .page-link {
  color: var(--sf-dark);
  border-color: var(--sf-border);
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  color: var(--sf-primary);
  background-color: rgba(250, 173, 0, 0.1);
  border-color: var(--sf-primary);
}

.pagination .page-item.active .page-link {
  background-color: var(--sf-primary);
  border-color: var(--sf-primary);
  color: var(--sf-dark);
}

/* Blog Post Detail Styling - Redesigned to match website */

/* Hero section post meta using stat-item pattern */
.post-meta-hero .stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.post-meta-hero .stat-item i {
  font-size: 1.25rem;
}

.post-meta-hero .stat-content {
  display: flex;
  flex-direction: column;
}

.post-meta-hero .stat-content small {
  font-size: 0.8rem;
  color: var(--sf-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-meta-hero .stat-content span {
  font-size: 0.95rem;
  color: var(--sf-dark);
  font-weight: 600;
}

/* Main blog content card - matches service cards */
.blog-content-card {
  background: var(--sf-white);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

.blog-content-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Featured image container */
.featured-image-container {
  margin: -2.5rem -2.5rem 2rem -2.5rem;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
}

.featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-content-card:hover .featured-image {
  transform: scale(1.02);
}

/* Article content styling */
.article-content {
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--sf-dark);
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  color: var(--sf-dark);
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content h2 {
  font-size: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--sf-primary);
  display: inline-block;
}

.article-content h3 {
  font-size: 1.5rem;
  color: var(--sf-secondary);
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 4px solid var(--sf-primary);
  background: var(--sf-light);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--sf-secondary);
  border-radius: 0 0.5rem 0.5rem 0;
  position: relative;
}

.article-content blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--sf-primary);
  position: absolute;
  top: -10px;
  left: 1rem;
  opacity: 0.3;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.article-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.article-content table th,
.article-content table td {
  padding: 1rem;
  border: 1px solid var(--sf-border);
  text-align: left;
}

.article-content table th {
  background: var(--sf-light);
  font-weight: 600;
  color: var(--sf-dark);
}

/* Tags section */
.article-tags {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sf-border);
}

.article-tags h5 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-badge {
  background-color: var(--sf-light);
  color: var(--sf-secondary);
  border: 1px solid var(--sf-border);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tag-badge:hover {
  background-color: var(--sf-primary);
  color: var(--sf-dark);
  border-color: var(--sf-primary);
  transform: translateY(-2px);
}

/* Share section */
.article-share {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sf-border);
}

.article-share h5 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.share-buttons .btn {
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-width: 2px;
}

.share-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Sidebar styling using existing patterns */
.benefits-card .blog-contact-info {
  margin: 0.5rem 0;
  text-align: left !important;
  display: block;
  width: 100%;
}

.benefits-card .blog-contact-info .contact-item {
  display: flex !important;
  align-items: center;
  margin-bottom: 0.5rem;
  color: var(--sf-dark);
  font-size: 0.9rem;
  justify-content: flex-start !important;
  text-align: left !important;
  width: 100%;
}

.contact-item i {
  width: 16px;
  text-align: left;
  margin-right: 0.25rem;
}

.contact-item span {
  text-align: left;
  display: block;
  width: 100%;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-list li {
  margin-bottom: 0.75rem;
  padding-left: 0;
}

.service-list li a {
  color: var(--sf-dark);
  text-decoration: none;
  padding: 0.5rem 0;
  display: block;
  border-bottom: 1px solid var(--sf-border);
  transition: all 0.3s ease;
}

.service-list li a:hover {
  color: var(--sf-primary);
  border-bottom-color: var(--sf-primary);
  padding-left: 0.5rem;
}

.service-list li:last-child a {
  border-bottom: none;
}

/* Newsletter form */
.newsletter-form .form-control {
  border-radius: 0.5rem;
  border: 1px solid var(--sf-border);
  padding: 0.75rem;
}

.newsletter-form .form-control:focus {
  border-color: var(--sf-primary);
  box-shadow: 0 0 0 0.2rem rgba(250, 173, 0, 0.25);
}

/* Service image for related posts */
.service-image {
  height: 200px;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

.service-meta {
  margin: 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--sf-border);
}

/* Breadcrumb styling */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: var(--sf-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--sf-secondary);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--sf-gray);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--sf-gray);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .blog-content-card {
    padding: 1.5rem;
  }

  .featured-image-container {
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
  }

  .featured-image {
    height: 250px;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content h2 {
    font-size: 1.75rem;
  }

  .post-meta-hero .stat-item {
    margin-bottom: 1.5rem;
  }

  .share-buttons {
    flex-direction: column;
  }

  .share-buttons .btn {
    text-align: center;
  }

  .tag-list {
    justify-content: center;
  }
}

.service-sidebar {
  position: sticky;
  top: 100px;
}

.pricing-card,
.benefits-card {
  background: var(--sf-white);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing-card h4,
.benefits-card h4 {
  color: var(--sf-dark);
  margin-bottom: 1.5rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--sf-border);
}

.price-item:last-child {
  border-bottom: none;
}

.price {
  font-weight: bold;
  color: var(--sf-primary);
}

.pricing-note {
  font-size: 0.9rem;
  color: var(--sf-gray);
  margin: 1rem 0;
}

.benefits-card ul {
  list-style: none;
  padding: 0;
}

.benefits-card li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

.benefits-card li i {
  margin-right: 0.5rem;
}

.document-list {
  background: var(--sf-light);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
}

.document-category {
  margin-bottom: 2rem;
}

.document-category h5 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
}

.document-category h5 i {
  color: var(--sf-primary);
}

.document-category ul {
  list-style: none;
  padding: 0;
}

.document-category li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--sf-border);
}

.document-category li:last-child {
  border-bottom: none;
}

.process-steps {
  margin: 2rem 0;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background: var(--sf-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-content h5 {
  color: var(--sf-dark);
  margin-bottom: 0.5rem;
}

.step-content h5 i {
  color: var(--sf-primary);
}

/* NTN Service Page Styles */
.ntn-type-card {
  text-align: center;
  padding: 2rem;
  background: var(--sf-light);
  border-radius: 1rem;
  height: 100%;
}

.ntn-type-card h4 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
}

/* Tax Filing Service Page Styles */
.service-type-card {
  text-align: center;
  padding: 2rem;
  background: var(--sf-light);
  border-radius: 1rem;
  height: 100%;
}

.service-type-card h4 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.service-type-card:hover h4 {
  color: var(--sf-secondary);
}

/* Company Registration Service Page Styles */
.company-type-card {
  background: var(--sf-light);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  text-align: center;
}

.company-type-card h4 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
}

.company-type-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 1rem;
}

.company-type-card li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--sf-gray);
}

.company-type-card li:before {
  content: "•";
  color: var(--sf-primary);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Sales Tax Service Page Styles */
.requirement-card {
  background: var(--sf-light);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  text-align: center;
}

.requirement-card h4 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
}

.tax-types {
  background: var(--sf-light);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
}

.tax-type-item {
  margin-bottom: 1.5rem;
}

.tax-type-item:last-child {
  margin-bottom: 0;
}

.tax-type-item h5 {
  color: var(--sf-dark);
  margin-bottom: 0.5rem;
}

.tax-type-item h5 i {
  color: var(--sf-primary);
}

.compliance-info {
  background: var(--sf-light);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
}

.compliance-item {
  margin-bottom: 1.5rem;
}

.compliance-item:last-child {
  margin-bottom: 0;
}

.compliance-item h5 {
  color: var(--sf-dark);
  margin-bottom: 0.5rem;
}

.compliance-item h5 i {
  color: var(--sf-primary);
}

/* Trademark Service Page Styles */
.benefit-card {
  background: var(--sf-light);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  text-align: center;
}

.benefit-card h4 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
}

.trademark-types {
  background: var(--sf-light);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
}

.trademark-type-item {
  margin-bottom: 1.5rem;
}

.trademark-type-item:last-child {
  margin-bottom: 0;
}

.trademark-type-item h5 {
  color: var(--sf-dark);
  margin-bottom: 0.5rem;
}

.trademark-type-item h5 i {
  color: var(--sf-primary);
}

.classes-info {
  background: var(--sf-light);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
}

.classes-info h6 {
  color: var(--sf-primary);
  margin-bottom: 1rem;
}

.classes-info ul {
  list-style: none;
  padding: 0;
}

.classes-info li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
}

.info-card {
  background: var(--sf-light);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.info-card h4 {
  color: var(--sf-dark);
  margin-bottom: 1.5rem;
}

.info-card p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.info-card strong {
  color: var(--sf-primary);
}

/* Privacy and Terms Page Styles */
.privacy-content,
.terms-content {
  background: var(--sf-white);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  line-height: 1.7;
}

.privacy-content h2,
.terms-content h2 {
  color: var(--sf-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.privacy-content h3,
.terms-content h3 {
  color: var(--sf-primary);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.privacy-content ul,
.terms-content ul {
  margin-bottom: 1.5rem;
}

.privacy-content li,
.terms-content li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.contact-info {
  background: var(--sf-light);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.consent-section,
.agreement-section {
  background: var(--sf-light-blue);
  padding: 2rem;
  border-radius: 0.5rem;
  margin-top: 2rem;
  border-left: 4px solid var(--sf-primary);
}

.consent-section h3,
.agreement-section h3 {
  margin-top: 0;
  color: var(--sf-primary);
}

/* CTA Section Styling */
.cta-section {
  padding: 3rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(250, 173, 0, 0.1) 0%,
    rgba(51, 51, 51, 0.05) 100%
  );
  border-radius: 15px;
  border: 1px solid rgba(250, 173, 0, 0.2);
  text-align: center;
  margin-top: 2rem;
}

.cta-section h3 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.cta-section .lead {
  color: var(--sf-gray);
  margin-bottom: 2rem;
}

.cta-section .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(250, 173, 0, 0.4);
}

/* Enhanced Process Section Styling */
.process-timeline {
  position: relative;
  margin: 3rem 0;
}

.process-step {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--sf-white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--sf-primary);
}

.step-icon-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--sf-primary) 0%, #ffb800 100%);
  color: var(--sf-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  position: absolute;
  top: -15px;
  right: -15px;
  z-index: 4;
  box-shadow: 0 8px 20px rgba(250, 173, 0, 0.3);
  transition: all 0.3s ease;
  border: 3px solid var(--sf-white);
}

.process-step:hover .step-number {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(250, 173, 0, 0.4);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--sf-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--sf-primary);
  position: relative;
  z-index: 3;
}

.step-icon i {
  color: var(--sf-primary);
  font-size: 1.8rem;
}

.process-step h4 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.3rem;
}

.process-step p {
  color: var(--sf-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.step-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.step-features .feature-badge {
  background: rgba(250, 173, 0, 0.1);
  color: var(--sf-primary);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(250, 173, 0, 0.3);
  transition: all 0.3s ease;
}

.step-features .feature-badge:hover {
  background: var(--sf-primary);
  color: var(--sf-white);
}

/* Process Timeline Container */
.process-timeline {
  position: relative;
}

.process-timeline .row {
  position: relative;
}

/* Process Connectors */
.process-connector {
  position: absolute;
  top: 50%;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--sf-primary), #ffb84d);
  transform: translateY(-50%);
  z-index: 2;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(250, 173, 0, 0.3);
}

.process-connector:nth-of-type(2) {
  left: calc(33.33% + 8%);
  width: calc(33.33% - 16%);
}

.process-connector:nth-of-type(4) {
  left: calc(66.66% + 8%);
  width: calc(33.33% - 16%);
}

.process-connector::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid var(--sf-primary);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.process-connector::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--sf-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(250, 173, 0, 0.6);
  animation: pulse-connector 2s infinite;
}

@keyframes pulse-connector {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.7;
  }
}

/* Process Stats */
.process-stat {
  padding: 1.5rem;
  background: var(--sf-white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(250, 173, 0, 0.1);
}

.process-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--sf-primary);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--sf-primary) 0%, #ffb800 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 5px 15px rgba(250, 173, 0, 0.3);
}

.stat-icon i {
  color: var(--sf-white);
  font-size: 1.2rem;
}

.process-stat h5 {
  color: var(--sf-dark);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.process-stat p {
  color: var(--sf-gray);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .process-connector {
    display: none !important;
  }

  .process-step {
    margin-bottom: 2rem;
  }

  .step-features {
    justify-content: center;
  }

  .step-features .feature-badge {
    margin: 0.25rem;
  }
}

/* About Page Specific Styles */
.feature-highlight {
  text-align: center;
  padding: 2rem;
  background: var(--sf-light);
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-highlight h4 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-highlight i {
  color: var(--sf-primary) !important;
  margin-bottom: 1rem;
}

.feature-highlight p {
  color: var(--sf-gray);
  line-height: 1.6;
}

/* Timeline Styles */
.timeline {
  position: relative;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 40px;
  width: 2px;
  height: 100%;
  background: var(--sf-border);
  z-index: 1;
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-year {
  background: var(--sf-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  min-width: 60px;
  text-align: center;
  margin-right: 2rem;
  position: relative;
  z-index: 2;
}

.timeline-content h5 {
  color: var(--sf-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.timeline-content p {
  color: var(--sf-gray);
  margin-bottom: 0;
}

/* Mission and Vision Points */
.mission-points .point-item,
.vision-goals .goal-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--sf-gray);
}

.mission-points .point-item:last-child,
.vision-goals .goal-item:last-child {
  margin-bottom: 0;
}

/* Values Cards */
.value-card {
  background: var(--sf-light);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  background: var(--sf-primary);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
}

.value-card h4 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.value-card p {
  color: var(--sf-gray);
  line-height: 1.6;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--sf-white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-content p {
  color: var(--sf-gray);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.client-info h6 {
  color: var(--sf-dark);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.client-info span {
  color: var(--sf-gray);
  font-size: 0.9rem;
}

.stars {
  color: var(--sf-primary);
}

/* Enhanced Achievement Items */
.achievement-item {
  text-align: center;
  padding: 1rem;
}

.achievement-item i {
  color: var(--sf-primary);
  margin-bottom: 0.5rem;
}

.achievement-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--sf-primary);
}

.achievement-item p {
  color: var(--sf-gray);
  margin-bottom: 0;
  font-weight: 500;
}

/* Story Content */
.story-content h3 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.story-content p {
  color: var(--sf-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.story-content p:last-child {
  margin-bottom: 0;
}

/* Tax Calculator Styles */
.tax-calculator-card {
  background: var(--sf-white);
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.calculator-tabs .nav-tabs {
  border-bottom: 2px solid var(--sf-border);
  margin-bottom: 2rem;
}

.calculator-tabs .nav-link {
  color: var(--sf-gray);
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem 0.5rem 0 0;
  font-weight: 500;
  transition: all 0.3s ease;
}

.calculator-tabs .nav-link.active {
  color: var(--sf-primary);
  background: var(--sf-light);
  border-bottom: 2px solid var(--sf-primary);
}

.calculator-tabs .nav-link:hover {
  color: var(--sf-primary);
  background: rgba(250, 173, 0, 0.1);
}

.tax-form .form-group {
  margin-bottom: 1.5rem;
}

.tax-form label {
  font-weight: 500;
  color: var(--sf-dark);
  margin-bottom: 0.5rem;
}

.tax-form .form-control {
  border: 1px solid var(--sf-border);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.tax-form .form-control:focus {
  border-color: var(--sf-primary);
  box-shadow: 0 0 0 0.2rem rgba(250, 173, 0, 0.25);
}

.tax-results {
  background: var(--sf-light);
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 2rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.result-item {
  background: var(--sf-white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.result-label {
  font-size: 0.9rem;
  color: var(--sf-gray);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.result-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sf-primary);
}

.tax-breakdown {
  background: var(--sf-white);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.tax-breakdown h4 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Tax Info Sidebar */
.tax-info-sidebar {
  padding-left: 2rem;
}

.info-card {
  background: var(--sf-white);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-card h4 {
  color: var(--sf-dark);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item h6 {
  color: var(--sf-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.info-item p {
  color: var(--sf-gray);
  margin-bottom: 0;
  line-height: 1.6;
}

.tax-slabs {
  background: var(--sf-light);
  border-radius: 0.5rem;
  padding: 1rem;
}

.slab-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--sf-border);
}

.slab-item:last-child {
  border-bottom: none;
}

.slab-range {
  color: var(--sf-gray);
  font-size: 0.9rem;
}

.slab-rate {
  color: var(--sf-primary);
  font-weight: 600;
}

/* Home Page Tax Calculator */
.tax-calculator-preview {
  padding: 2rem 0;
}

.tax-calculator-preview h3 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.calculator-features {
  margin: 2rem 0;
}

.feature-point {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--sf-gray);
}

.feature-point:last-child {
  margin-bottom: 0;
}

.quick-calculator-card {
  background: var(--sf-light);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.quick-calculator-card h4 {
  color: var(--sf-dark);
  font-weight: 600;
}

.quick-calculator-card .form-control {
  background: var(--sf-white);
  border: 1px solid var(--sf-border);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 1rem;
  color: var(--sf-dark);
  position: relative;
  z-index: 2;
  pointer-events: auto;
  cursor: text;
}

.quick-calculator-card .form-control:focus {
  border-color: var(--sf-primary);
  box-shadow: 0 0 0 0.2rem rgba(250, 173, 0, 0.25);
  outline: none;
}

.quick-calculator-card select.form-control {
  cursor: pointer;
}

.quick-calculator-card label {
  font-weight: 500;
  color: var(--sf-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.quick-calculator-card .form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.quick-results {
  background: var(--sf-white);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid var(--sf-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.summary-title {
  color: var(--sf-dark);
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.summary-card {
  background: var(--sf-light);
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.summary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.summary-card.highlight {
  background: linear-gradient(135deg, var(--sf-primary), #ffb84d);
  color: white;
  border-color: var(--sf-primary);
}

.summary-card.highlight .summary-label {
  color: rgba(255, 255, 255, 0.9);
}

.summary-card.highlight .summary-value {
  color: white;
}

.summary-icon {
  font-size: 1.2rem;
  color: var(--sf-primary) !important;
  min-width: 24px;
  text-align: center;
}

.summary-icon i {
  color: var(--sf-primary) !important;
}

.summary-card.highlight .summary-icon {
  color: white !important;
}

.summary-card.highlight .summary-icon i {
  color: white !important;
}

.summary-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.summary-label {
  color: var(--sf-gray);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
}

.summary-value {
  color: var(--sf-dark);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
}

@media (max-width: 576px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .summary-card {
    padding: 0.6rem;
  }

  .summary-icon {
    font-size: 1rem;
  }
}

/* Tax Calculator Results Styling */
.calculator-results {
  background: var(--sf-white);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--sf-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.results-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.results-title {
  color: var(--sf-dark);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.result-card {
  background: var(--sf-light);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.result-card.highlight {
  background: linear-gradient(135deg, var(--sf-primary), #ffb84d);
  color: white;
  border-color: var(--sf-primary);
}

.result-card.success {
  background: linear-gradient(135deg, var(--sf-success), #00b876);
  color: white;
  border-color: var(--sf-success);
}

.result-card.highlight .result-icon,
.result-card.success .result-icon {
  color: white !important;
}

.result-card.highlight .result-label,
.result-card.success .result-label {
  color: rgba(255, 255, 255, 0.9);
}

.result-card.highlight .result-value,
.result-card.success .result-value {
  color: white;
}

.result-icon {
  font-size: 1.4rem;
  color: var(--sf-primary) !important;
  min-width: 28px;
  text-align: center;
}

.result-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.result-label {
  color: var(--sf-gray);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.2;
}

.result-value {
  color: var(--sf-dark);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.2;
}

.result-info {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sf-border);
}

.info-note {
  color: var(--sf-gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-note i {
  color: var(--sf-primary);
}

@media (max-width: 768px) {
  .results-grid {
    grid-template-columns: 1fr;
  }

  .result-card {
    padding: 0.75rem;
  }

  .result-icon {
    font-size: 1.2rem;
  }
}

/* Enhanced Calculate Button Styling */
.calculate-btn {
  background: linear-gradient(135deg, var(--sf-primary), #ffb84d) !important;
  border: none !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(250, 173, 0, 0.3) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
  min-width: 220px !important;
}

.calculate-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(250, 173, 0, 0.4) !important;
  background: linear-gradient(135deg, #ffb84d, var(--sf-primary)) !important;
}

.calculate-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 4px 15px rgba(250, 173, 0, 0.3) !important;
}

.calculate-btn i.fa-calculator {
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}

.calculate-btn i.fa-arrow-right {
  transition: transform 0.3s ease;
}

.calculate-btn:hover i.fa-arrow-right {
  transform: translateX(4px);
}

.calculate-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.calculate-btn:hover::before {
  left: 100%;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@media (max-width: 576px) {
  .calculate-btn {
    min-width: 200px !important;
    font-size: 1rem !important;
    padding: 0.875rem 1.5rem !important;
  }
}

/* Tax Information Content Styling */
.tax-info-card {
  background: var(--sf-white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--sf-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.tax-info-card h4 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.tax-list {
  list-style: none;
  padding-left: 0;
}

.tax-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--sf-border);
  display: flex;
  align-items: center;
}

.tax-list li:last-child {
  border-bottom: none;
}

.tax-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--sf-success);
  margin-right: 0.75rem;
  font-size: 0.9rem;
}

.tax-slabs-detailed {
  background: var(--sf-white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--sf-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.slab-category {
  margin-bottom: 2rem;
}

.slab-category h4 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
  font-weight: 600;
  border-bottom: 2px solid var(--sf-primary);
  padding-bottom: 0.5rem;
}

.tax-table {
  background: var(--sf-white) !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.tax-table thead {
  background: linear-gradient(135deg, var(--sf-primary), #ffb84d) !important;
}

.tax-table thead th {
  color: white !important;
  font-weight: 600 !important;
  border: none !important;
  padding: 1rem !important;
  text-align: center !important;
  background: transparent !important;
  vertical-align: middle !important;
  position: relative !important;
}

/* More specific selector to override Bootstrap */
.table.tax-table thead th {
  color: white !important;
  background: transparent !important;
  border: none !important;
}

.table.tax-table thead tr th {
  color: white !important;
  background: transparent !important;
  border: none !important;
}

/* Ensure table headers are visible with high specificity */
.tax-slabs-detailed .table.tax-table thead th {
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.tax-slabs-detailed .tax-table thead {
  background: linear-gradient(135deg, #faad00, #ffb84d) !important;
}

.tax-table tbody td {
  padding: 0.75rem 1rem;
  border-color: var(--sf-border);
  vertical-align: middle;
}

.tax-table tbody tr:nth-child(even) {
  background-color: var(--sf-light);
}

.tax-table tbody tr:hover {
  background-color: rgba(250, 173, 0, 0.1);
  transition: background-color 0.3s ease;
}

.provision-card {
  background: var(--sf-light);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid var(--sf-primary);
  height: 100%;
  transition: all 0.3s ease;
}

.provision-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.provision-card h5 {
  color: var(--sf-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.provision-card i {
  color: var(--sf-primary);
}

.important-notes {
  background: var(--sf-light);
  border-radius: 12px;
  padding: 2rem;
  border: 2px solid var(--sf-primary);
}

.important-notes h4 {
  color: var(--sf-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.important-notes .alert {
  background-color: rgba(250, 173, 0, 0.1);
  border: 1px solid var(--sf-primary);
  color: var(--sf-dark);
}

.important-notes ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .tax-info-card,
  .tax-slabs-detailed,
  .important-notes {
    padding: 1.5rem;
  }

  .provision-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .tax-table {
    font-size: 0.9rem;
  }

  .tax-table thead th,
  .tax-table tbody td {
    padding: 0.5rem;
  }
}

/* Enhanced Required Documents Styling */
.document-list {
  background: var(--sf-white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--sf-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin: 2rem 0;
}

.document-category {
  background: var(--sf-light);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--sf-primary);
  transition: all 0.3s ease;
}

.document-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.document-category h5 {
  color: var(--sf-dark);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.document-category h5 i {
  color: var(--sf-primary);
  margin-right: 0.5rem;
}

.document-checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.document-checklist li {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(250, 173, 0, 0.1);
  transition: all 0.3s ease;
}

.document-checklist li:last-child {
  border-bottom: none;
}

.document-checklist li:hover {
  background-color: rgba(250, 173, 0, 0.05);
  padding-left: 0.5rem;
  border-radius: 6px;
}

.document-checklist li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--sf-success);
  background: rgba(0, 208, 132, 0.1);
  border: 2px solid var(--sf-success);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.document-checklist li:hover::before {
  background: var(--sf-success);
  color: white;
  transform: scale(1.1);
}

.document-item {
  flex: 1;
  color: var(--sf-dark);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
}

.document-note {
  color: var(--sf-gray);
  font-size: 0.85rem;
  font-style: italic;
  margin-left: 2.5rem;
  margin-top: 0.25rem;
}

/* Document List Header */
.documents-header {
  text-align: center;
  margin-bottom: 2rem;
}

.documents-header h3 {
  color: var(--sf-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.documents-header p {
  color: var(--sf-gray);
  font-size: 1.1rem;
}

/* Special document types */
.document-optional::before {
  content: "\f059";
  color: var(--sf-primary);
  border-color: var(--sf-primary);
  background: rgba(250, 173, 0, 0.1);
}

.document-important::before {
  content: "\f06a";
  color: #e74c3c;
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

.document-important:hover::before {
  background: #e74c3c;
  color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .document-list {
    padding: 1.5rem;
  }

  .document-category {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .document-checklist li {
    padding: 0.5rem 0;
  }

  .document-checklist li::before {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    margin-right: 0.75rem;
  }

  .document-item {
    font-size: 0.9rem;
  }
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .tax-info-sidebar {
    padding-left: 0;
    margin-top: 2rem;
  }

  .results-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .result-item {
    padding: 1rem;
  }

  .result-value {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .calculator-tabs .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .tax-calculator-card {
    padding: 1.5rem;
  }

  .quick-calculator-card {
    padding: 1.5rem;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .tax-calculator-preview {
    padding: 1rem 0;
    margin-bottom: 2rem;
  }
}

/* ===== BLOG STYLES ===== */

/* Blog Listing Page */
.blog-post {
  background: var(--sf-white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 2.5rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(250, 173, 0, 0.1);
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(250, 173, 0, 0.3);
}

.blog-post .post-header {
  padding: 2rem 2rem 1rem 2rem;
  border-bottom: 1px solid rgba(51, 51, 51, 0.08);
}

.blog-post .post-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--sf-dark);
}

.blog-post .post-header h3 a {
  color: var(--sf-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-post .post-header h3 a:hover {
  color: var(--sf-primary);
}

.blog-post .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--sf-gray);
  font-weight: 500;
}

.blog-post .post-meta span {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  background: rgba(250, 173, 0, 0.1);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.blog-post .post-meta span:hover {
  background: rgba(250, 173, 0, 0.2);
  transform: translateY(-1px);
}

.blog-post .post-meta i {
  color: var(--sf-primary) !important;
  margin-right: 0.5rem !important;
}

.blog-post .post-content {
  padding: 0 2rem 2rem 2rem;
}

.blog-post .post-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--sf-gray);
  margin-bottom: 1.5rem;
}

.blog-post .post-content .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

.blog-post .post-content .btn-outline-primary {
  border: 2px solid var(--sf-primary);
  color: var(--sf-primary);
  background: transparent;
}

.blog-post .post-content .btn-outline-primary:hover {
  background: var(--sf-primary);
  color: var(--sf-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(250, 173, 0, 0.3);
}

/* Blog Post Detail Page */
.blog-post-detail {
  background: var(--sf-white);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  margin-bottom: 3rem;
}

.blog-post-detail .post-header {
  border-bottom: 2px solid rgba(250, 173, 0, 0.2);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.blog-post-detail .post-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--sf-dark);
  margin-bottom: 1.5rem;
  position: relative;
}

.blog-post-detail .post-title::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--sf-primary), rgba(250, 173, 0, 0.3));
  border-radius: 2px;
}

.blog-post-detail .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 1rem;
  color: var(--sf-gray);
  font-weight: 500;
}

.blog-post-detail .post-meta span {
  display: flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  background: rgba(51, 51, 51, 0.05);
  border-radius: 25px;
  border: 1px solid rgba(51, 51, 51, 0.1);
  transition: all 0.3s ease;
}

.blog-post-detail .post-meta span:hover {
  background: rgba(250, 173, 0, 0.1);
  border-color: rgba(250, 173, 0, 0.3);
  transform: translateY(-1px);
}

.blog-post-detail .post-meta i {
  color: var(--sf-primary) !important;
  margin-right: 0.5rem !important;
  font-size: 1.1rem;
}

.blog-post-detail .post-featured-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  margin-bottom: 2.5rem;
}

.blog-post-detail .post-featured-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.blog-post-detail .post-featured-image:hover img {
  transform: scale(1.02);
}

.blog-post-detail .post-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--sf-dark);
}

.blog-post-detail .post-content h1,
.blog-post-detail .post-content h2,
.blog-post-detail .post-content h3,
.blog-post-detail .post-content h4,
.blog-post-detail .post-content h5,
.blog-post-detail .post-content h6 {
  color: var(--sf-dark);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
}

.blog-post-detail .post-content h2 {
  font-size: 2rem;
  border-left: 4px solid var(--sf-primary);
  padding-left: 1.5rem;
  margin-left: -1.5rem;
}

.blog-post-detail .post-content h3 {
  font-size: 1.5rem;
  color: var(--sf-secondary);
}

.blog-post-detail .post-content h4 {
  font-size: 1.3rem;
  color: var(--sf-gray);
}

.blog-post-detail .post-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.blog-post-detail .post-content ul,
.blog-post-detail .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.blog-post-detail .post-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.blog-post-detail .post-content blockquote {
  background: rgba(250, 173, 0, 0.05);
  border-left: 4px solid var(--sf-primary);
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  position: relative;
}

.blog-post-detail .post-content blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--sf-primary);
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-family: Georgia, serif;
  opacity: 0.3;
}

.blog-post-detail .post-content code {
  background: rgba(51, 51, 51, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  color: var(--sf-secondary);
}

.blog-post-detail .post-content pre {
  background: rgba(51, 51, 51, 0.05);
  border: 1px solid rgba(51, 51, 51, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  overflow-x: auto;
}

.blog-post-detail .post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Tags Section */
.post-tags {
  background: rgba(250, 173, 0, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2.5rem;
  border: 1px solid rgba(250, 173, 0, 0.2);
}

.post-tags h5 {
  color: var(--sf-dark);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.post-tags h5::before {
  content: "\f02b";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 0.5rem;
  color: var(--sf-primary);
}

.post-tags .badge {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  background: var(--sf-white) !important;
  color: var(--sf-dark) !important;
  border: 1px solid rgba(250, 173, 0, 0.3);
  transition: all 0.3s ease;
  display: inline-block;
  font-weight: 500;
}

.post-tags .badge:hover {
  background: var(--sf-primary) !important;
  color: var(--sf-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(250, 173, 0, 0.3);
}

/* Social Share Section */
.post-share {
  background: linear-gradient(
    135deg,
    rgba(250, 173, 0, 0.05),
    rgba(51, 51, 51, 0.05)
  );
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2.5rem;
  text-align: center;
  border: 1px solid rgba(250, 173, 0, 0.2);
}

.post-share h5 {
  color: var(--sf-dark);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.social-share {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.social-share .btn {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid;
  min-width: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.social-share .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.social-share .btn span {
  margin-left: 0.25rem;
}

/* Hide text on very small screens, show only icons */
@media (max-width: 480px) {
  .social-share .btn span {
    display: none;
  }

  .social-share .btn {
    min-width: 50px;
    padding: 0.5rem;
  }

  .social-share .btn i {
    font-size: 1.1rem;
  }
}

.social-share .btn-outline-primary {
  border-color: #1877f2;
  color: #1877f2;
}

.social-share .btn-outline-primary:hover {
  background: #1877f2;
  color: white;
}

.social-share .btn-outline-info {
  border-color: #1da1f2;
  color: #1da1f2;
}

.social-share .btn-outline-info:hover {
  background: #1da1f2;
  color: white;
}

.social-share .btn-outline-secondary {
  border-color: #0077b5;
  color: #0077b5;
}

.social-share .btn-outline-secondary:hover {
  background: #0077b5;
  color: white;
}

/* Related Posts Section */
.related-posts {
  margin-top: 3rem;
}

.related-posts h3 {
  color: var(--sf-dark);
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2rem;
  position: relative;
}

.related-posts h3::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--sf-primary);
  border-radius: 2px;
}

.related-post-card {
  background: var(--sf-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  border: 1px solid rgba(250, 173, 0, 0.1);
}

.related-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(250, 173, 0, 0.3);
}

.related-post-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post-card:hover .card-img-top {
  transform: scale(1.05);
}

.related-post-card .card-body {
  padding: 1.5rem;
}

.related-post-card .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sf-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-post-card .card-title a {
  color: var(--sf-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-post-card .card-title a:hover {
  color: var(--sf-primary);
}

.related-post-card .card-text {
  color: var(--sf-gray);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  height: 3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-post-card .post-meta-small {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--sf-gray);
  margin-bottom: 1rem;
}

.related-post-card .post-meta-small i {
  color: var(--sf-primary);
}

/* Breadcrumb Styling */
.breadcrumb {
  background: rgba(250, 173, 0, 0.1);
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 2rem;
}

.breadcrumb-item a {
  color: var(--sf-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--sf-secondary);
}

.breadcrumb-item.active {
  color: var(--sf-dark);
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: var(--sf-primary);
  font-weight: bold;
}

/* Pagination for Blog */
.pagination .page-link {
  color: var(--sf-primary);
  border: 1px solid rgba(250, 173, 0, 0.3);
  padding: 0.75rem 1rem;
  margin: 0 0.25rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background: var(--sf-primary);
  color: var(--sf-dark);
  border-color: var(--sf-primary);
  transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
  background: var(--sf-primary);
  color: var(--sf-dark);
  border-color: var(--sf-primary);
  font-weight: 600;
}

/* Blog Sidebar */
.blog-sidebar {
  padding-left: 2rem;
}

.sidebar-widget {
  background: var(--sf-white);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(250, 173, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sidebar-widget:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sidebar-widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--sf-primary), rgba(250, 173, 0, 0.6));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.sidebar-widget:hover::before {
  transform: scaleX(1);
}

.sidebar-widget h5 {
  color: var(--sf-dark);
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(250, 173, 0, 0.2);
  position: relative;
}

.sidebar-widget h5::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--sf-primary);
}

.sidebar-widget .list-unstyled li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(51, 51, 51, 0.1);
}

.sidebar-widget .list-unstyled li:last-child {
  border-bottom: none;
}

.sidebar-widget .list-unstyled a {
  color: var(--sf-dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.sidebar-widget .list-unstyled a:hover {
  color: var(--sf-primary);
  padding-left: 0.5rem;
}

.sidebar-widget .list-unstyled a i {
  margin-right: 0.5rem;
  color: var(--sf-primary);
  width: 16px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .blog-post {
    margin-bottom: 1.5rem;
  }

  .blog-post .post-header,
  .blog-post .post-content {
    padding: 1.5rem;
  }

  .blog-post .post-header h3 {
    font-size: 1.5rem;
  }

  .blog-post .post-meta {
    gap: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-post .post-meta span {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }

  .blog-post-detail {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .blog-post-detail .post-title {
    font-size: 2rem;
  }

  .blog-post-detail .post-meta {
    gap: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-post-detail .post-content {
    font-size: 1rem;
  }

  .blog-post-detail .post-content h2 {
    font-size: 1.5rem;
    margin-left: 0;
    padding-left: 1rem;
  }

  .social-share {
    flex-direction: column;
    align-items: center;
  }

  .social-share .btn {
    width: 100%;
    max-width: 200px;
  }

  .blog-sidebar {
    padding-left: 0;
    margin-top: 2rem;
  }

  .sticky-sidebar {
    position: static !important;
    max-height: none !important;
    overflow-y: visible !important;
  }

  .related-posts h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .blog-post .post-header h3 {
    font-size: 1.3rem;
  }

  .blog-post-detail .post-title {
    font-size: 1.75rem;
  }

  .blog-post-detail .post-content {
    font-size: 0.95rem;
  }

  .post-share,
  .post-tags,
  .sidebar-widget {
    padding: 1rem;
  }
}

/* ===== ENHANCED BLOG POST STYLES ===== */

/* Blog Hero Section */
.blog-hero-section {
  background: linear-gradient(
    135deg,
    rgba(250, 173, 0, 0.05),
    rgba(51, 51, 51, 0.05)
  );
  padding: 2rem 0 1rem 0;
  border-bottom: 1px solid rgba(250, 173, 0, 0.1);
}

.enhanced-breadcrumb {
  background: var(--sf-white);
  border-radius: 25px;
  padding: 1rem 1.5rem;
  margin-bottom: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(250, 173, 0, 0.1);
}

.enhanced-breadcrumb .breadcrumb-item a {
  color: var(--sf-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.enhanced-breadcrumb .breadcrumb-item a:hover {
  color: var(--sf-secondary);
  transform: translateX(2px);
}

.enhanced-breadcrumb .breadcrumb-item.active {
  color: var(--sf-dark);
  font-weight: 600;
}

.enhanced-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--sf-primary);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Blog Post Section */
.blog-post-section {
  padding: 3rem 0;
  background: var(--sf-light);
}

/* Enhanced Blog Post Content */
.blog-post-detail {
  background: var(--sf-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.blog-post-detail:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.blog-post-detail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--sf-primary),
    #f39c12,
    var(--sf-primary)
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  50% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Enhanced Post Content Typography */
.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2c3e50;
  padding: 2.5rem;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: var(--sf-dark);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.post-content h1 {
  font-size: 2.2rem;
  border-bottom: 3px solid var(--sf-primary);
  padding-bottom: 0.5rem;
}

.post-content h2 {
  font-size: 1.9rem;
  position: relative;
}

.post-content h2::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.5rem;
  background: var(--sf-primary);
  border-radius: 2px;
}

.post-content h3 {
  font-size: 1.6rem;
  color: var(--sf-primary);
}

.post-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.post-content p:first-child {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--sf-dark);
  border-left: 4px solid var(--sf-primary);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  background: rgba(250, 173, 0, 0.05);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.post-content blockquote {
  background: rgba(250, 173, 0, 0.08);
  border-left: 5px solid var(--sf-primary);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.1rem;
  border-radius: 0 8px 8px 0;
  position: relative;
}

.post-content blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--sf-primary);
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.post-content img:hover {
  transform: scale(1.02);
}

.post-content code {
  background: rgba(250, 173, 0, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  font-size: 0.9rem;
  color: var(--sf-dark);
}

.post-content pre {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.post-content pre code {
  background: none;
  padding: 0;
}

/* Enhanced Post Header */
.post-category-badge {
  margin-bottom: 1.5rem;
}

.category-badge {
  background: linear-gradient(135deg, var(--sf-primary), #ffb84d);
  color: var(--sf-white);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(250, 173, 0, 0.3);
}

/* Enhanced Meta Information */
.post-meta-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(250, 173, 0, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(250, 173, 0, 0.2);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--sf-white);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid rgba(250, 173, 0, 0.1);
}

.meta-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: rgba(250, 173, 0, 0.3);
}

.meta-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--sf-primary), #ffb84d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sf-white);
  font-size: 1rem;
  flex-shrink: 0;
}

.meta-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-label {
  font-size: 0.8rem;
  color: var(--sf-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.meta-value {
  font-size: 0.95rem;
  color: var(--sf-dark);
  font-weight: 600;
}

/* Post Excerpt */
.post-excerpt {
  background: linear-gradient(
    135deg,
    rgba(250, 173, 0, 0.05),
    rgba(51, 51, 51, 0.05)
  );
  border-left: 4px solid var(--sf-primary);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  position: relative;
  font-style: italic;
}

.post-excerpt i {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--sf-primary);
  font-size: 1.5rem;
  opacity: 0.6;
}

.post-excerpt p {
  margin: 0;
  padding-left: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--sf-dark);
  font-weight: 500;
}

/* Table of Contents */
.table-of-contents {
  background: var(--sf-white);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(250, 173, 0, 0.1);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  position: relative;
}

.table-of-contents::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sf-primary), var(--sf-secondary));
  border-radius: 12px 12px 0 0;
}

.table-of-contents h5 {
  color: var(--sf-dark);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(250, 173, 0, 0.2);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-of-contents h5 i {
  color: var(--sf-primary);
  margin-right: 0.5rem;
}

#tocList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-item {
  margin-bottom: 0.5rem;
}

.toc-item a {
  color: var(--sf-dark);
  text-decoration: none;
  padding: 0.5rem 0;
  display: block;
  transition: all 0.3s ease;
  border-radius: 4px;
  padding-left: 1rem;
  position: relative;
  font-weight: 500;
}

.toc-item a:hover {
  color: var(--sf-primary);
  background: rgba(250, 173, 0, 0.1);
  padding-left: 1.5rem;
  transform: translateX(5px);
}

.toc-item a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--sf-primary);
  transition: height 0.3s ease;
}

.toc-item a:hover::before {
  height: 100%;
}

.toc-h3 a {
  padding-left: 1.5rem;
  font-size: 0.95rem;
}

.toc-h4 a {
  padding-left: 2rem;
  font-size: 0.9rem;
  color: var(--sf-gray);
}

/* Enhanced Tags */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-badge {
  background: var(--sf-white);
  color: var(--sf-dark);
  border: 2px solid rgba(250, 173, 0, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.tag-badge:hover {
  background: var(--sf-primary);
  color: var(--sf-white);
  border-color: var(--sf-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(250, 173, 0, 0.3);
}

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

/* Enhanced Social Buttons */
.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid;
  margin: 0.25rem;
  min-width: 140px;
  justify-content: center;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.facebook-btn {
  border-color: #1877f2;
  color: #1877f2;
}

.facebook-btn:hover {
  background: #1877f2;
  color: white;
}

.twitter-btn {
  border-color: #1da1f2;
  color: #1da1f2;
}

.twitter-btn:hover {
  background: #1da1f2;
  color: white;
}

.linkedin-btn {
  border-color: #0077b5;
  color: #0077b5;
}

.linkedin-btn:hover {
  background: #0077b5;
  color: white;
}

.whatsapp-btn {
  border-color: #25d366;
  color: #25d366;
}

.whatsapp-btn:hover {
  background: #25d366;
  color: white;
}

.copy-btn {
  border-color: var(--sf-secondary);
  color: var(--sf-secondary);
}

.copy-btn:hover {
  background: var(--sf-secondary);
  color: white;
}

.copy-btn.success {
  background: var(--sf-success);
  border-color: var(--sf-success);
  color: white;
}

/* Post Navigation */
.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(250, 173, 0, 0.2);
}

.post-navigation .nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sf-primary);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 2px solid rgba(250, 173, 0, 0.3);
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.post-navigation .nav-link:hover {
  background: var(--sf-primary);
  color: var(--sf-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 173, 0, 0.3);
}

/* Sidebar Enhancements */
.blog-sidebar {
  padding-left: 2rem;
}

.sticky-sidebar {
  position: sticky;
  top: 2rem;
  height: fit-content;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(250, 173, 0, 0.3) transparent;
}

.sticky-sidebar::-webkit-scrollbar {
  width: 6px;
}

.sticky-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sticky-sidebar::-webkit-scrollbar-thumb {
  background: rgba(250, 173, 0, 0.3);
  border-radius: 3px;
}

.sticky-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(250, 173, 0, 0.5);
}

.author-widget {
  background: linear-gradient(
    135deg,
    rgba(250, 173, 0, 0.05),
    rgba(51, 51, 51, 0.05)
  );
  border: 1px solid rgba(250, 173, 0, 0.2);
}

.author-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--sf-primary), #ffb84d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sf-white);
  font-size: 2rem;
  flex-shrink: 0;
}

.author-details h5 {
  color: var(--sf-dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-details p:first-of-type {
  color: var(--sf-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.author-bio {
  color: var(--sf-gray);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--sf-white);
  border: 2px solid rgba(250, 173, 0, 0.3);
  border-radius: 8px;
  color: var(--sf-dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: var(--sf-primary);
  color: var(--sf-white);
  border-color: var(--sf-primary);
  transform: translateX(3px);
}

.action-btn i {
  width: 20px;
  text-align: center;
  color: var(--sf-primary);
  transition: color 0.3s ease;
}

.action-btn:hover i {
  color: var(--sf-white);
}

/* Newsletter Widget */
.newsletter-widget {
  background: linear-gradient(135deg, var(--sf-primary), #ffb84d);
  color: var(--sf-white);
}

.newsletter-widget h5,
.newsletter-widget p {
  color: var(--sf-white);
}

.newsletter-form .form-control {
  border: none;
  border-radius: 25px 0 0 25px;
  padding: 0.75rem 1rem;
}

.newsletter-form .btn {
  border-radius: 0 25px 25px 0;
  border: none;
  background: var(--sf-white);
  color: var(--sf-primary);
  padding: 0.75rem 1rem;
}

.newsletter-form .btn:hover {
  background: var(--sf-secondary);
  color: var(--sf-white);
}

/* Reading Progress */
.progress-container {
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  height: 20px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--sf-primary), #ffb84d);
  border-radius: 10px;
  transition: width 0.3s ease;
  width: 0%;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sf-dark);
}

/* Related Posts Section */
.related-posts-section {
  padding: 4rem 0;
  background: var(--sf-white);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h3 {
  color: var(--sf-dark);
  font-weight: 700;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--sf-gray);
  font-size: 1.1rem;
}

.card-image {
  position: relative;
  overflow: hidden;
}

.card-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.card-category {
  background: var(--sf-primary);
  color: var(--sf-white);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.read-more-btn {
  color: var(--sf-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more-btn:hover {
  color: var(--sf-secondary);
  transform: translateX(3px);
}

/* CTA Section */
.blog-cta-section {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    rgba(250, 173, 0, 0.1),
    rgba(51, 51, 51, 0.05)
  );
  border-top: 1px solid rgba(250, 173, 0, 0.2);
}

.cta-content {
  text-align: center;
}

.cta-content i {
  color: var(--sf-primary);
  margin-bottom: 1.5rem;
}

.cta-content h3 {
  color: var(--sf-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-buttons {
  margin: 2rem 0;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-info span {
  color: var(--sf-gray);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

.fab-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--sf-primary);
  color: var(--sf-white);
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(250, 173, 0, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.fab-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(250, 173, 0, 0.6);
}

.scroll-top-fab {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

/* Enhanced 404 Section */
.blog-404-section {
  padding: 6rem 0;
  background: var(--sf-light);
  text-align: center;
}

.error-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-icon {
  font-size: 4rem;
  color: var(--sf-primary);
  margin-bottom: 2rem;
}

.error-actions {
  margin: 2rem 0;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.help-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--sf-white);
  border: 2px solid rgba(250, 173, 0, 0.3);
  border-radius: 8px;
  color: var(--sf-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.help-link:hover {
  background: var(--sf-primary);
  color: var(--sf-white);
  border-color: var(--sf-primary);
  transform: translateY(-2px);
}

.help-link i {
  font-size: 1.5rem;
  color: var(--sf-primary);
  transition: color 0.3s ease;
}

.help-link:hover i {
  color: var(--sf-white);
}

/* Mobile Responsiveness for Enhanced Features */
@media (max-width: 992px) {
  .blog-sidebar {
    padding-left: 0;
    margin-top: 3rem;
  }

  .sticky-sidebar {
    position: static !important;
    max-height: none !important;
    overflow-y: visible !important;
  }

  .post-content {
    padding: 1.5rem;
    font-size: 1rem;
  }

  .post-content h2::before {
    left: -1.5rem;
  }

  .post-meta-enhanced {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .meta-item {
    padding: 0.5rem;
  }

  .floating-actions {
    bottom: 1rem;
    right: 1rem;
  }

  .fab-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .blog-hero-section {
    padding: 1rem 0 0.5rem 0;
  }

  .enhanced-breadcrumb {
    padding: 0.75rem 1rem;
  }

  .blog-post-section {
    padding: 2rem 0;
  }

  .post-navigation {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .social-share {
    justify-content: flex-start;
    gap: 0.25rem;
    padding: 0.25rem 0;
  }

  .social-btn {
    padding: 0.4rem 0.75rem;
    min-width: 80px;
    font-size: 0.875rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 1rem;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* CAPTCHA Styling */
.captcha-container {
  background: linear-gradient(135deg, var(--sf-light) 0%, #ffffff 100%);
  border: 2px solid var(--sf-border);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.captcha-container:hover {
  border-color: var(--sf-primary);
  box-shadow: 0 4px 20px rgba(250, 173, 0, 0.15);
  transform: translateY(-2px);
}

.captcha-question {
  background: linear-gradient(135deg, var(--sf-primary) 0%, #ffc233 100%);
  color: var(--sf-white);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 10px rgba(250, 173, 0, 0.3);
}

.captcha-question strong {
  font-size: 1.3rem;
  font-weight: 700;
}

.captcha-container input[type="text"] {
  border: 2px solid var(--sf-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.captcha-container input[type="text"]:focus {
  border-color: var(--sf-primary);
  box-shadow: 0 0 0 3px rgba(250, 173, 0, 0.1);
  outline: none;
}

.captcha-container .form-text {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--sf-gray);
}

.captcha-container .form-text i {
  color: var(--sf-primary);
}

/* CAPTCHA Error State */
.captcha-container.has-error {
  border-color: #dc3545;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.captcha-container.has-error input[type="text"] {
  border-color: #dc3545;
}

.captcha-container.has-error .captcha-question {
  background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
}

/* CAPTCHA Success State */
.captcha-container.is-valid {
  border-color: var(--sf-success);
  background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
}

.captcha-container.is-valid input[type="text"] {
  border-color: var(--sf-success);
}

/* CAPTCHA Refresh Button */
#refreshCaptcha {
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

#refreshCaptcha:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(180deg);
}

/* CAPTCHA Refreshing Animation */
.captcha-container.refreshing {
  animation: captchaRefresh 0.3s ease-in-out;
}

@keyframes captchaRefresh {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* Mobile Responsiveness for CAPTCHA */
@media (max-width: 768px) {
  .captcha-container {
    padding: 1rem;
  }

  .captcha-question {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .captcha-question strong {
    font-size: 1.2rem;
  }

  .captcha-container input[type="text"] {
    font-size: 1rem;
    padding: 0.6rem 0.8rem;
  }

  #refreshCaptcha {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }
}
