
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* TOP BAR */
.topbar {
    width: 100%;
    padding: 0px 80px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
    background: #fff;
}

.topbar .icon { margin-left: 25px; }

.right-icons i {
    margin-left: 18px;
    cursor: pointer;
}

/* MAIN HEADER (Sticky) */
.main-header {
    width: 100%;
    padding: 5px 5px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-container {
    width: 92%;
    margin: auto;

    background: #f7f7f7;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: rgba(0,0,0,0.05) 0px 4px 20px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
}

/* Desktop Default */
.logo img {

    height: 110px;
    object-fit: contain;
    object-position: center;
    background-color: transparent;
    transition: all 0.3s ease;
}

/* ✅ Mobile View (Attractive & Perfect Fit) */
@media (max-width: 768px) {
    .logo {
        justify-content: center;   /* Center logo on mobile */
        padding: 6px 0;
    }

    .logo img {
/* Perfect mobile size */
        height: 75px !important;
        object-fit: contain;
    }
}

/* ✅ Small Mobile (Very Small Screens) */
@media (max-width: 480px) {
    .logo img {
   
        height: 75px;
    }
}


.logo-text h2 { color: red; font-weight: 600; padding-top: 8px; }

/* MENU */
.menu { display: flex; align-items: center; gap: 25px; }

.menu-item { position: relative; }

.menu-item > a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
}

/* DROPDOWN */
.dropdown {
    position: absolute;
    top: 40px;
    left: 0;
    background: #fff;
    width: 180px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.35s ease;
    padding: 10px 0;
    z-index: 999;
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
}

.dropdown a:hover {
    background: #f0f7ff;
    color: #1873b9;
}

/* SHOW DROPDOWN */
.menu-item.show .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

/* SEARCH BUTTON */
.search-btn {
    background: #fff;
    border: 1px solid #ddd;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
}

/* APPOINTMENT BUTTON */
.appointment-btn {
background: linear-gradient(
  130deg,
  #ff3b3b 0%,
  #ff1e1e 30%,
  #e60026 70%,
  #cc001f 100%
);

    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
}

/*  */
/* ---------------- MOBILE RESPONSIVE ------------------- */
/* Sidebar always hidden on desktop */
/* Sidebar always hidden on desktop */
.mobile-sidebar {
    display: none;
}

/* ---------------- MOBILE RESPONSIVE ------------------- */
@media (max-width: 768px) {

    .mobile-sidebar {
        display: block;
    }

    .mobile-sidebar {
        position: fixed;
        top: 0;
        right: -330px;
        width: 330px;
        height: 100vh;
        background: linear-gradient(180deg, #ffffff, #f4f9ff);
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
        transition: 0.45s ease;
        padding: 22px;
        z-index: 99999;
        border-radius: 15px 0 0 15px;
    }

    .mobile-sidebar.active { right: 0; }

    /* Header */
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 15px;
        border-bottom: 1px solid #dfe8f5;
    }

.sidebar-logo {
    width: 100px;
    height: 90px;      /* ✅ As you requested */
    object-fit: contain;
}

/* ✅ Small Mobile ke liye aur compact */
@media (max-width: 480px) {
    .sidebar-logo {
        width: 140px;
        height: 80px;
    }
}

.close-sidebar {
    font-size: 26px;
    cursor: pointer;
}


    .close-sidebar {
        font-size: 34px;
        cursor: pointer;
        color: #333;
        transition: 0.3s;
    }
    .close-sidebar:hover { color: #1873b9; }

    /* Sidebar links */
    .sidebar-links a,
    .side-dropdown > p {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 8px;
        font-size: 17px;
        color: #333;
        border-bottom: 1px solid #e8eef7;
        cursor: pointer;
        transition: 0.3s;
         text-decoration: none;
    }

    .sidebar-links a:hover,
    .side-dropdown > p:hover {
        background: #e9f4ff;
        color: #1873b9;
    }

    /* Sub menu */
    .side-sub {
        padding-left: 35px;
        display: none;
        background: #f5faff;
    }

    .side-sub a {
        padding: 12px 5px;
        color: #1873b9;
        border-bottom: none;
        font-size: 15px;
    }

    /* Accordion open */
    .side-dropdown.open .side-sub {
        display: block;
    }

    .side-dropdown .arrow {
        margin-left: auto;
        transition: 0.3s;
    }

    .side-dropdown.open .arrow {
        transform: rotate(90deg);
        color: #1873b9;
    }

    /* Toggle button only mobile */
    .mobile-toggle {
        display: block !important;
        font-size: 28px;
        cursor: pointer;
    }

    /* Hide desktop items */
    .menu,
    .search-btn,
    .appointment-btn,
    .topbar {
        display: none !important;
    }
}
/* Default: Desktop me hide */
.mobile-toggle {
  display: none;
}

/* Mobile screen par show */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
    font-size: 26px;
    cursor: pointer;
    color: #0c2b63;
  }
}



/* SLIDER */
/* MAIN SLIDER */
/* MAIN SLIDER */
#mainSlider {
  margin-top: 10px;
  overflow: hidden;
  border-radius: 10px;                 /* Attractive Rounded Look */
  position: relative;
  box-shadow: 0px 10px 25px rgba(0,0,0,0.2);
}

/* BACKGROUND IMAGE BOX */
.slider-bg {
  height: 90vh;                        /* FULL HEIGHT */
  width: 100%;
  background-size: contain !important; /* IMAGE NEVER CUTS */
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;              /* Black bars for clean look */
  transition: transform .8s ease;      /* Smooth Zoom Effect */
}

/* Attractive Hover Zoom */
.carousel-item.active .slider-bg {
  transform: scale(1.03);
}

/* ARROWS STYLE */
.slider-arrow {
  filter: invert(1);
  width: 45px;
  height: 45px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .slider-bg {
    height: 45vh;
  }
}

@media (max-width: 480px) {
  .slider-bg {
    height: 40vh;
  }
}

/* ------------------------------------------------------ */
/* CARD SECTION (OVER SLIDER) */
/* ------------------------------------------------------ */

/* FEATURES OVER SLIDER */
.features-over-slider {
  margin-top: 0px;
  position: relative;
  z-index: 10;
}

