/*
Author       : Abubakar Siddique
Template Name: Medison - Medical, Dental Clinic HTML Template
Version      : 1.0
*/
/****** Table Of Content ***************
=================================================
#1. Typography
#2. Pre Loader
#3. Header Design
#4. Banner Design
#5. Content
#6. About Us
#7. Services
#8. Doctors
#9. Fun Facts
#10. Portfolio
#11. Latest News
#12. Testimonials
#13. Contact Us
#14. Footer
#15. Consultation Modal
#16. Responsive Design
=================================================
*/

/************* Typography ******************/
* {
  padding: 0;
  margin: 0;
}
img {
  border: none;
  outline: none;
  max-width: 100%;
}
a,
a:active,
a:focus,
a:hover {
  outline: none;
  text-decoration: none;
}
a {
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  -ms-transition: all 0.35s ease-in-out;
  -o-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  color:rgb(15, 56, 103) ;
}
input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  box-shadow: none;
}
ul {
  margin: 0;
  list-style-type: none;
}
h1 {
  font-size: 26px;
  color: #333;
  font-weight: 700;
  line-height: normal;
  margin: 0 0 20px;
  font-family: serif;
  text-transform: uppercase;
  justify-content: center !important;
}
.about-h1 {
  
  color: #000000;
    font-size: 38px;
    font-weight: 700;
    font-family: serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
h2 {
  font-size: 26px;
  font-family: serif;
  color:#05386d;
  font-weight: 600;
  line-height: normal;
  margin: 0 0 20px;
  position: relative;
}
h3 {
  font-size: 22px;
  color: #333;
  font-weight: 600;
  line-height: normal;
  margin: 0 0 10px;
  position: relative;
  text-transform: capitalize;
  font-family: serif;
}
h4 {
  font-size: 15px;
  color: #fff;
  font-weight: 600;
  line-height: normal;
  position: relative;
  text-transform: capitalize;
  font-family: serif;
  margin: 0;
}
h1 span {
  color: #18afd3;
}
p {
  font-size: 17px;
  margin: 0 0 20px;
  color: #666;
  font-weight: 400;
  line-height: 26px;
}
.btn {
  font-family: "Raleway", sans-serif;
  font-size: 15px !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  width: auto;
  line-height: 40px;
  text-align: center;
  padding: 0px 25px !important;
  display: inline-block!important;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  border-radius: 5px !important;
  -webkit-transition: all 0.35s ease-in-out !important;
  -moz-transition: all 0.35s ease-in-out;
  -ms-transition: all 0.35s ease-in-out;
  -o-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out !important;
  position: relative !important; 
  overflow: hidden !important;
}
.btn::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 100% 50%;
  transform-origin: 100% 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.btn.btn-primary {
  background: #18afd3;
  color: #fff;
  border: none;
}
.btn.btn-primary:hover:before,
.btn.btn-primary:focus:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
  transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}
.btn.btn-default {
  border: 1px solid #18afd3;
  background: none;
  color: #18afd3;
  opacity: 1;
}
.btn.btn-default:hover {
  background: #18afd3;
  border-color: #18afd3;
  color: #fff;
}
body {
  font-family: serif;
  font-size: 15px;
  color: #333;
  background: #fff;
  overflow-x: hidden;
  padding-top: 70px;
}
.section-padding {
  width: 100%;
  float: left;
  height: auto;
  padding: 50px 0;
}
section:nth-child(2n) {
  background: #e4e1e1;
}

/*================================ Pre Loader ====================================*/
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 13000;
  height: 100%;
}
.preloader_image {
  width: 130px;
  height: 130px;
  position: absolute;
  left: 50%;
  top: 50%;
  background: url(img/loader.gif) no-repeat center center;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/*================================ Header Design ================================*/

.navbar-default {
    background-color: #f8f8f8;
    border-color: #e7e7e7;
    height:80px !important;
}
.navbar-default.scrolled {
  background-color: #f5f5f5 !important;
  box-shadow: 0 4px 20px rgba(5, 56, 109, 0.25) !important;
}
.logo {
  width: 180px;
  position: absolute;
  top: 1px;
  height: 130px;
}

@media screen and (max-width: 768px) and (min-width: 320px) {
  .logo {
    width: 180px;
    position: absolute;
    top: 0px;
    height: 180px;
  }
}

.navbar > .container .navbar-brand,
.navbar > .container-fluid .navbar-brand {
  margin: 0;
  height: auto;
  padding: 0;
  color: #05386d;
  background: transparent !important ;
}

.navbar-default .navbar-nav > li {
  margin-left: 15px;
}

.navbar-default .navbar-nav > li:first-child {
  margin: 0;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a:focus {
  font-size: 16px;
  color: #05386d;
  font-family: 'Arial', sans-serif;
  text-transform: uppercase;
  padding: 25px 10px;
  position: relative;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  background: transparent !important;
}


/* Hover state - expand underline  */
 .navbar-default .navbar-nav > li > a:hover::before,
.navbar-default .navbar-nav > .active > a::before {
  left: 0;
  right: 0;
}
 
/* Simple Border Bottom Underline */
.navbar-default .navbar-nav > li > a {
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a {
  border-bottom: 2px solid #05386d;
  color: #05386d;
  background: transparent !important;
  transform: scale(1.15) !important;
  font-size: 17px
 
  padding: 25px 8px;
}

/* Hover and active text color */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > li > a:hover {
  color: #05386d;
  background: transparent !important;
}

.navbar-default .navbar-nav > .active > a {
  color: #05386d !important;
  background: transparent !important;
}

/* Consultation/Modal button styling */
.navbar-default .navbar-nav > li.consultation {
  padding: 10px 0;
}

.navbar-default .navbar-nav > li.consultation > a,
.navbar-default .navbar-nav > li.consultation > a:focus {
  padding: 10px 20px !important;
  background: #05386d !important;
  color: #ffffff !important;
  border: 2px solid #05386d;
  border-radius: 5px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.navbar-default .navbar-nav > li.consultation > a:hover,
.navbar-default .navbar-nav > li.consultation > a:focus:hover {
  color: #05386d !important;
  background: #ffffff !important;
  border-color: #05386d;
  box-shadow: 0 4px 12px rgba(5, 56, 109, 0.2);
}

.navbar-default .navbar-nav > li.consultation > a::before {
  background: none;
}

.navbar-default .navbar-nav > li.modal-button > a:hover,
.navbar-default .navbar-nav > li.consultation > a:hover {
  color: #05386d !important;
}

.navbar-default.top-nav-collapse .navbar-nav > li > a,
.navbar-default.top-nav-collapse .navbar-nav > li > a:focus {
  color: #05386d;
  background: transparent;
}

.navbar-right {
  margin: 0;
}

.offcanvas-stop-scrolling {
  overflow: visible;
  overflow-x: hidden;
}

#navbar {
  height: auto !important;
}
/*================================ Banner Design ================================*/
#banner {
  width: 100%;
  float: left;
  height: auto;
}
#banner .item {
  height: 450px;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
#banner .item::before {
  width: 100%;
  float: left;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  background: #000;
  opacity: 0.2;
}
#banner h1 {
  color: #fff;
  margin: 0 0 20px;
  font-size: 26px;
  font-weight: 700;
}
#banner p {
  color: #fff;
  margin: 0 0 25px;
  font-size: 14px;
}
.carousel-fade .carousel-inner .item {
  -webkit-transition-property: opacity;
  transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
  z-index: 2;
}
.caption-info {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}
.caption-info-inner h1 {
  animation-delay: 0.5s;
}
.caption-info-inner p {
  animation-delay: 1.1s;
}
.caption-info-inner a {
  animation-delay: 1.6s;
}
.control {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#banner:hover .control {
  visibility: visible;
  opacity: 1;
}
.control,
.control:focus {
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  line-height: 34px;
  position: absolute;
  right: 15px;
  text-align: center;
  top: 50%;
  width: 36px;
  margin: -15px 0 0;
}
.control:hover {
  background: #fff;
  color: #18afd3;
}
.left.control {
  left: -20px;
}
.right.control {
  right: -20px;
}
#banner:hover .left.control {
  left: 10px;
}
#banner:hover .right.control {
  right: 10px;
}
.cd-words-wrapper {
  display: inline-block;
  position: relative;
  text-align: left;
}
.cd-words-wrapper b {
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  left: 0;
  top: 0;
}
.cd-words-wrapper b i,
.cd-words-wrapper b em {
  font-style: normal;
}
.cd-words-wrapper b.is-visible {
  position: relative;
}
.no-js .cd-words-wrapper b {
  opacity: 0;
}
.no-js .cd-words-wrapper b.is-visible {
  opacity: 1;
}

