.booking_card {
  background: #fff;
  padding: 50px;
  border-radius: 25px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.booking_card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: rgba(44, 110, 203, 0.08);
  border-radius: 50%;
}

.booking_info {
  background: #f8fbff;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 35px;
}

.booking_info h5 {
  font-size: 18px;
  margin-bottom: 8px;
}

.booking_info p {
  margin-bottom: 0;
  color: #555;
}

.modern_field {
  width: 100%;
  height: 58px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  padding: 0 20px;
  transition: 0.3s;
  background: #fff;
}

textarea.modern_field {
  height: 150px;
  padding-top: 18px;
  resize: none;
}

.modern_field:focus {
  border-color: #2c6ecb;
  box-shadow: 0 0 0 4px rgba(44, 110, 203, 0.1);
  outline: none;
}

.booking_btn {
  width: 100%;
  height: 60px;
  border: none;
  border-radius: 14px;
  background: #2c6ecb;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s;
}

.booking_btn:hover {
  background: #1f57a7;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .booking_card {
    padding: 25px;
  }

  .booking_title {
    font-size: 30px;
  }
}
.contact_card {
  background: #fff;
  padding: 30px 20px;
  min-height: 300px;
  height: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.45s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Top Animated Border */
.contact_card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #2ea6f7, #041e5f);
  transition: 0.5s;
}

.contact_card:hover::before {
  left: 0;
}

/* Card Hover */
.contact_card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  background: #f8fbff;
}

/* Icon Animation */
.icon_box {
  font-size: 42px;
  color: #2ea6f7;
  transition: all 0.4s ease;
}

.contact_card:hover .icon_box {
  transform: rotateY(360deg) scale(1.15);
  color: #041e5f;
}

/* Heading */
.contact_card h5 {
  margin: 18px 0 12px;
  font-weight: 700;
  color: #041e5f;
  transition: 0.3s;
}

.contact_card:hover h5 {
  letter-spacing: 1px;
}

/* Text */
.contact_card p,
.contact_card a {
  color: #555;
  text-decoration: none;
  line-height: 1.8;
  transition: 0.3s;
}

.contact_card:hover p,
.contact_card:hover a {
  color: #222;
}

/* Phone Alignment */
.contact_info_text {
  text-align: left;
  width: 100%;
}

.contact_info_text p {
  margin-bottom: 12px;
}

/* Mobile */
@media (max-width: 767px) {
  .contact_card {
    min-height: auto;
  }
}

/* FORM */

.contact_form_box {
  background: #2ea6f7;
  padding: 60px 50px;
  margin-top: -40px;
}

.contact_form_box h2 {
  color: #041e5f;
}

.custom_input {
  height: 55px;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 12px 18px;
  background: #fff;
  font-size: 15px;
  transition: all 0.35s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

textarea.custom_input {
  height: auto;
  resize: none;
}

.custom_input:hover {
  transform: translateY(-3px);
  border-color: #041e5f;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.custom_input:focus {
  border-color: #041e5f;
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(4, 30, 95, 0.25);
  outline: none;
}

.custom_input::placeholder {
  color: #888;
  transition: 0.3s;
}

.custom_input:focus::placeholder {
  opacity: 0.5;
  transform: translateX(5px);
}

.submit_btn {
  background: #fff;
  border: none;
  color: #0b2c7d;
  padding: 14px 38px;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.35s ease;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.submit_btn:hover {
  background: #041e5f;
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.topmove {
  margin-bottom: -50px !important;
}
/* FACILITY SECTION */
.facility_section {
  position: relative;
  padding: 50px 0;
  background: linear-gradient(135deg, #002261, #007bff);
  overflow: hidden;
}

.facility_title {
  margin-bottom: 20px;
}

.facility_title h2 {
  color: #fff;
  margin-bottom: 20px;
}

.facility_title p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: auto;
  font-size: 18px;
}

/* IMAGE */
.facility_image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.facility_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.facility_image:hover img {
  transform: scale(1.05);
}

/* FACILITY LIST */
.facility_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* BOX */
.facility_box {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 25px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: 0.4s ease;
}

.facility_box:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* ICON */
.facility_box i {
  min-width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffc107, #dc3545);
  color: #fff;
  font-size: 24px;
}

/* TEXT */
.facility_box span {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .facility_section {
    padding: 70px 0;
  }

  .facility_title h2 {
    font-size: 36px;
  }

  .facility_box {
    padding: 18px;
  }

  .facility_box span {
    font-size: 17px;
  }

  .facility_box i {
    min-width: 50px;
    height: 50px;
    font-size: 20px;
  }
}
.service-glass-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #eaf4ff, #ffffff);
  position: relative;
  overflow: hidden;
}

/* animated background glow */
.service-glass-section::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(0, 123, 255, 0.15);
  filter: blur(100px);
  top: -100px;
  left: -100px;
  animation: move1 6s infinite alternate;
}

.service-glass-section::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(255, 77, 109, 0.12);
  filter: blur(100px);
  bottom: -100px;
  right: -100px;
  animation: move2 6s infinite alternate;
}