/* MAIN WRAPPER */
.features-box {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FEATURE CARD */
.feature-card {
  position: relative;
  background: #fff;
  padding: 35px;
  width: 28%;
  border-radius: 10px;
  box-shadow: 0 0 22px rgba(0,0,0,0.07);
  transition: 0.4s ease;
  overflow: hidden;
  text-align: center;
}

/* Text */
.feature-card h3 {
  font-size: 22px;
  margin-top: 15px;
  font-weight: 600;
  color: #000;
}

.feature-card p {
  margin-top: 10px;
  color: #000;
  text-align: justify;
  line-height: 1.6;
  word-spacing: normal;     /* browser natural spacing */
  letter-spacing: 0px;      /* remove artificial spacing */
  font-size: 15px;
  hyphens: auto;            /* breaks long words to avoid big gaps */
}


/* ICON */
.feature-icon {
  font-size: 45px;
  color: red;
  transition: 0.4s;
}

/* HOVER EFFECT */
.feature-card:hover {
 background: linear-gradient(
  130deg,
  #ff3b3b 0%,
  #ff1e1e 30%,
  #e60026 70%,
  #cc001f 100%
);
  transform: translateY(-10px);
  box-shadow: 0 10px 35px rgba(0, 140, 255, 0.35);
  border: 1px solid #0c6eb8;
}

.feature-card:hover .feature-icon,
.feature-card:hover h3,
.feature-card:hover p {
  color: #fff !important;
}

/* BUBBLES */
.bubble,
.bubble2,
.bubble3 {
  position: absolute;
  top: -20px;
  right: -20px;
  background: linear-gradient(
  135deg,
  #ffffff 0%,
  #f7f7f7 40%,
  #ededed 70%,
  #ffffff 100%
);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: 0.5s ease;
}

.bubble { width: 120px; height: 120px; }
.bubble2 { width: 90px; height: 90px; }
.bubble3 { width: 60px; height: 60px; }

/* Hover Animation */
.feature-card:hover .bubble {
  opacity: 1;
  transform: scale(1.2);
}
.feature-card:hover .bubble2 {
  opacity: 1;
  transform: scale(1.4);
}
.feature-card:hover .bubble3 {
  opacity: 1;
  transform: scale(1.6);
}

/* ---------------------------------------------------- */
/* RESPONSIVE DESIGN */
/* ---------------------------------------------------- */

/* MEDIUM DEVICES (TABLETS – 992px) */
@media (max-width: 992px) {
  .feature-card {
    width: 45%; /* 2 Cards Per Row */
    padding: 30px;
        margin-top:50px;
  }

  .feature-icon {
    font-size: 40px;
  }

  .features-over-slider {
    margin-top: -80px;
  }
}

/* SMALL DEVICES (TABLETS/PHABLETS – 768px) */
@media (max-width: 768px) {
  .feature-card {
    width: 46%;
    padding: 25px;
    margin-top:0px;
  }

  .feature-icon {
    font-size: 38px;
  }
}

/* MOBILE DEVICES (576px & Below) */
@media (max-width: 576px) {
  .features-over-slider {
    margin-top: 70px !important;
  }

  .features-box {
    gap: 18px;
  }

  .feature-card {
    width: 90%; /* Single Column */
    padding: 22px;
  }

  .feature-icon {
    font-size: 35px;
  }

  .feature-card h3 {
    font-size: 18px;
  }

  .feature-card p {
    font-size: 14px;
  }

  .bubble {
    width: 80px; height: 80px;
  }
  .bubble2 {
    width: 60px; height: 60px;
  }
  .bubble3 {
    width: 45px; height: 45px;
  }
}

/* ============================== */
/* ABOUT SECTION MAIN */
/* ============================== */

.medical-section {
  padding: 80px 0;
  background: #f8fbfd url("https://elite-themes.com/html/medicoz/images/icons/pattern-2.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
}

/* ============================== */
/* FLEX WRAPPER */
/* ============================== */

.medical-wrapper {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}

/* ============================== */
/* LEFT IMAGES */
/* ============================== */

.medical-images {
  position: relative;
  width: 50%;
  min-height: 470px;
}

/* HEXAGON SHAPE */
.hex-box {
  position: absolute;
  width: 260px;
  height: 290px;
  clip-path: polygon(
    50% 0%, 90% 25%, 90% 75%, 
    50% 100%, 10% 75%, 10% 25%
  );
  border: 8px solid #fff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  background: #fff;
  overflow: hidden;
}

.hex-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BIG HEXAGON */
.hex-big {
  width: 550px;
  height: 550px;
  top: 0;
  left: 50px;
}

/* SIDE SMALL HEXAGONS */
.hex-small-1 {
  top: 38%;
  left: -35px;
}

.hex-small-2 {
  top: 38%;
  left: 420px;
}

/* ============================== */
/* RIGHT CONTENT */
/* ============================== */

.medical-content {
  width: 45%;
}

.top-title {
  color: #6a7a8b;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 15px;
  text-transform: uppercase;
}

.medical-heading {
  margin: 15px 0 20px;
  font-size: 38px;
  font-weight: 700;
  line-height: 47px;
  color: #0a1a2a;
}

.medical-text {
  margin-bottom: 18px;
  font-size: 16px;
  color: #5f6e7f;
  line-height: 26px;
  text-align: justify;
}

/* ====================================================== */
/* RESPONSIVE — TABLETS */
/* ====================================================== */

@media (max-width: 992px) {

  .medical-wrapper {
    gap: 0px;
  }

  /* Images smaller */
  .hex-big {
    width: 420px;
    height: 420px;
    left: 20px;
  }

  .hex-small-1 {
    width: 200px;
    height: 220px;
    top: 40%;
    left: -20px;
  }

  .hex-small-2 {
    width: 200px;
    height: 220px;
    top: 40%;
    left: 320px;
  }

  .medical-heading {
    font-size: 32px;
    line-height: 40px;
  }
}

/* ====================================================== */
/* RESPONSIVE — TABLET + LARGE MOBILE */
/* ====================================================== */

@media (max-width: 768px) {

  .medical-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .medical-images {
    width: 100%;
    min-height: 350px;
  }

  .medical-content {
    width: 100%;
    text-align: center;
  }

  .hex-big {
    width: 350px;
    height: 350px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hex-small-1,
  .hex-small-2 {
    display: none;   /* hide small hexagons for cleaner layout */
  }

  .medical-heading {
    font-size: 30px;
  }
}

/* ====================================================== */
/* RESPONSIVE — MOBILE */
/* ====================================================== */

@media (max-width: 576px) {

  .medical-section {
    padding: 10px 0;
  }

  .medical-images {
    min-height: 240px;
  }

  .hex-big {
    width: 280px;
    height: 280px;
  }

  .top-title {
    font-size: 13px;
  }

  .medical-heading {
    font-size: 26px;
    line-height: 34px;
  }

  .medical-text {
    font-size: 15px;
    line-height: 24px;
  }
}

/* ====================================================== */
/* X-SMALL MOBILE (≤400px) */
/* ====================================================== */

@media (max-width: 400px) {
  .hex-big {
    width: 230px;
    height: 230px;
  }

  .medical-heading {
    font-size: 22px;
  }
}


/* about end  */


/* =============================== */
/* SERVICES SECTION start */
/* =============================== */

.services-section {
  padding: 0px 0;
  background: #f8fbfd url("https://elite-themes.com/html/medicoz/images/icons/pattern-3.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

/* TOP TITLE */
.services-top-title {
  display: block;         /* ensures full-width element */
  width: 100%;            /* full row center alignment */
  text-align: center;     /* centers the text */
  color: #7b8b9c;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
}


/* MAIN HEAD */
.services-heading {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #0a1a2a;
  margin-bottom: 10px;
}

/* BLUE LINE */
.services-line {
  width: 60px;
  height: 3px;
  margin: 10px auto 40px;
  background: #0d6efd;
  border-radius: 2px;
}
.service-card p {
  text-align: justify;
  line-height: 1.6;       /* smooth line spacing */
  word-spacing: 0;        /* no extra gaps */
  letter-spacing: 0;      /* balanced spacing */
  hyphens: auto;          /* prevents big gaps by breaking long words */
  font-size: 15px;
  color: #555;
}

/* =============================== */
/* GRID */
/* =============================== */

.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 90%;
  margin: auto;

}

/* =============================== */
/* SERVICE CARD */
/* =============================== */

.service-card {
  text-align: center;
  padding: 25px;
  border-radius: 14px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

/* ICON BOX (SQUARE) */
.icon-circle {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  border: 2px solid #cbd6e0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 18px;
  position: relative;
  transition: 0.4s;
  overflow: hidden;
}

.icon-circle i {
  font-size: 42px;
  color: red;
  transition: 0.3s;
}

/* HOVER EFFECTS */
.service-card:hover {
  transform: translateY(-15px) scale(1.02);
}

.service-card:hover .icon-circle {
background: linear-gradient(
  130deg,
  #ff3b3b 0%,
  #ff1e1e 30%,
  #e60026 70%,
  #cc001f 100%
);
  border-color: red;
  box-shadow: 0 0 20px rgba(13,110,253,0.6), 0 0 35px rgba(13,110,253,0.4);
}

.service-card:hover i {
  color: #fff;
}

/* ICON SHINE ANIMATION */
.icon-circle::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -50%;
  width: 70%;
  height: 300%;
background: linear-gradient(
  120deg,
  rgba(255, 0, 0, 0) 0%,
  rgba(255, 0, 0, 0.3) 50%,
  rgba(255, 0, 0, 0) 100%
);

  transform: rotate(25deg);
  opacity: 0;
  transition: 0.4s;
}

.service-card:hover .icon-circle::after {
  animation: shineEffect 0.8s forwards;
  opacity: 1;
}

@keyframes shineEffect {
  0% { left: -80%; }
  100% { left: 120%; }
}

/* BACKGROUND WAVE */
.service-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: rgba(13,110,253,0.12);
  border-radius: 50%;
  top: 110%;
  left: 50%;
  transform: translateX(-50%) scale(0);
  transition: 0.6s;
}

.service-card:hover::before {
  top: -20%;
  transform: translateX(-50%) scale(1.4);
}

/* =============================== */
/* RESPONSIVE */
/* =============================== */

/* LAPTOP (max 1200px) */
@media (max-width: 1200px) {
  .services-container {
  
  }
}

/* TABLET (max 992px) → 2 columns */
@media (max-width: 992px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* LARGE MOBILE (max 768px) */
@media (max-width: 768px) {

  .services-heading {
    font-size: 30px;
  }

  .icon-circle {
    width: 80px;
    height: 80px;
  }

  .icon-circle i {
    font-size: 34px;
  }
}

/* MOBILE (max 576px) → 1 column */
@media (max-width: 576px) {

  .services-heading {
    font-size: 26px;
  }

  .services-top-title {
    font-size: 13px;
  }

  .services-line {
    margin: 8px auto 25px;
  }

  .services-container {
    grid-template-columns: 1fr;
    width: 92%;

  }

  .service-card {
    padding: 20px;
  }

  .icon-circle {
    width: 70px;
    height: 70px;
  }

  .icon-circle i {
    font-size: 30px;
  }
}
.doctor-card {
  text-align: center;
  padding: 10px;
}

.doctor-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  height:340px;
  
}

.doctor-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 5px 0 3px 0;
  color: #0a1f44;
}

