:root {
  --navy: #072c47;
  --blue: #0d6f91;
  --aqua: #55c5c8;
  --sky: #eaf8fb;
  --ink: #18313f;
  --muted: #6c7f89;
  --white: #fff;
  --gold: #d8b16a;
  --shadow: 0 24px 70px rgba(5, 44, 71, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background: #fff;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: "DM Serif Display", serif;
}
a {
  text-decoration: none;
}
.text-primary {
  color: var(--blue) !important;
}
.bg-soft {
  background: #f6fbfc;
}
.section {
  padding: 90px 0;
}
.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--blue);
}
.topbar {
  background: var(--navy);
  color: #dfeef3;
  font-size: 0.82rem;
}
.topbar a {
  color: #fff;
}
.main-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 30px rgba(7, 44, 71, 0.06);
}
.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(13, 111, 145, 0.22);
}
.brand-title {
  font-family: "DM Serif Display", serif;
  color: var(--navy);
  font-size: 1.34rem;
  line-height: 1;
}
.brand-sub {
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b8f98;
}
.navbar .nav-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: #294655 !important;
  padding: 0.9rem 0.72rem !important;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--blue) !important;
}
.btn-brand {
  background: linear-gradient(135deg, var(--blue), #0a5b78);
  border: 0;
  color: #fff;
  border-radius: 999px;
  padding: 0.82rem 1.35rem;
  font-weight: 800;
  box-shadow: 0 12px 25px rgba(13, 111, 145, 0.22);
}
.btn-brand:hover {
  color: #fff;
  transform: translateY(-1px);
}
.hero {
  height: min(790px, 83vh);
  min-height: 620px;
  position: relative;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 0.9s ease,
    transform 6s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 36, 57, 0.9) 0%,
    rgba(4, 36, 57, 0.72) 47%,
    rgba(4, 36, 57, 0.22) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  transform: translateY(-15px);
}
.hero h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
  max-width: 850px;
}
.hero p {
  max-width: 690px;
  color: #e4f2f5;
  font-size: 1.05rem;
  line-height: 1.8;
}
.hero-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
}
.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.55);
  transition: 0.3s;
}
.hero-dot.active {
  width: 36px;
  background: var(--aqua);
}
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
}
.hero-prev {
  left: 24px;
}
.hero-next {
  right: 24px;
}
.quick-strip {
  margin-top: -58px;
  position: relative;
  z-index: 8;
}
.quick-card {
  background: #fff;
  border-radius: 22px;
  padding: 25px;
  box-shadow: var(--shadow);
  height: 100%;
  border: 1px solid #e7f1f4;
}
.round-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--sky);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 1.3rem;
}
.section-title {
  font-size: clamp(2.2rem, 4vw, 3.85rem);
  line-height: 1.08;
  color: var(--navy);
}
.lead-copy {
  color: var(--muted);
  line-height: 1.85;
}
.about-frame {
  position: relative;
  padding: 0 34px 34px 0;
}
.about-main {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.about-float {
  position: absolute;
  width: 47%;
  height: 220px;
  object-fit: cover;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  border: 9px solid #fff;
  box-shadow: 0 18px 50px rgba(7, 44, 71, 0.18);
}
.since-card {
  position: absolute;
  left: -22px;
  top: 42px;
  background: var(--navy);
  color: #fff;
  padding: 20px 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.service-card {
  border: 1px solid #e1eef1;
  border-radius: 24px;
  padding: 28px;
  background: #fff;
  height: 100%;
  transition: 0.35s;
  position: relative;
  overflow: hidden;
}
.service-card:after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  right: -58px;
  bottom: -70px;
  background: var(--sky);
  transition: 0.35s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: #b9dfe5;
}
.service-card:hover:after {
  transform: scale(1.35);
}
.service-card h4 {
  color: var(--navy);
}
.service-card p {
  color: var(--muted);
  position: relative;
  z-index: 2;
}
.service-link {
  font-weight: 800;
  color: var(--blue);
  position: relative;
  z-index: 2;
}
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 2px 25px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-track > .service-wrap {
  min-width: 330px;
  max-width: 330px;
  scroll-snap-align: start;
}
.circle-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #d4e6ea;
  background: #fff;
  color: var(--blue);
}
.doctor-card {
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  height: 100%;
}
.doctor-img {
  height: 460px;
  background: linear-gradient(145deg, #eef8f9, #dbeff2);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 9rem;
}
.doctor-body {
  padding: 30px;
}
.doctor-chip {
  display: inline-block;
  background: var(--sky);
  color: var(--blue);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 800;
}
.feature-box {
  background: var(--navy);
  color: #fff;
  border-radius: 30px;
  padding: 36px;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.feature-box:before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  right: -30px;
  top: -55px;
}
.feature-box p {
  color: #d7e8ed;
}
.gallery-card {
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.gallery-card:hover img {
  transform: scale(1.05);
}
.gallery-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(7, 44, 71, 0.78);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}
.appointment-v {
  position: relative;
  background: linear-gradient(135deg, #062d47, #0b6785);
  color: #fff;
  overflow: hidden;
}
.appointment-v:before,
.appointment-v:after {
  content: "";
  position: absolute;
  top: 0;
  width: 52%;
  height: 84px;
  background: #fff;
  z-index: 2;
}
.appointment-v:before {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}
.appointment-v:after {
  right: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}
.appointment-inner {
  padding: 125px 0 95px;
}
.appointment-v .lead-copy {
  color: #d9ecf1;
}
.appointment-form {
  background: #fff;
  color: var(--ink);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.25);
}
.form-control,
.form-select {
  border-radius: 14px;
  min-height: 50px;
  border-color: #d9e8ec;
}
.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 111, 145, 0.12);
  border-color: #75cbd5;
}
.testimonial {
  background: #fff;
  border: 1px solid #e5eff2;
  border-radius: 24px;
  padding: 30px;
  height: 100%;
}
.stars {
  color: #e5b54e;
}
.page-hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  /* padding: 125px 0 90px; */
  /* background:
    linear-gradient(90deg, rgba(4, 36, 57, 0.93), rgba(4, 36, 57, 0.56)),
    url("../images/eye-care/dr.rushmika.jpg") center/cover; */
  color: #fff;
}
.page-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
}
.breadcrumb a {
  color: #bfe6eb;
}
.content-panel {
  background: #fff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.service-image {
  height: 470px;
  width: 100%;
  object-fit: cover;
  border-radius: 28px;
}
.list-check {
  list-style: none;
  padding: 0;
}
.list-check li {
  padding: 0.55rem 0;
  color: #5f737e;
}
.list-check i {
  color: var(--aqua);
  margin-right: 0.55rem;
}
.contact-card {
  height: 100%;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid #e2eef1;
  background: #fff;
}
.footer {
  background: #061f32;
  color: #c9dce3;
  padding: 70px 0 22px;
}
.footer h5 {
  color: #fff;
}
.footer a {
  color: #c9dce3;
}
.footer a:hover {
  color: #fff;
}
.footer-brand {
  font-size: 1.75rem;
  color: #fff;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s ease;
}
.reveal.show {
  opacity: 1;
  transform: none;
}
@media (max-width: 991px) {
  .hero {
    height: 720px;
  }
  .hero-arrow {
    display: none;
  }
  .quick-strip {
    margin-top: 0;
    padding-top: 28px;
  }
  .about-frame {
    padding: 0;
  }
  .since-card {
    left: 16px;
  }
  .about-float {
    right: 12px;
  }
  .appointment-v:before,
  .appointment-v:after {
    height: 55px;
  }
  .appointment-inner {
    padding-top: 100px;
  }
  .navbar-collapse {
    max-height: 75vh;
    overflow: auto;
  }
  .dropdown-menu {
    border: 0;
    background: #f5fbfc;
  }
}
@media (max-width: 576px) {
  .section {
    padding: 65px 0;
  }
  .hero {
    height: 680px;
    min-height: 680px;
  }
  .hero h1 {
    font-size: 2.75rem;
  }
  .hero-content {
    padding-top: 40px;
  }
  .about-main {
    height: 420px;
  }
  .about-float {
    height: 160px;
  }
  .carousel-track > .service-wrap {
    min-width: 86vw;
    max-width: 86vw;
  }
  .doctor-img {
    height: 360px;
  }
  .page-hero {
    padding: 95px 0 65px;
  }
  .appointment-form {
    padding: 22px;
  }
  .topbar .container {
    justify-content: center !important;
    text-align: center;
  }
}