.cd-headline.clip span {
  display: inline-block;
}
.cd-headline.clip .cd-words-wrapper {
  overflow: hidden;
  vertical-align: top;
  color: #fff;
}
.cd-headline.clip .cd-words-wrapper::after {
  /* line */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background-color: #18afd3;
}
.cd-headline.clip b {
  opacity: 0;
}
.cd-headline.clip b.is-visible {
  opacity: 1;
}
b {
  font-weight: 600 !important;
}

/*================================ Content ================================*/
.section-title {
  width: 100%;
  float: left;
  height: auto;
  margin: 0 0 45px;
}
.section-title p {
  max-width: 100%;
  margin: 10px auto;
}
.section-title h1 {
  position: relative;
  padding-bottom: 12px;
}
.section-title h1::before {
  width: 60px;
  height: 3px;
  position: absolute;
  left: 50%;
  bottom: 0;
  content: "";
  background: #18afd3;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

/*================================== About Us =================================*/


#about-us {
    /* background: linear-gradient(90deg, #8d8f8f , #fafbfc 100%) !important; */
    background: linear-gradient(135deg, #c7d9e1 0%, #fbfcfe 50%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
#about-us::before {
    content: '';
    position: absolute;
    top: 0;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(5, 56, 109, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

#about-us::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.section-padding {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.container {
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
   
    align-items: center;
    gap: 70px;
    flex-wrap: wrap;
}

.col-xs-12 {
    width: 100%;
}

.col-md-6 {
    width: 50%;
    flex: 1;
    min-width: 300px;
}

/* ===== IMAGE SECTION - PREMIUM ===== */
.single-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 15px 50px rgba(5, 56, 109, 0.15);
    animation: slideInLeft 0.8s ease-out;
}

.single-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 56, 109, 0.1) 0%, transparent 50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.single-img::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #05386d 0%, #05386d 100%);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.single-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.single-img:hover img {
    transform: scale(1.08);
}

.single-img:hover::before {
    opacity: 1;
}

.single-img:hover::after {
    opacity: 1;
}


