:root {
  --primary-color: #3b5cb8;
  --secondary-color: #2e59d9;
  --accent-color: #f9fafd;
  --text-color: #5a5c69;
  --light-color: #f8f9fc;
  --dark-color: #343a40;
  --india-orange: #ff9933;
  --india-green: #138808;
}
body {
  /* font-family: "Nunito", sans-serif; */
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: var(--text-color);
  background-color: var(--accent-color);
}
/* Navbar */
.navbar {
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
  background: white;
  padding: 0.5rem 1rem;
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
}
.nav-link {
  font-weight: 600;
  padding: 0.75rem 1rem;
  color: var(--dark-color);
}
.nav-link:hover {
  color: var(--primary-color);
}
/* Hero Section */
.hero {
  background: var(--light-color);
  text-align: center;
  padding: 60px 20px;
}
.hero h1 {
  font-weight: 700;
  color: var(--dark-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: fadeIn 0.5s ease-out;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  animation: fadeIn 0.5s ease-out 0.3s forwards;
  opacity: 0;
}
.hero .cta {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.35rem;
  text-decoration: none;
  animation: fadeIn 0.5s ease-out 0.6s forwards;
  opacity: 0;
}
.hero .cta:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}
/* Featured Calculators */
.featured {
  padding: 50px 20px;
  background: var(--accent-color);
}
.featured h2 {
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.tool-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  background: white;
  opacity: 0;
}
.tool-card.visible {
  opacity: 1;
  animation: fadeIn 0.5s ease-out;
}
.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1.5rem 0 rgba(58, 59, 69, 0.2);
}
.tool-card .card-body {
  padding: 1.5rem;
}
.tool-card .icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}
.tool-card .card-title {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.tool-card .card-text {
  color: var(--text-color);
  font-size: 0.9rem;
}
.tool-card .btn-calculate {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.35rem;
  font-size: 0.9rem;
}
.tool-card .btn-calculate:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}
/* Categories */
.categories {
  padding: 50px 20px;
  background: var(--light-color);
}
.categories h2 {
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Main Content (Tool Page) */
.main-content {
  min-height: calc(100vh - 150px);
  padding: 50px 20px;
}
/* Tool Header */
.tool-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e3e6f0;
  padding-bottom: 1rem;
}
.tool-header h1 {
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.75rem;
}
.tool-header p {
  color: var(--text-color);
  font-size: 1rem;
}
/* Tool Container */
.tool-container {
  background: white;
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}
/* Form Styles */
.form-control,
.form-select {
  border-radius: 0.35rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d3e2;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}
.btn-calculate {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.35rem;
}
.btn-calculate:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
}
/* Result Box */
.result-box {
  background-color: var(--accent-color);
  border: 0.25rem solid var(--primary-color);
  padding: 1.5rem;
  margin-top: 1.5rem;
  border-radius: 0.35rem;
}
.result-box h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}
.result-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
}
/* SEO Content */
.seo-content {
  background: white;
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}
.seo-content h2 {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}
.seo-content h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.seo-content p,
.seo-content ul {
  margin-bottom: 1rem;
  line-height: 1.6;
}
/* Related Tools */
.related-tools {
  background: white;
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  padding: 2rem;
}
.related-tools h3 {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  /* border-bottom: 1px solid #e3e6f0; */
  padding-bottom: 0.5rem;
}
.related-tools .card {
  border: none;
  box-shadow: 0 0.1rem 0.5rem rgba(58, 59, 69, 0.1);
}
.related-tools .card-title {
  font-size: 1rem;
  color: var(--primary-color);
}
.related-tools .card-text {
  font-size: 0.85rem;
}