.doctor-card p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* EXTRA SMALL MOBILE (max 400px) */
@media (max-width: 400px) {
  .services-heading {
    font-size: 22px;
  }

  .icon-circle {
    width: 60px;
    height: 60px;
  }

  .icon-circle i {
    font-size: 26px;
  }
}
/* services end  */

/* team sec */
/* MAIN SECTION */
.doctor-section {
  padding: 60px 0;
  background: linear-gradient(to bottom, #f8fbfd, #ffffff);
  font-family: Arial, sans-serif;
}

/* TOP TITLE */
.doctor-top-title {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #858c95;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* MAIN HEADING */
.doctor-heading {
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  color: #0b1a2b;
  margin-bottom: 10px;
}

/* BLUE LINE UNDER HEADING */
.doctor-line {
  width: 70px;
  height: 4px;
  margin: 10px auto 40px;
  background: #0d6efd;
  border-radius: 10px;
}

/* DOCTORS GRID */
.doctor-box {
  width: 92%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* CARD DESIGN */
.doctor-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  text-align: center;
  border: 1px solid #e6ecf3;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* IMAGE CONTAINER – FIXED SAME SIZE FOR ALL */
.doctor-img {
  width: 100%;
  height: 320px;        /* SAME HEIGHT FOR ALL IMAGES */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
}

/* PERFECT UNIFORM IMAGE SETTINGS */
.doctor-img img {
  width: 90%;           /* same width for all */
  height: 370px;          /* same height for all */
  object-fit: cover;    /* uniform look */
  object-position: top; /* face properly visible */
  border-radius: 12px;
  background: #f2f6fa;
  transition: 0.3s ease;
}

/* HOVER EFFECT ON IMAGE */
.doctor-card:hover .doctor-img img {
  transform: scale(1.03);
}

/* DOCTOR INFO */
.doctor-info {
  padding: 18px 12px 22px;
  background: #fff;
}

.doctor-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0b1a2b;
  margin-bottom: 6px;
}

.doctor-info p {
  font-size: 15px;
  color: #6c757d;
  margin: 0;
  font-weight: 500;
}

/* RESPONSIVE BREAKPOINTS */

/* TABLET VIEW */
@media (max-width: 992px) {
  .doctor-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctor-heading {
    font-size: 32px;
  }
}

/* MOBILE VIEW */
@media (max-width: 576px) {

  .doctor-section {
    padding: 40px 0;
  }

  .doctor-heading {
    font-size: 26px;
  }

  .doctor-top-title {
    font-size: 13px;
  }

  .doctor-box {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 95%;
  }

  .doctor-img {
    height: 360px;       /* mobile me bhi same height */
  }

  .doctor-img img {
    width: 92%;
    height: 92%;
    object-fit: cover;
    height:340px;
  }

  .doctor-info h3 {
    font-size: 18px;
  }

  .doctor-info p {
    font-size: 14px;
  }
}

/* icon card  */
/* icon card  */
/* BLUE CTA SECTION */
.doctor-cta-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
 background: linear-gradient(
  130deg,
  #ff3b3b 0%,
  #ff1e1e 30%,
  #e60026 70%,
  #cc001f 100%
);

  padding: 120px 8%;
  color: #fff;
  position: relative;
  z-index: 1;
}

.doctor-cta-left h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 18px;
  margin-bottom: 5px;
}

.cta-phone {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #000;
  color: #fff;
  border-radius: 6px;
  font-size: 16px;
  text-decoration: none;
}

/* DOCTOR IMAGE */
.doctor-cta-right img {
  width: 360px;
  margin-top: -70px;
}

/* STATS SECTION */
.stats-section {
  position: relative;
  z-index: 2;
  margin-top: -110px;
}

/* WHITE BOX */
.stats-box {
  width: 90%;
  margin: auto;
  background: #fff url("https://elite-themes.com/html/medicoz/images/icons/pattern-2.png");
  background-size: cover;
  padding: 20px 20px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  box-shadow: 0 0 25px rgba(0,0,0,0.12);
}

/* ICON HOLDER */
.stats-icon {
  width: 110px;
  height: 110px;
 background: linear-gradient(
  130deg,
  #ff3b3b 0%,
  #ff1e1e 30%,
  #e60026 70%,
  #cc001f 100%
);

  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-bottom: 12px;
}

.stats-icon i {
  font-size: 48px;
  color: #fff;
}

/* TEXT */
.stats-card h4 {
  text-align: center;
  font-size: 17px;
  color: #444;
  margin-bottom: 10px;
}

.stats-card h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #0b1a2b;
}

/* ------------------------------------------------------
   RESPONSIVE BREAKPOINTS
-------------------------------------------------------*/

/* Large Tablets – max 992px */
@media (max-width: 992px) {
  .doctor-cta-section {
    padding: 80px 6%;
  }

  .doctor-cta-left h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .doctor-cta-right img {
    width: 300px;
    margin-top: -40px;
  }

  .stats-box {
    grid-template-columns: repeat(2, 1fr);
    padding: 25px;
  }
}

/* Tablets – max 768px */
@media (max-width: 768px) {
  .doctor-cta-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 6%;
  }

  .doctor-cta-left {
    margin-bottom: 20px;
  }

  .doctor-cta-right img {
    width: 260px;
    margin: 0;
  }

  .stats-box {
    width: 95%;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stats-icon {
    width: 90px;
    height: 90px;
  }

  .stats-icon i {
    font-size: 40px;
  }
}

/* Mobile – max 576px */
@media (max-width: 576px) {
  .doctor-cta-section {
    padding: 50px 5%;
  }

  .doctor-cta-left h2 {
    font-size: 26px;
    line-height: 32px;
  }

  .cta-phone {
    font-size: 22px;
  }

  .cta-btn {
    padding: 10px 22px;
    font-size: 14px;
  }

  /* Doctor image */
  .doctor-cta-right img {
    width: 220px;
    margin-top: 10px;
  }

  /* Stats Box */
  .stats-section {
    margin-top: -60px;
  }

  .stats-box {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  .stats-icon {
    width: 80px;
    height: 80px;
  }

  .stats-icon i {
    font-size: 32px;
  }

  .stats-card h2 {
    font-size: 28px;
  }

  .stats-card h4 {
    font-size: 15px;
  }
}

/* icon card  */
/* plan css */
/* SECTION BACKGROUND */
.pricing-section {
  text-align: center;
  padding: 40px 0;
  background: #fff url("https://elite-themes.com/html/medicoz/images/icons/pattern-6.png") no-repeat center;
  background-size: cover;
}

/* TOP TEXT */
.pricing-top {
  display: block;
  font-size: 14px;
  color: #7b8592;
  font-weight: 600;
  margin-bottom: 8px;
}

/* HEADING */
.pricing-heading {
  font-size: 34px;
  font-weight: 700;
  color: #0a1a2a;
}

/* BLUE LINE */
.pricing-line {
  width: 60px;
  height: 3px;
  background: #0d6efd;
  border-radius: 2px;
  margin: 12px auto 40px;
}

/* PRICING GRID */
.pricing-box {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* INDIVIDUAL CARD */
.price-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(0,0,0,0.10);
  padding-bottom: 25px;
  overflow: hidden;
  transition: 0.3s ease;
}

.price-card:hover {
  transform: translateY(-10px);
}

/* PRICE HEADER */
.price-header {
  background: #eaf2ff;
  padding: 20px 0;
}

.price-header h2 {
  color: #000;
  font-size: 40px;
  font-weight: 800;
}

.price-header p {
  font-size: 16px;
  color: #7b8592;
}

/* CARD TITLE */
.price-card h3 {
  font-size: 20px;
  margin: 20px 0;
  font-weight: 700;
  color: #000;
  border-bottom: 2px solid red;
  display: inline-block;
  padding-bottom: 5px;
}

/* FEATURES LIST */
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 20px;
  text-align: left;
}

.price-card ul li {
  font-size: 15px;
  color: #444;
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
}

/* LIST ICON CHECK (BLUE TICK) */
.price-card ul li::before {
  content: "✔";
  color: red;
  position: absolute;
  left: 0;
  top: 0;
}

/* BUTTON */
.price-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  border: 2px solid red;
  color: red;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.price-btn:hover {
background: linear-gradient(
  130deg,
  #ff3b3b 0%,
  #ff1e1e 30%,
  #e60026 70%,
  #cc001f 100%
);
  color: #fff;
}

/* --------------------------------------------------
   RESPONSIVE BREAKPOINTS
---------------------------------------------------*/

/* Large Tablet (max 992px) → 2 Columns */
@media (max-width: 992px) {
  .pricing-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .price-header h2 {
    font-size: 34px;
  }

  .price-card h3 {
    font-size: 18px;
  }
}

