/* Responsive Styles */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {

  .toolbar {
    background-color: #2b4591;
    color: #fff;
    padding: 12px 0; /* Slightly increased padding for larger screens */
    font-size: 15px; /* Slightly larger font size */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
  }
  
  .container {
    max-width: 1400px; /* Increased max-width for larger screens */
    margin: 0 auto;
    padding: 0 3rem; /* Increased padding */
  }
  
  .small_container {
    max-width: 1300px; /* Increased max-width for larger screens */
    margin: 0 auto;
    padding: 0 3rem; /* Increased padding */
  }
  
  .toolbar__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .toolbar__contact {
    display: flex;
    gap: 30px; /* Increased gap for better spacing */
  }
  
  .toolbar__contact-item {
    display: flex;
    align-items: center;
    gap: 10px; /* Increased gap */
  }
  
  .toolbar__contact-item i {
    font-size: 16px; /* Larger icon size */
    color: #f4f2ef;
  }
  
  .toolbar__social {
    display: flex;
    gap: 18px; /* Increased gap */
  }
  
  .toolbar__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; /* Larger social icons */
    height: 34px; /* Larger social icons */
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
  }
  
  .toolbar__social-link i {
    font-size: 16px; /* Larger icon size */
  }
  
  .toolbar__social-link:hover {
    background-color: #e18452;
    color: #1a1a1a;
    transform: translateY(-3px); /* Slightly more pronounced hover effect */
  }
  
  /* Social icon hover colors */
  .toolbar__social-link:hover .fa-facebook-f,
  .toolbar__social-link:hover .fa-instagram,
  .toolbar__social-link:hover .fa-linkedin-in,
  .toolbar__social-link:hover .fa-youtube {
    color: #1a1a1a;
  }
  
  .header {
    position: fixed;
    top: 45px; /* Slightly increased height for the larger toolbar */
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08); /* Slightly enhanced shadow */
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .header_wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1.8rem 0; /* Increased padding for larger screens */
    position: relative;
  }
  
  /* Logo styling */
  .logo_img {
    width: 95px; /* Larger logo for larger screens */
    height: 95px; /* Larger logo for larger screens */
    border-radius: 50%;
    overflow: hidden;
    margin-left: 0;
    margin-right: 2rem; /* Increased margin */
    flex-shrink: 0;
  }
  
  .logo_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .logo_img img:hover {
    transform: scale(1.05);
  }
  
  .header_wrapper h1 {
    font-size: 2.5rem; /* Larger font size for larger screens */
    font-weight: 700;
    color: var(--primary-color, #2b4591);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 0;
    margin: 0;
    position: absolute;
    left: calc(95px + 2rem + 1rem); /* Adjusted for larger logo and margin */
    top: 50%;
    transform: translateY(-50%);
    max-width: calc(100% - 95px - 2rem - 1rem - 350px); /* Adjusted for larger screens */
  }
  
  .header_nav {
    display: flex;
    align-items: center;
    margin-left: auto;
  }
  
  .header_menu {
    display: flex;
    align-items: center;
    gap: 3rem; /* Increased gap between menu items */
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .header_menu-item {
    position: relative;
  }
  
  .header_menu-link {
    font-size: 1.7rem; /* Larger font size for menu items */
    font-weight: 500;
    color: var(--dark-color, #1a1a1a);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.6rem 0; /* Slightly increased padding */
    position: relative;
  }
  
  .header_menu-link:hover {
    color: var(--accent-color, #e18452);
  }
  
  .header_menu-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color, #e18452);
    transition: all 0.3s ease;
  }
  
  .header_menu-link:hover::after {
    width: 100%;
  }
  
  /* Hamburger menu remains hidden on large screens */
  .header_hamburger {
    display: none;
  }
  
  /* Active link styling */
  .header_menu-link.active {
    color: var(--accent-color, #e18452);
  }
  
  .header_menu-link.active::after {
    width: 100%;
  }
  
   /* Hero Section */
   .hero__title {
    font-size: 4.8rem;
  }
  
  .hero__subtitle {
    font-size: 2rem;
  }
  
  .hero .btn {
    padding: 1.6rem 3.2rem;
    font-size: 1.8rem;
  }
  
  /* Services Section */
  .services {
    padding: 8rem 0;
  }
  
  .section-header {
    margin-bottom: 5rem;
  }
  
  .section-title {
    font-size: 3.6rem;
  }
  
  .section-subtitle {
    font-size: 1.8rem;
  }
  
  .services__grid {
    gap: 3.2rem;
  }
  
  .service-card__image {
    height: 25rem;
  }
  
  .service-card__content {
    padding: 2.4rem;
  }
  
  .service-card__title {
    font-size: 2.4rem;
  }
  
  /* About Section */
  .about {
    padding: 8rem 0;
  }
  
  .section-title {
    font-size: 3.6rem;
  }
  
  .section-subtitle {
    font-size: 1.8rem;
    margin-bottom: 6rem;
  }
  
  .about__wrapper {
    gap: 4.8rem;
  }
  
  .about__content {
    padding-right: 2.4rem;
  }
  
  .about__text {
    font-size: 1.8rem;
    margin-bottom: 2.4rem;
  }
  
  .about__image {
    min-height: 40rem;
  }
  
  .about__image::after {
    top: 1.6rem;
    right: -1.6rem;
  }
  
  /* Staff Section */
  .staff-section {
    padding: 60px 0;
  }
  
  .container {
    max-width: 1200px;
  }
  
  .staff-intro {
    max-width: 800px;
    margin-bottom: 50px;
  }
  
  .staff-intro h2 {
    font-size: 36px;
  }
  
  .staff-intro p {
    font-size: 1.8rem;
  }
  
  .staff-stats {
    gap: 70px;
  }
  
  .stat-card {
    width: 220px;
    height: 220px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-title {
    font-size: 1.6rem;
  }
  
  /* Testimonials */
  .testimonials__slider {
    max-width: 76.8rem;
  }
  
  .testimonials__container {
    height: 30rem;
  }
  
  .testimonial-card {
    padding: 3.2rem;
  }
  
  .testimonial-card__content p {
    font-size: 1.8rem;
    padding: 0 2.4rem;
  }
  
  .testimonial-card__content p::before,
  .testimonial-card__content p::after {
    font-size: 4.8rem;
  }
  
  .testimonial-card__author h4 {
    font-size: 1.8rem;
  }
  
  /* Emergency Cards */
  .emergency-card-content {
    padding: 17px;
  }

  /* .emergency-card {
  min-width: calc(33.333% - 30px);
  flex: 0 0 calc(33.333% - 30px);
  margin: 0 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 280px; /* Fixed height for rectangular shape }*/
 
  
  #banner3 {
    height: 250px;
    width: 420px;
  }
  
  #banner4 {
    height: 218px;
    width: 402px;
    top: 12px;
    margin-left: 12px;
  }
  
  /* Contact Section */
  .contact {
    padding: 8rem 0;
  }
  
  .contact__wrapper {
    gap: 4.8rem;
  }
  
  .contact__info {
    padding: 3.2rem;
  }
  
  .contact__info-item h3 {
    font-size: 1.8rem;
  }
  
  .contact__info-item p {
    font-size: 1.6rem;
  }
  
  .contact__form-container {
    padding: 3.2rem;
  }
  
  /* Map Section */
  .map-section {
    padding: 60px 0;
  }
  
  .map-container {
    margin-top: 30px;
  }
  
  .map-container iframe {
    height: 450px;
  }
  
  /* Footer */
  .footer {
    padding: 40px 0;
  }
  
  .footer-container {
    max-width: 1200px;
  }
  
  .footer-section {
    min-width: 250px;
    padding: 0 15px;
  }
  
  .footer-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .footer-title::after {
    width: 50px;
  }
  
  .social-icon {
    width: 36px;
    height: 36px;
  }
}

/* Desktops and Laptops (992px to 1199px) */
@media (max-width: 1199px) {

  .toolbar {
    background-color: #2b4591;
    color: #fff;
    padding: 10px 0; /* Standard padding */
    font-size: 14px; /* Standard font size */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
  }
  
  .container {
    max-width: 1000px; /* Reduced max-width for medium screens */
    margin: 0 auto;
    padding: 0 2rem; /* Standard padding */
  }
  
  .small_container {
    max-width: 900px; /* Reduced max-width for medium screens */
    margin: 0 auto;
    padding: 0 2rem; /* Standard padding */
  }
  
  .toolbar__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .toolbar__contact {
    display: flex;
    gap: 20px; /* Standard gap */
  }
  
  .toolbar__contact-item {
    display: flex;
    align-items: center;
    gap: 8px; /* Standard gap */
  }
  
  .toolbar__contact-item i {
    font-size: 14px; /* Standard icon size */
    color: #f4f2ef;
  }
  
  .toolbar__social {
    display: flex;
    gap: 12px; /* Slightly reduced gap */
  }
  
  .toolbar__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; /* Slightly smaller social icons */
    height: 28px; /* Slightly smaller social icons */
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
  }
  
  .toolbar__social-link i {
    font-size: 14px; /* Standard icon size */
  }
  
  .toolbar__social-link:hover {
    background-color: #e18452;
    color: #1a1a1a;
    transform: translateY(-2px); /* Standard hover effect */
  }
  
  /* Social icon hover colors */
  .toolbar__social-link:hover .fa-facebook-f,
  .toolbar__social-link:hover .fa-instagram,
  .toolbar__social-link:hover .fa-linkedin-in,
  .toolbar__social-link:hover .fa-youtube {
    color: #1a1a1a;
  }

  .header {
    position: fixed;
    top: 40px; /* Standard height for the toolbar */
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Standard shadow */
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .header_wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1.4rem 0; /* Slightly reduced padding for medium screens */
    position: relative;
  }
  
  /* Logo styling */
  .logo_img {
    width: 75px; /* Slightly smaller logo for medium screens */
    height: 75px; /* Slightly smaller logo for medium screens */
    border-radius: 50%;
    overflow: hidden;
    margin-left: 0;
    margin-right: 1.2rem; /* Slightly reduced margin */
    flex-shrink: 0;
  }
  
  .logo_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .logo_img img:hover {
    transform: scale(1.05);
  }
  
  .header_wrapper h1 {
    font-size: 2rem; /* Slightly smaller font size for medium screens */
    font-weight: 700;
    color: var(--primary-color, #2b4591);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 0;
    margin: 0;
    position: absolute;
    left: calc(75px + 1.2rem + 0.8rem); /* Adjusted for smaller logo and margin */
    top: 50%;
    transform: translateY(-50%);
    max-width: calc(100% - 75px - 1.2rem - 0.8rem - 280px); /* Adjusted for medium screens */
  }
  
  .header_nav {
    display: flex;
    align-items: center;
    margin-left: auto;
  }
  
  .header_menu {
    display: flex;
    align-items: center;
    gap: 1.8rem; /* Reduced gap between menu items */
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .header_menu-item {
    position: relative;
  }
  
  .header_menu-link {
    font-size: 1.5rem; /* Slightly smaller font size for menu items */
    font-weight: 500;
    color: var(--dark-color, #1a1a1a);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.4rem 0; /* Slightly reduced padding */
    position: relative;
  }
  
  .header_menu-link:hover {
    color: var(--accent-color, #e18452);
  }
  
  .header_menu-link::after {
    content: "";
    position: absolute;
    bottom: -4px; /* Slightly reduced */
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color, #e18452);
    transition: all 0.3s ease;
  }
  
  .header_menu-link:hover::after {
    width: 100%;
  }
  
  /* Hamburger menu still hidden on medium screens but will appear on smaller screens */
  .header_hamburger {
    display: none;
  }
  
  /* Active link styling */
  .header_menu-link.active {
    color: var(--accent-color, #e18452);
  }
  
  .header_menu-link.active::after {
    width: 100%;
  }

  .hero__title {
    font-size: 4.2rem;
  }
  
  .hero__subtitle {
    font-size: 1.8rem;
  }
  
  .hero .btn {
    padding: 1.4rem 2.8rem;
    font-size: 1.7rem;
  }

  .services {
    padding: 7rem 0;
  }
  
  .section-header {
    margin-bottom: 4.5rem;
  }
  
  .section-title {
    font-size: 3.4rem;
  }
  
  .section-subtitle {
    font-size: 1.7rem;
  }
  
  .services__grid {
    gap: 2.8rem;
  }
  
  .service-card__image {
    height: 22rem;
  }
  
  .service-card__content {
    padding: 2.2rem;
  }
  
  .service-card__title {
    font-size: 2.2rem;
  }

  .about {
    padding: 7rem 0;
  }
  
  .section-title {
    font-size: 3.4rem;
  }
  
  .section-subtitle {
    font-size: 1.7rem;
    margin-bottom: 5rem;
  }
  
  .about__wrapper {
    gap: 4rem;
  }
  
  .about__content {
    padding-right: 2rem;
  }
  
  .about__text {
    font-size: 1.7rem;
    margin-bottom: 2.2rem;
  }
  
  .about__image {
    min-height: 38rem;
  }
  
  .about__image::after {
    top: 1.4rem;
    right: -1.4rem;
  }

  .staff-section {
    padding: 50px 0;
  }
  
  .container {
    max-width: 960px;
  }
  
  .staff-intro {
    max-width: 700px;
    margin-bottom: 40px;
  }
  
  .staff-intro h2 {
    font-size: 32px;
  }
  
  .staff-intro p {
    font-size: 1.7rem;
  }
  
  .staff-stats {
    gap: 50px;
  }
  
  .stat-card {
    width: 200px;
    height: 200px;
  }
  
  .stat-number {
    font-size: 2.3rem;
  }
  
  .stat-title {
    font-size: 1.5rem;
  }
  
  .testimonials__slider {
    max-width: 70rem;
  }
  
  .testimonials__container {
    height: 28rem;
  }
  
  .testimonial-card {
    padding: 2.8rem;
  }
  
  .testimonial-card__content p {
    font-size: 1.7rem;
    padding: 0 2.2rem;
  }
  
  .testimonial-card__content p::before,
  .testimonial-card__content p::after {
    font-size: 4.4rem;
  }
  
  .testimonial-card__author h4 {
    font-size: 1.7rem;
  }

  .emergency-card-content {
    padding: 7px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .emergency-card {
  min-width: calc(33.333% - 30px);
  flex: 0 0 calc(33.333% - 30px);
  margin: 0 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 280px; /* Fixed height for rectangular shape */
}

  #banner3 {
    height: 212px;
    width: 348px;
  }

  #banner4 {
    height: 193px;
    width: 320px;
    max-width: none;
    max-height: none;
    position: relative;
    top: 9px;
    margin-left: 1.5rem;
  }

  .contact {
    padding: 5rem 0;
  }
  
  .contact__wrapper {
    gap: 3.6rem;
  }
  
  .contact__info {
    padding: 2.8rem;
  }
  
  .contact__info-item h3 {
    font-size: 1.7rem;
  }
  
  .contact__info-item p {
    font-size: 1.5rem;
  }
  
  .contact__form-container {
    padding: 2.8rem;
  }

  .map-section {
    padding: 50px 0;
  }
  
  .map-container {
    margin-top: 25px;
  }
  
  .map-container iframe {
    height: 420px;
  }

  .footer {
    padding: 35px 0;
  }
  
  .footer-section {
    min-width: 220px;
    padding: 0 12px;
  }
  
  .footer-title {
    font-size: 18px;
    margin-bottom: 18px;
  }
  
  .footer-title::after {
    width: 45px;
  }
  
  .social-icon {
    width: 34px;
    height: 34px;
  }

}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
    .toolbar {
    background-color: #2b4591;
    color: #fff;
    padding: 10px 0; /* Standard padding */
    font-size: 13px; /* Reduced font size */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
  }

  .container {
    max-width: 1000px; /* Reduced max-width for medium screens */
    margin: 0 auto;
    padding: 0 2rem; /* Standard padding */
  }

  .small_container {
    max-width: 900px; /* Reduced max-width for medium screens */
    margin: 0 auto;
    padding: 0 2rem; /* Standard padding */
  }

  .toolbar__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .toolbar__contact {
    display: flex;
    gap: 20px; /* Standard gap */
  }

  .toolbar__contact-item {
    display: flex;
    align-items: center;
    gap: 8px; /* Standard gap */
  }

  .toolbar__contact-item i {
    font-size: 13px; /* Reduced icon size */
    color: #f4f2ef;
  }

  .toolbar__social {
    display: flex;
    gap: 12px; /* Slightly reduced gap */
  }

  .toolbar__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; /* Slightly smaller social icons */
    height: 28px; /* Slightly smaller social icons */
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
  }

  .toolbar__social-link i {
    font-size: 13px; /* Reduced icon size */
  }

  .toolbar__social-link:hover {
    background-color: #e18452;
    color: #1a1a1a;
    transform: translateY(-2px); /* Standard hover effect */
  }

  /* Social icon hover colors */
  .toolbar__social-link:hover .fa-facebook-f,
  .toolbar__social-link:hover .fa-instagram,
  .toolbar__social-link:hover .fa-linkedin-in,
  .toolbar__social-link:hover .fa-youtube {
    color: #1a1a1a;
  }

  .header_wrapper h1 {
    font-size: 1.8rem;
    max-width: calc(100% - 85px - 1.5rem - 1rem - 50px);
  }
  
  .header_menu {
    gap: 1.6rem;
  }
  
  .header_menu-link {
    font-size: 1.4rem;
  }

  .hero {
    padding-top: calc(
      30px + 65px + 2.8rem
    ); /* Adjusted for smaller toolbar + header */
    min-height: 65rem;
    height: 60vh;
  }
  
  .hero__content {
    max-width: 70rem;
    padding: 2rem;
  }
  
  .hero__title {
    font-size: 3.6rem;
    margin-bottom: 1.4rem;
  }
  
  .hero__subtitle {
    font-size: 1.7rem;
    margin-bottom: 2.8rem;
  }
  
  .hero .btn {
    padding: 1.3rem 2.6rem;
    font-size: 1.6rem;
  }

  .services {
    padding: 6rem 0;
  }
  
  .section-header {
    margin-bottom: 4rem;
  }
  
  .section-title {
    font-size: 3.2rem;
  }
  
  .section-title::after {
    width: 7rem;
  }
  
  .section-subtitle {
    font-size: 1.6rem;
    max-width: 55rem;
  }
  
  .services__grid {
    gap: 2.4rem;
  }
  
  .service-card__image {
    height: 20rem;
  }
  
  .service-card__content {
    padding: 2rem;
  }
  
  .service-card__title {
    font-size: 2rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1rem;
  }
  
  .service-card__title::after {
    width: 5.6rem;
  }
  
  .service-card__list li {
    font-size: 1.5rem;
    padding-left: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .service-card__list li::before {
    width: 1.1rem;
    height: 1.1rem;
  }
  
  .btn {
    padding: 1.1rem 2.2rem;
    font-size: 1.5rem;
  }

  .about {
    padding: 6rem 0;
  }
  
  .section-title {
    font-size: 3.2rem;
    margin-bottom: 1.3rem;
  }
  
  .section-title::after {
    width: 7rem;
  }
  
  .section-header {
    margin-bottom: 3.5rem;
  }
  
  .section-subtitle {
    font-size: 1.6rem;
    margin-bottom: 4rem;
  }
  
  .about__wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  
  .about__content {
    padding-right: 1.5rem;
  }
  
  .about__text {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }
  
  .about__image {
    min-height: 35rem;
  }
  
  .about__image::after {
    top: 1.2rem;
    right: -1.2rem;
    border-width: 2.5px;
  }

  .staff-section {
    padding: 45px 0;
  }
  
  .container {
    max-width: 720px;
  }
  
  .staff-intro {
    max-width: 600px;
    margin-bottom: 35px;
  }
  
  .staff-intro h2 {
    font-size: 30px;
  }
  
  .staff-intro h2::after {
    width: 70px;
  }
  
  .staff-intro p {
    font-size: 1.6rem;
  }
  
  .staff-stats {
    gap: 40px;
    margin-top: 30px;
  }
  
  .stat-card {
    width: 180px;
    height: 180px;
  }
  
  .stat-number {
    font-size: 2.1rem;
    margin-bottom: 8px;
  }
  
  .stat-title {
    font-size: 1.4rem;
  }

  .testimonials__slider {
    max-width: 65rem;
  }
  
  .testimonials__container {
    height: 30rem; /* Slightly increase height for better text flow */
  }
  
  .testimonial-card {
    padding: 2.5rem;
  }
  
  .testimonial-card__content p {
    font-size: 1.6rem;
    padding: 0 2rem;
    line-height: 1.5;
  }
  
  .testimonial-card__content p::before,
  .testimonial-card__content p::after {
    font-size: 4rem;
  }
  
  .testimonial-card__content p::before {
    top: -1.8rem;
  }
  
  .testimonial-card__content p::after {
    bottom: -3.6rem;
  }
  
  .testimonial-card__author {
    margin-top: 2rem;
  }
  
  .testimonial-card__author h4 {
    font-size: 1.6rem;
  }
  
  .testimonial-card__author p {
    font-size: 1.3rem;
  }
  
  .testimonials__navigation {
    margin-top: 2.8rem;
  }
  
  .testimonials__btn {
    font-size: 2.2rem;
  }
  
  .testimonials__dot {
    width: 1.1rem;
    height: 1.1rem;
  }

  .emergency-card {
  min-width: calc(33.333% - 30px);
  flex: 0 0 calc(33.333% - 30px);
  margin: 0 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 280px; /* Fixed height for rectangular shape */
}


  #banner1, #banner2, #banner3, #banner4 {
    height: 150px;
    width: 250px;
  }

  #banner3 {
    margin-top: 3rem;
    margin-left: 1rem;
  }

  #banner4 {
    margin-bottom: 3rem;
    margin-left: 1.5rem;
  }

  .contact {
    padding: 4.5rem 0;
  }
  
  .contact__wrapper {
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
  }
  
  .contact__info {
    padding: 2.4rem;
  }
  
  .contact__info-item {
    margin-bottom: 2rem;
  }
  
  .contact__info-item h3 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
  }
  
  .contact__info-item p {
    font-size: 1.4rem;
  }
  
  .contact__form-container {
    padding: 2.4rem;
  }
  
  .contact__form {
    gap: 1.6rem;
  }
  
  .contact__form .btn {
    margin-top: 1.4rem;
  }

  .map-section {
    padding: 45px 0;
  }
  
  .map-container {
    margin-top: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  
  .map-container iframe {
    height: 380px;
  }

  .floating-buttons {
    bottom: 15px;
    right: 15px;
    gap: 12px;
  }
  
  .floating-btn {
    width: 55px;
    height: 55px;
  }
  
  .floating-btn i {
    font-size: 22px;
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7);
    }
    70% {
      box-shadow: 0 0 0 12px rgba(255, 87, 34, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
  }
  
  @keyframes pulse-whatsapp {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
      box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
  }
  
  .carousel-container {
    padding: 18px 0;
  }
  
  .carousel-track img {
    height: 55px;
    margin-right: 12px;
  }
  .footer-container {
    grid-template-columns: repeat(4, 1fr);
    padding: 0 2rem;
  }
  
  .footer-section {
    padding: 0 1rem;
  }
  
  .footer-title {
    font-size: 1.25rem;
  }
  
  .social-icon {
    width: 2.75rem;
    height: 2.75rem;
  }

}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {

  .header {
    top: 30px;
  }
  
  .header_wrapper {
    padding: 1.6rem 0; /* Increased padding to move content down */
    margin-top: 0.5rem; /* Added margin-top to push wrapper down */
    display: flex;
    align-items: center; /* Ensure vertical alignment */
  }
  
  .logo_img {
    width: 65px;
    height: 65px;
    display: flex; /* Ensure the logo container is flex */
    align-items: center; /* Vertically center the logo image */
    justify-content: center; /* Horizontally center the logo image */
  }
  
  .header_wrapper h1 {
    font-size: 1.6rem;
    left: calc(65px + 1.5rem + 0.5rem);
    max-width: calc(100% - 65px - 1.5rem - 0.5rem - 50px);
    top: 50%; /* Ensure vertical centering */
    transform: translateY(-50%); /* Perfect vertical centering */
  }
  
  .header_nav {
    display: flex;
    align-items: center; /* Vertically center nav elements */
    margin-left: auto; /* Push to right */
  }
  
  .header_hamburger {
    display: flex;
    align-items: center; /* Vertically center hamburger */
    justify-content: space-between;
    height: 21px;
  }
  
  .header_menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 2rem 2rem;
    gap: 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .header_menu.active {
    right: 0;
  }
  
  .header_menu-item {
    width: 100%;
    display: flex; /* Ensure flex for menu items */
    align-items: center; /* Vertically center menu items */
  }
  
  .header_menu-link {
    display: block;
    width: 100%;
    padding: 1rem 0;
    font-size: 1.6rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .hero {
    padding-top: calc(
      25px + 55px + 2.4rem
    ); /* Adjusted for smaller toolbar + header */
    min-height: 50rem;
    height: 60vh;
    min-height: 40rem;
  }
  
  .hero__content {
    max-width: 100%;
    padding: 1.8rem;
  }
  
  .hero__title {
    font-size: 3.2rem;
    margin-bottom: 1.3rem;
    line-height: 1.2;
  }
  
  .hero__subtitle {
    font-size: 1.6rem;
    margin-bottom: 2.6rem;
    line-height: 1.4;
  }
  
  .hero .btn {
    padding: 1.2rem 2.4rem;
    font-size: 1.5rem;
  }

  .services {
    padding: 5rem 0;
  }
  
  .section-header {
    margin-bottom: 3.5rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .section-title::after {
    width: 6rem;
    height: 2.5px;
  }
  
  .section-subtitle {
    font-size: 1.5rem;
    max-width: 50rem;
  }
  
  .services__grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  .service-card__image {
    height: 22rem;
  }

  .about {
    padding: 5rem 0;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
  }
  
  .section-title::after {
    width: 6rem;
    height: 2px;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .section-subtitle {
    font-size: 1.6rem;
    margin-bottom: 3rem;
  }
  
  .about__wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about__content {
    padding-right: 0;
    order: 2; /* Places content below the image */
    margin-top: 1rem;
  }
  
  .about__text {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }
  
  .about__image {
    min-height: 30rem;
    order: 1; /* Places image above the content */
  }
  
  .about__image::after {
    top: 1rem;
    right: -1rem;
    border-width: 2px;
  }

  .staff-section {
    padding: 40px 0;
  }
  
  .container {
    max-width: 540px;
  }
  
  .staff-intro {
    max-width: 500px;
    margin-bottom: 30px;
  }
  
  .staff-intro h2 {
    font-size: 28px;
    margin-bottom: 18px;
  }
  
  .staff-intro h2::after {
    width: 60px;
    height: 2.5px;
  }
  
  .staff-intro p {
    font-size: 1.5rem;
  }
  
  .staff-stats {
    gap: 30px;
    margin-top: 25px;
    /* Change to grid for better mobile layout */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }
  
  .stat-card {
    width: 160px;
    height: 160px;
    margin-bottom: 10px;
  }
  
  .stat-card:hover {
    transform: translateY(-5px);
  }
  
  .stat-number {
    font-size: 2rem;
    margin-bottom: 6px;
  }
  
  .stat-title {
    font-size: 1.3rem;
  }

  .testimonials__slider {
    max-width: 54rem;
  }
  
  .testimonials__container {
    height: 32rem; /* Increase height for better text flow on narrower screens */
  }
  
  .testimonial-card {
    padding: 2.2rem;
  }
  
  .testimonial-card__content p {
    font-size: 1.5rem;
    padding: 0 1.8rem;
  }
  
  .testimonial-card__content p::before,
  .testimonial-card__content p::after {
    font-size: 3.6rem;
  }
  
  .testimonial-card__content p::before {
    top: -1.6rem;
  }
  
  .testimonial-card__content p::after {
    bottom: -3.2rem;
  }
  
  .testimonial-card__author {
    margin-top: 1.8rem;
  }
  
  .testimonial-card__author h4 {
    font-size: 1.5rem;
  }
  
  .testimonial-card__author p {
    font-size: 1.2rem;
  }
  
  .testimonials__navigation {
    margin-top: 2.4rem;
  }
  
  .testimonials__btn {
    font-size: 2rem;
    padding: 0.6rem;
  }
  
  .testimonials__dots {
    gap: 0.7rem;
    margin: 0 1.4rem;
  }
  
  .testimonials__dot {
    width: 1rem;
    height: 1rem;
  }

   .emergency-services {
    padding: 40px 0;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .section-title {
    font-size: 28px;
    margin-bottom: 12px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  .emergency-carousel-container {
    padding: 0 20px;
    margin-top: 20px;
  }
  
  .emergency-card {
    min-width: calc(100% - 20px);
    flex: 0 0 calc(100% - 20px);
    height: 320px;
  }
  
  .emergency-card:hover {
    transform: translateY(-5px);
  }
  
  .emergency-card-top {
    margin-bottom: 30px;
  }
  
  .number {
    width: 40px;
    height: 40px;
    font-size: 16px;
    left: 20px;
    border-width: 2px;
  }
  
  .shape {
    height: 25px;
  }
  
  .emergency-card-content {
    padding: 18px;
  }
  
  .icon {
    height: 60px;
    margin-bottom: 12px;
  }
  
  .card-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .text {
    font-size: 13px;
    margin-bottom: 12px;
  }
  
  .link-btn {
    font-size: 14px;
  }
  
  .emergency-carousel-arrows {
    margin-top: 30px;
    gap: 12px;
  }
  
  .emergency-prev-btn,
  .emergency-next-btn {
    width: 38px;
    height: 38px;
    font-size: 15px;
    border-width: 1.5px;
  }

  #banner1, #banner2, #banner3, #banner4 {
    width: 700px;
    height: 216px;
    object-fit: contain
  }

  .contact {
    padding: 4rem 0;
  }
  
  .contact__wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact__info {
    padding: 2.4rem;
  }
  
  .contact__form-container {
    padding: 2.4rem;
  }
  
  .contact__form {
    gap: 1.5rem;
  }

  .map-section {
    padding: 40px 0;
  }
  
  .map-container {
    margin-top: 20px;
    border-radius: 6px;
  }
  
  .map-container iframe {
    height: 340px;
  }

  .floating-buttons {
    bottom: 12px;
    right: 12px;
    gap: 10px;
  }
  
  .floating-btn {
    width: 50px;
    height: 50px;
  }
  
  .floating-btn i {
    font-size: 20px;
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(255, 87, 34, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
  }
  
  @keyframes pulse-whatsapp {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
  }
  
  .carousel-container {
    padding: 15px 0;
  }
  
  .carousel-track img {
    height: 50px;
    margin-right: 10px;
    border-radius: 6px;
  }

  .footer {
    padding: 3.5rem 2rem;
  }
  
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  .footer-links a {
    font-size: 1.2rem;
  }

}

/* Mobile Portrait (up to 575px) */
@media (min-width: 575px) and (max-width: 766px) {

  .toolbar {
    background-color: #2b4591;
    color: #fff;
    padding: 8px 0; /* Reduced padding for mobile */
    font-size: 12px; /* Further reduced font size for mobile */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
  }
  
  .container {
    max-width: 100%; /* Full width for mobile */
    margin: 0 auto;
    padding: 0 1.5rem; /* Reduced padding for mobile */
  }
  
  .small_container {
    max-width: 100%; /* Full width for mobile */
    margin: 0 auto;
    padding: 0 1.5rem; /* Reduced padding for mobile */
  }
  
  .toolbar__wrapper {
    display: flex;
    justify-content: center; /* Center the content since social links are hidden */
    align-items: center;
  }
  
  .toolbar__contact {
    display: flex;
    gap: 15px; /* Appropriate gap for contact items */
    justify-content: center; /* Center contact items */
    flex-wrap: wrap; /* Allow wrapping on very small screens */
  }
  
  .toolbar__contact-item {
    display: flex;
    align-items: center;
    gap: 6px; /* Reduced gap but still visible */
  }
  
  /* Keep all contact text visible */
  .toolbar__contact-item span {
    display: inline-block;
    font-size: 12px;
    white-space: nowrap;
  }
  
  .toolbar__contact-item i {
    font-size: 12px; /* Further reduced icon size for mobile */
    color: #f4f2ef;
  }
  
  /* Hide social links completely */
  .toolbar__social {
    display: none;
  }

  .header {
    top: 25px; /* Reduced top position for smaller screens */
  }
  
  .header_wrapper {
    padding: 1.4rem 0; /* Slightly reduced padding for smaller screens */
    margin-top: 0.3rem; /* Slightly reduced margin for smaller screens */
    display: flex;
    align-items: center; /* Ensure vertical alignment */
  }
  
  .logo_img {
    width: 55px; /* Smaller logo for smaller screens */
    height: 55px; /* Smaller logo for smaller screens */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem; /* Reduced margin */
  }
  
  .header_wrapper h1 {
    font-size: 1.4rem; /* Smaller font size for smaller screens */
    left: calc(55px + 1rem + 0.5rem); /* Adjusted for smaller logo */
    max-width: calc(100% - 55px - 1rem - 0.5rem - 50px); /* Adjusted for smaller logo */
    top: 50%;
    transform: translateY(-50%);
  }
  
  .header_nav {
    display: flex;
    align-items: center;
    margin-left: auto;
  }
  
  .header_hamburger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 25px; /* Slightly smaller hamburger */
    height: 18px; /* Slightly smaller hamburger */
  }
  
  .header_hamburger span {
    height: 2px; /* Thinner lines for hamburger */
  }
  
  .header_menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%; /* Wider menu for smaller screens */
    max-width: 280px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 1.5rem 1.5rem; /* Reduced padding */
    gap: 1.5rem; /* Reduced gap */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .header_menu.active {
    right: 0;
  }
  
  .header_menu-item {
    width: 100%;
    display: flex;
    align-items: center;
  }
  
  .header_menu-link {
    display: block;
    width: 100%;
    padding: 0.8rem 0; /* Reduced padding */
    font-size: 1.5rem; /* Slightly smaller font */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .hero {
    height: 60vh;
    min-height: 40rem;
    padding-top: calc(
      22px + 50px + 2.2rem
    ); /* Adjusted for smaller toolbar + header */
  }
  
  .hero__overlay {
    background-color: rgba(0, 0, 0, 0.55); /* Slightly darker for better readability */
  }
  
  .hero__content {
    padding: 1.6rem;
  }
  
  .hero__title {
    font-size: 3rem;
    margin-bottom: 1.2rem;
  }
  
  .hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.4rem;
  }
  
  .hero .btn {
    padding: 1.2rem 2.2rem;
    font-size: 1.5rem;
    max-width: 90%;
  }

  .services {
    padding: 4rem 0;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .section-title {
    font-size: 2.8rem;
  }
  
  .section-title::after {
    width: 5.5rem;
    height: 2.5px;
    bottom: -0.8rem;
  }
  
  .section-subtitle {
    font-size: 1.4rem;
  }
  
  .services__grid {
    gap: 2rem;
  }

  .service-card__image {
    height: 20rem;
  }
  
  .service-card__content {
    padding: 1.8rem;
  }
  
  .service-card__title {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
  }
  
  .service-card__title::after {
    width: 5rem;
    height: 2.5px;
  }
  
  .service-card__list {
    margin-bottom: 2rem;
  }
  
  .service-card__list li {
    font-size: 1.4rem;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
  }
  
  .service-card__list li::before {
    width: 1rem;
    height: 1rem;
    top: 0.7rem;
  }
  
  .btn {
    padding: 1rem 2rem;
    font-size: 1.4rem;
  }
  .about {
    padding: 4rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .section-title {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
  }
  
  .section-title::after {
    width: 5rem;
    height: 2px;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
  }
  
  .about__wrapper {
    gap: 2.5rem;
  }
  
  .about__content {
    padding-right: 0;
    order: 2;
  }
  
  .about__text {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  
  .about__image {
    min-height: 25rem;
    order: 1;
  }
  
  .about__image::after {
    top: 0.8rem;
    right: -0.8rem;
    border-width: 2px;
  }

  .staff-section {
    padding: 35px 0;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .staff-intro {
    max-width: 100%;
    margin-bottom: 25px;
  }
  
  .staff-intro h2 {
    font-size: 26px;
    margin-bottom: 16px;
  }
  
  .staff-intro h2::after {
    width: 50px;
    height: 2px;
    bottom: -8px;
  }
  
  .staff-intro p {
    font-size: 1.4rem;
  }
  
  .staff-stats {
    gap: 20px;
    margin-top: 20px;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-card {
    width: 140px;
    height: 140px;
  }
  
  .stat-number {
    font-size: 1.8rem;
    margin-bottom: 5px;
  }
  
  .stat-title {
    font-size: 1.2rem;
  }

  .testimonials__slider {
    max-width: 100%;
    padding: 0 1.5rem;
  }
  
  .testimonials__container {
    height: 36rem; /* Increase height for better text flow on narrow screens */
  }
  
  .testimonial-card {
    padding: 2rem 1.8rem;
  }
  
  .testimonial-card__content p {
    font-size: 1.4rem;
    padding: 0 1.6rem;
    line-height: 1.5;
  }
  
  .testimonial-card__content p::before,
  .testimonial-card__content p::after {
    font-size: 3.2rem;
  }
  
  .testimonial-card__content p::before {
    top: -1.4rem;
    left: -0.2rem;
  }
  
  .testimonial-card__content p::after {
    bottom: -2.8rem;
    right: -0.2rem;
  }
  
  .testimonial-card__author {
    margin-top: 1.6rem;
  }
  
  .testimonial-card__author h4 {
    font-size: 1.4rem;
  }
  
  .testimonial-card__author p {
    font-size: 1.1rem;
  }
  
  .testimonials__navigation {
    margin-top: 2rem;
  }
  
  .testimonials__btn {
    font-size: 1.8rem;
    padding: 0.5rem;
  }
  
  .testimonials__dots {
    gap: 0.6rem;
    margin: 0 1.2rem;
  }
  
  .testimonials__dot {
    width: 0.9rem;
    height: 0.9rem;
  }
  
  /* Adjust transition for better performance on mobile */
  .testimonial-card {
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .emergency-services {
    padding: 35px 0;
  }
  
  .section-header {
    margin-bottom: 25px;
  }
  
  .section-title {
    font-size: 26px;
    margin-bottom: 10px;
  }
  
  .section-subtitle {
    font-size: 13px;
    margin-bottom: 15px;
  }
  
  .emergency-carousel-container {
    padding: 0 15px;
    margin-top: 15px;
  }
  
  .emergency-card {
    height: 300px;
  }
  
  .emergency-card-top {
    margin-bottom: 25px;
  }
  
  .number {
    width: 38px;
    height: 38px;
    font-size: 15px;
    left: 15px;
  }
  
  .emergency-card-content {
    padding: 15px;
  }
  
  .icon {
    height: 55px;
    margin-bottom: 10px;
  }
  
  .card-title {
    font-size: 17px;
    margin-bottom: 8px;
  }
  
  .text {
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.5;
  }
  
  .link-btn {
    font-size: 13px;
  }
  
  .link-btn i {
    margin-left: 6px;
  }
  
  .emergency-carousel-arrows {
    margin-top: 25px;
    gap: 10px;
  }
  
  .emergency-prev-btn,
  .emergency-next-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  #banner1, #banner2, #banner3, #banner4 {
    width: 530px;
    height: 216px;
    object-fit: contain;
  }

  .contact {
    padding: 3.5rem 0;
  }
  
  .contact__wrapper {
    gap: 2.5rem;
  }
  
  .contact__info {
    padding: 2rem;
  }
  
  .contact__info-item {
    margin-bottom: 1.8rem;
  }
  
  .contact__info-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .contact__info-item p {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
  }
  
  .contact__form-container {
    padding: 2rem;
  }
  
  .contact__form {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  
  .form-group:nth-child(5) {
    grid-column: span 1;
  }
  
  .contact__form .btn {
    grid-column: span 1;
    margin-top: 1.2rem;
  }
  
  .map-section {
    padding: 35px 0;
  }
  
  .map-container {
    margin-top: 18px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  }
  
  .map-container iframe {
    height: 300px;
  }

  .floating-buttons {
    bottom: 10px;
    right: 10px;
    gap: 8px;
  }
  
  .floating-btn {
    width: 45px;
    height: 45px;
  }
  
  .floating-btn i {
    font-size: 18px;
  }
  
  .floating-btn:hover {
    transform: scale(1.05);
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7);
    }
    70% {
      box-shadow: 0 0 0 8px rgba(255, 87, 34, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
  }
  
  @keyframes pulse-whatsapp {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
      box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
  }
  
  .carousel-container {
    padding: 12px 0;
  }
  
  .carousel-track img {
    height: 45px;
    margin-right: 8px;
    border-radius: 5px;
  }

  .footer {
    padding: 20px 0;
  }
  
  .footer-container {
    padding: 0 10px;
  }
  
  .footer-section {
    margin-bottom: 18px;
  }
  
  .footer-title {
    font-size: 15px;
    margin-bottom: 12px;
    padding-bottom: 6px;
  }
  
  .footer-title::after {
    width: 30px;
  }
  
  .footer-text {
    font-size: 12px;
    margin-bottom: 14px;
  }
  
  .footer-links li {
    margin-bottom: 6px;
  }
  
  .contact-item {
    margin-bottom: 10px;
  }
  
  .social-icon {
    width: 28px;
    height: 28px;
  }
  
  .copyright {
    margin-top: 15px;
    padding-top: 10px;
    font-size: 12px;
  }
  
  .payment-logo {
    max-width: 60px;
  }

}

/* Extra Small Devices (up to 480px) */
@media (min-width: 480px) and (max-width: 575px){

  .toolbar {
    background-color: #2b4591;
    color: #fff;
    padding: 6px 0; /* Further reduced padding for very small screens */
    font-size: 11px; /* Even smaller font size for very small screens */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
  }
  
  .container {
    max-width: 100%; /* Full width for mobile */
    margin: 0 auto;
    padding: 0 1rem; /* Further reduced padding for very small screens */
  }
  
  .small_container {
    max-width: 100%; /* Full width for mobile */
    margin: 0 auto;
    padding: 0 1rem; /* Further reduced padding for very small screens */
  }
  
  .toolbar__wrapper {
    display: flex;
    justify-content: center; /* Center the content */
    align-items: center;
  }
  
  .toolbar__contact {
    display: flex;
    gap: 10px; /* Further reduced gap for very small screens */
    justify-content: center; /* Center contact items */
    flex-wrap: wrap; /* Allow wrapping on very small screens */
  }
  
  .toolbar__contact-item {
    display: flex;
    align-items: center;
    gap: 4px; /* Further reduced gap for very small screens */
  }
  
  .toolbar__contact-item i {
    font-size: 11px;
    color: #f4f2ef;
  }
  
  /* Hide social links completely */
  .toolbar__social {
    display: none;
  }

  .header {
    top: 22px; /* Further reduced top position for very small screens */
  }
  
  .header_wrapper {
    padding: 1.2rem 0; /* Further reduced padding for very small screens */
    margin-top: 0.2rem; /* Further reduced margin for very small screens */
    display: flex;
    align-items: center;
  }
  
  .logo_img {
    width: 45px; /* Even smaller logo for very small screens */
    height: 45px; /* Even smaller logo for very small screens */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem; /* Further reduced margin */
  }
  
  .header_wrapper h1 {
    font-size: 1.2rem; /* Even smaller font size for very small screens */
    left: calc(45px + 0.8rem + 0.3rem); /* Adjusted for smaller logo */
    max-width: calc(100% - 45px - 0.8rem - 0.3rem - 40px); /* Adjusted for smaller logo */
    top: 50%;
    transform: translateY(-50%);
  }
  
  .header_nav {
    display: flex;
    align-items: center;
    margin-left: auto;
  }
  
  .header_hamburger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 22px; /* Even smaller hamburger */
    height: 16px; /* Even smaller hamburger */
  }
  
  .header_hamburger span {
    height: 2px; /* Keep thin lines for hamburger */
  }
  
  .header_menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%; /* Even wider menu for very small screens */
    max-width: 260px; /* Reduced max-width */
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 70px 1.2rem 1.2rem; /* Further reduced padding */
    gap: 1.2rem; /* Further reduced gap */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .header_menu.active {
    right: 0;
  }
  
  .header_menu-item {
    width: 100%;
    display: flex;
    align-items: center;
  }
  
  .header_menu-link {
    display: block;
    width: 100%;
    padding: 0.7rem 0; /* Further reduced padding */
    font-size: 1.4rem; /* Further reduced font size */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .hero {
    height: 60vh;
    min-height: 36rem;
    padding-top: calc(
      22px + 45px + 2.4rem
    );
  }
  
  .hero__overlay {
    background-color: rgba(0, 0, 0, 0.6);
  }
  
  .hero__title {
    font-size: 2.8rem;
    line-height: 1.2;
  }
  
  .hero__subtitle {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 2.2rem;
  }
  
  .hero .btn {
    padding: 1.1rem 2rem;
    font-size: 1.4rem;
  }

  .services {
    padding: 3.5rem 0;
  }
  
  .container {
    padding: 0 1.2rem;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .section-title {
    font-size: 2.4rem;
  }
  
  .section-title::after {
    width: 5rem;
    height: 2px;
  }
  
  .section-subtitle {
    font-size: 1.3rem;
  }
  

  
  .service-card__image {
    height: 18rem;
  }
  
  .service-card__content {
    padding: 1.6rem;
  }
  
  .service-card__title {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
  }
  
  .service-card__title::after {
    width: 4.5rem;
    height: 2px;
  }
  
  .service-card__list li {
    font-size: 1.3rem;
    padding-left: 1.8rem;
    margin-bottom: 0.7rem;
  }
  
  .service-card__list li::before {
    width: 0.9rem;
    height: 0.9rem;
    top: 0.6rem;
  }
  
  .btn {
    padding: 0.9rem 1.8rem;
    font-size: 1.3rem;
  }
  
  .btn--secondary {
    margin-right: 0.8rem;
  }
    .about {
    padding: 3.5rem 0;
  }
  
  .container {
    padding: 0 0.8rem;
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.5rem;
  }
  
  .section-title::after {
    width: 4.5rem;
    height: 2px;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }
  
  .about__wrapper {
    gap: 2rem;
  }
  
  .about__content {
    padding-right: 0;
    order: 2;
  }
  
  .about__text {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
  }
  
  .about__image {
    min-height: 22rem;
    order: 1;
  }
  
  .about__image::after {
    top: 0.6rem;
    right: -0.6rem;
    border-width: 1.5px;
  }

  .staff-section {
    padding: 30px 0;
  }
  
  .staff-intro h2 {
    font-size: 24px;
  }
  
  .staff-intro p {
    font-size: 1.3rem;
  }
  
  .staff-stats {
    gap: 15px 10px;
    /* Switch to single column for very small screens */
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-card {
    width: 130px;
    height: 130px;
  }
  
  .stat-number {
    font-size: 1.7rem;
  }
  
  .stat-title {
    font-size: 1.1rem;
  }

  .testimonials__container {
    height: 40rem; /* Further increase height for smallest screens */
  }
  
  .testimonial-card {
    padding: 1.8rem 1.5rem;
  }
  
  .testimonial-card__content p {
    font-size: 1.3rem;
    padding: 0 1.4rem;
  }
  
  .testimonial-card__content p::before,
  .testimonial-card__content p::after {
    font-size: 2.8rem;
  }
  
  .testimonial-card__author h4 {
    font-size: 1.3rem;
  }
  
  .testimonial-card__author p {
    font-size: 1rem;
  }
  
  .testimonials__navigation {
    margin-top: 1.8rem;
  }
  
  .testimonials__btn {
    font-size: 1.6rem;
  }
  
  .testimonials__dots {
    gap: 0.5rem;
    margin: 0 1rem;
  }
  
  .testimonials__dot {
    width: 0.8rem;
    height: 0.8rem;
  }

  .emergency-services {
    padding: 30px 0;
  }
  
  .section-header {
    margin-bottom: 20px;
    padding: 0 10px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .section-subtitle {
    font-size: 12px;
  }
  
  .emergency-carousel-container {
    padding: 0 10px;
    margin: 0 auto;
    max-width: calc(100% - 20px); /* Ensure container doesn't overflow */
  }
  
  .emergency-carousel {
    margin: 0 -5px;
  }
  
  .emergency-card {
    min-width: calc(100% - 10px); /* Adjust card width */
    flex: 0 0 calc(100% - 10px);
    margin: 0 5px;
    height: auto;
    min-height: 260px;
  }
  
  .emergency-card-top {
    margin-bottom: 22px;
  }
  
  .number {
    width: 35px;
    height: 35px;
    font-size: 14px;
    left: 15px;
  }
  
  .shape {
    height: 22px;
  }
  
  .emergency-card-content {
    padding: 12px 10px; /* Reduce horizontal padding */
  }
  
  .icon {
    height: 50px;
    margin-bottom: 8px;
  }
  
  .icon img {
    max-height: 50px;
    width: auto;
    max-width: 90%; /* Prevent image overflow */
  }
  
  .card-title {
    font-size: 16px;
    margin-bottom: 6px;
  }
  
  .text {
    font-size: 12px;
    margin-bottom: 8px;
    line-height: 1.4;
  }
  
  .emergency-carousel-arrows {
    margin-top: 20px;
  }
  
  .emergency-prev-btn,
  .emergency-next-btn {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  
  #banner1, #banner2, #banner3, #banner4 {
    height: 225px;
    width: 417px;
  }

  .contact {
    padding: 3rem 0;
  }
  
  .contact__wrapper {
    gap: 2rem;
  }
  
  .contact__info {
    padding: 1.8rem;
  }
  
  .contact__info-item {
    margin-bottom: 1.6rem;
  }
  
  .contact__info-item h3 {
    font-size: 1.4rem;
  }
  
  .contact__info-item p {
    font-size: 1.2rem;
  }
  
  .contact__form-container {
    padding: 1.8rem;
  }
  
  .contact__form {
    gap: 1.2rem;
  }

  .map-section {
    padding: 30px 0;
  }
  
  .map-container {
    margin-top: 15px;
  }
  
  .map-container iframe {
    height: 250px;
  }

  .floating-buttons {
    bottom: 8px;
    right: 8px;
    gap: 6px;
  }
  
  .floating-btn {
    width: 40px;
    height: 40px;
  }
  
  .floating-btn i {
    font-size: 16px;
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7);
    }
    70% {
      box-shadow: 0 0 0 6px rgba(255, 87, 34, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
  }
  
  @keyframes pulse-whatsapp {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
      box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
  }
  
  .carousel-container {
    padding: 10px 0;
  }
  
  .carousel-track img {
    height: 40px;
    margin-right: 6px;
    border-radius: 4px;
  }

  .footer-title {
    font-size: 14px;
  }
  
  .social-icons {
    flex-wrap: wrap;
  }
}

/* Extra Small Devices (up to 480px) */
@media (min-width: 360px) and (max-width: 480px){

  .toolbar {
    background-color: #2b4591;
    color: #fff;
    padding: 6px 0; /* Further reduced padding for very small screens */
    font-size: 11px; /* Even smaller font size for very small screens */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
  }
  
  .container {
    max-width: 100%; /* Full width for mobile */
    margin: 0 auto;
    padding: 0 1rem; /* Further reduced padding for very small screens */
  }
  
  .small_container {
    max-width: 100%; /* Full width for mobile */
    margin: 0 auto;
    padding: 0 1rem; /* Further reduced padding for very small screens */
  }
  
  .toolbar__wrapper {
    display: flex;
    justify-content: center; /* Center the content */
    align-items: center;
  }
  
  .toolbar__contact {
    display: flex;
    gap: 10px; /* Further reduced gap for very small screens */
    justify-content: center; /* Center contact items */
    flex-wrap: wrap; /* Allow wrapping on very small screens */
  }
  
  .toolbar__contact-item {
    display: flex;
    align-items: center;
    gap: 4px; /* Further reduced gap for very small screens */
  }
  
  .toolbar__contact-item i {
    font-size: 11px;
    color: #f4f2ef;
  }
  
  /* Hide social links completely */
  .toolbar__social {
    display: none;
  }

  .header {
    top: 22px; /* Further reduced top position for very small screens */
  }
  
  .header_wrapper {
    padding: 1.2rem 0; /* Further reduced padding for very small screens */
    margin-top: 0.2rem; /* Further reduced margin for very small screens */
    display: flex;
    align-items: center;
  }
  
  .logo_img {
    width: 45px; /* Even smaller logo for very small screens */
    height: 45px; /* Even smaller logo for very small screens */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem; /* Further reduced margin */
  }
  
  .header_wrapper h1 {
    font-size: 1.2rem; /* Even smaller font size for very small screens */
    left: calc(45px + 0.8rem + 0.3rem); /* Adjusted for smaller logo */
    max-width: calc(100% - 45px - 0.8rem - 0.3rem - 40px); /* Adjusted for smaller logo */
    top: 50%;
    transform: translateY(-50%);
  }
  
  .header_nav {
    display: flex;
    align-items: center;
    margin-left: auto;
  }
  
  .header_hamburger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 22px; /* Even smaller hamburger */
    height: 16px; /* Even smaller hamburger */
  }
  
  .header_hamburger span {
    height: 2px; /* Keep thin lines for hamburger */
  }
  
  .header_menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%; /* Even wider menu for very small screens */
    max-width: 260px; /* Reduced max-width */
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 70px 1.2rem 1.2rem; /* Further reduced padding */
    gap: 1.2rem; /* Further reduced gap */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .header_menu.active {
    right: 0;
  }
  
  .header_menu-item {
    width: 100%;
    display: flex;
    align-items: center;
  }
  
  .header_menu-link {
    display: block;
    width: 100%;
    padding: 0.7rem 0; /* Further reduced padding */
    font-size: 1.4rem; /* Further reduced font size */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .hero {
    height: 60vh;
    min-height: 36rem;
    padding-top: calc(
      22px + 45px + 2.4rem
    );
  }
  
  .hero__overlay {
    background-color: rgba(0, 0, 0, 0.6);
  }
  
  .hero__title {
    font-size: 2.8rem;
    line-height: 1.2;
  }
  
  .hero__subtitle {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 2.2rem;
  }
  
  .hero .btn {
    padding: 1.1rem 2rem;
    font-size: 1.4rem;
  }

  .services {
    padding: 3.5rem 0;
  }
  
  .container {
    padding: 0 1.2rem;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .section-title {
    font-size: 2.4rem;
  }
  
  .section-title::after {
    width: 5rem;
    height: 2px;
  }
  
  .section-subtitle {
    font-size: 1.3rem;
  }
  

  
  .service-card__image {
    height: 18rem;
  }
  
  .service-card__content {
    padding: 1.6rem;
  }
  
  .service-card__title {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
  }
  
  .service-card__title::after {
    width: 4.5rem;
    height: 2px;
  }
  
  .service-card__list li {
    font-size: 1.3rem;
    padding-left: 1.8rem;
    margin-bottom: 0.7rem;
  }
  
  .service-card__list li::before {
    width: 0.9rem;
    height: 0.9rem;
    top: 0.6rem;
  }
  
  .btn {
    padding: 0.9rem 1.8rem;
    font-size: 1.3rem;
  }
  
  .btn--secondary {
    margin-right: 0.8rem;
  }
    .about {
    padding: 3.5rem 0;
  }
  
  .container {
    padding: 0 0.8rem;
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.5rem;
  }
  
  .section-title::after {
    width: 4.5rem;
    height: 2px;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }
  
  .about__wrapper {
    gap: 2rem;
  }
  
  .about__content {
    padding-right: 0;
    order: 2;
  }
  
  .about__text {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
  }
  
  .about__image {
    min-height: 22rem;
    order: 1;
  }
  
  .about__image::after {
    top: 0.6rem;
    right: -0.6rem;
    border-width: 1.5px;
  }

  .staff-section {
    padding: 30px 0;
  }
  
  .staff-intro h2 {
    font-size: 24px;
  }
  
  .staff-intro p {
    font-size: 1.3rem;
  }
  
  .staff-stats {
    gap: 15px 10px;
    /* Switch to single column for very small screens */
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-card {
    width: 130px;
    height: 130px;
  }
  
  .stat-number {
    font-size: 1.7rem;
  }
  
  .stat-title {
    font-size: 1.1rem;
  }

  .testimonials__container {
    height: 40rem; /* Further increase height for smallest screens */
  }
  
  .testimonial-card {
    padding: 1.8rem 1.5rem;
  }
  
  .testimonial-card__content p {
    font-size: 1.3rem;
    padding: 0 1.4rem;
  }
  
  .testimonial-card__content p::before,
  .testimonial-card__content p::after {
    font-size: 2.8rem;
  }
  
  .testimonial-card__author h4 {
    font-size: 1.3rem;
  }
  
  .testimonial-card__author p {
    font-size: 1rem;
  }
  
  .testimonials__navigation {
    margin-top: 1.8rem;
  }
  
  .testimonials__btn {
    font-size: 1.6rem;
  }
  
  .testimonials__dots {
    gap: 0.5rem;
    margin: 0 1rem;
  }
  
  .testimonials__dot {
    width: 0.8rem;
    height: 0.8rem;
  }

  .emergency-services {
    padding: 30px 0;
  }
  
  .section-header {
    margin-bottom: 20px;
    padding: 0 10px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .section-subtitle {
    font-size: 12px;
  }
  
  .emergency-carousel-container {
    padding: 0 10px;
    margin: 0 auto;
    max-width: calc(100% - 20px); /* Ensure container doesn't overflow */
  }
  
  .emergency-carousel {
    margin: 0 -5px;
  }
  
  .emergency-card {
    min-width: calc(100% - 10px); /* Adjust card width */
    flex: 0 0 calc(100% - 10px);
    margin: 0 5px;
    height: auto;
    min-height: 260px;
  }
  
  .emergency-card-top {
    margin-bottom: 22px;
  }
  
  .number {
    width: 35px;
    height: 35px;
    font-size: 14px;
    left: 15px;
  }
  
  .shape {
    height: 22px;
  }
  
  .emergency-card-content {
    padding: 12px 10px; /* Reduce horizontal padding */
  }
  
  .icon {
    height: 50px;
    margin-bottom: 8px;
  }
  
  .icon img {
    max-height: 50px;
    width: auto;
    max-width: 90%; /* Prevent image overflow */
  }
  
  .card-title {
    font-size: 16px;
    margin-bottom: 6px;
  }
  
  .text {
    font-size: 12px;
    margin-bottom: 8px;
    line-height: 1.4;
  }
  
  .emergency-carousel-arrows {
    margin-top: 20px;
  }
  
  .emergency-prev-btn,
  .emergency-next-btn {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  
  #banner1, #banner2, #banner3, #banner4 {
    height: 225px;
    width: 417px;
  }

  .contact {
    padding: 3rem 0;
  }
  
  .contact__wrapper {
    gap: 2rem;
  }
  
  .contact__info {
    padding: 1.8rem;
  }
  
  .contact__info-item {
    margin-bottom: 1.6rem;
  }
  
  .contact__info-item h3 {
    font-size: 1.4rem;
  }
  
  .contact__info-item p {
    font-size: 1.2rem;
  }
  
  .contact__form-container {
    padding: 1.8rem;
  }
  
  .contact__form {
    gap: 1.2rem;
  }

  .map-section {
    padding: 30px 0;
  }
  
  .map-container {
    margin-top: 15px;
  }
  
  .map-container iframe {
    height: 250px;
  }

  .floating-buttons {
    bottom: 8px;
    right: 8px;
    gap: 6px;
  }
  
  .floating-btn {
    width: 40px;
    height: 40px;
  }
  
  .floating-btn i {
    font-size: 16px;
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7);
    }
    70% {
      box-shadow: 0 0 0 6px rgba(255, 87, 34, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
  }
  
  @keyframes pulse-whatsapp {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
      box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
  }
  
  .carousel-container {
    padding: 10px 0;
  }
  
  .carousel-track img {
    height: 40px;
    margin-right: 6px;
    border-radius: 4px;
  }

  .footer-title {
    font-size: 14px;
  }
  
  .social-icons {
    flex-wrap: wrap;
  }
}