@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== TEXT BLOCK - PREMIUM ===== */
.text-block {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.text-block h2 {
    font-size: 42px;
    color: #05386d;
    font-weight: 800;
    margin-bottom: 35px;
    line-height: 1.25;
    position: relative;
    padding-bottom: 0;
    word-spacing: 0.05em;
}

.text-block h2::before {
    display: none;
}

/* Style for bold parts - makes heading pop */
.text-block h2 b,
.text-block h2 strong {
    /* color: #d32f2f; */
    color: #05386d;
}

.text-block p {
    font-size: 16px;
    color: #666;
    line-height: 1.85;
    margin-bottom: 22px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.text-block p:hover {
    color: #333;
    padding-left: 0;
}

.text-block p b {
    color: #05386d;
    font-weight: 700;
}

/* ===== HIGHLIGHT FEATURE BOXES ===== */
.text-block p:nth-of-type(1),
.text-block p:nth-of-type(2),
.text-block p:nth-of-type(3),
.text-block p:nth-of-type(4) {
    background: linear-gradient(135deg, #f5f8fc 0%, #eef3f9 100%);
    padding: 22px 26px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #d32f2f;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.text-block p:nth-of-type(1)::after,
.text-block p:nth-of-type(2)::after,
.text-block p:nth-of-type(3)::after,
.text-block p:nth-of-type(4)::after {
    content: '';
    position: absolute;
    top: -2px;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #05386d 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.text-block p:nth-of-type(1):hover,
.text-block p:nth-of-type(2):hover,
.text-block p:nth-of-type(3):hover,
.text-block p:nth-of-type(4):hover {
    background: linear-gradient(135deg, #eef3f9 0%, #e8f1f8 100%);
    border-left-color:#05386d;
    box-shadow: 0 8px 25px rgba(5, 56, 109, 0.12);
    transform: translateX(8px);
}

.text-block p:nth-of-type(1):hover::after,
.text-block p:nth-of-type(2):hover::after,
.text-block p:nth-of-type(3):hover::after,
.text-block p:nth-of-type(4):hover::after {
    opacity: 1;
}

/* Remove pseudo-before animations */
.text-block p:nth-of-type(1)::before,
.text-block p:nth-of-type(2)::before,
.text-block p:nth-of-type(3)::before,
.text-block p:nth-of-type(4)::before {
    display: none;
}

.text-block p:nth-of-type(1) b,
.text-block p:nth-of-type(2) b,
.text-block p:nth-of-type(3) b,
.text-block p:nth-of-type(4) b {
    color: #05386d;
    font-weight: 700;
}

/* ===== FEATURE HIGHLIGHTS ===== */
.text-block .highlight {
    display: inline-block;
    background: linear-gradient(120deg, rgba(211, 47, 47, 0.1) 0%, rgba(5, 56, 109, 0.05) 100%);
    padding: 2px 8px;
    border-radius: 4px;
    color: #05386d;
    font-weight: 600;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .section-padding {
        padding: 80px 0;
    }

    .row {
        gap: 50px;
    }

    .text-block h2 {
        font-size: 36px;
    }

    .single-img {
        height: 420px;
    }
}

@media (max-width: 1024px) {
    .section-padding {
        padding: 70px 0;
    }

    .row {
        gap: 40px;
    }

    .text-block h2 {
        font-size: 32px;
        margin-bottom: 28px;
    }

    .single-img {
        height: 380px;
    }

    .text-block p {
        font-size: 15px;
        line-height: 1.8;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .row {
        gap: 30px;
        flex-direction: column;
    }

    .col-md-6 {
        width: 100%;
    }

    .single-img {
        height: 340px;
        border-radius: 10px;
        margin-bottom: 20px;
    }

    .text-block h2 {
        font-size: 28px;
        margin-bottom: 22px;
        line-height: 1.3;
    }

    .text-block p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .text-block p:nth-of-type(1),
    .text-block p:nth-of-type(2),
    .text-block p:nth-of-type(3),
    .text-block p:nth-of-type(4) {
        padding: 18px 22px;
        margin: 16px 0;
        border-radius: 8px;
    }

    #about-us::before {
        width: 400px;
        height: 400px;
        top: -100px;
        right: -150px;
    }

    #about-us::after {
        width: 300px;
        height: 300px;
        bottom: -50px;
        left: -100px;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 45px 0;
    }

    .text-block h2 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .text-block p {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 14px;
    }

    .single-img {
        height: 280px;
        margin-bottom: 25px;
    }

    .text-block p:nth-of-type(1),
    .text-block p:nth-of-type(2),
    .text-block p:nth-of-type(3),
    .text-block p:nth-of-type(4) {
        padding: 16px 18px;
        margin: 14px 0;
        border-radius: 8px;
        font-size: 14px;
        border-left: 3px solid #05386d;
    }

    #about-us::before {
        width: 250px;
        height: 250px;
        top: -50px;
        right: -100px;
    }

    #about-us::after {
        width: 200px;
        height: 200px;
        bottom: -20px;
        left: -80px;
    }

    .container {
        padding: 0 12px;
    }
}
#about-us .about-h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #05386d, transparent);
    border-radius: 2px;
}



/*===================================== ===== OUR MOVING SERVICES SECTION (#blog)============================= ===== */

 #blog {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

#blog::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(5, 56, 109, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

#blog::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(5, 56, 109, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/*  Section Title */
#blog .section-title {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 80px;
}

#blog .section-title h1 {
    color: #000000;
    font-size: 48px;
    font-weight: 700;
    font-family: serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

#blog .section-title h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #05386d, transparent);
    border-radius: 2px;
}

/* Blog Post Card */
.blog-post {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(5, 56, 109, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border: none;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 56, 109, 0) 0%, rgba(24, 175, 211, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.blog-post::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #05386d, #18afd3, transparent);
    transition: left 0.6s ease;
    z-index: 10;
}

.blog-post:hover::after {
    left: 100%;
}

/* Post Thumbnail */
.blog-post .post-thumb {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: linear-gradient(135deg, #05386d 0%, #18afd3 100%);
    flex-shrink: 0;
}

.blog-post .post-thumb a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-post .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    filter: brightness(0.9);
}

.blog-post .post-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(5, 56, 109, 0.3) 0%, transparent 50%, rgba(5, 56, 109, 0.4) 100%);
    z-index: 2;
    transition: all 0.5s ease;
}


.blog-post:hover .post-thumb img {

     width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.blog-post:hover .post-thumb::before {
    background: linear-gradient(180deg, rgba(5, 56, 109, 0.1) 0%, transparent 40%, rgba(5, 56, 109, 0.2) 100%);
}



/* Post Info */
.blog-post .post-info {
    padding: 25px 15px;
    background: #ffffff;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.blog-post .post-info h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.blog-post .post-info h3 a {
    color: #05386d;
    text-decoration: none;
    font-family: serif;
}

.blog-post .post-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #18afd3;
    transition: width 0.4s ease;
}

.blog-post .post-info h3:hover::after {
    width: 100%;
}

.blog-post .post-info p {
    margin: 0;
    color: #777777;
    font-size: 15px;
    line-height: 1.9;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
    display: -webkit-box;
    
}

/* Card Hover */
.blog-post:hover {
    transform: translateY(-20px) scale(1.02) !important; 
    box-shadow: 0 20px 50px rgba(5, 56, 109, 0.15);
}