/* Tablet (max 768px) */
@media (max-width: 768px) {
  .pricing-heading {
    font-size: 28px;
  }

  .price-header h2 {
    font-size: 30px;
  }

  .price-header p {
    font-size: 14px;
  }

  .price-card ul li {
    font-size: 14px;
  }
}

/* Mobile (max 576px) → 1 Column */
@media (max-width: 576px) {
  .pricing-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .price-card {
    padding-bottom: 20px;
  }

  .price-header h2 {
    font-size: 28px;
  }

  .price-card h3 {
    font-size: 17px;
  }

  .price-card ul {
    margin: 15px;
  }

  .price-btn {
    padding: 8px 20px;
    font-size: 14px;
  }
}

/* plan css */

/* tesimonial  */
.t-section {
  text-align: center;
  padding: 0px 0;
  background: #fff url("https://elite-themes.com/html/medicoz/images/icons/map-pattern.png") no-repeat center;
  background-size: contain;
}

.t-top {
  font-size: 14px;
  color: #7a8592;
  font-weight: 600;
}

.t-heading {
  font-size: 34px;
  font-weight: 700;
  color: #0a1a2a;
}

.t-line {
  width: 50px;
  height: 3px;
  background: #0d6efd;
  margin: 10px auto 35px;
}

/* SLIDER BOX */
.t-slider {
  position: relative;
  width: 70%;
  margin: auto;
}

/* ARROWS */
.t-arrow {
  width: 45px;
  height: 45px;
  border: 2px solid red;
  background: #fff;
  border-radius: 50%;
  color: red;
  font-size: 18px;
  cursor: pointer;
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.t-arrow.left { left: -60px; }
.t-arrow.right { right: -60px; }

.t-arrow:hover {
  background: red;
  color: #fff;
}

/* SLIDES */
.t-slides {
  position: relative;
  min-height: 260px;
}

.t-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.t-slide.t-active {
  opacity: 1;
}

/* TEXT */
.t-text {
  font-size: 17px;
  color: #6a7783;
  margin-bottom: 25px;
  padding: 0 25px;
}

.t-user img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.t-name {
  font-size: 20px;
  color: red;
  font-weight: 700;
}

.t-role {
  color: #7a8592;
  font-size: 14px;
}

/* --------------------------------------------------
   RESPONSIVE BREAKPOINTS
---------------------------------------------------*/

/* Large Tablets – max 992px */
@media (max-width: 992px) {
  .t-slider {
    width: 85%;
  }

  .t-arrow.left { left: -40px; }
  .t-arrow.right { right: -40px; }
}

/* Tablets – max 768px */
@media (max-width: 768px) {
  .t-heading {
    font-size: 28px;
  }

  .t-text {
    font-size: 16px;
    padding: 0 20px;
  }

  .t-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .t-arrow.left { left: -30px; }
  .t-arrow.right { right: -30px; }

  .t-slider {
    width: 90%;
  }
}

/* Mobile – max 576px */
@media (max-width: 576px) {
  .t-heading {
    font-size: 26px;
  }

  .t-slider {
    width: 100%;
  }

  .t-arrow {
    width: 38px;
    height: 38px;
    font-size: 15px;
    top: 50%;
  }

  .t-arrow.left { left: 5px; }
  .t-arrow.right { right: 5px; }

  .t-text {
    font-size: 15px;
    padding: 0 10px;
  }

  .t-user img {
    width: 75px;
    height: 75px;
  }

  .t-name {
    font-size: 18px;
  }

  .t-role {
    font-size: 13px;
  }
}


/* testimonial */


/* blog  */
/* blog section  */
/* SECTION BACKGROUND */
.blog-section {
  padding: 0px 0;
  text-align: center;
}

/* TOP SMALL TITLE */
.blog-top {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: red;
  margin-bottom: 8px;
}

/* MAIN HEADING */
.blog-heading {
  font-size: 34px;
  font-weight: 700;
  color: #0a1a2a;
}

/* BLUE LINE */
.blog-line {
  width: 50px;
  height: 3px;
background: linear-gradient(
  130deg,
  #ff3b3b 0%,
  #ff1e1e 30%,
  #e60026 70%,
  #cc001f 100%
);

  border-radius: 3px;
  margin: 12px auto 40px;
}

/* GRID LAYOUT */
.blog-container {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* BLOG CARD */
.blog-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.12);
  overflow: hidden;
  transition: .3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}

/* IMAGE WRAPPER */
.blog-img {
  position: relative;
}

.blog-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* DATE TAG */
.blog-date {
  position: absolute;
  bottom: 0;
  right: 0;
background: linear-gradient(
  130deg,
  #ff3b3b 0%,
  #ff1e1e 30%,
  #e60026 70%,
  #cc001f 100%
);

  color: #fff;
  padding: 6px 18px;
  font-size: 14px;
  border-top-left-radius: 6px;
}

/* BLOG TITLE */
.blog-title {
  font-size: 20px;
  font-weight: 700;
  color: #0a1a2a;
  text-align: left;
  padding: 20px;
  padding-bottom: 10px;
}

/* BLOG TEXT */
.blog-text {
  font-size: 15px;
  color: #6a7b88;
  padding: 0 20px 20px;
  text-align: left;
}

/* --------------------------------------------------
   RESPONSIVE BREAKPOINTS
---------------------------------------------------*/

/* Large Tablets – max 992px → 2 Columns */
@media (max-width: 992px) {
  .blog-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .blog-img img {
    height: 220px;
  }
}

/* Tablets – max 768px */
@media (max-width: 768px) {
  .blog-heading {
    font-size: 28px;
  }

  .blog-title {
    font-size: 18px;
  }

  .blog-text {
    font-size: 14px;
  }
}

/* Mobile – max 576px → 1 Column */
@media (max-width: 576px) {
  .blog-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .blog-img img {
    height: 200px;
  }

  .blog-title {
    font-size: 17px;
    padding: 16px;
  }

  .blog-text {
    padding: 0 16px 16px;
  }
}

/* blog end  */



/* footer  */
/* footer  */
.footer-section {
background: linear-gradient(
  130deg,
  #ff3b3b 0%,
  #ff1e1e 30%,
  #e60026 70%,
  #cc001f 100%
);

  padding: 0px 0;
  padding-top: 15px;
  color: #fff;
}

.footer-container {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* LOGO */
.footer-logo img {
  width: 120px;
  margin-bottom: 10px;
}

/* TEXT */
.footer-text {
  font-size: 15px;
  color: #fff;
  line-height: 24px;
  margin-bottom: 12px;
}

.footer-social {
  display: flex;
  flex-direction: column;   /* icons ko vertical karega */
  gap: 12px;                /* beech me space */
  align-items: flex-start;  /* left side align */
}

/* SOCIAL ICONS */
.footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin-right: 8px;
  transition: .3s;
}

.footer-social a:hover {
  background: #fff;
  color: #0c2b63;
}

/* TITLES */
.footer-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 3px solid #fff;
  display: inline-block;
  padding-bottom: 4px;
}

/* LIST */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #fff;
}

/* NEWS SECTION */
.footer-news {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-news img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
}

.news-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.news-date {
  font-size: 13px;
  color: #fff;
}

/* CONTACT SECTION */
.footer-contact {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-contact i {
  font-size: 22px;
  margin-top: 6px;
}

.footer-contact p {
  font-size: 15px;
  color: #fff;
  line-height: 22px;
}

/* ------------------------------------
   RESPONSIVE DESIGN
-------------------------------------*/

/* Large Tablets 992px */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-logo img {
    width: 140px;
  }
}

/* Tablets 768px */
@media (max-width: 768px) {
  .footer-section {
    padding: 0px 0;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .footer-title {
    font-size: 18px;
  }

  .footer-text,
  .footer-links li,
  .footer-contact p {
    font-size: 14px;
  }
}

/* Mobile 576px */
@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }

  .footer-logo img {
    width: 130px;
  }

  .footer-news {
    gap: 10px;
  }

  .footer-news img {
    width: 60px;
    height: 60px;
  }

  .footer-contact {
    gap: 10px;
  }

  .footer-contact i {
    font-size: 20px;
  }
}


/* FOOTER BOTTOM */
.footer-bottom {
 background: linear-gradient(
  135deg,
  #ff1a1a 0%,
  #e60000 35%,
  #b30000 70%,
  #800000 100%
);

  padding: 12px 0;
  text-align: center;
  color: #c7d2e2;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
}

/* TEXT */
.footer-bottom p {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  padding: 0 10px;
  letter-spacing: 0.3px;
  display: inline-block;
}

/* MOBILE VIEW IMPROVEMENT */
@media (max-width: 576px) {
  .footer-bottom {
    padding: 10px 0;
  }

  .footer-bottom p {
    font-size: 13px;
    line-height: 18px;
    padding: 0 15px;
  }
}