/* Reusable Header / Footer Enhancements */
.topbar-contact a {
  color: #dfeef3;
  transition: 0.25s;
}
.topbar-contact a:hover {
  color: #fff;
}
.main-nav {
  border-bottom: 1px solid rgba(13, 111, 145, 0.08);
}
.main-nav .navbar-brand {
  padding: 0.55rem 0;
}
.main-nav .dropdown-menu {
  border: 1px solid #e3eef1;
  border-radius: 18px;
  padding: 0.65rem;
  min-width: 240px;
}
.main-nav .dropdown-item {
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-weight: 700;
  color: #35515f;
}
.main-nav .dropdown-item:hover {
  background: var(--sky);
  color: var(--blue);
}
.header-appointment-btn {
  white-space: nowrap;
}
.footer-top-card {
  padding: 30px 34px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(
    135deg,
    rgba(85, 197, 200, 0.13),
    rgba(255, 255, 255, 0.04)
  );
  border-radius: 26px;
}
.footer-top-card p {
  color: #c9dce3;
}
.footer .circle-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.footer .circle-btn:hover {
  background: var(--aqua);
  border-color: var(--aqua);
  color: var(--navy);
}
@media (min-width: 992px) {
  .main-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}
@media (max-width: 991px) {
  .main-nav .navbar-collapse {
    padding: 1rem 0;
  }
  .main-nav .nav-link {
    padding: 0.75rem 0.25rem !important;
  }
  .header-appointment-btn {
    margin-top: 0.4rem;
  }
}

