


@media (max-width: 768px) {
    .first-head-bg .header .menu>ul>li>a{color:#000000;}
    .first-head-bg .header .logo img{width: 80%;}
.footer .copy-right p { font-size: 14px !important;}
  .hero-center .mid-text h2 { font-size: 30px; line-height: 40px; }
  .hero-center .mid-text p { font-size: 16px; }
  .hero-center .hero-btn { font-size: 16px; padding: 10px 24px; }
  .vision-mission { flex-direction: column; align-items: center; }
  .hero-center .mid-text p { font-size: 18px !important; }
  .core-values-section .icon-circle img{width: 80px; height: 80px;}
  .core-values-section .icon-circle{width: 120px; height: 120px;}
  .title-center h2{font-size: 30px;}
  .title-left h2{font-size: 30px;}
  .co-second-section .imgdiv{margin-bottom: 30px;}
  .about-first .four-box-content .box-wrapper{display: block;}
  .about-first .four-box-content .box-wrapper .box{border-bottom: 2px solid #ffffff;}
  
  
  .welcome-sec{display: block; padding-bottom: 50px; }
  .welcome-sec .left-side {width: 100%; margin-bottom: 30px;}
  .welcome-sec .right-side{width: 100%; padding: 0px 15px;}

  .form-section-contact form { grid-template-columns: 1fr; }
  .form-section-contact .form-container { padding: 20px 15px; }
  .form-section-contact .form-footer { grid-column: span 1; justify-content: center; }

   .form-section form {grid-template-columns: 1fr; } /* Stack fields vertically */
  .form-section .form-container { padding: 20px 15px; }
  .form-section .form-footer {grid-column: span 1; justify-content: center; }
   .form-container form {
    grid-template-columns: 1fr !important; /* 1 column on mobile */
  }

  .form-group[style*="grid-column: span 2;"] {
    grid-column: span 1 !important; /* ensure full width on mobile */
  }
  .footer .quick-links ul li a{font-size: 16px;}
  .serving-sec-slider2 .testimonial-text{font-size: 14px; padding: 0px 20px;}
   .prev-arrow { padding: 1px 5px; font-size: 14px; left: -10px !important; }
  .next-arrow { padding: 1px 5px; font-size: 14px; right: -10px !important; }
  .testimonial-sec{padding: 40px 10px;}
  .footer .quick-links ul li {line-height: 28px;}
  .footer .quick-links ul{gap:8px}
}


@media (max-width: 992px) {
.first-head-bg .header .menu>ul>li>a{ font-size: 16px;}
.core-values-section .core-card h3{font-size: 18px;}
.internal-banners { background-image: url(../images/About-us-Mobile.webp) !important; }
.internal-banners-contact { background-image: url(../images/Contact-us-Banner-mobile.webp) !important; } 
/*.desktop-slide { display: none; }*/
/*  .mobile-slide { display: block; }*/
  .page-wrapper{height: auto;}
   .why-it-matters .flexbox { justify-content: center; } 
.why-it-matters .custom-mb:nth-child(4), .why-it-matters .custom-mb:nth-child(5){ margin-bottom: 60px; }
.slide-1 { background-image: url(../images/Homepage-Banner-mobile.webp'); }
  .slide-2 { background-image: url(../images/About-us-mobile.webp); }
  .slide-3 { background-image: url(../images/Contact-us-mobile.webp); }
}



@media (max-width: 576px) {
 .hero-center .btn-wrap { margin-top: 40px; }
 .hero-center .hero-center {margin-top: 40px;}
     .page-wrapper .container { padding: 40px 20px; } .page-wrapper h1 { font-size: 22px; color: #1b4965; } .page-wrapper p { font-size: 15px; } 

}

@media (min-width: 768px) {
.header .menu>ul>li.menu-item-has-children:hover .sub-menu {margin-top: 0; visibility: visible; opacity: 1;}

.header .menu>ul>li .sub-menu>ul>li { line-height: 1; } 
.header .menu>ul>li .sub-menu>ul>li>a { display: inline-block; padding: 10px 0; font-size: 15px; color: #555555; transition: color 0.3s ease; text-decoration: none; text-transform: capitalize; } 
.header .menu>ul>li .single-column-menu { min-width: 280px; max-width: 350px; } 
.header .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li { line-height: 1; display: block; } 
.header .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a { padding: 10px 0; display: inline-block; font-size: 15px; color: #555555; transition: color 0.3s ease; } 
.header .menu>ul>li .sub-menu.mega-menu { left: 50%; transform: translateX(-50%); } 
.header .menu>ul>li .sub-menu.mega-menu-column-4 { max-width: 1100px; width: 100%; display: flex; flex-wrap: wrap; padding: 20px 15px; } 
.header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item { flex: 0 0 25%; padding: 0 15px; } 
.header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item .title { font-size: 16px; color: #ea4636; font-weight: 500; line-height: 1; padding: 10px 0; } 
.header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center .title { text-align: center; } 
.header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item img { max-width: 100%; width: 100%; vertical-align: middle; margin-top: 10px; height: 300px; object-fit: cover; } 
.header .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a:hover, .header .menu>ul>li .sub-menu>ul>li>a:hover, .header .item-right a:hover, .header .menu>ul>li:hover>a { color: #00749E; } 
.mobile-menu-head, .mobile-menu-trigger { display: none; }

}
/*responsive*/
@media (max-width: 768px) {
    .prev-arrow { left: 10px; } .next-arrow { right: 10px; } 
    .why-it-matters .local-healthcard { max-width: 100%; }
.header .item-center { order: 3; flex: 0 0 100%; border: none; } 
/* .header .item-left, .header .item-right { flex: 0 0 35%; } */
/* .first-head-bg .header .item-left {flex: 0 0 75%;}  */
.first-head-bg .header .logo a {font-size: 22px;}
.first-head-bg .v-center .secondsec {display: none;}
.v-center { justify-content: space-between; } 
.header .mobile-menu-trigger { display: flex; height: 30px; width: 30px; margin-left: 15px; cursor: pointer; align-items: center; justify-content: center; } 
.header .mobile-menu-trigger span { display: block; height: 2px; background-color: #ffffff; width: 24px; position: relative; } 
.header .mobile-menu-trigger span:before, .header .mobile-menu-trigger span:after { content: ""; position: absolute; left: 0; width: 100%; height: 100%; background-color: #ffffff; } 
.header .mobile-menu-trigger span:before { top: -6px; } 
.header .mobile-menu-trigger span:after { top: 6px; } 
.header .item-right { align-items: center; } 
.header .menu { position: fixed; width: 320px; background-color: #ffffff; left: 0; top: 0; height: 100%; overflow: hidden; transform: translate(-100%); transition: all 0.5s ease; z-index: 1099; } 
.header .menu.active { transform: translate(0%); } 
.header .menu>ul>li { line-height: 1; margin: 0; display: block; } 
.header .menu>ul>li>a { line-height: 50px; height: 50px; padding: 0 50px 0 15px; display: block; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } 
.header .menu>ul>li>a i { position: absolute; height: 50px; width: 50px; top: 0; right: 0; text-align: center; line-height: 50px; transform: rotate(-90deg); } 
.header .menu .mobile-menu-head { display: flex; height: 50px; border-bottom: 1px solid rgba(0, 0, 0, 0.1); justify-content: space-between; align-items: center; position: relative; z-index: 501; position: sticky; background-color: #ffffff; top: 0; } 
.header .menu .mobile-menu-head .go-back { height: 50px; width: 50px; border-right: 1px solid rgba(0, 0, 0, 0.1); cursor: pointer; line-height: 50px; text-align: center; color: #ffffff; font-size: 16px; display: none; } 
.header .menu .mobile-menu-head.active .go-back { display: block; } 
.header .menu .mobile-menu-head .current-menu-title { font-size: 15px; font-weight: 500; color: #000000; } 
.header .menu .mobile-menu-head .mobile-menu-close { height: 50px; width: 50px; border-left: 1px solid rgba(0, 0, 0, 0.1); cursor: pointer; line-height: 50px; text-align: center; color: #000000; font-size: 25px; } 
.header .menu .menu-main { height: 100%; overflow-x: hidden; overflow-y: auto; } 
.header .menu>ul>li .sub-menu.mega-menu, .header .menu>ul>li .sub-menu { visibility: visible; opacity: 1; position: absolute; box-shadow: none; margin: 0; padding: 15px; top: 0; left: 0; width: 100%; height: 100%; padding-top: 65px; max-width: none; min-width: auto; display: none; transform: translateX(0%); overflow-y: auto; } 
.header .menu>ul>li .sub-menu.active { display: block; }

	@keyframes slideLeft {
		0% {
			opacity: 0;
			transform: translateX(100%);
		}

		100% {
			opacity: 1;
			transform: translateX(0%);
		}
	}

	@keyframes slideRight {
		0% {
			opacity: 1;
			transform: translateX(0%);
		}

		100% {
			opacity: 0;
			transform: translateX(100%);
		}
	}
  .header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item img { margin-top: 0; } 
  .header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center .title { margin-bottom: 20px; } 
  .header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center:last-child .title { margin-bottom: 0px; } 
  .header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item { flex: 0 0 100%; padding: 0px; } 
  .header .menu>ul>li .sub-menu>ul>li>a, .header .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a {color: #000000; display: block; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } 
  .header .menu>ul>li .sub-menu.mega-menu>.list-item>ul { margin-bottom: 15px; } 
  .menu-overlay { position: fixed; background-color: rgba(0, 0, 0, 0.5); left: 0; top: 0; width: 100%; height: 100%; z-index: 1098; visibility: hidden; opacity: 0; transition: all 0.5s ease; } 
  .menu-overlay.active { visibility: visible; opacity: 1; }
  


}

@media (min-width: 768px) and (max-width: 991px) {
.first-head-bg .header .logo a {  font-size: 18px;}
.first-head-bg .header .menu>ul>li>a {font-size: 13px;}
.first-head-bg .v-center .secondsec a { padding: 8px 12px; font-size: 13px;}
.first-head-bg .header .menu>ul>li {line-height: 50px; margin: 0px 5px;}
.first-head-bg .v-center {align-items: center; padding: 4px 0px;}
/*.about-first .four-box-content .box-wrapper .box .count {font-size:50px;}*/
/*.about-first .four-box-content .box-wrapper .box span {font-size:16px;}*/
.first-head-bg .header .logo img{width: 20%;}

}