.blog-post:hover .post-info {
    background: linear-gradient(135deg, #05386d 0%, #0a4a99 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.blog-post:hover .post-info h3 a,
.blog-post:hover .post-info p {
    color: #ffffff;
}

.blog-post:hover h3::after {
    background: #ffffff;
}

Responsive 
@media (max-width: 1200px) {
    .col-md-3 {
        width: 50%;
    }
}

@media (max-width: 768px) {
    #blog .section-title h1 {
        font-size: 32px;
    }

    .blog-post {
        height: auto;
    }

    .blog-post .post-thumb {
        height: 250px;
    }

    .blog-post .post-info {
        padding: 35px 25px;
    }

    .col-xs-6.col-sm-6 {
        width: 100%;
    }
}
/* ===================================== PRICING SECTION (#services) - PREMIUM DESIGN ============================================== */

#services {
    background: linear-gradient(135deg, #c7d9e1 0%, #ffffff 50%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}
#services.section-padding h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #05386d, transparent);
    border-radius: 2px;
} 
#services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(5, 56, 109, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

#services::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(5, 56, 109, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Section Title */
#services .section-title {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 80px;
}

#services .section-title h1 {
    color: #000000;
    font-size: 48px;
    font-weight: 700;
    font-family: serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

#services .section-title h1::before {
    width: 100px;
    height: 3px;
    position: absolute;
    left: 50%;
    bottom: -15px;
    content: "";
    background: linear-gradient(90deg, transparent, #05386d, transparent);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    border-radius: 2px;
}

#services .section-title p {
    color: #666;
    font-size: 16px;
    margin-top: 30px;
    max-width: 600px;
}

/* Pricing Cards Container */
#services .row {
    display: flex !important;
    gap: 0px !important;
    flex-wrap: wrap !important;
    justify-content:left;
    position: relative;
    z-index: 2;
    margin: 0%;
}
#services .col-xs-6.col-sm-6.col-md-3 {
   width: 25% !important;
    float: none !important;
    margin-right: 0% !important;
     padding: 0 7.5px !important;
    box-sizing: border-box !important;
}
/* Service List - Pricing Card */
.service-list {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(5, 56, 109, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border: none;
    /* flex: 0 1 calc(33.333% - 20px); */
    min-height: 550px;
    flex: 0 0 100% !important;
    display: flex;
    flex-direction: column;
    width: 100% !important;
     margin: 0 !important;
}

.service-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 56, 109, 0) 0%, rgba(24, 175, 211, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.service-list::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #05386d, #18afd3, transparent);
    transition: left 0.6s ease;
    z-index: 10;
}

.service-list:hover::after {
    left: 100%;
}

/* Service Info - Card Content */
.service-info {
    padding: 50px 40px;
    background: #ffffff;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* Service Title */
.service-list h3 {
    margin: 0 0 25px 0;
    font-size: 28px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    color: #05386d;
    font-family: serif;
}

.service-list h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #05386d, #18afd3);
    transition: width 0.4s ease;
}

.service-list h3:hover::after {
    width: 100%;
}

/* Price */
.service-list p:first-of-type {
    margin: 0 0 25px 0;
    color: #18afd3;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Service List Items */
.service-info ul {
    margin: 0 0 30px 0;
    list-style: none;
    padding: 0;
}

.service-info ul li {
    color: #666;
    font-size: 15px;
    line-height: 2;
    margin: 0 0 10px 0;
    transition: all 0.3s ease;
}

.service-info ul li i {
    color: #18afd3;
    margin-right: 10px;
    font-weight: bold;
}

.service-info ul li:hover {
    color: #05386d;
    padding-left: 5px;
}

/* Button */
.service-list .btn {
    margin-top: auto;
    padding: 12px 30px !important;
    background: linear-gradient(135deg, #05386d 0%, #0a4a99 100%) !important;
    color: #ffffff !important;
    border: none;
    font-weight: 700 !important;
    font-size: 14px !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    display: inline-block !important;
    text-align: center;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(5, 56, 109, 0.2)!important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
}

.service-list .btn:hover {
    background: linear-gradient(135deg, #0a4a99 0%, #05386d 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(5, 56, 109, 0.3) !important;
    transform: translateY(-3px) !important;
}

.service-list .btn::before {
    display: none;
}

/* Card Hover Effect */
.service-list:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 25px 60px rgba(5, 56, 109, 0.2);
}

.service-list:hover .service-info {
    background: linear-gradient(135deg, #05386d 0%, #0a4a99 100%) !important;
    animation: colorSlide 1.8s ease-in-out;
}

.service-list:hover h3,
.service-list:hover p,
.service-list:hover .service-info ul li {
    color: #ffffff !important;
}

.service-list:hover .service-info ul li i {
    color: #18afd3 !important;
}

.service-list:hover h3::after {
    background: #18afd3 !important;
}

/* ===================================== CONTACT US SECTION - PROFESSIONAL DESIGN ============================================ */

#contact-us {
    background: linear-gradient(135deg, #ffffff 0%, #fbfcfe 50%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}
#contact-us .section-title h1 {
    color: #000000;
    font-size: 35px;
    font-weight: 700;
    font-family: serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

#contact-us.section-title p{
    color: #666 !important;
    font-size: 16px;
    margin-top: 30px;
    max-width: 600px;
}

#contact-us.section-padding h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #05386d, transparent);
    border-radius: 2px;
}
#contact-us::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(5, 56, 109, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

#contact-us::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(5, 56, 109, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.contact-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: stretch;
}

.row {
    margin-bottom: 40px;
}

/* Form Styling */
.form-grid {
    background: linear-gradient(135deg, #c5e9f8 0%, #fabbbb 100%) !important;
    border-radius: 25px;
    padding: 50px 40px !important;
    box-shadow: 0 10px 40px rgba(5, 56, 109, 0.08);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border: 2px solid rgba(5, 56, 109, 0.1);
    animation: slideInLeft 0.8s ease-out 0.2s backwards;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
}

.form-grid::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #05386d, #18afd3, #05386d);
    border-radius: 25px 25px 0 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.form-grid:hover::before {
    opacity: 1;
}

.form-grid:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(5, 56, 109, 0.15);
    border-color: rgba(5, 56, 109, 0.1);
}

.form-grid form {
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #05386d;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Arial', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(5, 56, 109, 0.15);
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    font-family: Arial, sans-serif;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.7);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #05386d;
    box-shadow: 0 0 0 4px rgba(5, 56, 109, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: Arial, sans-serif;
}

.success-message {
    display: none;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
    animation: slideDown 0.5s ease-out;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.success-message.show {
    display: block;
}

.success-message i {
    margin-right: 10px;
}

.btn-submit {
    width: 100%;
    padding: 26px 35px;
    background: linear-gradient(135deg, #05386d 0%, #0a4a99 100%) !important;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 8px 25px rgba(5, 56, 109, 0.25);
    margin: 10px auto 0 auto
    display: block ;
    align-items: center ;
    width: 50%  ;
    /* justify-content: center ; */
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #0a4a99 0%, #05386d 100%);
    box-shadow: 0 12px 35px rgba(5, 56, 109, 0.35);
    transform: translateY(-3px);
}

.btn-submit:hover::before {
    left: 100%;
}

#subForm {
  display: flex;
  flex-direction: column;
  align-items: center; /* horizontally center everything inside */
}

#subForm .form-group {
  width: 100%;
  max-width: 400px; /* optional: to make inputs not too wide */
}

#subForm button {
  width: auto; /* prevent full width */
  margin-top: 10px;
}