/* --------------home page css ---------- */

    .footer-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: 0.3s ease;
}

/* ✅ PREMIUM CAPTION CONTAINER */
.custom-caption {
  bottom: 21%;
}


/**/

    .surgery-section{
        max-width:1100px;
        margin:auto;
        padding:10px 20px;
    }

    .surgery-title{
        text-align:center;
        font-size:26px;
        font-weight:600;
        color:#1b2c48;
        margin-bottom:25px;
    }

    /* GRID */
    .surgery-grid{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:28px 16px;
    }

    @media(min-width:768px){
        .surgery-grid{
            grid-template-columns:repeat(3,1fr);
        }
    }
    @media(min-width:1100px){
        .surgery-grid{
            grid-template-columns:repeat(4,1fr);
        }
    }

    /*CARD*/
    .s-card{
        background:white;
        padding:18px;
        border-radius:14px;
        border:1px solid #e8edf5;
        text-align:center;
        cursor:pointer;
        transition:.2s ease;
        box-shadow:0 4px 10px rgba(0,0,0,0.03);
    }
    .s-card:hover{
        transform:translateY(-6px);
        box-shadow:0 10px 25px rgba(0,0,0,0.09);
    }

    /* ICON BOX SAME AS PRISTYN CARE */
    .icon-box{
        width:78px;
        height:78px;
        margin:auto;
        border-radius:12px;
        border:1px solid #e7edf4;
        display:flex;
        align-items:center;
        justify-content:center;
        background:#ffffff;
        box-shadow:0 2px 8px rgba(0,0,0,0.06);
    }

    .icon-box svg{
        width:48px;
        height:48px;
    }

    /* TITLE */
    .s-name{
        font-size:14px;
        font-weight:500;
        color:#314158;
        margin-top:12px;
    }

    /* BOTTOM BUTTONS */
    .bottom-bar{
        position:fixed;
        left:0;
        bottom:0;
        width:100%;
        background:white;
        padding:12px 18px;
        display:flex;
        justify-content:center;
        gap:14px;
        box-shadow:0 -4px 14px rgba(0,0,0,0.12);
    }
    .btn{
        padding:12px 20px;
        border-radius:10px;
        border:none;
        cursor:pointer;
        font-weight:600;
        color:white;
        display:flex;
        align-items:center;
        gap:8px;
        font-size:14px;
    }
    .btn-call{background:#ff8b1a;}
    .btn-book{background:#3174f3;}

/**/
/* ✅ RIGHT SOCIAL BAR */
/* ✅ STICKY RIGHT SOCIAL BAR */
/* Social bar fixed on right side */
.slider-social-bar {
  position: fixed;          /* Absolute ki jagah FIXED */
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;

  align-items: flex-end;
}



/* ✅ VERTICAL COLOR LINE */
.social-line {
  width: 3px;
  height: 90px;
  background: linear-gradient(to bottom, #2563eb, #22c55e);
  border-radius: 5px;
  margin-bottom: 8px;
}

/* ✅ SOCIAL ICON STYLE */
.social-icon {
  width: 42px;
  height: 42px;
    background: linear-gradient(130deg, #ff3b3b 0%, #ff1e1e 30%, #e60026 70%, #cc001f 100%);
  color: #fff;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 17px;
  text-decoration: none;
  transition: 0.3s;
  backdrop-filter: blur(6px);
}

.social-icon:hover {
  transform: scale(1.12);
  background: #2563eb;
  color: #fff;
}

/* ✅ MOBILE ME AUTO HIDE */
@media (max-width: 768px) {

  .slider-social-bar {
    display: flex !important;
    right: 5px !important;       /* bilkul right chipak jayega */
    top: 60% !important;         /* thoda niche adjust */
    transform: translateY(-50%);
    gap: 8px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .social-line {
    height: 60px;
  }

}




/**/

    .section-wrapper{
        max-width:1300px;
        margin:auto;
        padding:10px 20px;
    }

    .title{
        text-align:center;
         font-size: 34px;
    font-weight: 700;
    color: #0a1a2a;
      
        margin-bottom:30px;
    }

    /* GRID */
    .surgery-grid{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:26px 16px;
    }

    @media(min-width:600px){
        .surgery-grid{
            grid-template-columns:repeat(3,1fr);
        }
    }
    @media(min-width:900px){
        .surgery-grid{
            grid-template-columns:repeat(5,1fr);
        }
    }
    @media(min-width:1200px){
        .surgery-grid{
            grid-template-columns:repeat(8,1fr);
        }
    }

    /* CARD */
    .s-card{
        background:white;
        padding:10px 12px;
        border-radius:12px;
        border:1px solid #e8edf5;
        text-align:center;
        cursor:pointer;
        transition:.2s ease;
    }
    .s-card:hover{
        transform:translateY(-6px);
        box-shadow:0 10px 25px rgba(0,0,0,0.09);
    }

    /* ICON */
    .icon-box{
        width:70px;
        height:70px;
        margin:auto;
        display:flex;
        align-items:center;
        justify-content:center;
        border-radius:12px;
        background:#ffffff;
        border:1px solid #e7edf4;
        box-shadow:0 2px 8px rgba(0,0,0,0.05);
    }
    .icon-box img{
        width:70px;
        height:70px;
        object-fit:contain;
    }

.call-img {
  position: fixed !important;
  right: 20px;
  bottom: 20px;
  width: 70px;
  cursor: pointer;
  z-index: 99999;
  transition: transform 0.2s ease;
}

/* VIBRATION / RING ANIMATION */
.ring-animation {
  animation: ring 1s infinite;
}

@keyframes ring {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(8deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(6deg); }
  40% { transform: rotate(-6deg); }
  50% { transform: rotate(4deg); }
  60% { transform: rotate(-4deg); }
  70% { transform: rotate(2deg); }
  80% { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}

/* CLICK EFFECT */
.call-img:active {
  transform: scale(0.9);
}

    .label{
        margin-top:10px;
        font-size:13px;
        font-weight:500;
        color:#3a4a5c;
        line-height:1.3;
    }
/**/
/* POSITION BOX */
.left-call-box {
  /*position: absolute;*/
  top: 100%;
  left: 0px;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
 width:600px;
}

/* MAIN GREEN BUTTON */
.main-green-btn {
  background: #0abf4f;
  color: #fff;
  padding: 14px 22px;
  font-size: 17px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0px 6px 14px rgba(0,0,0,0.28);
}

.main-green-btn i {
  font-size: 26px;
}


@media (max-width: 768px) {

  /* Green box ko normal flow me rakho */
  .left-call-box {
    position: relative !important;
    top: auto;
    left: auto;
    transform: none;
    margin-bottom: 20px;
  }

  /* Call image ko green box ke niche lane ke liye */
  .call-img {
    position: relative !important;
    display: block !important;
    margin: 15px auto 0 auto !important;
    width: 60px;
    right: auto;
    bottom: auto;
  }

}


/* CALL NOW BUTTON */


/**/

.call-img {
  width: 200px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* VIBRATION / RING ANIMATION */
.ring-animation {
  animation: ring 1s infinite;
}

@keyframes ring {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(8deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(6deg); }
  40% { transform: rotate(-6deg); }
  50% { transform: rotate(4deg); }
  60% { transform: rotate(-4deg); }
  70% { transform: rotate(2deg); }
  80% { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}

/* CLICK EFFECT */
.call-img:active {
  transform: scale(0.9);
}

/* 📱 MOBILE VIEW – HIDE */
@media (max-width: 768px) {
  .call-img {
    display: block;
    margin-top:100px;
  }
}

/**/


/* ======== POSITION ACCORDING TO SLIDER ======== */

.opd-slider-fixed {
  position: absolute;      /* Slider ke andar fix */
  right: 20px;             /* Right side */
  top: 50%;                /* Center of slider */
  transform: translateY(-50%);
  z-index: 999;
}

/* ======== MAIN BUTTON STYLE ======== */

.opd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
    background: linear-gradient(130deg, #ff3b3b 0%, #ff1e1e 30%, #e60026 70%, #cc001f 100%) !important;
  color: #ffffff;
  height: 50px;
  width: 50px;               /* Start me sirf icon */
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
  padding: 0 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
}

/* ICON ALWAYS VISIBLE */

.opd-btn i {
  font-size: 22px;
  display: inline-block;
}

/* TEXT HIDDEN AT START */

.opd-btn span {
  white-space: nowrap;
  margin-left: 10px;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 600;
}

/* ======== HOVER EFFECT ======== */

.opd-btn:hover {
  width: 260px;
  background: #28a745;
}

.opd-btn:hover span {
  opacity: 1;
}

/* ======== IMPORTANT PART ======== */
/* SLIDER CONTAINER RELATIVE HONA CHAHIYE */

.slider-section {
  position: relative;
}

/* ======== MOBILE RESPONSIVE ======== */

@media (max-width: 768px) {
  .opd-slider-fixed {
    right: 10px;
  }

  .opd-btn {
    height: 45px;
    width: 45px;
  }

  .opd-btn:hover {
    width: 220px;
  }
}




/**/


/**/
/* OPD ICON BASIC STYLE */
.opd {
  position: relative;      /* Important */
  background: #0a6ed1;
  overflow: visible;       /* Important */
}

/* TEXT BOX - ABSOLUTE POSITION */
.opd-text {
  position: absolute;
  right: 55px;            /* Icon ke left side me open hoga */
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  /*background: #28a745;*/
  color: #fff;
  padding: 10px 15px;
  border-radius: 30px;
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s ease;
  font-weight: 600;

  /* IMPORTANT FIX */
  pointer-events: none;   /* Hover issue na aaye */
}

/* HOVER EFFECT */
.opd:hover .opd-text {
  opacity: 1;
  right: 60px;
}

/* Baki icons par koi effect nahi padega */
.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover zoom only */
.social-icon:hover {
  transform: scale(1.1);
}

/**/


/**/
/* ===== COMMON SOCIAL ICON (NO CHANGE ON HOVER) ===== */
.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  text-decoration: none;
  transition: none;        /* IMPORTANT */
}

/* ===== OPD BUTTON SPECIAL STYLE ===== */
.opd {
  position: relative;
   background: linear-gradient(130deg, #ff3b3b 0%, #ff1e1e 30%, #e60026 70%, #cc001f 100%) !important;
  transition: all 0.4s ease;   /* ONLY OPD WILL ANIMATE */
  overflow: hidden;
}

/* Text hidden initially */
.opd-text {
  position: absolute;
  left: 50px;                 /* Icon ke right side open hoga */
  white-space: nowrap;
  opacity: 0;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* ===== MAIN PART ===== */
/* ONLY OPD BUTTON WILL EXPAND */

.opd:hover {
  width: 260px;              /* Sirf yeh button long hoga */
  /*background: #28a745;*/
  justify-content: flex-start;
  padding-left: 12px;
}

.opd:hover .opd-text {
  opacity: 1;
}

/* ===== NO EFFECT ON OTHER ICONS ===== */

.facebook:hover,
.instagram:hover,
.youtube:hover,
.whatsapp:hover {
  transform: none !important;
  width: 45px !important;
}




/* -------------about us css ---------------*/

/* ========================= */
/* ABOUT PAGE TOP BANNER     */
/* ========================= */

.footer-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: 0.3s ease;
}



/**/
.aboutTopBanner {
    width: 100%;
    height: 270px;
    background: url('https://st4.depositphotos.com/9999814/22690/i/450/depositphotos_226904298-stock-photo-male-doctor-using-mobile-phone.jpg') center/cover no-repeat;
    position: relative;
    border-top: 4px solid red;
}

.aboutTopBanner-overlay {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.0); 
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 6%;
}

.aboutTopBanner-content {
    text-align: right;
}

.aboutTopBanner-title {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
}

.aboutTopBanner-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #444;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
    .aboutTopBanner {
        height: 200px;
    }

    .aboutTopBanner-overlay {
        justify-content: center;
        padding-right: 0;
    }

    .aboutTopBanner-content {
        text-align: center;
    }

    .aboutTopBanner-title {
        font-size: 28px;
    }

    .aboutTopBanner-subtitle {
        font-size: 15px;
    }
}


/**/
.appointment-section {
    padding: 50px 0;
    background: url("https://elite-themes.com/html/medicoz/images/background/2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
         font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}


.ap-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 50px;
}

/* LEFT FORM */
.ap-form {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ap-form input,
.ap-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
}

.ap-form textarea {
    height: 150px;
    resize: none;
}

.ap-btn {
    background: linear-gradient(
  130deg,
  #ff3b3b 0%,
  #ff1e1e 30%,
  #e60026 70%,
  #cc001f 100%
);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 16px;
    width: fit-content;
}

/* RIGHT CONTENT */
.ap-content {
    width: 50%;
}

.need {
    color: #888;
    font-size: 14px;
    margin-bottom: 8px;
}

.ap-heading {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.call-text {
    margin-top: 10px;
    font-size: 15px;
    color: #333;
}

.call-number {
    font-size: 22px;
    margin: 10px 0 25px;
    font-weight: 600;
}

.opening-title {
    font-size: 24px;
    font-weight: 700;
    color: red;
    margin-bottom: 15px;
}

.opening-list {
    list-style: none;
    padding: 0;
}

.opening-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}
/**/
/* ================================
   RESPONSIVE APPOINTMENT SECTION
================================ */

@media (max-width: 1024px) {
  .ap-wrapper {
    gap: 30px;
  }

  .ap-heading {
    font-size: 28px;
  }
}

/* ================= MOBILE VIEW ================= */
@media (max-width: 768px) {
  .appointment-section {
    padding: 40px 15px;
  }

  .ap-wrapper {
    flex-direction: column;
    gap: 35px;
  }

  .ap-form,
  .ap-content {
    width: 100%;
  }

  .ap-form input,
  .ap-form textarea {
    padding: 12px;
    font-size: 14px;
  }

  .ap-btn {
    width: 50%;
    text-align: center;
    padding: 14px;
    font-size: 15px;
    border-radius: 35px;
    margin:0 auto;
  }

  .ap-heading {
    font-size: 25px;
  }

  .call-number {
    font-size: 20px;
  }

  .opening-title {
    font-size: 21px;
  }

  .opening-list li {
    font-size: 15px;
  }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {
  .appointment-section {
    padding: 35px 12px;
  }

  .ap-heading {
    font-size: 22px;
  }

  .need {
    font-size: 13px;
  }

  .call-text {
    font-size: 14px;
  }

  .call-number {
    font-size: 18px;
  }

  .opening-title {
    font-size: 20px;
    text-align: center;
  }

  .opening-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .ap-btn {
    font-size: 14px;
  }
}

/* ================= EXTRA BEAUTIFICATION ================= */

.ap-form input:focus,
.ap-form textarea:focus {
  outline: none;
  border-color: red;
  box-shadow: 0 0 5px rgba(255,0,0,0.3);
}

.ap-btn {
  transition: 0.4s ease;
}

.ap-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255,0,0,0.3);
}



/*------------blogs csss-------------*/


/* ========================= */
/* ABOUT PAGE TOP BANNER     */
/* ========================= */
/**/

/**/

.footer-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: 0.3s ease;
}


/**/
.aboutTopBanner {
    width: 100%;
    height: 270px;
    background: url('https://t4.ftcdn.net/jpg/05/42/10/81/360_F_542108165_he8omcCZdW83r8FJksTU3l3LZS0oVl4w.jpg') center/cover no-repeat;
    position: relative;
    border-top: 4px solid red;
}

.aboutTopBanner-overlay {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.0); 
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 6%;
}

.aboutTopBanner-content {
    text-align: right;
}

.aboutTopBanner-title {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
}

.aboutTopBanner-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #444;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
    .aboutTopBanner {
        height: 200px;
    }

    .aboutTopBanner-overlay {
        justify-content: center;
        padding-right: 0;
    }

    .aboutTopBanner-content {
        text-align: center;
    }

    .aboutTopBanner-title {
        font-size: 28px;
    }

    .aboutTopBanner-subtitle {
        font-size: 15px;
    }
}


/**/
.appointment-section {
    padding: 50px 0;
    background: url("https://elite-themes.com/html/medicoz/images/background/2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Poppins', sans-serif;
}


.ap-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 50px;
}

/* LEFT FORM */
.ap-form {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ap-form input,
.ap-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
}

.ap-form textarea {
    height: 150px;
    resize: none;
}

.ap-btn {
    background: linear-gradient(
  130deg,
  #ff3b3b 0%,
  #ff1e1e 30%,
  #e60026 70%,
  #cc001f 100%
);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 16px;
    width: fit-content;
}

/* RIGHT CONTENT */
.ap-content {
    width: 50%;
}

.need {
    color: #888;
    font-size: 14px;
    margin-bottom: 8px;
}

.ap-heading {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.call-text {
    margin-top: 10px;
    font-size: 15px;
    color: #333;
}

.call-number {
    font-size: 22px;
    margin: 10px 0 25px;
    font-weight: 600;
}

.opening-title {
    font-size: 24px;
    font-weight: 700;
    color: red;
    margin-bottom: 15px;
}

.opening-list {
    list-style: none;
    padding: 0;
}

.opening-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

/**/
/* -------------------------- */
/* PREMIUM GALLERY SECTION    */
/* -------------------------- */

.pro-gallery-section {
    padding: 20px 0;
    background: #f9f9f9;
    font-family: 'Poppins', sans-serif;
}

.pg-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pg-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

/* GRID */
.pro-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

/* ITEM */
.pg-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
}

.pg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

/* HOVER */
.pg-item:hover img {
    transform: scale(1.15);
    filter: brightness(70%);
}

/* VIEW TEXT */
.pg-item::after {
    content: "VIEW";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    background: rgba(255, 255, 255, 0.85);
    color: #222;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: 0.4s ease;
}

.pg-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* PLAY ICON FOR VIDEO */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    opacity: 0;
    transition: 0.3s ease;
}

.pg-video:hover .play-icon {
    opacity: 1;
}

.pg-video:hover img {
    filter: brightness(50%);
}

/* MOBILE */
@media (max-width: 768px) {
    .pro-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}




/* ===================== */
/* BLOG PAGE TOP BANNER  */
/* ===================== */
.blog-banner {
    width: 100%;
    height: 260px;
    background: url("https://elite-themes.com/html/medicoz/images/background/8.jpg") center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.blog-banner::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 0, 0, 0.6), rgba(255,0,0,0.1));
}
.blog-banner h1 {
    position: relative;
    color: #fff;
    font-size: 42px;
    font-weight: 700;
}
.blog-banner p {
    position: relative;
    color: #fff;
    margin-top: 5px;
    font-size: 17px;
    font-weight: 500;
}