/* Recommended  Products */
.recommended-tools {
  background: white;
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  padding: 2rem;
}
.recommended-tools h3 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  /* border-bottom: 1px solid #e3e6f0; */
  padding-bottom: 0.5rem;
}
.recommended-tools .card {
  /* border: none; */
  box-shadow: 0 0.1rem 0.5rem rgba(58, 59, 69, 0.1);
}
.recommended-tools .card-title {
  font-size: 1rem;
  color: var(--primary-color);
}
.recommended-tools .card-text {
  font-size: 0.85rem;
}
/* Sidebar */
.sidebar .card {
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  margin-bottom: 1.5rem;
}
.sidebar .card-header {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
}
.sidebar .list-group-item {
  border: none;
}
.sidebar .list-group-item a {
  color: var(--text-color);
  text-decoration: none;
}
.sidebar .list-group-item a:hover {
  color: var(--primary-color);
}
.sidebar .badge {
  background: var(--primary-color);
}
.sidebar .form-control-sm {
  border-radius: 0.35rem;
}
/* Ad Container */
.ad-container {
  background: #f8f9fa;
  border: 1px dashed #d1d3e2;
  padding: 1rem;
  text-align: center;
  margin: 1.5rem 0;
  border-radius: 0.35rem;
}
.ad-container p {
  font-size: 0.9rem;
  color: var(--text-color);
  margin: 0;
}
/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 0;
}

.footer h5 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.social-links a {
  color: white;
  font-size: 1.25rem;
  margin-right: 1rem;
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--primary-color);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.7);
}
/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 0.5s ease-out;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero .cta {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .navbar-brand {
    font-size: 1.25rem;
  }
  .calculator-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }
  .tool-container,
  .seo-content,
  .related-tools {
    padding: 1.5rem;
  }
  .tool-header h1 {
    font-size: 1.5rem;
  }
  .sidebar .card {
    margin-bottom: 1rem;
  }
  .main-content {
    padding: 30px 4px;
  }
}
@media (max-width: 576px) {
  .hero {
    padding: 40px 20px;
  }
  .featured h2,
  .categories h2,
  .seo-content h2 {
    font-size: 1.5rem;
  }
  .tool-card .card-body {
    padding: 1rem;
  }
  .tool-container,
  .seo-content,
  .related-tools {
    padding: 1rem;
  }
}

/* FAQ Specific Styles */
.faq-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.faq-header h1 {
  font-weight: 700;
  font-size: 2.5rem;
}

.faq-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.faq-container {
  background: white;
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.faq-section {
  margin-bottom: 2.5rem;
}

.faq-section h2 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e3e6f0;
}

.accordion-item {
  border: 1px solid #e3e6f0;
  border-radius: 0.35rem;
  margin-bottom: 0.75rem;
}

.accordion-button {
  font-weight: 600;
  color: var(--dark-color);
  background-color: var(--light-color);
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: rgba(78, 115, 223, 0.1);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.accordion-body {
  color: var(--text-color);
}

.search-box {
  position: relative;
  margin-bottom: 2rem;
}

.search-box input {
  padding-left: 3rem;
  border-radius: 0.35rem;
  border: 1px solid #d1d3e2;
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-color);
}

.contact-card {
  background: white;
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  padding: 2rem;
  text-align: center;
}

.contact-card h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-card .btn {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .faq-header {
    padding: 3rem 0;
  }

  .faq-header h1 {
    font-size: 2rem;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Calculator Categories */
.category-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1.5rem 0 rgba(58, 59, 69, 0.2);
}

.category-header {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
}

.category-body {
  padding: 1.5rem;
  background: white;
}

.category-title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.calculator-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.calculator-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f1f1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calculator-list li:last-child {
  border-bottom: none;
}

.calculator-list a {
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  flex-grow: 1;
}

.calculator-list a:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

.calculator-list i {
  margin-right: 0.75rem;
  color: var(--primary-color);
}

.view-count {
  color: var(--primary-color);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}

.view-count i {
  margin-right: 0.25rem;
  color: var(--primary-color);
  font-size: 0.7rem;
}

/* Featured Calculators */
.featured-section {
  padding: 3rem 0;
  /* background-color: white; */
}

.section-title {
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.calculator-card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  height: 100%;
}

.calculator-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1.5rem 0 rgba(58, 59, 69, 0.2);
}

.calculator-card .card-body {
  padding: 1.5rem;
}

.calculator-card .card-title {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.calculator-card .card-text {
  color: var(--text-color);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.btn-calculate {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 0.35rem;
  transition: all 0.2s;
}

.btn-calculate:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
}

/* India Special Section */
.india-special {
  background: linear-gradient(
    135deg,
    var(--india-orange) 0%,
    var(--india-green) 100%
  );
  color: white;
  padding: 3rem 0;
  margin: 3rem 0;
}

.india-special .section-title {
  color: white;
}

.india-special .section-title::after {
  background: white;
}

.india-special .calculator-card {
  background: rgba(255, 255, 255, 0.9);
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* Newsletter */
.newsletter-section {
  background: var(--accent-color);
  padding: 3rem 0;
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 1.75rem;
  }
}

/* Sidebar Styles */
.sidebar-widget .card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
}