/* ============================================= MAP STYLING ======================================== */

.map-box {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(5, 56, 109, 0.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border: 1px solid rgba(5, 56, 109, 0.05);
    animation: slideInRight 0.8s ease-out 0.2s backwards;
}

.map-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(5, 56, 109, 0.15);
}

.map-container {
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    min-height: 520px;
    background: #f0f4f8;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #05386d, #18afd3, #05386d);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 10;
    border-radius: 25px 25px 0 0;
}

.map-box:hover .map-container::before {
    opacity: 1;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: none;
    display: block;
    position: relative;
    z-index: 1;
}
/* Contact Block - 3 Cards in One Line */
.contact-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
    margin: 0;
    background: #ffffff;
    list-style: none;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(5, 56, 109, 0.1);
    border: 1px solid rgba(5, 56, 109, 0.05);
    animation: slideUp 0.8s ease-out 0.3s backwards;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-block::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #05386d, #18afd3, #05386d);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.contact-block:hover::before {
    opacity: 1;
}

.contact-block:hover {
    box-shadow: 0 20px 60px rgba(5, 56, 109, 0.15);
    transform: translateY(-10px);
}

.contact-block li {
    width: auto;
    float: none;
    text-align: left;
    padding: 0;
    background: transparent;
    margin-bottom: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.contact-block li:hover {
    transform: scale(1.02);
    background: transparent !important;
}

.contact-list {
    display: contents;
}

.contact-list .fa {
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, #05386d 0%, #0a4a99 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(5, 56, 109, 0.2) !important;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.contact-block li:hover .fa {
    background: linear-gradient(135deg, #0a4a99 0%, #05386d 100%) !important;
    box-shadow: 0 12px 35px rgba(5, 56, 109, 0.3) !important;
    transform: scale(1.1) rotate(-10deg) !important;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    color: #05386d;
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: serif;
}

.contact-info p {
    color: #777;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
    font-family: Arial, sans-serif;
}

.contact-info a {
    color: #05386d;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-info a:hover {
    color: #18afd3;
    text-decoration: underline;
    transform: translateX(2px);
}

/* Divider between items */
.contact-block li:not(:last-child)::after {
    content: '';
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(5, 56, 109, 0.2), transparent);
    position: absolute;
    right: -20px;
}



/* Animations */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-wrapper {
        gap: 40px;
    }

    .map-box iframe {
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    #contact-us {
        padding: 80px 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .form-grid,
    .map-box iframe {
        min-height: 380px;
    }

    .contact-block {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }

    .contact-block li {
        gap: 15px;
        border-bottom: 1px solid rgba(5, 56, 109, 0.08);
        padding-bottom: 20px;
    }

    .contact-block li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .contact-block li:not(:last-child)::after {
        display: none;
    }

    .contact-list .fa {
        width: 65px;
        height: 65px;
        font-size: 24px;
    }

    .contact-info h3 {
        font-size: 15px;
    }

    .contact-info p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    #contact-us {
        padding: 60px 0;
    }

    .contact-wrapper {
        gap: 25px;
        margin-bottom: 50px;
    }

    .form-grid {
        padding: 30px 20px;
        min-height: auto;
    }

    .map-box iframe {
        min-height: 300px;
    }

    .contact-block {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .contact-block li {
        gap: 12px;
        border-bottom: 1px solid rgba(5, 56, 109, 0.08);
        padding-bottom: 18px;
    }

    .contact-block li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .contact-list .fa {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .contact-info h3 {
        font-size: 14px;
        margin: 0 0 3px 0;
    }

    .contact-info p {
        font-size: 12px;
    }
}
/* Divider between items */
.contact-block li:not(:last-child)::after {
    content: '';
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(5, 56, 109, 0.2), transparent);
    position: absolute;
    right: -20px;
}

/* ================================ RESPONSIVE BREAKPOINTS =================================================== */

/* Large Desktop (1200px and above) - 3 cards */
@media only screen and (min-width: 1200px) {
    .contact-block {
        flex-direction: row;
        gap: 40px;
        padding: 40px;
    }
    
    .contact-block li:not(:last-child)::after {
        display: block;
    }
}

/* Medium Desktop (992px to 1199px) - 3 cards, slightly smaller */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .contact-block {
        flex-direction: row;
        gap: 30px;
        padding: 35px 25px;
    }
    
    .contact-list .fa {
        width: 65px !important;
        height: 65px !important;
        font-size: 26px !important;
    }
    
    .contact-info h3 {
        font-size: 15px;
    }
    
    .contact-info p {
        font-size: 13px;
    }
    
    .contact-block li:not(:last-child)::after {
        display: block;
        right: -15px;
    }
}

