/* Reset body margin, padding, and apply background color */
body:not(footer) {
  margin: 0;
  padding: 2rem;
  background-color: #f2f2f2; /* Light gray background */
}

/* Navbar styles */
.navbar {
  background-color: #005baa; /* White navbar */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  padding: 2rem 2rem; /* Adjust padding for a cleaner look */
  border-radius: 0px 0px 70px 70px;
}

/* Common styles for company name and navbar */
.navbar-brand {
  font-size: 2rem;
  line-height: 1.5;
}
.logo {
  width: 160px;
  height: 160px;
}

.navbar-brand .fw-bold {
  color: #333;
}

.nav-link {
  color: #fff;
  margin-right: 1.5rem;
}

/* CSS for active navbar link */
.nav-link.active {
  color: red;
  font-weight: bold;
}

.nav-link:hover {
  font-weight: bolder;
}
.introduction-text {
  font-size: 1.5rem; /* Adjust font size as needed */
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflowing text */
  text-overflow: ellipsis; /* Show ellipsis for overflow */
}
#intro-2 {
  font-size: 1.5rem; /* Adjust font size as needed */
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflowing text */
  text-overflow: ellipsis; /* Show ellipsis for overflow */
}
.home-text {
  font-size: 19px;
}

.department-title {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: transform 0.3s ease;
  font-size: 22px;
}

/* CSS for hover effect */
.department-title:hover {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  cursor: pointer;
}

/* Styles for number circle */
.number-circle {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  background-color: #007bff; /* Change color as needed */
  color: #fff;
  font-size: 25px;
}

/* Additional CSS for service cards */
.service-card {
  border: 1px solid #ced4da; /* Border color */
  border-radius: 10px; /* Border radius */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Box shadow */
  cursor: pointer; /* Cursor indicator */
  padding-top: 15px; /* Padding above the number */
  height: 100%; /* Ensures all cards have the same height */
}

.service-card:hover {
  transform: translateY(-5px); /* Add a slight lift effect on hover */
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Ensure uniform height for all service cards */
.service-card .number-circle {
  display: inline-block;
  width: 40px; /* Width of the circle */
  height: 40px; /* Height of the circle */
  border-radius: 50%; /* Make it a circle */
  background-color: #007bff; /* Background color of the circle */
  color: #fff; /* Text color */
  line-height: 40px; /* Center the text vertically */
  font-size: 18px; /* Font size of the number */
}

/* Adjust text alignment in service card */
.service-card .text-center {
  margin-bottom: 10px; /* Add margin to bottom */
}
.card-body.bg-danger.text-white.text-center h1.card-title {
  overflow-wrap: break-word; /* Allow wrapping without splitting words */
  /* Prevent the text from wrapping */
}
/* Additional CSS for card hover effect */
.custom-card:hover {
  cursor: pointer;
  transform: translateY(-5px); /* Add lift effect */
}

/* Additional styles for sections */
#home {
  margin-top: 200px;
}

#contact .card:hover i,
#contact .card:hover h4 {
  color: #87d37c; /* Change color on hover */
}

/* Link styles */
.card-link {
  text-decoration: none;
  color: inherit; /* Keeps the default color */
}

.card-link:hover {
  text-decoration: none;
}

/* CSS for how-we-provide section */
#how-we-provide {
  padding: 40px 0; /* Adjust padding as needed */
}

.custom-card .card-body {
  height: 100%; /* Ensures the card body fills the entire height */
}

/* Ensure uniform height for all custom cards */
.custom-card {
  height: 100%;
}

/* Ensure consistency in font size for different screen sizes */
.custom-card .card-title {
  font-size: 1.9rem; /* Adjust font size as needed */
}

.custom-card .card-text {
  font-size: 1.1rem; /* Adjust font size as needed */
}
footer {
  background-color: #005baa; /* Background color */
  box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  padding: 2rem; /* Padding for the content inside the footer */
  border-radius: 70px 70px 0 0; /* Adjust border radius */
}
@media (max-width: 1400px) {
  .custom-card .card-title {
    font-size: 1.5rem; /* Further adjust font size for smaller screens */
  }

  .custom-card .card-text {
    font-size: 1.1rem; /* Further adjust font size for smaller screens */
  }
}

/* Media queries for responsiveness */
@media (max-width: 992px) {
  .navbar-brand {
    font-size: 1.5rem; /* Adjust font size for smaller screens */
    line-height: 1.3; /* Adjust line height for smaller screens */
  }
  .navbar-brand img {
    width: 100px;
    height: 100px;
  }

  .navbar-brand .fw-bold {
    font-size: 1.2rem; /* Adjust font size for smaller screens */
  }

  .nav-link {
    font-size: 0.9rem; /* Adjust font size for smaller screens */
  }
  #home {
    margin-top: 130px;
  }
  .introduction-text {
    font-size: 20px; /* Further adjust font size for even smaller screens */
  }
  #intro-2 {
    font-size: 25px;
  }
  .department-title {
    font-size: 19px;
  }
  .custom-card .card-title {
    font-size: 1rem; /* Adjust font size for smaller screens */
  }

  .custom-card .card-text {
    font-size: 0.9rem; /* Adjust font size for smaller screens */
  }
}

@media (max-width: 768px) {
  .custom-card .card-title {
    font-size: 0.9rem; /* Further adjust font size for smaller screens */
  }

  .custom-card .card-text {
    font-size: 0.8rem; /* Further adjust font size for smaller screens */
  }
  .department-title {
    font-size: 17px;
  }
  #intro-2 {
    font-size: 25px;
  }
}

/* Media query for screen sizes around 772px */

@media (max-width: 600px) {
  .navbar-brand {
    font-size: 1.2rem; /* Further adjust font size for even smaller screens */
    line-height: 1.2; /* Further adjust line height for even smaller screens */
  }

  .navbar-brand img {
    width: 80px;
    height: 80px;
  }
  .nav-link {
    font-size: 0.8rem; /* Further adjust font size for even smaller screens */
  }
  #home {
    margin-top: 120px;
  }
  .introduction-text {
    font-size: 15px; /* Adjust font size for smaller screens */
  }
  #intro-2 {
    font-size: 20px;
  }
  .custom-card .card-title {
    font-size: 1rem; /* Further adjust font size for even smaller screens */
  }

  .custom-card .card-text {
    font-size: 0.9rem; /* Further adjust font size for even smaller screens */
  }
  .department-title {
    font-size: 15px;
  }
}