@keyframes move1 {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(50px);
  }
}

@keyframes move2 {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50px);
  }
}

/* grid layout */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.service-item {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 18px;
  text-align: center;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: 0.4s;
  z-index: 1;
}

/* ICON */
.service-item i {
  font-size: 28px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  color: #01215e;
}

/* TEXT */
.service-item h5 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* ===== OVERLAY BASE ===== */
.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: 0.5s;
  z-index: 0;
  opacity: 0.9;
}

/* hover animation */
.service-item:hover::before {
  left: 0;
}

/* text color change on hover */
.service-item:hover h5,
.service-item:hover i {
  color: #fff;
}

/* lift effect */
.service-item:hover {
  transform: translateY(-10px) scale(1.05);
}

/* ===== DIFFERENT COLORS FOR EACH BOX ===== */
.service-item:nth-child(1)::before {
  background: linear-gradient(135deg, #ff4d6d, #ffb199);
}

.service-item:nth-child(2)::before {
  background: linear-gradient(135deg, #36d1dc, #5b86e5);
}

.service-item:nth-child(3)::before {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}

.service-item:nth-child(4)::before {
  background: linear-gradient(135deg, #f7971e, #ffd200);
}

.service-item:nth-child(5)::before {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
}

.service-item:nth-child(6)::before {
  background: linear-gradient(135deg, #fc466b, #3f5efb);
}

.service-item:nth-child(7)::before {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.service-item:nth-child(8)::before {
  background: linear-gradient(135deg, #f953c6, #b91d73);
}

.service-item:nth-child(9)::before {
  background: linear-gradient(135deg, #00b09b, #96c93d);
}

.service-item:nth-child(10)::before {
  background: linear-gradient(135deg, #ff9966, #ff5e62);
}

.service-item:nth-child(11)::before {
  background: linear-gradient(135deg, #141e30, #243b55);
}

.service-item:nth-child(12)::before {
  background: linear-gradient(135deg, #30cfd0, #330867);
}

.service-item:nth-child(13)::before {
  background: linear-gradient(135deg, #a8ff78, #78ffd6);
}

.service-item:nth-child(14)::before {
  background: linear-gradient(135deg, #ff6a00, #ee0979);
}

.service-item:nth-child(15)::before {
  background: linear-gradient(135deg, #2193b0, #6dd5ed);
}

.service-item:nth-child(16)::before {
  background: linear-gradient(135deg, #cc2b5e, #753a88);
}

.service-item:nth-child(17)::before {
  background: linear-gradient(135deg, #ee9ca7, #ffdde1);
}

/* ====================================
   CONDITIONS HERO SECTION
==================================== */

.conditions-hero-section {
  position: relative;
  padding: 20px 0;
  background: url("https://themewagon.github.io/monoline/assets/img/bg/skill-bg.jpg")
    center center/cover no-repeat;
  overflow: hidden;
}

/* overlay like screenshot */
.conditions-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
}

/* content above overlay */
.conditions-hero-section .container {
  position: relative;
  z-index: 2;
}

/* white card */
.conditions-card {
  background: rgba(255, 255, 255, 0.92);
  padding: 45px;
  border-radius: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

/* heading */
.conditions-card h2 {
  line-height: 1.2;
  color: #01215e;
  margin-bottom: 20px;
}

/* paragraph */
.conditions-card p {
  margin-bottom: 25px;
  line-height: 1.8;
}

/* list */
.conditions-list {
  list-style: none;
  padding: 0;
  margin: 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* list item */
.conditions-list li {
  background: #0567fa1a;
  padding: 8px 10px;
  border-radius: 12px;
  transition: 0.3s;
  position: relative;
}

/* icon */
.conditions-list li::before {
  content: "✔";
  color: #0d6efd;
  margin-right: 8px;
  font-weight: bold;
}

/* hover */
.conditions-list li:hover {
  background: linear-gradient(135deg, #0d6efd, #00b4ff);
  color: #fff;
  transform: translateY(-4px);
}

.conditions-list li:hover::before {
  color: #fff;
}

/* responsive */
@media (max-width: 991px) {
  .conditions-hero-section {
    padding: 80px 0;
  }

  .conditions-card {
    padding: 30px;
  }

  .conditions-card h2 {
    font-size: 32px;
  }

  .conditions-list {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   ADMIT SECTION NEW DESIGN
=================================== */

.admit-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.admit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.admit-card {
  position: relative;
  overflow: hidden;
  padding: 28px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.admit-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, #0d6efd, #00b4ff);
}

.admit-card .icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #eaf2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: 0.4s;
}

.admit-card .icon i {
  font-size: 28px;
  color: #0d6efd;
  transition: 0.4s;
}

.admit-card h5 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  color: #01215e;
  transition: 0.4s;
}

/* Hover */

.admit-card:hover h5,
.admit-card:hover .icon i {
  color: #fff;
}

.admit-card:hover .icon {
  background: rgba(255, 255, 255, 0.2);
}

/* Tablet */

@media (max-width: 991px) {
  .admit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */

@media (max-width: 767px) {
  .admit-grid {
    grid-template-columns: 1fr;
  }

  .admit-card {
    padding: 22px 18px;
  }

  .admit-card h5 {
    font-size: 16px;
  }
}

.gallery_card {
  display: block;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  transition: 0.45s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.gallery_card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.gallery_card {
  display: block;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  transition: 0.6s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  height: 100%;
}

/* Liquid Morph Hover */
.gallery_card:hover {
  transform: translateY(-12px);
  border-radius: 55px 20px 55px 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
}

/* Image Container */
.gallery_img {
  overflow: hidden;
  position: relative;
  border-radius: 0 0 40px 40px;
  transition: 0.7s ease;
}

/* Morphing Shape */
.gallery_card:hover .gallery_img {
  border-radius: 0 0 80px 20px;
}

/* Image */
.gallery_img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: 0.8s ease;
  filter: brightness(0.95);
}

/* Image Animation */
.gallery_card:hover .gallery_img img {
  transform: scale(1.12) rotate(2deg);
  filter: brightness(1.05);
}

/* Liquid Overlay */
.gallery_img::before {
  content: "";
  position: absolute;
  width: 180%;
  height: 180%;
  background: rgba(46, 166, 247, 0.18);
  top: -140%;
  left: -40%;
  border-radius: 40%;
  transform: rotate(0deg);
  transition: 0.9s ease;
  z-index: 1;
}

/* Hover Wave Animation */
.gallery_card:hover .gallery_img::before {
  top: -30%;
  transform: rotate(180deg);
}

/* Dark Overlay */
.gallery_img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 30, 95, 0.55),
    rgba(4, 30, 95, 0.08)
  );
  opacity: 0;
  transition: 0.5s ease;
  z-index: 2;
}

.gallery_card:hover .gallery_img::after {
  opacity: 1;
}

/* Content */
.gallery_content {
  padding: 28px;
  position: relative;
  z-index: 5;
  transition: 0.5s ease;
}

.gallery_card:hover .gallery_content {
  transform: translateY(-5px);
}

/* Tag */
.gallery_tag {
  display: inline-block;
  background: #2ea6f7;
  color: #fff;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 15px;
  transition: 0.5s ease;
}

/* Liquid Button Effect */
.gallery_card:hover .gallery_tag {
  background: #041e5f;
  border-radius: 18px 40px 18px 40px;
}

/* Title */
.gallery_content h3 {
  color: #111;
  font-size: 24px;
  transition: 0.4s ease;
}

.gallery_card:hover h3 {
  color: #041e5f;
  letter-spacing: 0.5px;
}

/* Floating Glow */
.gallery_card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(46, 166, 247, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: 0.5s ease;
  z-index: 0;
}

.gallery_card:hover::before {
  opacity: 1;
}

/* Mobile */
@media (max-width: 767px) {
  .gallery_img img {
    height: 240px;
  }
}

/* Mobile */

@media (max-width: 767px) {
  .gallery_img img {
    height: 240px;
  }
}

.gallery_content p {
  font-weight: bold;
}
.medical-accordion {
  margin: auto;
}

.service-box {
  margin-bottom: 25px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #00a5e4;
  transition: 0.4s;
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-btn {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: #0e2b5c;
  cursor: pointer;
  transition: 0.3s;
}

.service-btn i {
  font-size: 18px;
  transition: 0.4s;
  color: #00a5e4;
}

.service-btn.active i {
  transform: rotate(45deg);
}

.service-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}

.service-content.show {
  max-height: 2000px;
  padding: 0 30px 30px;
}

.service-content ul {
  margin: 0;
  padding-left: 20px;
}

.service-content ul li {
  line-height: 1.9;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .service-btn {
    font-size: 18px;
    padding: 20px;
  }

  .service-content.show {
    padding: 0 20px 20px;
  }
}

/* Floating animation (top ↕ bottom) */
@keyframes floatUpDown {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.flip-card {
  width: 100%;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 400px;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

/* 👇 HOVER EFFECT */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
}

.flip-card-front img,
.flip-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Back side */
.flip-card-back {
  transform: rotateY(180deg);
}

@media (max-width: 768px) {
  .flip-card:active .flip-card-inner {
    transform: rotateY(180deg);
  }
}

.ul-list {
  list-style: none;
  padding-left: 0;
}

.ul-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

/* custom bullet icon */
.ul-list li::before {
  content: "";
  position: absolute;

  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background: url("assets/img/list-icon.png") no-repeat center;
  background-size: contain;
}