/* Tablet Landscape (768px to 991px) - 3 cards stacked */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .contact-block {
        flex-direction: column;
        gap: 25px;
        padding: 30px;
    }
    
    .contact-block li {
        width: 100%;
        gap: 18px;
        padding: 20px 0;
        border-bottom: 1px solid rgba(5, 56, 109, 0.08);
    }
    
    .contact-block li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .contact-block li:not(:last-child)::after {
        display: none;
    }
    
    .contact-list .fa {
        width: 65px !important;
        height: 65px !important;
        font-size: 24px !important;
    }
    
    .contact-info h3 {
        font-size: 15px;
    }
    
    .contact-info p {
        font-size: 13px;
    }
}

/* Tablet Portrait and Small Devices (640px to 767px) - Vertical stack */
@media only screen and (min-width: 640px) and (max-width: 767px) {
    .contact-block {
        flex-direction: column;
        gap: 20px;
        padding: 25px 20px;
    }
    
    .contact-block li {
        width: 100%;
        gap: 15px;
        padding: 18px 0;
        border-bottom: 1px solid rgba(5, 56, 109, 0.08);
    }
    
    .contact-block li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .contact-block li:not(:last-child)::after {
        display: none;
    }
    
    .contact-list .fa {
        width: 60px !important;
        height: 60px !important;
        font-size: 22px !important;
    }
    
    .contact-info h3 {
        font-size: 14px;
        margin: 0 0 4px 0;
    }
    
    .contact-info p {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* Mobile Large (480px to 639px) - Vertical stack */
@media only screen and (min-width: 480px) and (max-width: 639px) {
    .contact-block {
        flex-direction: column;
        gap: 18px;
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .contact-block li {
        width: 100%;
        gap: 12px;
        padding: 15px 0;
        border-bottom: 1px solid rgba(5, 56, 109, 0.08);
    }
    
    .contact-block li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .contact-block li:not(:last-child)::after {
        display: none;
    }
    
    .contact-list .fa {
        width: 55px !important;
        height: 55px !important;
        font-size: 20px !important;
    }
    
    .contact-info h3 {
        font-size: 13px;
        margin: 0 0 3px 0;
    }
    
    .contact-info p {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* Mobile Small (0px to 479px) - Vertical stack, compact */
@media only screen and (max-width: 479px) {
    .contact-block {
        flex-direction: column;
        gap: 15px;
        padding: 18px 12px;
        border-radius: 12px;
    }
    
    .contact-block li {
        width: 100%;
        gap: 10px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(5, 56, 109, 0.08);
    }
    
    .contact-block li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .contact-block li:not(:last-child)::after {
        display: none;
    }
    
    .contact-list .fa {
        width: 50px !important;
        height: 50px !important;
        font-size: 18px !important;
    }
    
    .contact-info h3 {
        font-size: 12px;
        margin: 0 0 2px 0;
        letter-spacing: 0.5px;
    }
    
    .contact-info p {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .contact-info a {
        font-size: 11px;
    }
}

/* Extra Small Mobile (0px to 374px) - Ultra compact */
@media only screen and (max-width: 374px) {
    .contact-block {
        padding: 15px 10px;
        gap: 12px;
    }
    
    .contact-block li {
        gap: 8px;
        padding: 10px 0;
    }
    
    .contact-list .fa {
        width: 45px !important;
        height: 45px !important;
        font-size: 16px !important;
    }
    
    .contact-info h3 {
        font-size: 11px;
    }
    
    .contact-info p {
        font-size: 10px;
    }
}

/* Hover effects disabled on touch devices */
@media (hover: none) {
    .contact-block:hover {
        transform: none;
    }
    
    .contact-block li:hover {
        transform: none;
    }
    
    .contact-block li:hover .fa {
        transform: none !important;
    }
}

/* ====================================== WHATSAPP FLOATING BUTTON =========================== */

.color-switcher {
    position: fixed;
    bottom: 180px;
    right:30px;
    z-index: 9999;
    /* width: 60px; */
    /* height: 60px; */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    
}

/*.color-switcher:hover {*/
/*    transform: scale(1.15);*/
/*    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);*/
/*    bottom: 25px;*/
/*}*/

.color-switcher a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    text-decoration: none;
}

.color-switcher img {
    /* width: 35px; */
    height: 75px;
    object-fit: contain;
}


/* =================================footer========================================================================================================= */

.footer-row {
  display: flex !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
}
footer {
    background: linear-gradient(to bottom, #1a1a1a 0%, #0d0d0d 100%);
    color: #ffffff !important;
    padding: 40px 0 0 0 !important;
    position: relative  !important;
    margin-top: 0 !important;
    clear: both !important;
     z-index: 1 !important;
}

.footer-.col-xs-12 {
  width: 25% !important;
}

section#contact-us {
    margin-bottom: 0 !important;
    padding-bottom: 50px !important;
}


/* ============================improved footer============================================================================== */


footer .footer-bottom .col-xs-12.col-sm-6 {
  width: 80% !important;          /* override Bootstrap full width */
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
footer .footer-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 15px 0;
  margin-top: 20px;
}   


footer .footer-bottom .copyright {
  margin: 0 !important;
  color: #808080 !important;
  width: 40% !important;
  font-size: 13px !important;
}

footer .footer-bottom .footer-legal {
  list-style: none !important;
  display: flex !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: flex-end !important;
}

footer .footer-bottom .footer-legal li {
  margin: 0 !important;
}

footer .footer-bottom .footer-legal a {
  color: #808080 !important;
  text-decoration: none !important;
  font-size: 12px !important;
  transition: color 0.3s ease !important;
}

footer .footer-bottom .footer-legal a:hover {
  color: #18afd3 !important;
}
/* Top Border Line */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #009495 0%, #00c8ca 50%, #009495 100%);
}

/* Footer Main Section */
footer .footer-main {
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

/* Footer Section Headings */
footer .footer-section h4 {
    color: #18afd3;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Raleway', sans-serif;
}

/* About Section */
footer .footer-about p {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 13px;
    margin-bottom: 15px;
}

/* Social Links */
footer .social-links {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

footer .social-links li {
    margin: 0;
}

footer .social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
}

footer .social-links a:hover {
    background: #18afd3;
    color: #ffffff;
    transform: translateY(-3px);
    border-color: #18afd3;
    box-shadow: 0 5px 15px rgba(0, 148, 149, 0.4);
}

/* Footer Links Lists */
footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-links li {
    margin-bottom: 10px;
}

footer .footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
    display: inline-block;
    position: relative;
}

footer .footer-links a:hover {
    color: #18afd3;
    padding-left: 8px;
}

footer .footer-links a::before {
    content: '›';
    position: absolute;
    left: -15px;
    color: #18afd3;
    font-size: 16px;
    opacity: 0;
    transition: all 0.3s ease;
}

footer .footer-links a:hover::before {
    opacity: 1;
    left: -5px;
}

/* Contact Section */
footer .footer-contact p {
    color: #b0b0b0;
    margin-bottom: 12px;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

footer .footer-contact i {
    color: #18afd3;
    font-size: 14px;
    min-width: 20px;
    margin-right: 10px;
    margin-top: 3px;
}

footer .footer-contact a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size:22px;
}

footer .footer-contact a:hover {
    color: #18afd3;
}

/* Footer Bottom Section */
footer .footer-bottom {
    padding: 20px 0;
    margin: 0;
    
}


footer .copyright {
    margin: 0;
    width: 40%;
}

footer .copyright p {
    color: #808080;
    font-size: 13px;
    margin: 0;
    width: 400px;
}

/* Footer Legal Links */
footer .footer-legal {
    display: flex;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: flex-end;
    width: 100%;
}

footer .footer-legal li {
    margin: 0;
}

footer .footer-legal a {
    color: #808080;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
    position: relative;

}

footer .footer-legal a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: #18afd3;
    transition: width 0.3s ease;
}

footer .footer-legal a:hover {
    color: #18afd3;
}

footer .footer-legal a:hover::after {
    width: 100%;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.footer-main > div {
  flex: 1 1 22%;  /* 4 columns side by side */
  min-width: 220px;
}

.footer-main h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: white;
}

.footer-main ul {
  list-style: none;
  padding: 0;
}

.footer-main ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer-main ul li a:hover {
  color: #fff;
}


/* Responsive Design */
@media (max-width: 991px) {
    footer {
        padding: 35px 0 0 0;
    }
    
    footer .footer-section {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    footer {
        padding: 30px 0 0 0;
    }
    
    footer .footer-main {
        padding-bottom: 20px;
    }
    
    footer .footer-section {
        margin-bottom: 25px;
    }
    
    footer .footer-bottom {
        /* text-align: center; */
        border-top: 1px solid #444;
  padding-top: 15px;
  margin-top: 30px;
  display: flex;
  justify-content: space-between; /* left-right alignment */
  align-items: center;
  flex-wrap: wrap;
    }

    .footer-bottom .col-sm-6 {
  flex: 1;
  width: auto !important;
  display: flex;
  justify-content: center;
}

    
    footer .footer-legal {
        justify-content: center;
        margin-top: 15px;
    }
    
    footer .copyright p {
        margin-bottom: 10px;
        width: 50%;
    }
}

@media (max-width: 480px) {
    footer .social-links a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    
    footer .footer-legal {
        flex-wrap: wrap;
        gap: 12px;
    }
}


/* Mobile responsive */
@media (max-width: 768px) {
    .color-switcher {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }

    .color-switcher img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .color-switcher {
        width: 50px;
        height: 50px;
        bottom: 30px;
        right: 30px;
    }

    .color-switcher img {
        width: 28px;
        height: 28px;
    }
}


/* Responsive Design */
@media (max-width: 1200px) {
    .service-list {
        flex: 0 1 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    #services .section-title h1 {
        font-size: 32px;
    }

    .service-list {
        flex: 0 1 100%;
        min-height: auto;
    }

    .service-info {
        padding: 35px 25px;
    }

    .service-list h3 {
        font-size: 24px;
    }

    .col-xs-6.col-sm-6 {
        width: 100%;
    }
}

@media (max-width: 480px) {
    #services .section-title h1 {
        font-size: 26px;
    }

    .service-info {
        padding: 25px 15px;
    }

    .service-list h3 {
        font-size: 20px;
    }

    .service-info ul li {
        font-size: 14px;
        line-height: 1.8;
    }
}
 /* ============================ RESPONSIVE DESIGN - ALL DEVICES ====================== */

/* Extra Small Devices (Mobile) - 0px to 479px */
@media only screen and (max-width: 479px) {
  #banner .item {
    height: 130px;
  }
  .portfolio_items li {
    width: 100%;
  }
  .portfolio_items li:nth-last-child(-n + 1) {
    margin-bottom: 0;
  }
  .contact-block li {
    width: 100%;
  }
  #banner h1 {
    font-size: 20px;
  }
  
  /* Services Responsive */
  #services .col-xs-6.col-sm-6.col-md-3 {
    width: 100% !important;
    padding: 0 10px !important;
  }
  
  .service-list {
    min-height: auto !important;
  }
  
  .service-info {
    padding: 20px 15px !important;
  }
  
  .service-list h3 {
    font-size: 18px !important;
  }
  
  .service-info ul li {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }
}

