* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  
  
  html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100%;
  }
  
  .swiper {
    width: 100%;
    height: 610px; /* Set a fixed height */
    overflow: hidden; /* Prevent extra spaces */
  }
  
  .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images cover the slide */
    display: block;
  }
  
  .home-banner{
    width: 100% !important;
    height: 550px;
    object-fit: cover !important;
  }
  
  .section1, .section2, .section3 {
    padding-top: 0;
    padding-bottom: 0;
  }
  
  
  /* General Section Styling */
  .section1 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  /* Styling for Our Services Heading */
  .section1 h1 {
    font-family: 'Inter', sans-serif; /* Use a clean and modern font */
    line-height: 1.2;
    letter-spacing: 1px;
  }
  
  .section1 p {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: #4a5568; /* Gray 700 */
  }
  
  /* Line Under Heading */
  .section1 .flex span {
    background: linear-gradient(to right, #2563eb, #4f46e5); /* Gradient color */
    transition: all 0.3s ease-in-out;
  }
  
  .section1 .flex span:hover {
    width: 24px; /* Expands the line when hovered */
  }
  
  /* Hover Effect for Cards */
  .section1 .card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  
  .section1 .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  /* Icon Centering */
  .service-icon {
    display: block;
    margin: 0 auto;
  }
  
  .section2 h2, section h3 {
    color: #1a202c;
  }
  
  .section2 ul {
    font-size: 1rem;
    line-height: 1.8;
  }
  
  .bg-blue-50 {
    background-color: #f0f9ff;
  }
  
  .section2 button {
    font-size: 1rem;
    font-weight: bold;
  }
  
  
  .custom-button {
    background-color: #1D4ED8 !important; /* Blue color */
    color: white;
    padding: 12px 24px; /* Adjusted padding for the button */
    border-radius: 8px; /* Rounded corners */
    text-align: center;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transitions for transform and background-color */
  }
  
  .custom-button:hover {
    background-color: #2563EB; /* Darker blue on hover */
    transform: scale(0.95); /* Shrinks the button */
    cursor: pointer;
  }
  
  .stat-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4F85E6; /* Blue color for emphasis */
    transition: transform 0.3s ease;
  }
  
  .stat-item:hover .counter {
    transform: scale(1.1); /* Slightly increase the size on hover */
  }
  
  .text-lg {
    font-size: 1.125rem; /* 18px */
    color: #4A4A4A; /* Subtle gray for text */
  }
  
  
  /* Media Query for Mobile Devices */
  @media (max-width: 768px) {
    
  }
  
  .error-message {
    color: #e3342f; /* Red color */
    font-size: 0.875rem; /* Small text */
    margin-top: 0.25rem;
  }

  /* Extra small devices (phones, <576px) */
@media (max-width: 575.98px) {  
  /* styles for phones */
  .brand-logo span{
    font-size: 15px !important;
  }
}

/* Small devices (landscape phones, ≥576px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* styles for small devices */
  .brand-logo span{
    font-size: 15px !important;
  }
  
  .home-banner {
        height: 300px !important; /* Reduced height for smaller screens */
  }
  
    .swiper-slide .absolute h3 {
        font-size: 1.5rem; /* Adjust font size for mobile */
    }
  
    .swiper-slide .absolute p {
        font-size: 1rem; /* Adjust paragraph size for better fit */
    }
  
    .section1 h1 {
        font-size: 2rem; /* Adjust heading size on smaller screens */
    }
  
    .section1 p {
        font-size: 1rem; /* Adjust paragraph size */
    }
  
    .swiper {
        height: auto /* Set a fixed height */
    }
}

/* Medium devices (tablets, ≥768px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* styles for tablets */
  .brand-logo span{
    font-size: 10px !important;
  }
}

/* Large devices (desktops, ≥992px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  
}

/* Extra large devices (large desktops, ≥1200px) */
@media (min-width: 1200px) {
  /* styles for large screens */
  
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .brand-logo span{
    font-size: 10px !important;
  }
  
  .mynav a{
    font-size: 12px;
  }

  .myservice button{
    font-size: 12px;
  }

  .myservice .py-2{
     padding-top: 2px !important;
     padding-bottom: 2px !important;
  }

  .mynav .h-16{
    height: 8vh !important
  }
}