/* ===================== */
/* MAIN BLOG SECTION     */
/* ===================== */
.blog-section {
    padding: 50px 0;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 3px 12px rgba(0,0,0,0.15);
    transition: 0.4s;
}
.blog-card:hover {
    transform: translateY(-5px);
}
.blog-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}
.blog-content {
    padding: 20px;
}
.blog-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}
.blog-meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}
.blog-btn {
    margin-top: 12px;
    background: red;
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
}

/* ===================== */
/* SIDEBAR               */
/* ===================== */

.sidebar-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}
.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}
.search-box input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Latest Posts */
.latest-post {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}
.latest-post img {
    width: 70px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}
.latest-post p {
    font-size: 15px;
    font-weight: 600;
}

/* Categories */
.cat-list li {
    margin-bottom: 8px;
    font-size: 15px;
    cursor: pointer;
}

/* MOBILE VIEW */
@media(max-width: 768px){
    .blog-banner h1 { font-size: 30px; }
    .blog-banner { height: 190px; }
}


/**/
.hb-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: 0.35s;
    cursor: pointer;
}

.hb-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hb-img {
    position: relative;
}

.hb-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: 0.4s ease;
}

/* date badge */
.hb-date {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #0077c8;
    color: #fff;
    padding: 5px 14px;
    font-size: 13px;
    border-radius: 4px 0 0 0;
}