/* Small Devices - 480px to 639px */
@media only screen and (min-width: 480px) and (max-width: 639px) {
  #banner .item {
    height: 400px;
  }
  .portfolio_items li {
    width: 50%;
  }
  .portfolio_items li:nth-last-child(-n + 2) {
    margin-bottom: 0;
  }
  .contact-block li {
    width: 50%;
  }
  
  /* Services Responsive */
  #services .col-xs-6.col-sm-6.col-md-3 {
    width: 100% !important;
    padding: 0 10px !important;
  }
  
  .service-info {
    padding: 25px 20px !important;
  }
  
  .service-list h3 {
    font-size: 20px !important;
  }
}

/* Medium Small - 0px to 639px */
@media only screen and (max-width: 639px) {
  .section-padding {
    padding: 40px 0;
  }
  .col-xs-6 {
    width: 100%;
  }
  #services .col-xs-6:nth-last-child(-n + 1) .service-list {
    margin-bottom: 0;
  }
  #doctors .col-xs-6:nth-last-child(-n + 1) .doctor-list {
    margin-bottom: 0;
  }
  #fun-facts .col-xs-6:nth-last-child(-n + 1) .fun-facts-info {
    margin-bottom: 0;
  }
  #filter-list li {
    margin: 0 5px 10px;
  }
  #filter-list {
    margin: 0 0 20px;
  }
}

