/* general styles */

body {
  padding: 0;
  margin: 0;
  padding-top: 85px; /* Combined height of top-bar and navbar */
}

/* Navbar Styles */
.navbar {
  transition: all 0.3s ease;
  min-height: 60px;
  border-bottom: 3px solid #e92225;
  background-color: white;
  margin-top: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 40px; /* Exact height of top-bar */
  left: 0;
  right: 0;
  z-index: 1020;
}

.navbar-logo {
  height: 80px;
  width: auto;
  transition: all 0.3s ease;
  border-radius: 4px;
  padding: 2px;
}

/* Add shadow effect on scroll */
.navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  max-height: 80px;
  width: auto;
}

.nav-link {
  color: #333 !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #e92225 !important;
}

/* Dropdown Menu Styles */
.dropdown-menu {
  margin-top: 10px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  min-width: 220px;
  animation: dropdownFade 0.3s ease;
  border-top: 3px solid #e92225;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  color: #3f6b97;
  padding: 0.7rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.dropdown-item:hover {
  background-color: rgba(233, 34, 37, 0.05);
  color: #e92225;
  padding-left: 2rem;
}

.dropdown-item:active {
  background-color: rgba(233, 34, 37, 0.1);
}

.dropdown-item::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 0;
  height: 2px;
  background-color: #e92225;
  transition: all 0.3s ease;
  transform: translateY(-50%);
}

.dropdown-item:hover::before {
  width: 8px;
}

/* Hide default dropdown arrow */
.dropdown-toggle::after {
  display: none;
}

/* Custom dropdown icon using Font Awesome */
.nav-link.dropdown-toggle i {
  margin-left: 5px;
  transition: transform 0.3s ease;
  font-size: 0.8em;
  vertical-align: middle;
}