.sidebar-widget .card-header {
  background: var(--primary-color);
  border-radius: 0.75rem 0.75rem 0 0;
  padding: 1rem;
}

.sidebar-widget .card-body {
  padding: 1.5rem;
}

.sidebar-widget ul li a {
  color: var(--text-color);
  transition: color 0.2s;
}

.sidebar-widget ul li a:hover {
  color: var(--primary-color);
}

.sidebar-widget ul li i {
  font-size: 1.25rem;
}

.sidebar-widget ul li .text-dark {
  font-weight: 600;
  font-size: 0.95rem;
}

.sidebar-widget ul li .text-muted {
  font-size: 0.85rem;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .sidebar {
    margin-top: 2rem;
  }
}

/* FD Calculator */
.tool-container .form-control,
.tool-container .form-select {
  border-radius: 0.35rem;
  font-size: 0.9rem;
}

.tool-container .btn-calculate {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 0.35rem;
  transition: all 0.2s;
}

.tool-container .btn-calculate:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

.result-box {
  background: var(--light-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
}

.result-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0;
}

#fd-chart {
  max-width: 100%;
  margin-top: 1rem;
}

.calculator-list li {
  padding: 0.75rem 0;
}

.calculator-list li a {
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.2s;
}

.calculator-list li a:hover {
  color: var(--primary-color);
}

.calculator-list li a i {
  font-size: 1.1rem;
  color: var(--primary-color);
}

.calculator-list li .text-muted {
  font-size: 0.85rem;
  white-space: nowrap;
}

.calculator-list li .fa-eye {
  font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .calculator-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-card .view-count {
    margin-left: 1.75rem;
    margin-top: 0.25rem;
  }
}

/* Newsletter Section */
.newsletter-form .form-control {
  border-radius: 0.35rem 0 0 0.35rem;
  font-size: 1rem;
}

.newsletter-form .btn-primary {
  border-radius: 0 0.35rem 0.35rem 0;
  padding: 0.5rem 1.5rem;
}

.newsletter-form .alert {
  padding: 0.75rem;
  font-size: 0.9rem;
  border-radius: 0.35rem;
}

.newsletter-form .alert-success {
  background-color: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}

.newsletter-form .alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .newsletter-form .input-group {
    flex-direction: column;
  }
  .newsletter-form .form-control,
  .newsletter-form .btn-primary {
    border-radius: 0.35rem;
    width: 100%;
  }
  .newsletter-form .btn-primary {
    margin-top: 0.5rem;
  }
}

/* Blog Header */
.blog-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.blog-header h1 {
  font-weight: 700;
  font-size: 2.5rem;
}

/* Blog Content */
.blog-container {
  background: white;
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.blog-post-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  margin-bottom: 2rem;
  overflow: hidden;
}

.blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1.5rem 0 rgba(58, 59, 69, 0.2);
}

.blog-post-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.blog-post-card .card-body {
  padding: 1.5rem;
}

.blog-post-card .card-title {
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.75rem;
}

.blog-post-card .card-text {
  color: var(--text-color);
  margin-bottom: 1.25rem;
}