/* hover zoom */
.hb-card:hover img {
    transform: scale(1.08);
}

.hb-content {
    padding: 22px;
}

.hb-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.hb-content p {
    color: #666;
    font-size: 15px;
}

.hb-footer {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #444;
}

.hb-icons i {
    font-size: 16px;
}


/**/
.medical-heading2 {
    text-align: center;
    width: 100%;
      margin: 0px 0 20px;
  font-size: 38px;
  font-weight: 700;
  line-height: 47px;
  color: #0a1a2a;
}


/**/
/* Tablet View */
@media (max-width: 1024px) {
  .medical-heading2 {
    font-size: 32px;
    line-height: 40px;
  }
}

/* Mobile View */
@media (max-width: 768px) {
  .medical-heading2 {
    font-size: 26px;
    line-height: 34px;
    margin: 12px 0 18px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .medical-heading2 {
    font-size: 22px;
    line-height: 30px;
    margin: 10px 0 15px;
  }
}

/* Very Small Devices */
@media (max-width: 360px) {
  .medical-heading2 {
    font-size: 20px;
    line-height: 28px;
  }
}

/* ---------------gallery css --------------*/

/* ========================= */
/* ABOUT PAGE TOP BANNER     */
/* ========================= */
/**/
.footer-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: 0.3s ease;
}


/**/
.aboutTopBanner {
    width: 100%;
    height: 270px;
    background: url('https://t4.ftcdn.net/jpg/05/42/10/81/360_F_542108165_he8omcCZdW83r8FJksTU3l3LZS0oVl4w.jpg') center/cover no-repeat;
    position: relative;
    border-top: 4px solid red;
}

.aboutTopBanner-overlay {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.0); 
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 6%;
}

.aboutTopBanner-content {
    text-align: right;
}

.aboutTopBanner-title {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
}

.aboutTopBanner-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #444;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
    .aboutTopBanner {
        height: 200px;
    }

    .aboutTopBanner-overlay {
        justify-content: center;
        padding-right: 0;
    }

    .aboutTopBanner-content {
        text-align: center;
    }

    .aboutTopBanner-title {
        font-size: 28px;
    }

    .aboutTopBanner-subtitle {
        font-size: 15px;
    }
}


/**/
.appointment-section {
    padding: 50px 0;
    background: url("https://t4.ftcdn.net/jpg/05/42/10/81/360_F_542108165_he8omcCZdW83r8FJksTU3l3LZS0oVl4w.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Poppins', sans-serif;
}


.ap-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 50px;
}

/* LEFT FORM */
.ap-form {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ap-form input,
.ap-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
}

.ap-form textarea {
    height: 150px;
    resize: none;
}

.ap-btn {
    background: linear-gradient(
  130deg,
  #ff3b3b 0%,
  #ff1e1e 30%,
  #e60026 70%,
  #cc001f 100%
);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 16px;
    width: fit-content;
}

/* RIGHT CONTENT */
.ap-content {
    width: 50%;
}

.need {
    color: #888;
    font-size: 14px;
    margin-bottom: 8px;
}

.ap-heading {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.call-text {
    margin-top: 10px;
    font-size: 15px;
    color: #333;
}

.call-number {
    font-size: 22px;
    margin: 10px 0 25px;
    font-weight: 600;
}

.opening-title {
    font-size: 24px;
    font-weight: 700;
    color: red;
    margin-bottom: 15px;
}

.opening-list {
    list-style: none;
    padding: 0;
}

.opening-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

/**/
/* -------------------------- */
/* PREMIUM GALLERY SECTION    */
/* -------------------------- */

.pro-gallery-section {
    padding: 20px 0;
    background: #f9f9f9;
    font-family: 'Poppins', sans-serif;
}

.pg-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pg-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

/* GRID */
.pro-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

/* ITEM */
.pg-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
}

.pg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

/* HOVER */
.pg-item:hover img {
    transform: scale(1.15);
    filter: brightness(70%);
}

/* VIEW TEXT */
.pg-item::after {
    content: "VIEW";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    background: rgba(255, 255, 255, 0.85);
    color: #222;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: 0.4s ease;
}

.pg-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* PLAY ICON FOR VIDEO */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    opacity: 0;
    transition: 0.3s ease;
}

.pg-video:hover .play-icon {
    opacity: 1;
}

.pg-video:hover img {
    filter: brightness(50%);
}

/* MOBILE */
@media (max-width: 768px) {
    .pro-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/**/

/* Tabs styling */
.tabs .tab-btn {
    border: none;
    background: none;
    padding: 10px 18px;
    margin: 0 5px;
    font-size: 17px;
    cursor: pointer;
    color: #666;
    transition: 0.3s;
}

.tabs .active {
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
}

/* Gallery images */
.gallery-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
}

/* Hide items smoothly */
.gallery-item {
    display: block;
    transition: 0.3s ease;
}


.medical-heading2 {
    text-align: center;
    width: 100%;
      margin: 15px 0 20px;
  font-size: 38px;
  font-weight: 700;
  line-height: 47px;
  color: #0a1a2a;
}


/**/
/* =============================
   RESPONSIVE GALLERY – ALL SCREEN
============================= */