/* Rotate icon when dropdown is open */
.dropdown.show .nav-link.dropdown-toggle i {
  transform: rotate(180deg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .dropdown-menu {
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 0;
    background-color: rgba(233, 34, 37, 0.05);
    border-radius: 8px;
  }

  .dropdown-item {
    padding: 0.8rem 2rem;
  }

  .dropdown-item:hover {
    padding-left: 2.5rem;
  }

  .navbar-brand {
    padding: 10px;
  }

  .navbar-logo,
  .navbar-brand img {
    height: 60px; /* Slightly smaller on mobile */
    margin: 5px 0;
  }

  body {
    padding-top: 110px;
  }
}

/* Top Bar Styles */
.top-bar {
  background-color: #f8e6e6;
  font-size: 14px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 12px 0;
  height: auto;
}

.top-bar a {
  color: #070707; /* White text for dark background */
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-bar a:hover {
  color: #e92225;
}

.header-social {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 5px;
}

.header-social a {
  color: #333; /* Dark color for light background */
  text-decoration: none;
  background: rgba(233, 34, 37, 0.1); /* Light red background */
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.header-social a:hover {
  background: #e92225;
  color: #fff; /* White text on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(233, 34, 37, 0.2);
}

.header-social i {
  font-size: 14px;
}

@media (max-width: 768px) {
  .top-bar {
    height: auto;
    padding: 5px 0;
  }

  .navbar {
    top: auto;
  }

  body {
    padding-top: 110px;
  }

  .header-social {
    margin-top: 8px;
    justify-content: center;
  }

  .header-social a {
    width: 28px;
    height: 28px;
  }

  .header-social i {
    font-size: 12px;
  }
}

.cta-section {
  background: linear-gradient(
    to right,
    #ff4b5c,
    #002f6c
  ); /* Gradient background */
  color: white;
  padding: 60px 20px;
  text-align: center;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-section h2 {
  color: white;
}
/* Call to Action Button */
.cta-button {
  background: linear-gradient(45deg, #e92225, #3f6b97);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(233, 34, 37, 0.2);
  color: white;
}

.cta-button i {
  font-size: 1.1em;
}

/* Media Query for Mobile */
@media (max-width: 991.98px) {
  .navbar-nav {
    padding: 1rem 0;
  }

  .nav-item {
    margin: 0.5rem 0;
  }

  .cta-button {
    margin-top: 0.5rem;
    display: inline-flex;
    justify-content: center;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
  z-index: 1;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-item {
  min-height: 300px;
  display: none; /* Hide all items by default */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 60px;
}

.carousel-item.active {
  display: flex; /* Only show active item */
}

/* Add fade transition */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* Ensure proper z-index stacking */
.carousel-inner {
  position: relative;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
}

.carousel-item.active {
  position: relative;
  z-index: 1;
}

.carousel-item h1 {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.carousel-item p {
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  font-size: 1.5rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(
    233,
    34,
    37,
    0.7
  ); /* Red color matching your brand with opacity */
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(233, 34, 37, 0.9);
}

@media (max-width: 768px) {
  .carousel-item h1 {
    font-size: 1.8rem !important;
    padding: 0 15px;
  }

  .carousel-item p {
    font-size: 1rem !important;
    padding: 0 15px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
    margin: 0 10px;
  }
}

/* About Section Styles */
.about-section {
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.about-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.about-image::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid #e92225;
  border-radius: 15px;
  z-index: 1;
}

.about-content {
  padding: 2rem;
}

.about-content h2 {
  color: #3f6b97;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.about-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background: #e92225;
}

.about-content h3 {
  color: #3f6b97;
  font-weight: 600;
}

.about-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-content .btn-primary {
  background: linear-gradient(45deg, #e92225, #3f6b97);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.about-content .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(233, 34, 37, 0.3);
}

@media (max-width: 768px) {
  .about-image {
    margin-bottom: 2rem;
  }

  .about-content {
    padding: 1rem;
  }
}

/* Intro Section */
.intro-section {
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.section-title {
  color: #3f6b97;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-divider {
  width: 80px;
  height: 3px;
  background: #e92225;
  margin: 0 auto;
}

.intro-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  text-align: center;
}

.intro-card:hover {
  transform: translateY(-10px);
}

.intro-icon {
  font-size: 2.5rem;
  color: #e92225;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.intro-card:hover .intro-icon {
  transform: scale(1.1);
}

.intro-card h3 {
  color: #3f6b97;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.intro-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .intro-card {
    margin-bottom: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Statistics Section */
.stats-section {
  background: linear-gradient(
    135deg,
    rgba(233, 34, 37, 0.05),
    rgba(63, 107, 151, 0.05)
  );
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("path/to/pattern.png") repeat;
  opacity: 0.1;
  z-index: 1;
}

.stat-box {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  text-align: center;
  height: 100%;
}

.stat-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(233, 34, 37, 0.15);
}

.stat-icon {
  font-size: 3rem;
  color: #e92225;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.stat-box:hover .stat-icon {
  transform: scale(1.1);
}

.stat-info {
  padding: 1rem 0;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3f6b97;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-text {
  color: #666;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

/* Animation for numbers */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number.animate {
  animation: countUp 0.5s ease forwards;
}

@media (max-width: 768px) {
  .stat-box {
    margin-bottom: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-text {
    font-size: 1rem;
  }
}

/* Services Section */
.services-section {
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #e92225, #3f6b97);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(233, 34, 37, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  color: #3f6b97;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-link {
  color: #e92225;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 1rem;
  color: #3f6b97;
}

.btn-primary {
  background: linear-gradient(45deg, #e92225, #3f6b97);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(233, 34, 37, 0.3);
}

@media (max-width: 768px) {
  .service-card {
    margin-bottom: 1rem;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }
}

/* Page Hero Section */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  margin-top: 60px;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;

  background: rgba(113, 0, 0, 0.25);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

/* About Intro Section */
.about-intro-section {
  padding: 80px 0;
  background: #fff;
}

.intro-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.intro-text {
  padding: 30px;
}

.intro-text h2 {
  color: #333;
  margin-bottom: 25px;
  font-weight: 600;
}

.intro-text h3 {
  color: #e92225;
  margin-top: 30px;
  font-weight: 500;
}

.intro-text p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Vision Mission Values Section */
.vision-mission-values-section {
  background: #f8f9fa;
  padding: 80px 0;
}

.vision-box,
.mission-box,
.core-values-box {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.vision-box:hover,
.mission-box:hover,
.core-values-box:hover {
  transform: translateY(-5px);
}

.vision-heading,
.mission-heading,
.core-values-heading {
  color: #e92225;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1.5rem;
}

.vision-text,
.mission-text {
  color: #666;
  line-height: 1.7;
}

.core-values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.core-values-list li {
  padding: 10px 0;
  color: #666;
  border-bottom: 1px solid #eee;
}

.core-values-list li:last-child {
  border-bottom: none;
}

/* Testimonials Section */
.testimonials-section {
  padding: 50px 0;
}

.carousel-item {
  display: none; /* Hide all items by default */
  text-align: center;
  padding: 20px;
}

.carousel-item.active {
  display: block; /* Show only the active item */
}

.testimonial-card {
  background: linear-gradient(45deg, #e92225, #3f6b97);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 0 auto;
  max-width: 800px;
}

.testimonial-quote i {
  color: #e92225;
  font-size: 24px;
  margin-bottom: 10px;
}

.testimonial-text {
  font-style: italic;
  color: #333;
  margin-bottom: 20px;
  font-size: 18px; /* Adjusted text size */
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e92225;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.author-info {
  text-align: left;
}

.testimonial-author .author-name {
  font-size: 16px !important; /* Force reduced size */
  font-weight: bold;
  margin: 0;
}

.testimonial-author .author-position {
  font-size: 14px !important; /* Force reduced size */
  color: #e9e4e4;
  margin: 0;
}

.author-position:empty::before {
  content: " "; /* Display nothing if position is missing */
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  background: rgba(233, 34, 37, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: #e92225;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 16px; /* Adjusted text size for mobile */
  }
}

/* contact */

.contact-intro-section {
  background: linear-gradient(
    135deg,
    rgba(233, 34, 37, 0.05),
    rgba(63, 107, 151, 0.05)
  );

  padding: 80px 0;
  /* background: #fff; */
}

.contact-link {
  color: #e92225;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}
/* Floating Buttons */
.whatsapp-btn {
  position: fixed;
  right: 20px;
  padding: 12px 24px;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
  transition: all 0.3s ease;
  bottom: 20px;
  background: #25d366;
}

.feedback-btn {
  position: fixed;
  left: 20px; /* Stick to the left */
  top: 80%; /* Center vertically */
  transform: translateY(-50%) rotate(-90deg); /* Rotate text */
  transform-origin: left center; /* Rotate from the left */
  background: #007bff; /* Blue background */
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease-in-out;
  white-space: nowrap; /* Prevents text from wrapping */
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-hero {
    height: 300px;
  }

  .intro-text {
    padding: 20px 0;
  }

  .vision-mission-values-section .col-md-4 {
    margin-bottom: 30px;
  }

  .testimonial {
    padding: 20px;
  }

  .feedback-btn,
  .whatsapp-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.floating-whatsapp i {
  font-size: 2rem;
}

.floating-whatsapp:hover {
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.floating-whatsapp .tooltip {
  position: absolute;
  right: 70px;
  background: #333;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.floating-whatsapp .tooltip::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid #333;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.floating-whatsapp:hover .tooltip {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp i {
    font-size: 1.75rem;
  }
}

.calculator-container {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin: 0 auto;
}
h2 {
  color: #d32f2f;
  margin-bottom: 15px;
}
label,
p {
  font-size: 16px;
  font-weight: bold;
}
input {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}
.calculate-btn {
  background-color: #d32f2f;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  margin-top: 15px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
}
.calculate-btn:hover {
  background-color: #b71c1c;
}
.result {
  background: #fff3f3;
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
  text-align: left;
}
.result table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.result th,
.result td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}
.result th {
  background-color: #d32f2f;
  color: white;
}

/* Services Page Styles */
.page-hero {
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  position: relative;
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

/* Services Overview Section */
.services-overview {
  padding: 80px 0;
}

.section-title {
  color: #e92225;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-divider {
  width: 80px;
  height: 3px;
  background: #e92225;
  margin: 0 auto 30px;
}

/* Service Cards */
.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(233, 34, 37, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon i {
  color: #e92225;
  font-size: 24px;
}

.service-card h3 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-card p {
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  color: #e92225;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.service-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: #c41619;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* Additional Services Section */
.additional-services {
  background-color: #f8f9fa;
  padding: 80px 0;
}

/* Service Features */
.service-feature {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-feature i {
  color: #e92225;
  font-size: 2.5rem;
}

.service-feature h3 {
  color: #333;
  margin: 15px 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.service-feature ul {
  list-style: none;
  padding-left: 0;
}

.service-feature ul li {
  padding: 8px 0;
  color: #666;
  position: relative;
  padding-left: 25px;
}

.service-feature ul li:before {
  content: "✓";
  color: #e92225;
  position: absolute;
  left: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #e92225 0%, #c41619 100%);
  color: #fff;
  padding: 60px 0;
}

.cta-buttons .btn {
  padding: 12px 30px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: #e92225;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .section-title {
    font-size: 2rem;
  }

  .service-card {
    padding: 20px;
  }
}

@media (max-width: 767px) {
  .page-hero {
    padding: 60px 0;
  }

  .services-overview {
    padding: 40px 0;
  }

  .service-card {
    margin-bottom: 20px;
  }

  .cta-section {
    padding: 40px 0;
  }

  .cta-buttons .btn {
    display: block;
    margin: 10px auto;
    width: 100%;
    max-width: 300px;
  }
}

/* Adjust fa-3x class specifically for service cards */
.service-card .fa-3x {
  font-size: 24px !important; /* Override Font Awesome's fa-3x size */
}

/* Animation Styles */
[data-bs-scroll="true"] {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

[data-bs-scroll="true"].animate__fadeIn {
  opacity: 1;
}

.service-card {
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.animate__animated {
  --animate-duration: 0.8s;
  --animate-delay: 0.2s;
}

.animate__delay-1s {
  --animate-delay: 0.2s;
}

.animate__delay-2s {
  --animate-delay: 0.4s;
}

.animate__delay-3s {
  --animate-delay: 0.6s;
}

/* Optional: Add smooth scrolling to the whole page */
html {
  scroll-behavior: smooth;
}

.custom-list li a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.custom-list li a:hover {
  color: #e92225; /* Optional: Change color on hover */
}

.custom-list a,
.text-white {
  text-decoration: none;
}

.custom-list a:hover,
.text-white:hover {
  color: #e92225; /* Optional: Change color on hover */
}

.tax-hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 20px;
  background: linear-gradient(to right, #ffffff, #c62828);
  color: black;
  border-radius: 10px;
  /* margin-bottom: 40px;    */
}
.hero-text {
  flex: 1;
}
.hero-text h1 {
  font-size: 36px;
  font-weight: bold;
}
.hero-text p {
  font-size: 20px;
}
.hero-image {
  width: 550px; /* Increased from 450px */
  height: 550px; /* Increased from 450px */
  border-radius: 50%;
  border: 6px solid red;
  object-fit: cover;
}
.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  background-color: #007bff; /* Blue background */
  color: white; /* White text */
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.back-btn:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

.tax-services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #f8f9fa;
  padding: 80px 0 80px 0;
}
.tax-service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
   
  }
.tax-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 20px;
  width: 48%;
  transition: transform 0.3s, background-color 0.3s;
}
.tax-box:hover {
  /* background-color: #dc3545;
  color: white; */
  transform: scale(1.05);
}
.tax-box h4 {
  font-size: 18px;
  font-weight: bold;
}
.requirements h5 {
  text-align: left;
  font-weight: bold;
}
.requirements ol {
  text-align: left;
  padding-left: 20px;
  list-style-type: lower-roman;
}
.requirements li {
  margin-bottom: 5px;
}
.request-btn {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.request-btn:hover {
  background-color: #b22222;
}

.shadow-custom {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
