* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: white;
}

/* navbar border */
/* =========================
   NAVBAR LINKS
========================= */

.nav-menu .nav-link {
  position: relative;
  display: inline-block;

  padding: 8px 0;

  color: white;
  text-decoration: none;

  transition: color 0.3s ease;
}


/* GOLD LINE */

.nav-menu .nav-link::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 2px;

  width: 0;
  height: 2px;

  background: #e5b84f;

  border-radius: 10px;

  transition: width 0.3s ease;
}


/* HOVER */

.nav-menu .nav-link:hover {
  color: #e5b84f;
}

.nav-menu .nav-link:hover::after {
  width: 100%;
}


/* ACTIVE PAGE */

.nav-menu .nav-link.active::after {
  width: 100%;
}



.site-header {
  width: 100%;
  background: linear-gradient(
    90deg,
    #afc9e2 0%,
    #8faac1 30%,
    #536c80 60%,
    #496176 100%
  );
}

.navbar {
  width: 100%;
  min-height: 100px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 2px 3%;
}

/* Logo */

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  width: 90px;
  height: auto;
  display: block;
}

/* Desktop Menu */

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;

  padding-right: 1%;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;

  font-size: 15px;
  font-weight: 500;

  transition: 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;

  left: 0;
  bottom: -8px;

  width: 0;
  height: 2px;
  
  background: #ffffff;
  transition: width 0.3s ease;
}

.nav-menu a :hover {
  color: #f2c05b;
}

/* Hamburger */

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  background: transparent;
  border: 0;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 30px;
  height: 3px;

  margin: 6px auto;

  background: #ffffff;

  border-radius: 20px;

  transition: 0.3s ease;
}


/* ====HERO SECTION CSS */