.post-meta {
  display: flex;
  align-items: center;
  color: var(--text-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.post-meta i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.post-category {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.btn-read-more {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 0.35rem;
  transition: all 0.2s;
}

.btn-read-more:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
}

/* Sidebar */
.sidebar-card {
  background: white;
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.sidebar-card h3 {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.sidebar-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

.category-list {
  list-style: none;
  padding: 0;
}

.category-list li {
  margin-bottom: 0.75rem;
}

.category-list a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-list a:hover {
  color: var(--primary-color);
}

.category-list .badge {
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 600;
}

.popular-posts .post-item {
  display: flex;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f1f1;
}

.popular-posts .post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.popular-posts .post-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.25rem;
  margin-right: 1rem;
}

.popular-posts .post-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.popular-posts .post-date {
  font-size: 0.8rem;
  color: var(--text-color);
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: var(--accent-color);
  color: var(--text-color);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.2s;
}

.tag:hover {
  background-color: var(--primary-color);
  color: white;
}
/* Pagination */
.pagination {
  justify-content: center;
  margin-top: 2rem;
}

.page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-link {
  color: var(--primary-color);
} /* Responsive Adjustments */
@media (max-width: 768px) {
  .blog-header {
    padding: 3rem 0;
  }

  .blog-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.25rem;
  }

  .blog-header {
    padding: 2rem 0;
  }

  .blog-header h1 {
    font-size: 1.75rem;
  }
}
/* Visitor Counter Styles */
.visitor-counter {
  background: linear-gradient(
    135deg,
    var(--india-orange) 0%,
    var(--india-green) 100%
  );
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.2);
  transition: transform 0.3s ease;
}

.visitor-counter:hover {
  transform: translateY(-3px);
}

.counter-box {
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  color: white;
}

.counter-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 0.5rem;
  stroke: white;
}

.counter-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.9;
}

.counter-number {
  font-size: 1.8rem;
  font-family: "Roboto", monospace;
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 0.35rem;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .counter-number {
    font-size: 1.5rem;
  }

  .counter-label {
    font-size: 0.8rem;
  }

  .counter-icon {
    width: 20px;
    height: 20px;
  }
}

.form-control,
.form-select {
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus,
.form-select:focus {
  border-color: #2a6f97;
  box-shadow: 0 0 8px rgba(42, 111, 151, 0.3);
}
.gradient-btn {
  background: linear-gradient(45deg, #3a7bd5, #00d2ff);
  border: none;
  transition: all 0.3s ease;
}

.gradient-btn:hover {
  background: linear-gradient(45deg, #00d2ff, #3a7bd5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bg-gradient-primary {
  background: linear-gradient(45deg, #3a7bd5, #00d2ff);
}

.bg-gradient-success {
  background: linear-gradient(45deg, #00b09b, #96c93d);
}

.bg-gradient-info {
  background: linear-gradient(45deg, #1cb5e0, #000851);
}
.bg-light-primary {
  background-color: #eff6ff;
}

.bg-light-success {
  background-color: #ecfdf5;
}

.bg-light-warning {
  background-color: #fefce8;
}

.bg-light-info {
  background-color: #e0f2fe;
}
.tool-why-use .card {
  transition: transform 0.3s, box-shadow 0.3s;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
}

.tool-why-use .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.tool-section {
  padding: 2rem 0;
}

.sub-section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--dark-color);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.sub-section-title i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.sub-section-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 576px) {
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .tool-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* .tool-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
  transition: all 0.2s ease;
  height: 100%;
  display: block;
  text-decoration: none;
  color: inherit;
} */
.tool-card {
  background: #fff;
  border: none;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* .tool-card:hover {
  background-color: var(--accent-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} */

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(67, 97, 238, 0.15);
}

.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-color);
  transition: height 0.3s ease;
}

.tool-card:hover::before {
  height: 100%;
}
.tool-card .tool-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  /* margin-bottom: 0.5rem; */
}

.tool-card .card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--dark-color);
}
.tool-card:hover .tool-icon {
  transform: scale(1.2);
}
.tool-card .card-text {
  font-size: 0.75rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.tool-card .view-count {
  font-size: 0.7rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-card .view-count i {
  margin-right: 0.25rem;
  font-size: 0.8rem;
}

.popular-tool {
  background: #fff;
  border: none;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.popular-tool:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(67, 97, 238, 0.15);
}

.popular-tool::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-color);
  transition: height 0.3s ease;
}

.popular-tool:hover::before {
  height: 100%;
}

.popular-tool .card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--dark-color);
}

.popular-tool .card-text {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tool-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
  font-size: 1.25rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--dark-color);
}
.use-btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 8px;
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
  border: none;
  transition: all 0.2s ease;
}

.popular-tool:hover .use-btn {
  background-color: var(--primary-color);
  color: white;
}

.tool-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
  /* Features */
        .features {
            padding: 4rem 0;
        }

        .feature-card {
            transition: transform 0.3s ease;
            height: 100%;
            text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;

        }

        .feature-card:hover {
            transform: translateY(-5px);
        }
.icon-wrapper-lg {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex
;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}