/*********************exep****************/
.exep_1i:hover {
  background: #3c3e93 !important;
  color: #fff;
  transition: 0.3s;
}

.exep_1i:hover span {
  color: #fff !important;
}

/*********************exep_end****************/

/*********************serv_h****************/
.serv_h2ri1 {
  width: 60%;
  left: 20%;
  bottom: -80px;
}

#serv_h {
  padding-bottom: 110px;
}

/*********************serv_h_end****************/


.center_h1l h1 {
  font-size: clamp(28px, 5vw, 50px);
  /* smoothly scales between 28px and 50px */
  line-height: 1.2;
  text-align: center;
  font-weight: bold;
}

/* Optional: keep your mobile-specific layout tweaks */
@media screen and (max-width: 767px) {
  .center_h1l {
    text-align: center;
    margin-bottom: 15px;
  }

  .center_h1l p {
    text-align: left;
  }
}



@media screen and (max-width : 767px) {
  .center_h1l h1 {
    font-size: 40px !important;
  }

  .center_h1l {
    text-align: center;
    margin-bottom: 15px;
  }

  .center_h1l p {
    text-align: left;
  }

  .serv_h2r {
    margin-top: 10px;
  }

  .serv_h2ri img {
    height: auto;
  }

  .serv_h2ri1 {
    width: 80%;
    left: 10%;
  }

  .appoint_1l {
    padding-top: 0 !important;
    margin-bottom: 15px;
  }

  .appoint_1l ul li {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


@media (min-width:576px) and (max-width:767px) {}

@media (min-width:768px) and (max-width:991px) {
  .center_h1l h1 {
    font-size: 36px !important;
  }

  .center_h1r img {
    min-height: 350px;
  }

  .appoint_1l {
    padding-top: 0 !important;
    margin-bottom: 15px;
  }

  .appoint_1l ul li {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (min-width:992px) and (max-width:1200px) {}

@media (min-width:1201px) and (max-width:1310px) {}

#typewriter {
  display: inline-block;
  border-right: 2px solid #000;
  white-space: nowrap;
  overflow: hidden;
}

.top-shape::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 100%;
  top: 0;
  left: -17px;
  background: #f29e22;
  transform: skew(40deg);
}

/* Testimonal Image */
.floating-image {
  animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.bg_blue {
  background: linear-gradient(135deg, #004aad, #007bff);
  transition: all 0.3s ease-in-out;
}

.bg_blue:hover {
  background: linear-gradient(135deg, #007bff, #00a2ff);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


/* Cookie Consent Popup */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 15px 20px;
  display: none;
  z-index: 9999;
  animation: fadeIn 0.5s ease-in-out;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-consent p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

.cookie-consent a {
  color: #007bff;
  text-decoration: underline;
}

.btn-accept {
  background-color: #004aad;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-accept:hover {
  background-color: #006eff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}



/* Gallery Section */
#gallery {
  background-color: #f8f9fa;
}

#gallery h1 {
  font-weight: 700;
  color: #002b5b;
}

.gallery-item {
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  transition: transform 0.4s ease, opacity 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Hover zoom effect */
.gallery-item:hover img {
  transform: scale(1.08);
  opacity: 0.9;
}

/* Optional: shadow effect */
.gallery-item {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}