.hero-section {
  position: relative;
  min-height: 700px;
  width: 100%;
  overflow: hidden;
  opacity: 0.78;

  background-image: url("assests/The-Ent-Clinic.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 50px 4% 0;
}

/* White faded effect like your design */

.hero-overlay {
  position: absolute;
  inset: 0;

  

  z-index: 1;
}

/* Main layout */

.hero-container {
  position: relative;
  z-index: 2;

  max-width: 1750px;
  margin: auto;

  display: grid;
  grid-template-columns: 1.4fr 0.6fr;

  align-items: start;
  gap: 50px;
}

/* Left content */

.hero-content {
  max-width: 1050px;
  padding: 22px 90px;
}

.hero-content h1 {
  font-size: clamp(30px, 3vw, 62px);
  line-height: 1.08;

  font-weight: 700;
  color: #123254;

  margin-bottom: 35px;
}

.hero-content p {
  font-size: 23px;
  line-height: 1.55;

  color: #2f5070;

  max-width: 1050px;
}

.hero-small-text {
  margin-top: 45px;
}

/* Logo */

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero-logo img {
  width: 100%;
  max-width: 430px;

  height: auto;

  object-fit: contain;
}

/* Bottom center content */

.hero-bottom-content {
  position: relative;
  z-index: 2;

  margin-top: 90px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.hero-bottom-content h2 {
    font-family: "Montserrat", Sans-serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 47px;
    color: #123254;
}

/* Button */

.appointment-btn {
    background-color: transparent;
    font-family: "Montserrat", Sans-serif;
    font-size: 18px;
    fill: #FFFFFF;
    color: #FFFFFF;
    background-image: linear-gradient(126deg, #82AAD7 7%, #485D70 67%);
    line-height: 1;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
    border-radius: 5px;
}

.appointment-btn:hover {
  

  box-shadow: 0 10px 25px rgba(47, 80, 112, 0.25);
}

/* hero text content */
.hero-content .hero-long-text{
    font-family: "Montserrat", Sans-serif;
    font-size: 16.7px;
    padding: 5px;
    color: #123254;
    font-weight: 1px;
    
}

/* TEAM SECTION */
.specialist-section {
  width: 100%;
  background: #f7f7f7;
  overflow: hidden;

  padding: 20px 0 35px;

  color: #173a5e;
}


/* TOP HEADING */

.specialist-heading {
  text-align: center;
  margin-bottom: 15px;
}

.specialist-heading h3,
.specialist-heading h2 {
  margin: 0;
  color: #173a5e;
  font-weight: 700;
}

.specialist-heading h3 {
  font-size: 21px;
  line-height: 1.1;
}

.specialist-heading h2 {
  font-size: 20px;
  line-height: 1.1;
}


/* MAIN LAYOUT */

.specialist-grid {
  display: grid;
  grid-template-columns: 50% 50%;

  width: 100%;
  max-width: 1450px;

  margin: 0 auto;

  align-items: start;
}


/* LEFT SIDE */

.specialist-left {
  position: relative;

  min-height: 610px;

  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}


/* BLUE CURVED SHAPE */

.doctor-shape {
  position: absolute;

  width: 330px;
  height: 500px;

  left: 90px;
  bottom: 0;
  margin-bottom: 30px;

  background: linear-gradient(
    180deg,
    #83acd2,
    #527087
  );

  border-radius: 180px 180px 0 0;
}


/* DOCTOR IMAGE */

.specialist-doctor {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 520px;

  height: auto;

  display: block;

  object-fit: contain;

  filter: drop-shadow(
    6px 4px 10px rgba(0,0,0,0.18)
  );
}


/* RIGHT SIDE */

.specialist-right {
  padding-top: 70px;
}


/* GOLD BOX */

.specialist-gold-box {
  width: 100%;

  padding: 30px 25px 24px;

  background: linear-gradient(
    135deg,
    #e1c481,
    #f2bd49
  );

  text-align: right;

  color: #173a5e;
}


.specialist-gold-box h2 {
  margin: 0 0 20px;

  font-size: 34px;
  line-height: 1.1;

  font-weight: 700;
}


.specialist-gold-box p {
  margin: 0 0 8px;

  font-size: 16px;
}


.specialist-gold-box span {
  display: block;

  font-size: 13px;
}


/* TEXT CONTENT */

.specialist-content {
  padding: 30px 25px 0 0;

  max-width: 600px;
}


.specialist-content p {
  margin: 0 0 27px;

  font-size: 19px;
  line-height: 2.2;

  color: #173a5e;
}


.specialist-content strong {
  font-weight: 700;
}


/* BOTTOM LINE */

.specialist-bottom {
  width: 100%;

  margin-top: 12px;

  text-align: center;

  font-size: 16px;
  line-height: 1.15;

  font-weight: 700;

  color: #173a5e;
}

/* ****=Care SECION=**** */
.care-flow-section {
  width: 100%;
  background: #f7f7f7;
  overflow: hidden;
  color: #173a5e;
}


/* ==================================
   TOP AREA
================================== */

.care-top {
  position: relative;
  min-height: 740px;
  padding: 0 0 70px;
  background-color: white;
}


/* GOLD EARACHE BOX */

.earache-box {
  width: 42%;
  max-width: 560px;

  padding: 28px 90px;

  background: linear-gradient(
    135deg,
    #e1c27c,
    #f3bd49
  );

  color: #173a5e;
}

.earache-box h2 {
  margin: 0 0 14px;

  font-size: 34px;
  line-height: 1.1;

  font-weight: 700;
}

.earache-box p {
  margin: 0 0 10px;

  font-size: 18px;
}

.earache-box span {
  font-size: 13px;
}


/* COLLABORATION CONTENT */

.collaboration-content {

  max-width: 600px;

  padding: 95px 22px 0 90px;
}

.collaboration-content h2 {
  margin: 0 0 35px;

  font-size: 31px;
  line-height: 1.05;

  font-weight: 700;
}

.collaboration-content p {
  margin: 0 0 18px;

  font-size: 17px;
  line-height: 1.2;
}


/* FEMALE DOCTOR */

.female-doctor-wrap {
  position: absolute;

  right: 0;
  bottom: 20px;

  max-width: 600px;
  height: 570px;

  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}


.female-doctor-wrap img {

  height: 100%;

  object-fit: contain;
  object-position: bottom right;

  display: block;


}


/* WE DON'T TREAT BOX */

.treatment-message {
  position: absolute;

  right: 0;
  bottom: -35px;

  width: 47%;
  max-width: 560px;

  padding: 30px 24px;

  background: linear-gradient(
    135deg,
    #dfc17c,
    #f2bc48
  );

  text-align: right;

  color: #173a5e;

  z-index: 5;
}

.treatment-message h2 {
  margin: 0;

  font-size: 34px;
  line-height: 1.1;

  font-weight: 700;
}

.treatment-message p {
  margin: 5px 0;

  font-size: 18px;
}

.treatment-message span {
  font-size: 13px;
}


/* ==================================
   PROCEDURE IMAGE AREA
================================== */

.procedure-area {
  position: relative;

  width: 100%;
  min-height: auto;

  margin-top: 0;

  overflow: visible;

}

.procedure-image {
  width: 100%;
 

  display: block;

  object-fit: cover;
  object-position: center;
}


.recovery-card {
  position: absolute;

  left: 0;
  bottom: 1px;

  width: 58%;
  max-width: 720px;

  padding: 20px 26px;

  background: linear-gradient(
    145deg,
    #7da4c9,
    #4e687e
  );

  color: #ffffff;

  z-index: 5;
}

.recovery-card h2 {
  margin: 0 0 10px;

  font-size: 25px;
  line-height: 1.05;

  font-weight: 700;
}

.recovery-card > p {
  margin: 0 0 18px;

  font-size: 15px;
  line-height: 1.3;
}

.recovery-card ul {
  margin: 0 0 18px;
  padding-left: 18px;
}

.recovery-card li {
  font-size: 14px;
  line-height: 1.3;
}

.recovery-card .recovery-final {
  margin: 0;

  font-size: 14px;
}

/* ======================
THAT'S WHY CARD WORK 
*/

.why-team-section {
  position: relative;

  width: 100%;
  min-height: auto;

  overflow: hidden;

  background: #f4f4f4;
}


/* Background image */

.why-team-bg {
  position: absolute;
  inset: 0;

  width: 100%;
  

  object-fit: cover;
  object-position: top center;

  z-index: 1;
}


/* light overlay */

.why-team-section::after {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(255, 255, 255, 0.25);

  z-index: 2;

  pointer-events: none;
}


/* Yellow card */

.why-card {
  position: relative;
  z-index: 4;

  width: 420px;
  max-width: calc(100% - 40px);

  margin: 200px auto 0;

  padding: 20px 24px;

  text-align: center;

  background: linear-gradient(
    135deg,
    #e4c67f,
    #f5bd46
  );

  color: #15395d;

  border-radius: 4px;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.why-card h2 {
  margin: 0 0 6px;

  font-size: 28px;
  line-height: 1.1;

  font-weight: 600;
}

.why-card p {
  margin: 0;

  font-size: 17px;
  line-height: 1.2;
}

.why-card span {
  display: block;

  margin-top: 3px;

  font-size: 17px;
}


/* Team panel */

.team-panel {
  position: relative;
  z-index: 4;

  width: 100%;

  margin-top: 130px;

  padding: 28px 40px 45px;

  background: linear-gradient(
    135deg,
    rgba(124, 166, 207, 0.96),
    rgba(75, 101, 123, 0.97)
  );

  color: white;
}


/* heading */

.team-title {
  margin: 0 0 30px;

  text-align: center;

  font-size: 32px;
  font-weight: 700;
}


/* list */

.team-list {
  width: 100%;
  max-width: 720px;

  margin: 0 auto;

  display: flex;
  flex-direction: column;

  gap: 16px;
}


/* member */

.team-member {
  display: flex;
  align-items: center;

  gap: 15px;
}


/* doctor image */

.team-member img {
  width: 68px;
  min-width: 68px;
  height: 68px;

  object-fit: cover;
  object-position: top center;

  background: white;

  border: 3px solid white;
}


/* doctor text */

.team-member h3 {
  margin: 0;

  font-size: 15px;
  line-height: 1.15;

  font-weight: 700;
}

.team-member span {
  display: block;

  margin-top: 1px;

  font-size: 12px;
  line-height: 1.2;

  font-weight: 600;
}

.team-member p {
  margin: 1px 0 0;

  max-width: 400px;

  font-size: 12px;
  line-height: 1.2;
}

/* Right care section */
.right-care-section {
  width: 100%;
  min-height: 200px;

  display: flex;
  justify-content: center;
  text-align: center;

  background:
    radial-gradient(
      circle at 25% 45%,
      rgba(205, 215, 225, 0.18),
      transparent 35%
    ),
    #fafafa;

  padding: 55px 8%;

  overflow: hidden;
}

.right-care-content {
  width: 100%;
  max-width: 1300px;

  margin: 0 auto;
}

.right-care-content h2 {
  margin: 0;

  color: #173a5e;

  font-size: clamp(34px, 3vw, 56px);
  line-height: 1.02;

  font-weight: 700;
  letter-spacing: -1px;
}

/* FOOTER WORKING */
.footer {
  background: linear-gradient(90deg, #7198bd, #4c667b);
  color: #fff;
  padding: 35px 6% 15px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-main img {
  width: 100px;
}

.footer-links {
  display: flex;
  gap: 35px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.footer-links a:hover {
  color: #f2c05b;
}

.footer-btn {
  background: #efbd52;
  color: #173a5e;
  padding: 11px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

.footer-bottom {
  text-align: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: 13px;
}

/* CONSULATION FLOW */
.consultation-flow {
  width: 100%;
  background: #f5f5f5;
  overflow: hidden;
}


/* ===========================
   COMMON IMAGE
=========================== */

.consultation-image {
  width: 100%;
  
   max-height: 100%; 
  

  display: block;

  object-fit: cover;
}


/* ===========================
   FIRST IMAGE
=========================== */

.consultation-top {
  position: relative;

  width: 100%;

}

.consultation-top .consultation-image {
  object-position: center;
}


/* ===========================
   EVERY CONSULTATION CARD
=========================== */

.every-consultation {
  position: absolute;

  top: 0;
  left: 0;

  width: 42%;
  max-width: auto;

  padding: 20px 26px;

  background: linear-gradient(
    135deg,
    #e2c17b,
    #f4bc46
  );

  color: #173a5e;

  z-index: 5;
}


.every-consultation h2 {
  margin: 0 0 14px;

  font-size: 26px;
  line-height: 1.1;

  font-weight: 700;
}


.every-consultation p {
  margin: 0 0 14px;

  font-size: 18px;
}


.every-consultation span {
  display: block;

  font-size: 12px;
  line-height: 1.25;

  max-width: 230px;
}


/* ===========================
   BLUE EXPERIENCE CARD
=========================== */

.experience-card {
  position: absolute;
  padding-top: 5px;
  line-height: 2;

  right: 0;
  bottom: -70px;

  width: 47%;
 
  

  padding: 38px 35px;

  background: linear-gradient(
    145deg,
    #7ea5ca,
    #4f697f
  );

  color: #ffffff;

  z-index: 6;

  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}


.experience-card p {
  margin: 0;
  padding-top: 5px;
  line-height: 1.6;
  font-size: 20px;
  align-items: center;


}


/* ===========================
   SECOND IMAGE
=========================== */

.consultation-bottom {
  position: relative;
 

}


.consultation-bottom .consultation-image {
  object-position: top center;

}


/* ===========================
   DIAGNOSIS CARD
=========================== */

.diagnosis-card {
  position: absolute;

  right: 0;
  bottom: 0;

  width: 56%;
  max-width: 730px;

  padding: 30px 35px;

  text-align: center;

  background: linear-gradient(
    135deg,
    #e1c17c,
    #f3bc46
  );

  color: #173a5e;

  z-index: 5;
}


.diagnosis-card h2 {
  margin: 0 0 3px;

  font-size: 35px;
  line-height: 1.1;

  font-weight: 700;
}


.diagnosis-card p {
  margin: 0 0 5px;

  font-size: 18px;
}


.diagnosis-card span {
  display: block;

  font-size: 12px;
  line-height: 1.2;
}


/* ==================================
   ENT APPOINTMENT MODAL
================================== */

.ent-modal {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 25px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


/* OPEN STATE */

.ent-modal.active {
    opacity: 1;
    visibility: visible;
}


/* BACKGROUND OVERLAY */

.ent-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(17, 45, 70, 0.72);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


/* MODAL BOX */

.ent-modal-box {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 680px;

    max-height: 90vh;
    overflow-y: auto;

    background: #ffffff;

    border-radius: 22px;

    padding: 38px 40px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);

    transform: translateY(30px) scale(0.97);

    transition: transform 0.35s ease;
}


.ent-modal.active .ent-modal-box {
    transform: translateY(0) scale(1);
}


/* CLOSE BUTTON */

.ent-modal-close {
    position: absolute;

    top: 15px;
    right: 18px;

    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;

    background: #f3f5f7;

    color: #173a5e;

    font-size: 27px;
    line-height: 1;

    cursor: pointer;

    transition: 0.3s ease;
}


.ent-modal-close:hover {
    background: #173a5e;
    color: #ffffff;

    transform: rotate(90deg);
}


/* ==========================
   HEADER
========================== */

.ent-modal-header {
    text-align: center;

    margin-bottom: 30px;

    padding: 0 30px;
}


.ent-modal-small-title {
    display: inline-block;

    margin-bottom: 10px;

    color: #d7a83e;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}


.ent-modal-header h2 {
    margin: 0 0 10px;

    color: #173a5e;

    font-size: 30px;
    line-height: 1.2;
}


.ent-modal-header p {
    max-width: 500px;

    margin: auto;

    color: #687785;

    font-size: 14px;
    line-height: 1.6;
}


/* ==========================
   FORM
========================== */

.ent-appointment-form {
    width: 100%;
}


.ent-form-row {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}


.ent-form-group {
    margin-bottom: 17px;
}


.ent-form-group label {
    display: block;

    margin-bottom: 7px;

    color: #173a5e;

    font-size: 13px;
    font-weight: 600;
}


.ent-form-group input,
.ent-form-group select,
.ent-form-group textarea {

    width: 100%;

    border: 1px solid #d9e0e6;

    background: #f8fafc;

    color: #173a5e;

    font-family: inherit;

    font-size: 14px;

    padding: 13px 15px;

    border-radius: 10px;

    outline: none;

    transition: 0.25s ease;
}


.ent-form-group input,
.ent-form-group select {
    height: 48px;
}


.ent-form-group textarea {
    resize: vertical;

    min-height: 90px;
}


/* INPUT FOCUS */

.ent-form-group input:focus,
.ent-form-group select:focus,
.ent-form-group textarea:focus {

    border-color: #dcb04f;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(220, 176, 79, 0.13);
}


/* ==========================
   SUBMIT BUTTON
========================== */

.ent-submit-btn {

    width: 100%;

    border: none;

    margin-top: 5px;

    padding: 15px 25px;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #dfc078,
        #f2b942
    );

    color: #173a5e;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.5px;

    cursor: pointer;

    transition: 0.3s ease;
}


.ent-submit-btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(211, 166, 64, 0.30);
}


/* PREVENT PAGE SCROLL */

body.modal-open {
    overflow: hidden;
}

/*====================================
 MEDIA QUERIES /RESPONSIVENESS
 =================================== */


/* ================================
   LAPTOP / SMALL DESKTOP
================================ */

@media (max-width: 1200px) {
   .experience-card p {
    font-size: 20px;
    line-height: 1.2;
   }
  .hero-section {
    padding: 60px 5% 40px;
  }

  .hero-container {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 30px;
  }

  .hero-content p {
    font-size: 20px;
  }

  .hero-logo img {
    max-width: 350px;
  }

  .hero-bottom-content {
    margin-top: 80px;
  }

  /* Team Section */

 

}



/* ===================================
   TABLET
=================================== */

@media (max-width: 1100px) {

  .navbar {
    min-height: 160px;
    padding: 15px 5%;
  }

  .navbar-logo img {
    width: 120px;
  }

  .nav-menu {
    gap: 35px;
  }

  .nav-link {
    font-size: 20px;
  }

  /*=== Hero Section=== */
  .hero-section {
    min-height: auto;

    background-position: center;
    padding: 50px 30px;
  }

  .hero-container {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .hero-content {
    max-width: 800px;
    margin: auto;
    padding: inherit;
  }

  .hero-content h1 {
    font-size: 52px;
  }

  .hero-content p {
    font-size: 19px;
  }

  .hero-small-text {
    margin-top: 30px;
  }

  .hero-logo {
    margin-top: 20px;
  }

  .hero-logo img {
    max-width: 300px;
  }

  .hero-bottom-content {
    margin-top: 60px;
  }

  .hero-bottom-content h2 {
    font-size: 44px;
  }
}

/*  */
@media (max-width: 991px) {
 .specialist-grid {
    grid-template-columns: 1fr;
  }

  .specialist-left {
    min-height: auto;

    justify-content: start;
  }

  .doctor-shape {
    width: 300px;
    height: 430px;

    left: 170px;
    right: auto;

    transform: translateX(-20%);

    bottom: 0;
  }

  .specialist-doctor {
    max-width: 480px;
  }

  .specialist-right {
    padding: 0 25px;
  }

  .specialist-gold-box {
    text-align: center;
  }

  .specialist-content {
    max-width: 750px;

    margin: 0 auto;

    padding: 30px 0 0;

    text-align: center;
  }


  /* TAKE CARE SECTION MEDIA Q */
  .care-top {
    min-height: auto;
    padding-bottom: 0;
  }

  .earache-box,
  .collaboration-content {
    width: calc(100% - 40px);
    max-width: none;

    margin-left: auto;
    margin-right: auto;
  }

  .earache-box {
    margin-bottom: 25px;
  }



  .female-doctor-wrap {
    position: relative;

    right: auto;


    width: 100%;
    margin-left: auto;

  
    justify-content: center;
  }

  .female-doctor-wrap img {
    object-position: bottom center;
    width: 100%;
    object-fit: fill;
  }

  .treatment-message {
    position: relative;

    right: auto;
    bottom: auto;

    width: calc(100% - 40px);
    max-width: none;

    margin: -70px auto 1px;

    text-align: center;
  }


  .procedure-area {
    min-height: auto;
  }



  .recovery-card {
    position: relative;

    left: auto;
    bottom: auto;

    width: calc(100% - 0px);
    max-width: none;

    margin: 0 auto 0px;
  }

  
  /* CONSULATANT FLOW */
    /* .consultation-top {
    height: 520px;
  } */

  .every-consultation {
    width: 50%;
  }

  .experience-card {
    width: 50%;
    height: 50%;
  }

  .consultation-bottom {
    height: 520px;
  }

  .diagnosis-card {
    width: 60%;
  }

  /* RECOVERY PAGE WORK AND IMAGE */
  .top-image {
    height: 430px;
  }

  /* Experience-Card */
  .experience-card p {
    font-size: 19.5px;
  }

  /* .recovery-card {
    position: absolute;
    bottom: -218px;
    padding: 28px;
  } */

  .recovery-card h2 {
    font-size: 28px;
  }

  .consultation-box {
    width: 55%;
  }

  .second-image,
  .third-image {
    height: 520px;
  }



  .diagnosis-card {
    width: 55%;
  }

}


/* ===================================
   MOBILE
=================================== */

@media (max-width: 767px) {

  .site-header {
    position: relative;
  }
  
  /* navbar line */
  

  .navbar {
    min-height: 100px;

    padding: 12px 20px;

    position: relative;
  }

  .navbar-logo img {
    width: 85px;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-menu {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 0;

    padding: 15px 20px 25px;

    background: #4d6579;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition: all 0.3s ease;

    z-index: 1000;



  }
  /* CONSULTANT DR */
  .consultation-top,
  .consultation-bottom {
    height: auto;
  }


  .consultation-image {
    height: 390px;
  }


  /* Yellow top */

  .every-consultation {
    position: relative;

    top: auto;
    left: auto;

    width: calc(100% - 30px);

    margin: 0 auto -35px;

    padding: 25px 20px;
  }


  .every-consultation h2 {
    font-size: 27px;
  }


  /* First image */

  .consultation-top .consultation-image {
    object-position: center;
  }


  /* Blue card */

  .experience-card {
    position: relative;

    right: auto;
    bottom: auto;

    width: calc(100% - 30px);

    margin: -60px auto 35px;

    padding: 25px 20px;
  }


  .experience-card p {
    font-size: 15px;
    line-height: 1.5;
  }


  /* Second image */

  .consultation-bottom {
    margin-top: 0;
   
  }


  /* Diagnosis */

  .diagnosis-card {
    position: relative;

    right: auto;
    bottom: auto;

    width: auto;

    margin: 1px auto 1px;

    padding: 24px 20px;
  }


  .diagnosis-card h2 {
    font-size: 27px;
  }


  .diagnosis-card p {
    font-size: 16px;
  }


  /* FOOTER */

    .footer-main,
  .footer-links {
    flex-direction: column;
  }

  .footer-main {
    text-align: center;
  }

  .footer-links {
    gap: 12px;
  }
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    display: block;
    text-align: center;
    width: 100%;

    padding: 15px 5px;

    font-size: 18px;


    /* border-bottom: 1px solid rgba(255, 255, 255, 0.15); */
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  /* Hamburger animation */

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* for before */
  .nav-link::after{
    margin-left: 21rem;

  }

 /*=== Hero Section=== */
   .hero-section {
    padding: 40px 20px;

    background-position: center top;
  }

  .hero-overlay {
    background: rgba(255, 255, 255, 0.82);
  }

  .hero-container {
    gap: 25px;
  }

  .hero-content h1 {
    font-size: 39px;
    line-height: 1.15;

    margin-bottom: 25px;
  }

  .hero-content p {
    font-size: 17px;
    line-height: 1.6;
  }

  .hero-logo img {
    max-width: 240px;
  }

  .hero-bottom-content {
    margin-top: 45px;
  }

  .hero-bottom-content h2 {
    font-size: 34px;

    margin-bottom: 35px;
  }

  .appointment-btn {
    min-width: unset;

    width: 100%;
    max-width: 350px;

    min-height: 58px;

    font-size: 21px;
  }

  /*SPECIALISATION MEDIA */

  .specialist-section {
    padding-top: 18px;
  }

  .specialist-heading h3 {
    font-size: 18px;
  }

  .specialist-heading h2 {
    font-size: 17px;
  }

  .specialist-left {
    padding: 0 10px;
  }

  .doctor-shape {
    width: 220px;
    height: 330px;
  }

  .specialist-doctor {
    max-width: 350px;
  }

  .specialist-right {
    padding: 0 15px;
  }

  .specialist-gold-box {
    padding: 25px 18px;
  }

  .specialist-gold-box h2 {
    font-size: 25px;
  }

  .specialist-gold-box p {
    font-size: 14px;
  }

  .specialist-content p {
    font-size: 15px;
    line-height: 1.5;
  }

  .specialist-bottom {
    padding: 0 20px;

    font-size: 14px;
  }

  /* MEDIA FOR CARE SECTION */




    /* WORK FOR RECOVERY */
    .top-image,
  .second-image,
  .third-image {
    height: auto;
  }

  .story-image > img {
    height: 360px;
    object-fit: cover;
  }


  /* Recovery */

  .recovery-card {
    position: relative;

    left: auto;
    bottom: auto;

    width: 100%;
    margin: 0 auto 0;

    padding: 25px 20px;
  }

  .recovery-card h2 {
    font-size: 25px;
  }

  .recovery-card p {
    font-size: 15px;
  }

  .recovery-card li {
    font-size: 14px;
  }


  /* Consultation */

  .consultation-box {
    width: calc(100% - 30px);

    margin: 20px auto 35px;

    padding: 25px 20px;
  }

  .consultation-box h2 {
    font-size: 26px;
  }


  /* Second image */

  .experience-card {
    position: relative;

    right: auto;
    bottom: auto;

    width: calc(100% - 30px);

    margin: 44px auto 5px;

    padding: 25px 20px;
  }

  .experience-card p {
    font-size: 15px;
  }


  /* Third image */

  .third-image {
    margin-top: 0;
  }

  .diagnosis-card {
    position: relative;

    right: auto;
    bottom: auto;


   

    padding: 25px 20px;
  }

  .diagnosis-card h2 {
    font-size: 27px;
  }
 /* THAT'S WHY */

   .why-team-section {
    min-height: 900px;
  }

  .why-team-bg {
  
    object-position: top center;
    height: 700px;
  }

  .why-team-section::after {
    background: rgba(255, 255, 255, 0.32);
  }

  .why-card {

    margin-top: 55px;

    padding: 20px 20px;
  }

  .why-card h2 {
    font-size: 31px;
  }

  .why-card p {
    font-size: 18px;
  }

  .why-card span {
    font-size: 14px;
  }


  .team-panel {


    padding: 22px 22px 35px;
  }

  .team-title {
    font-size: 25px;

    margin-bottom: 25px;
  }


  .team-list {
    gap: 13px;
  }

  .team-member {
    gap: 11px;
  }

  .team-member img {
    width: 58px;
    min-width: 58px;
    height: 58px;
  }

  .team-member h3 {
    font-size: 13px;
  }

  .team-member span,
  .team-member p {
    font-size: 10px;
  }

  /* TREATMENT SECTION */
  .earache-box {
    padding: 24px 20px;
  }

  .earache-box h2 {
    font-size: 27px;
  }

  .collaboration-content h2 {
    font-size: 27px;
  }

  .collaboration-content p {
    font-size: 15px;
    line-height: 1.4;
  }

  .female-doctor-wrap {
    height: auto;
    margin-left: auto;
  }

  .treatment-message h2 {
    font-size: 27px;
  }


  .recovery-card {
    padding: 25px 20px;
  }

  .recovery-card h2 {
    font-size: 24px;
  }

  .recovery-card > p,
  .recovery-card li,
  .recovery-card .recovery-final {
    font-size: 13px;
  }

      .ent-modal {
        padding: 15px;
        align-items: center;
    }


    .ent-modal-box {
        padding: 32px 20px 25px;

        border-radius: 17px;

        max-height: 92vh;
    }


    .ent-modal-header {
        padding: 0 10px;

        margin-bottom: 23px;
    }


    .ent-modal-header h2 {
        font-size: 24px;
    }


    .ent-modal-header p {
        font-size: 13px;
    }


    .ent-form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .ent-form-group {
        margin-bottom: 14px;
    }


    .ent-form-group input,
    .ent-form-group select {
        height: 46px;
    }


    .ent-modal-close {
        top: 10px;
        right: 10px;
    }
}

/* Small Mobile */

@media (max-width: 480px) {

  .navbar {
    min-height: 90px;
    padding: 10px 15px;
  }

    .doctor-shape {

    max-height: 500px;
    left: 100px;
    right: auto;

    transform: translateX(-20%);

    bottom: 0;
  }

  .navbar-logo img {
    width: 75px;
  }

  /* FOR HERO SECTION  */
   .hero-section {
    padding: 35px 16px;
  }

  .hero-content h1 {
    font-size: 33px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-logo img {
    max-width: 200px;
  }

  .hero-bottom-content h2 {
    font-size: 29px;
  }

  .appointment-btn {
    font-size: 18px;
    padding: 14px 20px;
  }

  /* Team work */
   .team-heading h2 {
    font-size: 27px;
  }

  .team-heading h3 {
    font-size: 24px;
  }

  .specialist-box h2 {
    font-size: 25px;
  }

  .specialist-box p {
    font-size: 16px;
  }

  .team-content p {
    font-size: 16px;
  }

  /* MEDIA FOR CARE SECTION */



  /* FOR RECOVERY */
 .story-image > img {
    height: 300px;
  }

  .recovery-card h2 {
    font-size: 23px;
  }

  .consultation-box h2 {
    font-size: 24px;
  }

  .diagnosis-card h2 {
    font-size: 25px;
  }

}