/* Tablet Portrait - 640px to 767px */
@media only screen and (min-width: 640px) and (max-width: 767px) {
  #banner .item {
    height: 500px;
  }
  #services .col-xs-6:nth-last-child(-n + 2) .service-list {
    margin-bottom: 0;
  }
  #doctors .col-xs-6:nth-last-child(-n + 2) .doctor-list {
    margin-bottom: 0;
  }
  #fun-facts .col-xs-6:nth-last-child(-n + 2) .fun-facts-info {
    margin-bottom: 0;
  }
  .portfolio_items li {
    width: 33.33%;
  }
  #services .col-xs-6:nth-child(2n + 1) {
    clear: both;
  }
  .portfolio_items li:nth-last-child(-n + 3) {
    margin-bottom: 0;
  }
  #blog .col-xs-6:nth-last-child(-n + 2) .blog-post {
    margin-bottom: 0;
  }
  .contact-block li {
    width: 50%;
  }
  
  /* Services Responsive */
  #services .col-xs-6.col-sm-6.col-md-3 {
    width: 50% !important;
    padding: 0 15px !important;
  }
  
  .service-info {
    padding: 30px 25px !important;
  }
}

/* Tablet and Below - 0px to 767px */
@media only screen and (max-width: 767px) {
  #navbar {
    height: 100% !important;
    padding: 30px 0 0;
    /* background: #009495; */
    background: #18afd3;
  }
  .navbar-default .navbar-toggle {
    margin: 18px 18px;
    border-radius: 3px;
    border-color: #18afd3;
  }
  .navbar-default .navbar-toggle .icon-bar {
    background: #18afd3;
  }
  .navbar-default .navbar-toggle:focus,
  .navbar-default .navbar-toggle:hover {
    background: #18afd3;
  }
  .navbar-default .navbar-toggle:focus .icon-bar,
  .navbar-default .navbar-toggle:hover .icon-bar {
    background: #fff;
  }
  .navbar-default .navbar-nav > li {
    margin: 0;
  }
  .navbar-default .navbar-nav > li > a,
  .navbar-default .navbar-nav > li > a:focus {
    padding: 10px 15px;
  }
  #about-us .single-img {
    margin: 0 0 30px;
  }
  .fun-facts-info {
    margin: 0 0 30px;
  }
  .fun-facts-info .fa {
    margin: 0 0 5px;
  }
  .contact-block {
    margin: 30px 0 0;
  }
  #map {
    margin: 30px 0 0;
  }
  footer {
    padding: 15px 0;
  }
  .copyright {
    text-align: center;
  }
  .copyright p {
    line-height: 18px;
    margin: 0 0 10px;
  }
  .social-media {
    width: 100%;
    text-align: center;
  }
  .social-media li {
    float: none;
    display: inline-block;
  }
  .navbar-default .navbar-nav > li.consultation {
    padding: 8px 15px;
  }
}

/* Tablet Landscape - 768px to 991px */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-default .navbar-nav > li {
    margin-left: 5px;
  }
  .navbar-default .navbar-nav > li > a,
  .navbar-default .navbar-nav > li > a:focus {
    padding: 25px 5px;
    font-size: 12px;
  }
  #banner .item {
    height: 500px;
  }
  .contact-block li {
    padding: 25px 5px;
  }
  #about-us .single-img {
    margin: 0 0 30px;
  }
  #services .col-xs-6:nth-last-child(-n + 2) .service-list {
    margin-bottom: 0;
  }
  #doctors .col-xs-6:nth-last-child(-n + 4) .doctor-list {
    margin-bottom: 0;
  }
  .portfolio_items li {
    width: 33.33%;
  }
  #services .col-xs-6:nth-child(2n + 1) {
    clear: both;
  }
  .portfolio_items li:nth-last-child(-n + 3) {
    margin-bottom: 0;
  }
  #blog .col-xs-6:nth-last-child(-n + 2) .blog-post {
    margin-bottom: 0;
  }
  .contact-block {
    margin: 30px 0 0;
  }
  #map {
    margin: 30px 0 0;
  }
  
  /* Services Responsive */
  #services .col-xs-6.col-sm-6.col-md-3 {
    width: 50% !important;
    padding: 0 15px !important;
  }
}

/* Desktop Small - 992px to 1199px */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .single-progressbar {
    margin-bottom: 15px;
  }
  #services .col-xs-6:nth-last-child(-n + 3) .service-list {
    margin-bottom: 0;
  }
  #doctors .col-xs-6:nth-last-child(-n + 4) .doctor-list {
    margin-bottom: 0;
  }
  #services .col-xs-6:nth-child(3n + 1) {
    clear: both;
  }
  .portfolio_items li:nth-last-child(-n + 4) {
    margin-bottom: 0;
  }
  #blog .col-xs-6:nth-last-child(-n + 3) .blog-post {
    margin-bottom: 0;
  }
  
  /* Services Responsive */
  #services .col-xs-6.col-sm-6.col-md-3 {
    width: 25% !important;
    padding: 0 7.5px !important;
  }
}

/* Desktop Large - 1200px and above */
@media only screen and (min-width: 1200px) {
  .portfolio_items li:nth-last-child(-n + 4) {
    margin-bottom: 0;
  }
  #doctors .col-xs-6:nth-last-child(-n + 4) .doctor-list {
    margin-bottom: 0;
  }
  #doctors .col-xs-6:nth-child(4n + 1) {
    clear: both;
  }
  #services .col-xs-6:nth-last-child(-n + 4) .service-list {
    margin-bottom: 0;
  }
  #services .col-xs-6:nth-child(4n + 1) {
    clear: both;
  }
  #blog .col-xs-6:nth-last-child(-n + 3) .blog-post {
    margin-bottom: 0;
  }
  
  /* Services - 4 Columns */
  #services .col-xs-6.col-sm-6.col-md-3 {
    width: 25% !important;
    padding: 0 7.5px !important;
  }
}