/* Large Tablets */
@media (max-width: 1024px) {
  .pg-title,
  .medical-heading2 {
    font-size: 32px;
    line-height: 40px;
  }

  .pg-subtitle {
    font-size: 15px;
  }

  .gallery-img {
    height: 210px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .pro-gallery-section {
    padding: 50px 15px;
  }

  .pg-title,
  .medical-heading2 {
    font-size: 28px;
    line-height: 36px;
  }

  .pg-subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .pro-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .gallery-img {
    height: 200px;
  }

  .tabs .tab-btn {
    font-size: 15px;
    padding: 8px 14px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .pg-title,
  .medical-heading2 {
    font-size: 22px;
    line-height: 30px;
  }

  .pg-subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .pro-gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-img {
    height: 190px;
  }

  .tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tabs .tab-btn {
    font-size: 14px;
    padding: 7px 12px;
  }

  .pg-item::after {
    font-size: 13px;
    padding: 6px 14px;
  }

  .play-icon {
    font-size: 34px;
  }
}

/* Ultra Small Devices */
@media (max-width: 360px) {
  .pg-title,
  .medical-heading2 {
    font-size: 20px;
  }

  .gallery-img {
    height: 170px;
  }
}

/* =============================
   EXTRA SMOOTH FEEL (OPTIONAL)
============================= */

.pg-item {
  transition: 0.4s ease;
}

.pg-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* ---------- appointment css----------- */

/* ========================= */
/* ABOUT PAGE TOP BANNER     */
/* ========================= */
/* Tablet */
@media (max-width: 1024px) {
  .medical-heading2 {
    font-size: 32px;
    line-height: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .medical-heading2 {
    font-size: 26px;
    line-height: 34px;
    margin: 12px 0 18px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .medical-heading2 {
    font-size: 22px;
    line-height: 30px;
    margin: 10px 0 15px;
  }
}

/* Ultra Small Devices */
@media (max-width: 360px) {
  .medical-heading2 {
    font-size: 20px;
    line-height: 28px;
  }
}


/**/
.footer-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: 0.3s ease;
}


/**/
.aboutTopBanner {
    width: 100%;
    height: 270px;
    background: url('https://t4.ftcdn.net/jpg/05/42/10/81/360_F_542108165_he8omcCZdW83r8FJksTU3l3LZS0oVl4w.jpg') center/cover no-repeat;
    position: relative;
    border-top: 4px solid red;
}

.aboutTopBanner-overlay {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.0); 
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 6%;
}

.aboutTopBanner-content {
    text-align: right;
}

.aboutTopBanner-title {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
}

.aboutTopBanner-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #444;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
    .aboutTopBanner {
        height: 200px;
    }

    .aboutTopBanner-overlay {
        justify-content: center;
        padding-right: 0;
    }

    .aboutTopBanner-content {
        text-align: center;
    }

    .aboutTopBanner-title {
        font-size: 28px;
    }

    .aboutTopBanner-subtitle {
        font-size: 15px;
    }
}


/**/

/* ============================ */
/* SUPER PREMIUM CONTACT SECTION */
/* ============================ */
/* =============================== */
/* ULTRA PREMIUM NEO CONTACT FORM */

.neoContact-section {
    padding: 20px 6%;
 
}

/* WRAPPER */
.neoContact-wrapper {
    display: flex;
    gap: 30px;
    animation: fadeInNeo 1.3s ease;
}

/* IMAGE */
.neoContact-img {
    flex: 1;
    overflow: hidden;
    border-radius: 18px;
    position: relative;
}

.neoContact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(90%);
    transition: .6s ease;
}

.neoContact-img:hover img {
    transform: scale(1.1);
    filter: brightness(100%);
}

/* FORM CARD */
.neoContact-card {
    flex: 1;
    padding: 45px 40px;
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(18px);
    border-radius: 20px;

    border: 2px solid transparent;
    background-origin: border-box;
    background-clip: padding-box, border-box;
  background-color: #fff;

    box-shadow: 0 25px 80px rgba(0,0,0,0.20);
}

.neoContact-card h2 {
    font-size: 38px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.neoContact-card p {
    color: #444;
    margin-bottom: 25px;
    font-size: 16px;
}

/* INPUT GROUP */
.neo-group {
    position: relative;
    margin-bottom: 22px;
}

.neo-group input,
.neo-group textarea {
    width: 100%;
    padding: 14px 15px;
    border-radius: 12px;
    border: 2px solid rgba(130,130,255,0.35);
    background: rgba(255,255,255,0.65);
    font-size: 17px;
    outline: none;
    transition: .3s ease;
}

.neo-group textarea {
    resize: none;
}

.neo-group input:focus,
.neo-group textarea:focus {
    border-color: #7a34ff;
    box-shadow: 0 0 12px rgba(122, 52, 255, 0.40);
}

/* FLOATING LABEL */
.neo-group label {
    position: absolute;
    top: 15px;
    left: 16px;
    font-size: 15px;
    color: #666;
    transition: .35s ease;
    pointer-events: none;
}

.neo-group input:focus + label,
.neo-group input:not(:placeholder-shown) + label,
.neo-group textarea:focus + label,
.neo-group textarea:not(:placeholder-shown) + label {
    top: -12px;
    font-size: 13px;
    color: #fff;
    background: linear-gradient(130deg, #ff3b3b 0%, #ff1e1e 30%, #e60026 70%, #cc001f 100%);
    padding: 0 6px;
    border-radius: 4px;
}

/* 2 FIELDS IN ONE ROW */
.neo-row {
    display: flex;
    gap: 20px;
}

.neo-col {
    flex: 1;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .neoContact-wrapper {
        flex-direction: column;
    }

    .neo-row {
        flex-direction: column;
    }
}

/* BUTTON */
.neo-btn-center {
    text-align: center;
}

.neo-btn {
    width: 40%;
    padding: 14px 20px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(130deg, #ff3b3b 0%, #ff1e1e 30%, #e60026 70%, #cc001f 100%);
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
    box-shadow: 0 10px 30px rgba(0, 200, 255, 0.35);
}

.neo-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 180, 255, 0.50);
    background-color: #fff;
    color:white;
}


/* MAP */
.neo-map iframe {
    width: 100%;
    height: 380px;

    border-radius: 18px;
    border: 0;
    box-shadow: 0 18px 50px rgba(0,0,0,0.20);
}

/* ANIMATION */
@keyframes fadeInNeo {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media(max-width: 768px){
    .neoContact-wrapper {
        flex-direction: column;
    }

    .neo-btn {
        width: 75%;
    }
}

/*----------------------------diseases css ----------------------------*/



/* ========================= */
/* ABOUT PAGE TOP BANNER     */
/* ========================= */
/**/
/* Tablet */
@media (max-width: 1024px) {
  .medical-heading2 {
    font-size: 32px;
    line-height: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .medical-heading2 {
    font-size: 26px;
    line-height: 34px;
    margin: 12px 0 18px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .medical-heading2 {
    font-size: 22px;
    line-height: 30px;
    margin: 10px 0 15px;
  }
}

/* Ultra Small Devices */
@media (max-width: 360px) {
  .medical-heading2 {
    font-size: 20px;
    line-height: 28px;
  }
}

/**/
.footer-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: 0.3s ease;
}


/**/
.aboutTopBanner {
    width: 100%;
    height: 270px;
    background: url('https://t4.ftcdn.net/jpg/05/42/10/81/360_F_542108165_he8omcCZdW83r8FJksTU3l3LZS0oVl4w.jpg') center/cover no-repeat;
    position: relative;
    border-top: 4px solid red;
}

.aboutTopBanner-overlay {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.0); 
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 6%;
}

.aboutTopBanner-content {
    text-align: right;
}

.aboutTopBanner-title {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
}

.aboutTopBanner-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #444;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
    .aboutTopBanner {
        height: 200px;
    }

    .aboutTopBanner-overlay {
        justify-content: center;
        padding-right: 0;
    }

    .aboutTopBanner-content {
        text-align: center;
    }

    .aboutTopBanner-title {
        font-size: 28px;
    }

    .aboutTopBanner-subtitle {
        font-size: 15px;
    }
}


/**/


/**/
.medical-heading2 {
    text-align: center;
    width: 100%;
      margin: 0px 0 20px;
  font-size: 38px;
  font-weight: 700;
  line-height: 47px;
  color: #0a1a2a;
}


/**/
.disease-section {
  width: 100%;
  padding: 20px 0;
  background-image: url("https://elite-themes.com/html/medicoz/images/icons/pattern-5.png"); /* same hexagon bg */
  background-size: cover;
  background-position: center;
}

.disease-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0px 8px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.disease-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 15px 35px rgba(0,0,0,0.15);
}

.disease-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.disease-content {
  padding: 20px;
  background: #fff;
  background-image: url("images/diagram-bg.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 120px;
}

.disease-content h4 {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.disease-content .icon {
  color: #0d6efd;
  font-size: 22px;
}

.disease-content p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-top: 8px;
}

/**/
/* Tablet */
@media (max-width: 1024px) {
  .medical-heading2 {
    font-size: 32px;
    line-height: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .medical-heading2 {
    font-size: 25px;
    line-height: 34px;
    margin: 12px 0 18px;
    padding: 0 10px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .medical-heading2 {
    font-size: 21px;
    line-height: 30px;
    margin: 10px 0 15px;
    padding: 0 8px;
  }
}

/* Very Small Mobile */
@media (max-width: 360px) {
  .medical-heading2 {
    font-size: 19px;
    line-height: 28px;
  }
}

/**/
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-weight: 600;
}