/* new section */
/* ===============================
   PREMIUM WELCOME SECTION
================================ */

.welcome-section {
  padding: 110px 0;
  background:
    radial-gradient(circle at top left, #e9fbfd 0%, transparent 35%),
    linear-gradient(135deg, #ffffff, #f7fcfd);
  overflow: hidden;
}

/* Doctor Image */

.doctor-image-box {
  position: relative;

  border-radius: 35px;

  overflow: hidden;

  padding: 10px;

  background: linear-gradient(145deg, #ffffff, #dff5f7);

  box-shadow: 0 30px 80px rgba(0, 120, 140, 0.18);

  animation: imageFloat 5s infinite ease-in-out;
}

.doctor-image-box img {
  width: 100%;

  height: 540px;

  object-fit: cover;

  border-radius: 28px;

  transition: 0.8s ease;
}

.doctor-image-box:hover img {
  transform: scale(1.08);
}

@keyframes imageFloat {
  50% {
    transform: translateY(-12px);
  }
}

/* Experience Badge */

.experience-badge {
  position: absolute;

  bottom: 35px;

  right: 25px;

  padding: 20px 28px;

  border-radius: 25px;

  background: rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(15px);

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);

  text-align: center;

  animation: floating 4s infinite;

  border: 1px solid rgba(255, 255, 255, 0.6);
}

.experience-badge strong {
  display: block;

  font-size: 42px;

  font-weight: 900;

  color: #07889a;
}

.experience-badge span {
  font-size: 14px;

  color: #526b72;

  font-weight: 600;
}

/* Center */

.section-tag {
  display: inline-block;

  padding: 8px 18px;

  border-radius: 50px;

  background: #e8f8fa;

  color: #07889a;

  font-weight: 700;

  font-size: 13px;

  letter-spacing: 1px;
}

.welcome-title {
  font-size: 46px;

  line-height: 1.15;

  font-weight: 900;

  color: #123c4a;

  margin-top: 20px;
}

.welcome-title span {
  color: #07889a;
}

.title-line {
  height: 5px;

  width: 90px;

  background: linear-gradient(90deg, #07889a, #55d8df);

  border-radius: 20px;

  margin: 25px auto;
}

.achievement-title {
  font-size: 22px;

  font-weight: 800;

  color: #173d49;
}

.achievement-text {
  color: #71838a;

  font-size: 16px;
}

/* Achievement Cards */

.achievement-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 20px;

  margin-top: 35px;
}

.achievement-item {
  background: rgba(255, 255, 255, 0.75);

  backdrop-filter: blur(12px);

  border-radius: 22px;

  padding: 20px;

  border: 1px solid #e6f1f3;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

  transition: 0.4s;

  position: relative;

  overflow: hidden;
}

.achievement-item:before {
  content: "";

  position: absolute;

  width: 60px;

  height: 60px;

  background: #dff7fa;

  border-radius: 50%;

  right: -20px;

  top: -20px;
}

.achievement-item:hover {
  transform: translateY(-10px);

  box-shadow: 0 25px 50px rgba(0, 120, 140, 0.15);
}

.achievement-item h3 {
  font-size: 38px;

  font-weight: 900;

  color: #07889a;

  margin: 0;
}

.achievement-item p {
  margin: 5px 0 0;

  color: #647980;

  font-weight: 600;
}

/* Right Action Buttons */

.action-buttons {
  display: flex;

  flex-direction: column;

  gap: 22px;
}

.action-card {
  position: relative;

  display: flex;

  align-items: center;

  gap: 18px;

  padding: 22px;

  border-radius: 24px;

  background: linear-gradient(135deg, #078fa2, #056273);

  color: white;

  text-decoration: none;

  overflow: hidden;

  box-shadow: 0 18px 40px rgba(0, 120, 140, 0.25);

  transition: 0.45s;
}

.action-card:hover {
  transform: translateX(-12px);

  color: white;
}

.action-card:after {
  content: "";

  position: absolute;

  width: 0;

  height: 0;

  background: rgba(255, 255, 255, 0.18);

  border-radius: 50%;

  left: 20%;

  top: 50%;

  transition: 0.6s;
}

.action-card:hover:after {
  width: 350px;

  height: 350px;
}

.action-card .icon {
  width: 58px;

  height: 58px;

  background: white;

  color: #07889a;

  border-radius: 18px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 26px;

  z-index: 2;

  transition: 0.5s;
}

.action-card:hover .icon {
  transform: rotateY(360deg);
}

.action-card h6 {
  font-size: 17px;

  font-weight: 800;

  margin: 0;

  z-index: 2;
}

.action-card span {
  font-size: 13px;

  opacity: 0.85;

  z-index: 2;
}

.action-card .arrow {
  margin-left: auto;

  font-size: 24px;

  z-index: 2;
}

.emergency {
  background: linear-gradient(135deg, #ff7165, #d83b32);
}

/* Scroll Animation */

.reveal {
  opacity: 0;

  transform: translateY(50px);

  transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.show {
  opacity: 1;

  transform: none;
}

@keyframes floating {
  50% {
    transform: translateY(-12px);
  }
}

/* Mobile */

@media (max-width: 991px) {
  .doctor-image-box img {
    height: 430px;
  }

  .welcome-title {
    font-size: 34px;
  }

  .experience-badge {
    right: 20px;
  }
}

/* why choose */
/* ===================================
   SPECIALITY SECTION PREMIUM DESIGN
=================================== */

.speciality-section {
  padding: 110px 0;

  background: linear-gradient(135deg, #ffffff, #f2fbfc);

  overflow: hidden;
}

/* ==========================
   SECTION HEADER
========================== */

.section-header {
  max-width: 750px;

  margin: auto;
}

.section-tag {
  display: inline-block;

  padding: 8px 22px;

  background: #e6f8fa;

  color: #07889a;

  border-radius: 50px;

  font-size: 14px;

  font-weight: 700;

  letter-spacing: 0.5px;
}

.section-header h2 {
  margin-top: 20px;

  font-size: 46px;

  font-weight: 900;

  color: #123d4a;
}

.section-header h2 span {
  color: #07889a;
}

.section-header p {
  color: #71838a;

  font-size: 17px;

  line-height: 1.8;
}

.title-line {
  width: 85px;

  height: 5px;

  margin: 22px auto;

  border-radius: 20px;

  background: linear-gradient(90deg, #07889a, #35d5df);
}

/* ==========================
   MAIN ALIGNMENT
========================== */

.speciality-wrapper {
  display: grid;

  grid-template-columns: 45% 55%;

  gap: 55px;

  align-items: center;
}

/* ==========================
   IMAGE DESIGN
========================== */

.speciality-image {
  position: relative;
}

.speciality-image img {
  width: 100%;

  height: 560px;

  object-fit: cover;

  border-radius: 35px;

  box-shadow: 0 30px 80px rgba(0, 120, 140, 0.18);

  transition: 0.8s ease;
}

.speciality-image:hover img {
  transform: scale(1.05);
}

/* Image glow */

.speciality-image:before {
  content: "";

  position: absolute;

  width: 250px;

  height: 250px;

  background: #19bfd0;

  filter: blur(120px);

  opacity: 0.3;

  bottom: 0;

  left: 0;
}

/* Experience Box */

.experience-box {
  position: absolute;

  bottom: 35px;

  right: -25px;

  background: rgba(255, 255, 255, 0.9);

  backdrop-filter: blur(15px);

  color: #123d4a;

  padding: 25px 35px;

  border-radius: 25px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);

  animation: floating 4s infinite;
}

.experience-box h3 {
  margin: 0;

  font-size: 45px;

  font-weight: 900;

  color: #07889a;
}

.experience-box p {
  margin: 0;

  font-weight: 600;
}

/* ==========================
   FEATURE CARDS
========================== */

.speciality-list {
  display: flex;

  flex-direction: column;

  gap: 25px;
}

.speciality-item {
  display: flex;

  gap: 25px;

  padding: 30px;

  background: #ffffff;

  border-radius: 28px;

  border: 1px solid #e5f0f2;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);

  transition: 0.45s;

  position: relative;

  overflow: hidden;
}

.speciality-item:before {
  content: "";

  position: absolute;

  width: 120px;

  height: 120px;

  right: -40px;

  top: -40px;

  background: #e8f8fa;

  border-radius: 50%;
}

.speciality-item:hover {
  transform: translateX(15px) translateY(-5px);

  box-shadow: 0 25px 60px rgba(0, 120, 140, 0.16);
}

/* ==========================
   ICON ANIMATION
========================== */

.speciality-icon {
  min-width: 70px;

  height: 70px;

  border-radius: 22px;

  background: linear-gradient(135deg, #07889a, #21c8d8);

  display: flex;

  align-items: center;

  justify-content: center;

  color: white;

  font-size: 30px;

  position: relative;

  overflow: hidden;

  animation: iconFloat 3s infinite ease-in-out;
}

.speciality-icon i {
  position: relative;

  z-index: 2;

  transition: 0.6s;
}

.speciality-item:hover .speciality-icon i {
  transform: rotateY(360deg) scale(1.2);
}

.speciality-icon:before {
  content: "";

  position: absolute;

  width: 0;

  height: 0;

  background: rgba(255, 255, 255, 0.35);

  border-radius: 50%;

  transition: 0.6s;
}

.speciality-item:hover .speciality-icon:before {
  width: 140px;

  height: 140px;
}

/* ==========================
   TEXT
========================== */

.speciality-item h4 {
  position: relative;

  margin-bottom: 12px;

  color: #123d4a;

  font-size: 22px;

  font-weight: 800;
}

.speciality-item p {
  position: relative;

  margin: 0;

  color: #71838a;

  line-height: 1.8;

  font-size: 15px;
}

/* ==========================
   ANIMATIONS
========================== */

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }

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

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }

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

/* Scroll Reveal */

.reveal {
  opacity: 0;

  transform: translateY(50px);

  transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.show {
  opacity: 1;

  transform: none;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 991px) {
  .speciality-wrapper {
    grid-template-columns: 1fr;
  }

  .speciality-image img {
    height: 430px;
  }

  .experience-box {
    right: 20px;
  }

  .section-header h2 {
    font-size: 35px;
  }
}

@media (max-width: 576px) {
  .speciality-item {
    flex-direction: column;
  }

  .speciality-icon {
    width: 65px;
  }

  .experience-box {
    padding: 18px 25px;
  }
}
/* our expertise */
/* =========================================
   PREMIUM DOCTORS SECTION
========================================= */

.doctors-premium-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(12, 153, 171, 0.08),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(43, 190, 157, 0.08),
      transparent 30%
    ),
    #ffffff;
}

/* -----------------------------------------
   Heading
----------------------------------------- */

.doctors-section-heading {
  max-width: 760px;
  margin: 0 auto;
}

.doctor-section-tag {
  display: inline-flex;
  align-items: center;

  padding: 8px 20px;

  border-radius: 50px;

  background: #eaf8fa;

  color: #07889a;

  font-size: 13px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 1px;
}

.doctors-section-heading h2 {
  margin: 18px 0 0;

  color: #143d49;

  font-size: 46px;
  font-weight: 800;

  line-height: 1.15;
}

.doctors-section-heading h2 span {
  color: #07889a;
}

.doctor-title-line {
  width: 80px;
  height: 5px;

  margin: 22px auto;

  border-radius: 50px;

  background: linear-gradient(90deg, #07889a, #42cbd4);
}

.doctors-section-heading p {
  max-width: 650px;

  margin: 0 auto;

  color: #71838a;

  font-size: 16px;
  line-height: 1.8;
}

/* =========================================
   DOCTOR CARD
========================================= */

.premium-doctor-card {
  height: 100%;

  overflow: hidden;

  border: 1px solid #e6f0f2;
  border-radius: 34px;

  background: #ffffff;

  box-shadow: 0 20px 60px rgba(15, 71, 84, 0.1);

  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s ease,
    border-color 0.5s ease;
}

.premium-doctor-card:hover {
  transform: translateY(-12px);

  border-color: rgba(7, 136, 154, 0.22);

  box-shadow: 0 35px 80px rgba(7, 100, 120, 0.18);
}

/* =========================================
   IMAGE FRAME
========================================= */

.premium-doctor-image {
  position: relative;

  height: 370px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  overflow: hidden;

  background: radial-gradient(
    circle at center bottom,
    #ffffff 0%,
    #eef9fa 45%,
    #e3f4f6 100%
  );
}

/* decorative circle */

.premium-doctor-image::before {
  content: "";

  position: absolute;

  width: 300px;
  height: 300px;

  left: 50%;
  bottom: -50px;

  transform: translateX(-50%);

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.75);

  box-shadow: 0 0 0 25px rgba(255, 255, 255, 0.2);
}

/* soft glow */

.doctor-image-glow {
  position: absolute;

  width: 230px;
  height: 230px;

  left: 50%;
  bottom: 20px;

  transform: translateX(-50%);

  border-radius: 50%;

  background: rgba(32, 193, 210, 0.22);

  filter: blur(70px);

  transition: 0.6s ease;
}

/* actual doctor */

.premium-doctor-image img {
  position: relative;

  z-index: 2;

  width: 280px;
  height: 310px;

  object-fit: contain;
  object-position: center bottom;

  transition:
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.7s ease;
}

.premium-doctor-card:hover .premium-doctor-image img {
  transform: translateY(-8px) scale(1.055);
}

.premium-doctor-card:hover .doctor-image-glow {
  transform: translateX(-50%) scale(1.25);
}

/* floating icon */

.doctor-image-badge {
  position: absolute;

  z-index: 4;

  right: 28px;
  top: 28px;

  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  background: rgba(255, 255, 255, 0.92);

  color: #07889a;

  font-size: 21px;

  box-shadow: 0 12px 30px rgba(15, 72, 85, 0.13);

  backdrop-filter: blur(10px);

  animation: doctorIconFloat 3s ease-in-out infinite;
}

/* =========================================
   INFORMATION
========================================= */

.premium-doctor-info {
  position: relative;

  min-height: 285px;

  padding: 34px 34px 30px;

  background: #ffffff;
}

.doctor-speciality {
  display: inline-block;

  margin-bottom: 17px;
  padding: 7px 15px;

  border-radius: 50px;

  background: #eaf8fa;

  color: #067c8d;

  font-size: 12px;
  font-weight: 800;
}

.premium-doctor-info h3 {
  margin: 0;

  color: #153d49;

  font-size: 29px;
  font-weight: 800;
}

.doctor-small-line {
  width: 42px;
  height: 3px;

  margin: 15px 0;

  border-radius: 20px;

  background: linear-gradient(90deg, #07889a, #40cdd6);

  transition: width 0.5s ease;
}

.premium-doctor-card:hover .doctor-small-line {
  width: 85px;
}

.premium-doctor-info p {
  min-height: 58px;

  margin: 0;

  color: #687d84;

  font-size: 15px;
  line-height: 1.75;
}

/* =========================================
   CARD FOOTER
========================================= */

.doctor-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  margin-top: 26px;
  padding-top: 20px;

  border-top: 1px solid #edf2f3;
}

.doctor-card-footer > span {
  color: #657c83;

  font-size: 13px;
  font-weight: 600;
}

.doctor-card-footer > span i {
  margin-right: 5px;

  color: #16a58d;
}

.doctor-card-footer a {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  color: #07889a;

  font-size: 13px;
  font-weight: 800;

  text-decoration: none;

  transition: 0.3s ease;
}

.doctor-card-footer a i {
  transition: transform 0.3s ease;
}

.doctor-card-footer a:hover {
  color: #055e6c;
}

.doctor-card-footer a:hover i {
  transform: translateX(5px);
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes doctorIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }

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

/* Your existing reveal system */

.reveal {
  opacity: 0;

  transform: translateY(45px);

  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* second card slightly delayed */

.row .col-md-6:nth-child(2).reveal {
  transition-delay: 0.15s;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {
  .doctors-premium-section {
    padding: 85px 0;
  }

  .doctors-section-heading h2 {
    font-size: 37px;
  }

  .premium-doctor-image {
    height: 340px;
  }

  .premium-doctor-image img {
    width: 250px;
    height: 285px;
  }
}

@media (max-width: 767px) {
  .doctors-section-heading h2 {
    font-size: 32px;
  }

  .premium-doctor-image {
    height: 330px;
  }

  .premium-doctor-info {
    min-height: auto;
    padding: 28px 24px;
  }

  .premium-doctor-info p {
    min-height: auto;
  }

  .doctor-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===============================
 APPOINTMENT POPUP
================================ */

.appointment-overlay {
  position: fixed;

  inset: 0;

  background: rgba(3, 40, 50, 0.75);

  backdrop-filter: blur(8px);

  display: flex;

  align-items: center;

  justify-content: center;

  opacity: 0;

  visibility: hidden;

  transition: 0.4s;

  z-index: 9999;
}

.appointment-overlay.active {
  opacity: 1;

  visibility: visible;
}

.appointment-popup {
  width: 700px;

  max-width: 92%;

  background: white;

  border-radius: 35px;

  padding: 35px;

  position: relative;

  transform: translateY(50px) scale(0.9);

  transition: 0.5s;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.appointment-overlay.active .appointment-popup {
  transform: translateY(0) scale(1);
}

.appointment-close {
  position: absolute;

  right: 25px;

  top: 25px;

  width: 40px;

  height: 40px;

  border: none;

  border-radius: 50%;

  background: #eaf8fa;

  color: #07889a;

  font-size: 18px;

  transition: 0.3s;
}

.appointment-close:hover {
  background: #07889a;

  color: white;
}

.appointment-header {
  text-align: center;

  margin-bottom: 30px;
}

.appointment-header span {
  display: inline-block;

  padding: 8px 18px;

  background: #eaf8fa;

  color: #07889a;

  border-radius: 50px;

  font-size: 13px;

  font-weight: 700;
}

.appointment-header h2 {
  margin-top: 15px;

  font-size: 35px;

  font-weight: 800;

  color: #123d4a;
}

.appointment-header p {
  color: #71838a;
}

.form-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 20px;
}

.form-group {
  display: flex;

  flex-direction: column;

  gap: 8px;
}

.form-group label {
  font-size: 14px;

  font-weight: 700;

  color: #123d4a;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  border: 1px solid #dcecef;

  border-radius: 15px;

  padding: 15px;

  font-size: 15px;

  outline: none;

  transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #07889a;

  box-shadow: 0 0 0 4px rgba(7, 136, 154, 0.1);
}

.full {
  margin-top: 20px;
}

.appointment-submit {
  margin-top: 25px;

  width: 100%;

  height: 55px;

  border: none;

  border-radius: 50px;

  background: linear-gradient(135deg, #07889a, #05bfd1);

  color: white;

  font-weight: 800;

  font-size: 16px;

  transition: 0.4s;
}

.appointment-submit:hover {
  transform: translateY(-5px);

  box-shadow: 0 20px 40px rgba(7, 136, 154, 0.3);
}

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

  .appointment-popup {
    padding: 25px;
  }

  .appointment-header h2 {
    font-size: 28px;
  }
}

.doctor-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.doctor-img {
  height: 420px;
  overflow: hidden;
}

.doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.doctor-body {
  padding: 30px;
}

.doctor-chip {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 30px;
  background: #eaf7f5;
  color: #0a8f83;
  font-size: 14px;
  font-weight: 600;
}

