@font-face { font-family: Poppins-Regular; src: url('fonts/Poppins-Regular.ttf'); }
@font-face { font-family: Poppins-Medium; src: url('fonts/Poppins-Medium.ttf'); }
@font-face { font-family: Poppins-SemiBold; src: url('fonts/Poppins-SemiBold.ttf'); }
@font-face { font-family: Roboto-Medium; src: url('fonts/Roboto-Medium.ttf'); }
@font-face { font-family: Rubik-Medium; src: url('fonts/Rubik-Medium.ttf'); }
@font-face { font-family: Rubik-Regular; src: url('fonts/Rubik-Regular.ttf'); }
@font-face { font-family: EmojiOneColor; src: url('fonts/EmojiOneColor.ttf'); }


.poppins-medium{ font-family: Poppins-Regular !important; }
.poppins-medium{ font-family: Poppins-Medium !important; }
.poppins-semibold{ font-family: Poppins-SemiBold !important; }
.robot0-medium{ font-family: Roboto-Medium !important; }
.rubik-medium{ font-family: Rubik-Medium !important; }
.rubik-regular{ font-family: Rubik-Regular !important; }




body {
    font-family: Rubik-Regular;
    margin: 0;
    padding: 0;
    height: 100vh; /* Full viewport height */
}

 /* Full-width header */
 header {
    width: 100%;
    position: absolute;
    z-index: 1;
}

header.inside-page{
    position: relative;
}

header.inside-page .nav-links a {
    font-family: Rubik-Regular;
    margin-left: 30px;
    margin-bottom: 10px;
    padding-bottom: 30px;
    text-decoration: none;
    color: #414042;
    font-size: 24px;
}

header.inside-page .nav-links a:hover{
    color: #00b1dc;
    border-bottom: 3px solid #c8da2a;
    margin-bottom: 7px;
}

header.inside-page .nav-links a.active {
    font-family: Rubik-Medium;
    color: #00b1dc;
    border-bottom: 3px solid #c8da2a;
    margin-bottom: 7px;
}

header.inside-page .nav-links .appointment-call:hover {
    border: none;
    background: none;
}


.nav-links a:hover,
.nav-links a.active {
    border-bottom: 3px solid #ffffffb9;
}

.nav-links .appointment-call:hover {
    border: none;
}

/* Centered content with max width */
.content {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto; /* Center the content horizontally */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo on the left */
.logo img {
    width: 210px;
    border-bottom-left-radius: 14%;
    border-bottom-right-radius: 14%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

header.inside-page .logo img {
    width: 210px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: none;
    margin-bottom: 10px;
}

.hamburger{
    display: none;
}

/* Navigation links on the right */
.nav-links {
    margin-top: 0px;
    transition: transform 0.3s ease-in-out; /* Smooth transition */
    display: flex;
    align-items: flex-end;
}


.nav-links .appointment-call {
    color: #fff;
    text-decoration: none;
    align-items: center;
}

.nav-links .book-visit {
    display: inline-block;
    align-content: center;
    text-align: center;
    margin-left: 20px;
    cursor: pointer;
}

.nav-links .book-visit img {
    width: 50px;
    margin: 0 auto 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* x-offset, y-offset, blur, color */
    border-radius: 50%; /* optional: smooth corners */
    display: block;
}

.nav-links .book-visit p {
    margin: 0;
    padding: 10px 0 0 0;
    text-align: center;
}

.nav-links .book-visit p a {
    margin-left: 0;
}

.nav-links a {
    font-family: Rubik-Regular;
    margin-left: 30px;
    margin-bottom: 10px;
    padding-bottom: 30px;
    text-decoration: none;
    color: #fff;
    font-size: 24px;
}

header.inside-page .nav-links a {
    padding-bottom: 30px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00b1dc;
    border-bottom: 3px solid #b4c429;
    margin-bottom: 7px;
}

.nav-links .appointment-call:hover {
    border: none;
}



.breadcrumb{
    position: relative;
    width: 100%; 
    height: 400px;
}


.about-us-breadcrumb{
    background: url('../images/banner/about-us-banner.jpg') no-repeat;
    background-size:cover;
}

.panel-doctors-breadcrumb{
    background: url('../images/banner/panel-doctors-banner.jpg') no-repeat;
    background-size:cover;
}

.why-choose-jivi-breadcrumb{
    background: url('../images/banner/why-choose-jivi-banner.jpg') no-repeat;
    background-size:cover;
}


.faqs-breadcrumb{
    background: url('../images/banner/faqs-banner.jpg') no-repeat;
    background-size:cover;
}

.contact-us-breadcrumb{
    background: url('../images/banner/contact-us-banner.jpg') no-repeat;
    background-size:cover;
}

.breadcrumb-inner{
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers vertically */
    align-items: flex-start; /* Aligns to the left */
    height: 100%; /* Full height of the viewport (adjust as needed) */
    padding-left: 20px; /* Optional: Add some padding for space */
}

.breadcrumb-inner h1{
    font-weight: 400;
    font-family: Poppins-Medium;
    font-size: 36px;
    color: #302d97;
}

.breadcrumb-inner h1 span{
    font-weight: 400;
    font-family: Poppins-Medium;
    font-size: 54px;
    color: #302d97;
}

.breadcrumb-inner p{
    font-family: Rubik-Regular;
    font-size: 24px;
    color: #666666;
}

.breadcrumb-inner p strong{
    font-weight: normal;
    font-family: Rubik-Medium;
    color: #333333;
}

.breadcrumb-inner p span{
    color: #00b0dc;
}

.breadcrumb-inner p a{
    color: #666666;
    text-decoration: none;
}

@media (max-width: 768px) {


    .breadcrumb {
        height: 300px;
    }

    .breadcrumb-inner h1{
        font-size: 46px;
        line-height: 56px;
    }
    
    .breadcrumb-inner p{
        font-size: 18px;
    }
}



.slider {
    position: relative;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
}

.slide-content p, .slide-content h1, .slide-content button {
    opacity: 0; /* Initially hide the text */
    transition: opacity 0.5s ease; /* Transition for smooth fade-in */
}


.slides {
    display: flex;
    position: relative;
    height: 100%; /* Ensure slides take full height */
    transition: opacity 0.5s ease-in-out; /* Smooth fade transition */
}

.slide {
    min-width: 100%;
    height: 100%; /* Ensure slides take full height */
    box-sizing: border-box;
    color: white;
    text-align: left; /* Align text to the left */
    background-size: cover;
    background-position: top;
    opacity: 0; /* Start invisible */
    display: none;
    position: absolute; /* Position absolute for overlap */
    transition: opacity 0.5s ease; /* Fade effect */
}

.slide.active {
    opacity: 1; /* Show active slide */
    display: block;
}



/* Desktop background images */
.slide-1 {
    background-image: url('../images/banner/banner-1.jpg');
}
.slide-2 {
    background-image: url('../images/banner/banner-3.jpg');
}
.slide-3 {
    background-image: url('../images/banner/banner-2.jpg');
}

/* Common styles for all slides */
.slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
}

/* Mobile version */
@media (max-width: 767px) {
    .slide-1 {
        background-image: url('../images/banner/mobile-banner-1.jpg');
    }
    .slide-2 {
        background-image: url('../images/banner/mobile-banner-3.jpg');
    }
    .slide-3 {
        background-image: url('../images/banner/mobile-banner-2.jpg');
    }
}







h1 {
    margin: 10px 0; /* Spacing for the heading */
}

.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.navigation button {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: none;
    cursor: pointer;
    opacity: 0.4;
    transition: 0.5s ease-in-out; /* Smooth fade transition */
}

.navigation button:hover {
    background-color: #fff;
    opacity: 0.8;
    width: 60px;
    height: 60px;
}

/* Styling for the slide content */
.slide-content {
    position: absolute;
    bottom: 180px; /* Space from bottom */
    max-width: 1400px; /* Limit the width of the text content */
    width: 90%;
    left: 50%; /* Move the left edge to the center */
    transform: translateX(-50%); /* Center by moving left half of its width */
}

.slide-content > * {
    max-width: 700px;
    width: 100%;
}

.slide-content p{
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    font-family: Rubik-Regular;
}

.slide-content h1{
    color: #fff;
    font-size: 58px;
    line-height: 80px;
    font-family: Poppins-SemiBold;
}

.slide-content button{
    background: #c3db00;
    color: #333333;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    width: auto;
    height: 50px;
    margin-top: 28px;
    display: block;
}
    
.slide-content button:hover {
    background-color: #00b0dc;
    color: #fff;
}

.slide-content a{
    background: none;
    border: 1px solid #FFF;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 20px;
    width: auto;
    height: 50px;
    margin-top: 28px;
    text-decoration: none;
    display: inline-block;
}


/* Styles for consultation links */
.consultation-links {
    display: flex;
    gap: 20px; /* Space between links */
    margin-top: 150px; /* Space above the links */
    font-size: 20px;
}

.consultation {
    color: #333333; /* Text color */
    text-decoration: none; /* Remove underline */
    display: flex; /* Flexbox for aligning image and text */
    align-items: center; /* Center items vertically */
}

.consultation img {
    width: 48px; /* Set icon width */
    margin-right: 5px; /* Space between icon and text */
}


.about-us {
    background-color: #a6e9f6; /* Light background color */
    padding: 90px 0; /* Top and bottom padding */
}

.about-us-content {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto; /* Center the content */
    text-align: center; /* Center align text */
}

.about-us h4 {
    font-size: 24px;
    letter-spacing: 0px;
    color: #666666;
    font-weight: normal;
    font-family: Rubik-Medium;
    margin: 0;
}

.about-us h1 {
    font-size: 64px;
    color: #302d97;
    font-weight: normal;
    font-family: Poppins-SemiBold;
}

.about-us p {
    font-size: 21px;
    color: #333333;
    font-weight: normal;
    font-family: Rubik-Regular;
}

#container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
}

#container .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    grid-template-rows: repeat(3, auto);   /* 3 rows */
    gap: 20px; /* spacing between boxes */
    max-width: 1400px; /* optional: keeps layout neat */
    width: 100%;
    margin: 0 auto; /* center align */
}

#container .box {
    cursor: pointer;
    background-color: white;
    border-radius: 10px;
    padding: 30px 10px;
    text-align: center;
    box-shadow: 0px 0px 30px #0000002d;
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    text-decoration: none;
}

#container .box:hover {
    background-color: #c3db00;
    color: #333333 !important;
}

.container .box img {
    width: 64px;
    border-radius: 50%;
    transition: opacity 0.3s;
    position: absolute;
    box-shadow: 0px 0px 20px #e8f19f;
}

.container .box .image1 {
    opacity: 1;
}

.container .box .image2 {
    opacity: 0;
}

.container .box:hover .image1 {
    opacity: 0;
}

.container .box:hover .image2 {
    opacity: 1;
}
.container .box h3 {
    font-size: 20px;
    line-height: 31px;
    color: #302d97;
    font-family: Poppins-SemiBold;
    margin-top: 0px;
    margin-bottom: 0px;
}

.container .box p {
    font-size: 15px;
    color: #333333;
    font-family: Rubik-Regular;
    margin: 0;
}

#contact-us .grid-item hr {
    border: none;
    border-bottom: 1px solid #4a5c88;
    width: 275px;
    margin: 30px 0 10px 0 !important;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 330px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 40px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.about-us-content .more-specialities {
    display: inline-block;
    background-color: #302d97;
    padding: 20px;
    width: 300px;
    color: #c3db00;
    font-size: 18px;
    font-family: Rubik-Medium;
    text-decoration: none;
    border-radius: 7px;
    margin-top: 70px;
}

.about-us-content .more-specialities img {
    margin-left: 24px;
    margin-bottom: -2px;
    transition: 0.5s ease-in-out; /* Smooth fade transition */
}

.about-us-content .more-specialities:hover img {
    margin-left: 34px;
}





/*********** founding-team ***********/

.founding-team {
    background-image: linear-gradient(to bottom right, #c8d92d, #04b2d9);
    padding: 80px 0 20px 0; /* Top and bottom padding */
}

.founding-team-content {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto; /* Center the content */
    text-align: center; /* Center align text */
    padding-bottom: 80px;
}

.founding-team h1 {
    font-size: 66px;
    color: #302d97;
    font-weight: normal;
    font-family: Poppins-SemiBold;
}

.founding-team p {
    max-width: 1400px; /* optional: keeps layout neat */
    width: 90%;
    color: #333;
    margin: 0 auto !important;
    padding: 0;
    font-size: 22px;
    line-height: 44px;
    font-family: Rubik-Regular;
    text-align: justify;
}

#founding-team-container {
    max-width: 1400px; /* optional: keeps layout neat */
    width: 90%;
    margin: 50px auto;
}

#founding-team-container .founding-team-container {
    display: flex;
    width: 100%;
    gap: 40px; /* spacing between boxes */
}

#founding-team-container .box {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0px 0px 30px #0000002d;
    width: 100%;
    text-decoration: none;
}


.founding-team-container .box h3{
    color: #343392;
    font-family: Rubik-Medium;
    font-size: 33px;
    padding: 0;
    margin: 24px 0 10px 0;
}

.founding-team-container .box h3 a{
    color: #343392;
    text-decoration: none;
}

.founding-team-container .box p {
    color: #666666;
    width: 100%;
    margin: 0 !important;
    padding: 0;
    font-size: 25px;
    line-height: 25px;
    font-family: Rubik-Regular;
    text-align: center;
}

.founding-team-container .box p a{
    color: #666666;
    text-decoration: none;
}

.founding-team-container .box img {
    width: 220px;
    border-radius: 50%;
    margin: 0 auto;
}


.founding-team .know-more {
    display: inline-block;
    background-color: #302d97;
    padding: 20px;
    width: 280px;
    color: #c3db00;
    font-size: 18px;
    font-family: Rubik-Medium;
    text-decoration: none;
    border-radius: 7px;
    margin-top: 40px;
}

.founding-team .know-more img {
    margin-left: 24px;
    margin-bottom: -2px;
    transition: 0.5s ease-in-out; /* Smooth fade transition */
}

.founding-team .know-more:hover img {
    margin-left: 34px;
}


#founding-team-container hr{
    border: none;
    border-top: 1px solid #ecf7c6;
    margin: 50px 0 30px 0;
}

.founding-team-video {
    display: block;
}


.founding-team-video h3 {
    font-size: 26px;
    line-height: 38px;
    color: #343392;
    font-family: Poppins-SemiBold;
    margin: 0;
}

.founding-team-video p {
    font-size: 22px;
    color: #343392;
    font-family: Poppins-Regular;
    margin: 10px auto 20px auto !important;
    text-align: center;
}


.founding-team-video {
  max-width: 900px;     /* optional: keeps it from being too wide */
  margin: 0 auto;       /* center on page */
  text-align: center;   /* center heading, text, video */
  padding: 20px;
}

.founding-team-video video {
  width: 100%;          /* make video scale with parent */
  height: auto;         /* maintain aspect ratio */
  max-width: 450px;      /* prevent overflow */
  border-radius: 12px;  /* optional: rounded corners */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* optional: subtle shadow */
}

.founding-team-video .know-more {
    display: block;
    background-color: #302d97;
    padding: 20px;
    width: 200px;
    color: #c3db00;
    font-size: 18px;
    font-family: Rubik-Medium;
    text-decoration: none;
    border-radius: 7px;
    margin: 40px auto 0 auto;
}



/*************** KEY FEATURES ******************/

.key-features {
    background: #fff;
    padding: 80px 0; /* Top and bottom padding */
}

.key-features-content {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto; /* Center the content */
    text-align: center; /* Center align text */
}

.key-features-content h1 {
    display: inline-block;
    font-size: 32px;
    color: #fff;
    font-family: Rubik-Regular;
    background-color: #fbae17;
    padding: 10px 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

#key-features-container {
    max-width: 1000px; /* optional: keeps layout neat */
    width: 90%;
    margin: 0 auto;
}


#key-features-container .key-features-container {
  display: flex;           /* put both ul in one row */
  gap: 40px;               /* space between the two columns */
  justify-content: space-around; /* center in container */
  flex-wrap: wrap;         /* allow wrap on small screens */
}

#key-features-container ul {
  list-style: none;    /* remove default bullets */
  margin: 20px 0 0 0;
  padding: 0;
}

#key-features-container li {
  /*font-family: EmojiOneColor;*/
  text-align: left;
  font-size: 20px;
  line-height: 1.6;
  margin: 10px 0;
  padding-left: 35px; /* space for icon */
  background: url("../images/green-circle-check.png") no-repeat left center;
  background-size: 20px 20px; /* fit icon with text size */
}


.key-features-content .understand-more {
    display: inline-block;
    background-color: #302d97;
    padding: 20px;
    width: 300px;
    color: #c3db00;
    font-size: 18px;
    font-family: Rubik-Medium;
    text-decoration: none;
    border-radius: 7px;
    margin-top: 40px;
}

.key-features-content .understand-more img {
    margin-left: 24px;
    margin-bottom: -2px;
    transition: 0.5s ease-in-out; /* Smooth fade transition */
}

.key-features-content .understand-more:hover img {
    margin-left: 34px;
}



/*************** REAL STORIES ******************/

.real-stories {
    background-image: linear-gradient(to bottom right, #c8d92d, #04b2d9);
    padding: 80px 0 90px 0; /* Top and bottom padding */
}

.real-stories-content {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.real-stories-content h1 {
    font-size: 48px;
    color: #fff;
    font-weight: normal;
    font-family: Poppins-SemiBold;
    margin: 0;
}

.real-stories-content p {
    font-size: 18px;
    color: #231f20;
    font-weight: normal;
    font-family: Rubik-Regular;
    margin: 0 0 40px 0;
}

/* Stage area */
.cascade-slider {
    position: relative;
    width: 1000px;
    max-width: 100%;
    height: 420px;
    aspect-ratio: 1000 / 420;
    margin: 0 auto;
    perspective: 1000px;
    overflow: hidden;
}

/* Base slide */
.cascade-slider .real-stories-slide {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #1f1f1f;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0,0,0,1);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    display: flex;
    gap: 14px;
    padding: 30px;
    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        width 0.8s ease,
        height 0.8s ease;
}

/* FRONT */
.cascade-slider .real-stories-slide.is-front {
    width: 1000px;
    max-width: 95%;
    height: 300px;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
    pointer-events: auto;
}

/* SECOND */
.cascade-slider .real-stories-slide.is-second {
    width: 950px;
    max-width: 90%;
    height: 285px;
    opacity: 1;
    transform: translate(-50%, -65%) scale(0.95);
    z-index: 2;
}

/* THIRD */
.cascade-slider .real-stories-slide.is-third {
    width: 870px;
    max-width: 85%;
    height: 261px;
    opacity: 1;
    transform: translate(-50%, -83%) scale(0.9);
    z-index: 1;
}

/* Hidden slides */
.cascade-slider .real-stories-slide.is-hidden {
    opacity: 0;
    transform: translate(-50%, -85%) scale(1);
    z-index: 0;
}

/* Avatar */
.cascade-slider .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Content */
.cascade-slider .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.cascade-slider .name {
    color: #fff;
    margin: 10px 0 0 0;
    font-size: 22px;
    line-height: 1.2;
}

.cascade-slider .review-count {
    color: #bbb;
    font-size: 15px;
    margin: 0 0 10px 0;
}

.cascade-slider .stars {
    color: #f5b400;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 10px;
}

.cascade-slider .review {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #ddd;
    text-align: left;
}

/* Read More Button */
.real-stories-content .read-more {
    display: inline-block;
    background-color: #302d97;
    padding: 20px;
    width: 300px;
    max-width: 90%;
    color: #c3db00;
    font-size: 18px;
    font-family: Rubik-Medium;
    text-decoration: none;
    border-radius: 7px;
    margin-top: 20px;
}

.real-stories-content .read-more img {
    margin-left: 24px;
    margin-bottom: -2px;
    transition: 0.5s ease-in-out;
}

.real-stories-content .read-more:hover img {
    margin-left: 34px;
}

/* MEDIA QUERIES for responsiveness */
@media (max-width: 1024px) {
    .cascade-slider .real-stories-slide.is-front {
        max-width: 90%;
    }

    .cascade-slider .real-stories-slide.is-second {
        max-width: 85%;
    }

    .cascade-slider .real-stories-slide.is-third {
        max-width: 80%;
    }

    .real-stories-content h1 {
        font-size: 36px;
    }

    .real-stories-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .cascade-slider .avatar {
        width: 50px;
        height: 50px;
    }

    .cascade-slider .name {
        font-size: 18px;
    }

    .cascade-slider .review-count {
        font-size: 13px;
    }

    .cascade-slider .stars {
        font-size: 16px;
    }

    .cascade-slider .review {
        font-size: 14px;
    }

    .real-stories-content h1 {
        font-size: 28px;
    }

    .real-stories-content p {
        font-size: 14px;
    }

    .real-stories-content .read-more {
        width: 250px;
        font-size: 16px;
        padding: 15px;
    }
}

@media (max-width: 480px) {

    .slide-content button{
        width: 100% !important;
        font-size: 16px;
        height: 42px;
        margin-top: 28px;
        display: block;
    }

    .slide-content a{
        font-size: 18px;
        width: 100%;
        height: 42px;
        margin-top: 20px;
        text-align: center;
        padding: 10px;
    }



    #who-are-we {
        padding: 50px 0 !important; /* Top and bottom padding */
    }

    .who-are-we {
        width: 100% !important;
    }

    .who-are-we div:first-child {
        width: 100%;
        padding-right: 0% !important;
    }

    .who-are-we div:first-child h1{
        font-size: 32px !important;
        line-height: 44px !important;
    }

    .who-are-we div:last-child {
        /* Styles for the last box */
        width: 100% !important;
    }

    .who-are-we div:last-child img:nth-child(1){
        position: absolute;
        margin-top: 0;
    }

    .who-are-we div:last-child a{
        position: absolute;
        margin-left: 339px;
        margin-top: 101px;
    }

    .who-are-we div:last-child img:nth-child(2){
        position: relative;
        margin-top: 0px !important;
        margin-left: 0px !important;
    }

    .who-are-we .learn_more {
        width: 160px !important;
        padding: 15px 0 !important;
        font-size: 18px !important;
        margin-right: 20px !important;
    }

    .who-are-we .book_a_visit {
        width: 160px !important;
        padding: 15px 0 !important;
        font-size: 18px !important;
    }




    .about-us {
        padding: 50px 0 !important;
    }



    /*********** founding-team ***********/

    .founding-team {
        padding: 40px 0 20px 0; /* Top and bottom padding */
    }

    .founding-team-content {
        padding-bottom: 0px !important;
    }

    .founding-team h1 {
        font-size: 36px !important;
        color: #302d97;
        font-weight: normal;
        font-family: Poppins-SemiBold;
    }

    .founding-team p {
        max-width: 1400px; /* optional: keeps layout neat */
        width: 90%;
        color: #333;
        margin: 0 auto !important;
        padding: 0;
        font-size: 22px;
        line-height: 44px;
        font-family: Rubik-Regular;
        text-align: justify;
    }

    #founding-team-container {
        max-width: 1400px; /* optional: keeps layout neat */
        width: 100% !important;
        margin: 50px auto;
    }

    #founding-team-container .founding-team-container {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }

    .founding-team-video {
      max-width: 900px;     /* optional: keeps it from being too wide */
      margin: 0 auto;       /* center on page */
      text-align: center;   /* center heading, text, video */
      padding: 0px !important;
    }

    .founding-team .know-more {
        width: 250px !important;
        font-size: 16px !important;
        padding: 15px !important;
    }


    .key-features-content .understand-more {
        width: 250px;
        font-size: 16px;
        padding: 15px;
    }



    .real-stories {
        padding: 60px 0 70px 0;
    }

    .cascade-slider .real-stories-slide.is-front {
        height: 320px;
    }

    .cascade-slider .avatar {
        width: 40px;
        height: 40px;
    }

    .cascade-slider .name {
        font-size: 16px;
    }

    .cascade-slider .review-count {
        font-size: 12px;
    }

    .cascade-slider .stars {
        font-size: 14px;
    }

    .cascade-slider .review {
        font-size: 12px;
    }

    .real-stories-content h1 {
        font-size: 26px;
    }

    .real-stories-content p {
        font-size: 14px;
    }


    #contact-us {
        padding: 50px 0 !important;
    }

    #contact-us .contact-us {
        display: block;
        width: 100%;
    }

    #contact-us h1 {
        font-size: 36px !important;
    }

    #contact-us .grid-item span {
        float: none !important;
    }



    .breadcrumb {
        height: 300px !important;
    }

    .breadcrumb-inner h1{
        font-size: 34px;
        line-height: 46px !important;
    }

    .breadcrumb-inner h1 span{
        font-size: 36px !important;
        line-height: 46px !important;
    }

    .why-choose-jivi-breadcrumb {
        background: url(../images/banner/why-choose-jivi-banner-m.jpg) no-repeat center;
        background-size: cover;
    }

    .panel-doctors-breadcrumb{
        background: url('../images/banner/panel-doctors-banner-m.jpg') no-repeat;
        background-size:cover;
    }

    .faqs-breadcrumb{
        background: url('../images/banner/faqs-banner-m.jpg') no-repeat;
        background-size:cover;
    }

    .about-us-breadcrumb {
        background: url('../images/banner/about-us-banner-m.jpg') no-repeat;
        background-size:cover;
    }

    .contact-us-breadcrumb {
        background: url('../images/banner/contact-us-banner-m.jpg') no-repeat;
        background-size:cover;
    }


    #why-choose-page {
        padding: 40px 0 !important;
    }

    #why-choose-page .why-choose-inner-page p {
        max-width: 100% !important;
    }



    .service_book_appointment .item {
        padding: 20px !important;
    }

    .service_book_appointment .item {
        margin-bottom: 0px !important;
    }

    .service_book_appointment .middle-item {
        border-left: none !important;
        border-right: none !important;
        border-top: 3px dotted #cada35 !important;
        border-bottom: 3px dotted #cada35 !important;
        padding: 20px 34px;
    }



    #panel-doctos-page .pop-grid-container {
        padding: 20px 20px 80px 20px !important;
    }


    #panel-doctos-page .pop-doctors-div {
        grid-template-columns: none !important;
        gap: 40px !important;
    }

    #panel-doctos-page-search .btn-search {
        width: 200px;
    }


    .panel-doctos-inner-page-search h1 {
        font-size: 36px !important;
        line-height: 50px !important;
    }


    #why-choose-jivi {
        padding: 40px 0 !important;
    }

    #why-choose-jivi h1 {
        font-size: 30px !important;
        line-height: 40px !important;
    }





    .what-expect-jivi-inner .page-toggle {
        flex-direction: column !important;
    }

    .what-expect-jivi-inner .page-toggle a {
        display: block !important;
        width: 100%;
        text-align: center !important;
        height: 46px !important;
    }

    .what-expect-jivi-inner .page-toggle a.active {
        height: 50px !important;
    }

    .what-expect-jivi-inner h2 {
        font-size: 36px !important;
        line-height: 46px !important;
    }

    .what-expect-jivi-inner p {
        width: 100% !important;
    }

    .on-the-day-of-surgery {
        width: 100% !important;
    }

    .on-the-day-of-surgery .on-the-day-of-surgery-box {
        width: 100% !important;
        flex-direction: column;
    }

    .on-the-day-of-surgery .on-the-day-of-surgery-text {
        max-width: 100% !important;
    }

    .on-the-day-of-surgery .on-the-day-of-surgery-text h3 {
        max-width: 100% !important;
    }

    .on-the-day-of-surgery .on-the-day-of-surgery-text p {
        max-width: 100% !important;
    }

    .on-the-day-of-surgery-img {
        text-align: left;
    }

    .on-the-day-of-surgery-img img {
        max-width: 200px;
    }



    #faq-page {
        padding: 40px 0 !important;
    }





































    
}




/************* Discover JIVI *************/
.discover-jivi {
    background: #fff;
    padding: 60px 0 50px 0; /* Top and bottom padding */
}

.discover-jivi-content {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto; /* Center the content */
    text-align: center; /* Center align text */
}

.discover-jivi-content h1 span {
    display: inline-block;
    font-size: 26px;
    color: #4d4d4d;
    font-family: Poppins-Regular;
}

.discover-jivi-content h1 {
    display: inline-block;
    font-size: 26px;
    line-height: 38px;
    color: #343392;
    font-family: Poppins-SemiBold;
    max-width: 700px;
    margin-bottom: 10px;
}



#discover-jivi-video {
    width: 100%;
    max-width: 900px; /* horizontal frame width */
    margin: 0 auto; 
    aspect-ratio: 16 / 9; /* horizontal aspect ratio */
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#discover-jivi-video video {
    height: 100%;
    width: auto;
    object-fit: contain;
    background-color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* optional: subtle shadow */
}




#who-are-we {
    /*background-color: #ffa7e8;*/ /* Light background color */
    /*background-image: linear-gradient(to bottom right, #c8d92d, #04b2d9);*/
    background-image: linear-gradient(120deg, #c8d92d, #04b2d9);

    padding: 100px 0; /* Top and bottom padding */
}

.who-are-we {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto; /* Center the content */
}

.who-are-we div:first-child {
    width: 50%;
    padding-right: 8%;
}

.who-are-we div:first-child h3{
    font-size: 24px;
    letter-spacing: 0px;
    color: #ffffff;
    font-family: Rubik-Medium;    
}

.who-are-we div:first-child h1{
    font-size: 53px;
    line-height: 70px;
    color: #302d97;
    font-weight: normal;
    font-family: Poppins-SemiBold;
}

.who-are-we div:first-child p{
    font-size: 21px;
    line-height: 40px;
    color: #333333;
    font-family: Rubik-Regular;
}

.who-are-we div:last-child {
    /* Styles for the last box */
    width: 50%;
}

.who-are-we div:last-child img:nth-child(1){
    position: absolute;
    margin-top: 0;
}

.who-are-we div:last-child a{
    position: absolute;
    margin-left: 339px;
    margin-top: 101px;
}

.who-are-we div:last-child img:nth-child(2){
    position: relative;
    margin-top: 350px;
    margin-left: 240px;
}

.who-are-we div:first-child p.expertise {
    font-size: 20px;
    line-height: 20px;
    margin: 0;
    padding: 10px 0;
    text-transform: uppercase;
    color: #302d97;
    font-family: Rubik-Medium;
    display: table;
}

#who-are-we .who-are-we > div:first-child p.expertise:nth-of-type(3) {
    /*border-top: 1px solid #e0f197;
    border-bottom: 1px solid #e0f197;*/
}

#who-are-we .who-are-we > div:first-child p.expertise:nth-of-type(3) {
  position: relative; /* needed for ::after */
}

#who-are-we .who-are-we > div:first-child p.expertise:nth-of-type(3)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;             /* start at left edge */
  width: 190px;        /* fixed width border */
  height: 1px;         /* thickness of the border */
  background: #e0f197;   /* border color */
}

#who-are-we .who-are-we > div:first-child p.expertise:nth-of-type(3)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;             /* start at left edge */
  width: 190px;        /* fixed width border */
  height: 1px;         /* thickness of the border */
  background: #e0f197;   /* border color */
}



.who-are-we .learn_more {
    display: inline-block;
    text-decoration: none;
    font-size: 18px;
    color: #302d97;
    font-family: Rubik-Medium;
    background-color: #fff;
    width: 198px;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    margin-top: 40px;
    margin-right: 30px;
}

.who-are-we .book_a_visit {
    display: inline-block;
    text-decoration: none;
    font-size: 18px;
    color: #c3db00;
    font-family: Rubik-Medium;
    background-color: #302d97;
    width: 198px;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    margin-top: 40px;
}


#panel-doctos-page-search {
    width: 100%;
    background-color: #dae378;
    padding: 100px 0;   
}

.panel-doctos-inner-page-search {
    max-width: 1020px;
    width: 90%;
    text-align: center;
    margin: 0 auto 50px auto;
}

.panel-doctos-inner-page-search h4 {
    color: #666666;
    font-weight: normal;
    font-family: Rubik-Medium;
    font-size: 18px;
    line-height: 22px;
}

.panel-doctos-inner-page-search h1 {
    color: #302d97;
    font-family: Poppins-SemiBold;
    font-size: 46px;
    line-height: 60px;
}

.panel-doctos-inner-page-search p {
    color: #333333;
    font-family: Rubik-Regular;
    font-size: 16px;
    line-height: 32px;
    margin: 30px auto 0 auto;
}

.panel-doctos-search-panel {
    max-width: 1020px;
    width: 90%;
    text-align: center;
    margin: 0 auto 50px auto;
    display: flex;
    justify-content: center;
}

.panel-doctos-search-panel form{
    max-width: 1020px;
    width: 90%;
    text-align: center;
    margin: 0 auto 50px auto;
    display: flex;
    justify-content: center;
}

.panel-doctos-search-panel input{
    width: 800px;
    padding: 10px 30px;
    border-radius: 10px;
    border: none;
    height: 70px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    box-sizing: border-box;
    font-family: Rubik-Regular;
    font-size: 18px;
    color: #333;
}

.panel-doctos-search-panel input::placeholder{
    color: #999999;
}

.btn-search {
  width: 70px;       /* set button width */
  height: 70px;      /* set button height */
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #ee4d9b;
  cursor: pointer;
  padding: 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.btn-search img {
  max-width: 100%;
  max-height: 100%;
}





#panel-doctos-page-search .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    max-width: 1020px;
    width: 90%;
    margin: 0 auto 20px auto;
}
  
#panel-doctos-page-search .doctor-card {
    background-color: #fff;
    color: #302d97;
    padding: 40px 10px;
    border-radius: 15px;
    transition: transform 0.3s;
    cursor: pointer;
    font-family: Rubik-Medium;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
  
  #panel-doctos-page-search  .doctor-card:hover {
    background-color: #fff;
    transform: translateY(-5px);
  }
  
  #panel-doctos-page-search .doctor-card img {
    width: 160px;
    margin: 0 auto 20px auto;
    transition: opacity 0.3s ease;
    border-radius: 50%;
  }


  
  #panel-doctos-page-search .doctor-name {
    font-size: 24px;
    font-family: Rubik-Medium;
    margin-top: 10px;
    color: #302d97;
  }
  
  #panel-doctos-page-search .specialist {
    font-size: 18px;
    font-family: Rubik-Regular;
    color: #666666;
    margin-top: 10px;
    text-align: center;
  }
  
  #panel-doctos-page-search .separator {
    width: 30px;
    height: 3px;
    background-color: #c3db00;
    margin: 10px auto;
  }
  
  #panel-doctos-page-search .experience {
    font-size: 16px;
    color: #333333;
    font-family: Rubik-Regular;
  }

  #panel-doctos-page-search .grid-container a.doctor-card {
    text-decoration: none; /* Remove link underline */
    color: inherit;        /* Keep text colors */
    display: block;        /* Ensure full card is clickable */
    transition: transform 0.3s, box-shadow 0.3s; /* Add hover effects */
  }
  
  #panel-doctos-page-search .grid-container a.doctor-card:hover {
    transform: translateY(-5px); /* Lift effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
  }
  
  /* Responsive Styles */
  @media (max-width: 1024px) {
    #panel-doctos-page-search .grid-container {
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 30px;
    }
  
    #panel-doctos-page-search .panel-doctos-inner-page h1 {
      font-size: 40px;
      line-height: 50px;
    }
  
    #panel-doctos-page-search .doctor-card img {
      width: 180px;
      height: 180px;
    }
  
    #panel-doctos-page-search .doctor-name {
      font-size: 22px;
    }
  
    #panel-doctos-page-search .specialist {
      font-size: 18px;
    }
  }
  
  @media (max-width: 768px) {
    #panel-doctos-page-search {
        padding: 50px 0;
    }

    #panel-doctos-page-search .grid-container {
      grid-template-columns: 1fr;
    }
  
    #panel-doctos-page-search .doctor-card {
      /* padding: 40px 20px; */
      max-width: 320px;
      width: 90%;
      margin: 0 auto;
    }
  
    #panel-doctos-page-search .doctor-card img {
      width: 150px;
      height: 150px;
    }
  
    #panel-doctos-page-search .doctor-name {
      font-size: 20px;
    }
  
    #panel-doctos-page-search .specialist,
    .experience {
      font-size: 16px;
    }
  
    #panel-doctos-page-search .panel-doctos-inner-page h1 {
      font-size: 35px;
      line-height: 45px;
    }
    
  }





































/* *************************** Panel Doctors Page **************************  */


/* Base Styles */
  #panel-doctos-page {
    width: 100%;
    background-color: #a5e9f6;
    padding: 100px 0;
  }
  
  .panel-doctos-inner-page {
    max-width: 1400px;
    width: 90%;
    text-align: center;
    margin: 0 auto 50px auto;
  }
  
  .panel-doctos-inner-page h4 {
    color: #666666;
    font-weight: normal;
    font-family: Rubik-Medium;
    font-size: 23px;
    line-height: 28px;
  }
  
  .panel-doctos-inner-page h1 {
    color: #302d97;
    font-family: Poppins-SemiBold;
    font-size: 48px;
    line-height: 70px;
  }
  
  .panel-doctos-inner-page p {
    color: #333333;
    font-family: Rubik-Regular;
    font-size: 20px;
    line-height: 38px;
    max-width: 1350px;
    margin: 30px auto 0 auto;
  }


  #panel-doctos-page .pop-grid-container {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto 100px auto;
    border-radius: 30px;
    padding: 80px;
    background-color: #FFF;
    position: relative;
  }

  #panel-doctos-page .pop-grid-container .head-icon {
    position: absolute;
    width: 100%;
    display: block;
    top: -60px;
    left: 0;
  }

  #panel-doctos-page .pop-grid-container .head-icon img{
    width: 140px;
    margin: 0 auto;
    display: block;
    border-radius: 50%;
  }

  #panel-doctos-page .pop-grid-container .foot-icon {
    position: absolute;
    width: 100%;
    display: block;
    bottom: -30px;
    left: 0;
  }

  #panel-doctos-page .pop-grid-container .foot-icon img{
    width: 60px;
    margin: 0 auto;
    display: block;
    cursor: pointer;
  }

  #panel-doctos-page .pop-grid-container-inside {
    max-width: 1000px;
    margin: 0 auto;
  }

  #panel-doctos-page .pop-grid-container-inside h3{
    font-size: 28px;
    color: #302d97;
    font-family: Poppins-SemiBold;
    text-align: center;
  }

  #panel-doctos-page .pop-grid-container-inside p{
    font-size: 18px;
    color: #333333;
    font-family: Rubik-Regular;
    text-align: center;
  }  

  #panel-doctos-page .pop-grid-container-inside h2{
    font-size: 36px;
    color: #ef41a4;
    font-family: Poppins-SemiBold;
    text-align: center;
  }

  #panel-doctos-page .pop-doctors-div{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
  }

  #panel-doctos-page .pop-doctors-div .pop-doctors-box{
    text-align: center;
  }

  #panel-doctos-page .pop-doctors-div .pop-doctors-box img{
    width: 160px;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, .3);
  }

  #panel-doctos-page .pop-doctors-div .pop-doctors-box h4{
    font-size: 21px;
    color: #302d97;
    font-family: Rubik-Medium;
    text-align: center;
    margin: 15px auto 10px auto;
  }

  #panel-doctos-page .pop-doctors-div .pop-doctors-box p:nth-of-type(1) {
    font-size: 12px;
    line-height: 17px;
    color: #666666;
    font-family: Rubik-Regular;
    text-align: center;
  }  

  #panel-doctos-page .pop-doctors-div .pop-doctors-box p:nth-of-type(2) {
    font-size: 15px;
    color: #666666;
    font-family: Rubik-Regular;
    text-align: center;
    margin: 0;
  }

  #panel-doctos-page .pop-doctors-div .pop-doctors-box hr{
    border: none;
    border-bottom: 2px solid #c3db00;
    width: 30px;
  }

  
  #panel-doctos-page .grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
    max-width: 1400px;
    width: 90%;
    margin: 0 auto 20px auto;
  }
  
  #panel-doctos-page .doctor-card {
    background-color: #ffffff;
    padding: 25px 25px 0 25px;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
    cursor: pointer;
  }
  
  #panel-doctos-page  .doctor-card:hover {
    background-color: #c3db00;
    transform: translateY(-5px);
  }
  
  #panel-doctos-page .doctor-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }



    #panel-doctos-page .doctor-card {
      position: relative;
      display: inline-block;
    }

    #panel-doctos-page .doctor-card img {
      position: absolute;
      top: 25px;
      left: 25px;
      transition: opacity 0.3s ease;
    }

    #panel-doctos-page .doctor-card img:nth-child(1) {
      opacity: 1;
      z-index: 1;
    }

    #panel-doctos-page .doctor-card img:nth-child(2) {
      opacity: 0;
      z-index: 2;
    }

    #panel-doctos-page .doctor-card:hover img:nth-child(1) {
      opacity: 0;
    }

    #panel-doctos-page .doctor-card:hover img:nth-child(2) {
      opacity: 1;
    }

  
  #panel-doctos-page .doctor-name {
    font-size: 26px;
    font-family: Poppins-SemiBold;
    margin-top: 100px;
    margin-bottom: 10px;
    color: #302d97;
  }
  
  #panel-doctos-page .specialist {
    font-size: 25px;
    font-family: Rubik-Regular;
    color: #666666;
    margin-bottom: 5px;
  }
  
  #panel-doctos-page .separator {
    width: 30px;
    height: 3px;
    background-color: #c3db00;
    margin: 5px auto 10px auto;
  }
  
  #panel-doctos-page .experience {
    font-size: 17px;
    line-height: 30px;
    color: #333333;
    font-family: Rubik-Regular;
  }

  #panel-doctos-page .grid-container a.doctor-card {
    text-decoration: none; /* Remove link underline */
    color: inherit;        /* Keep text colors */
    display: block;        /* Ensure full card is clickable */
    transition: transform 0.3s, box-shadow 0.3s; /* Add hover effects */
  }
  
  #panel-doctos-page .grid-container a.doctor-card:hover {
    transform: translateY(-5px); /* Lift effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
  }
  
  /* Responsive Styles */
  @media (max-width: 1024px) {
    #panel-doctos-page .grid-container {
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 30px;
    }
  
    #panel-doctos-page .panel-doctos-inner-page h1 {
      font-size: 40px;
      line-height: 50px;
    }
  
    #panel-doctos-page .doctor-card img {
      width: 180px;
      height: 180px;
    }
  
    #panel-doctos-page .doctor-name {
      font-size: 22px;
    }
  
    #panel-doctos-page .specialist {
      font-size: 18px;
    }
  }
  
  @media (max-width: 768px) {
    #panel-doctos-page {
        padding: 50px 0;
    }

    #panel-doctos-page .grid-container {
      grid-template-columns: 1fr;
    }
  
    #panel-doctos-page .doctor-card {
      /* padding: 40px 20px; */
      max-width: 320px;
      width: 90%;
      margin: 0 auto;
    }
  
    #panel-doctos-page .doctor-card img {
      width: 150px;
      height: 150px;
    }
  
    #panel-doctos-page .doctor-name {
      font-size: 20px;
    }
  
    #panel-doctos-page .specialist,
    .experience {
      font-size: 16px;
    }
  
    #panel-doctos-page .panel-doctos-inner-page h1 {
      font-size: 35px;
      line-height: 45px;
    }
    
  }


  

/* *************************** Doctor Details Page **************************  */



  #doctor-details-page {
    width: 100%;
    /*background-color: #cdebf1;*/
    /*background-image: linear-gradient(to bottom right, #c8d92d, #04b2d9);*/
  }
  
  .doctor-details-inner-page {
    border-top: 3px dotted #FFF;
    border-bottom: 3px dotted #FFF;
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    padding: 50px 0;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
  }


  
  /* Doctor Card: Left Side */
  #doctor-details-page .doctor-card {
    flex: 0 0 30%; /* Keep the card 40% width */
    background-color: #ffffff;
    padding: 50px 0px;
    min-width: 370px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-height: 440px;
  }
  
  #doctor-details-page .doctor-card img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
  }
  
  #doctor-details-page .doctor-name {
    font-size: 33px;
    font-weight: bold;
    margin-bottom: 0px;
    color: #343392;
    font-family: Poppins-SemiBold;
  }
  
  #doctor-details-page .specialist {
    font-size: 24px;
    margin-bottom: 10px;
    color: #666;
    font-family: Rubik-Regular;
  }
  
  #doctor-details-page .separator {
    width: 30px;
    height: 3px;
    background-color: #c3db00;
    margin: 10px auto;
  }
  
  #doctor-details-page .experience {
    font-size: 21px;
    color: #333;
  }
  
  /* Doctor Info: Right Side */
  #doctor-details-page .doctor-info {
    flex: 1; /* Take remaining space for flexibility */
  }


  #doctor-details-page .doctor-info .about-doctor h2 {
    font-size: 34px;
    line-height: 44px;
    color: #302d97;
    font-family: Poppins-SemiBold;
    margin-top: 30px;
  }

  #doctor-details-page .doctor-info .about-doctor p {
    font-size: 16px;
    line-height: 28px;
    color: #1a1a1a;
    font-family: Rubik-Regular;
    margin: 0 !important;
    margin-bottom: 20px !important;
  }

  #doctor-details-page .doctor-info .qualifications h2 {
    font-size: 34px;
    line-height: 34px;
    color: #302d97;
    font-family: Poppins-SemiBold;
    margin: 50px 0 20px 0;
  }

  #doctor-details-page .doctor-info .qualifications-content h5 {
    font-size: 20px;
    color: #1a1a1a;
    font-weight: normal;
    font-family: Rubik-Medium;
    line-height: 38px;
    margin: 0;
  }


  #doctor-details-button {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    padding: 50px 0;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  #doctor-details-button a{
    color: #302d97;
    font-family: Rubik-Medium;
    font-size: 24px;
    background-color: #FFF;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    #doctor-details-page .doctor-details-inner-page {
      flex-direction: column;
      gap: 20px;
    }
  
    #doctor-details-page .doctor-card {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
      flex: 1 1 100%;
    }

    #doctor-details-page .doctor-info {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
        flex: 1 1 100%;
        text-align: justify;
    }

    #doctor-details-page .doctor-info .about-doctor h2 {
        margin: 30px 0 0 0;
        font-size: 36px;
    }

    #doctor-details-page .doctor-info .about-doctor p {
        font-size: 18px;
        line-height: 36px;
    }

    #doctor-details-page .doctor-info .qualifications h2 {
        margin: 30px 0 0 0;
        font-size: 36px;
    }

    #doctor-details-page .doctor-info .qualifications-content h5 {
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 20px;
        text-align: left;
    }
  }
  
  @media (max-width: 576px) {
    #doctor-details-page {
        padding: 50px 0;
    }

    #doctor-details-page h2 {
      font-size: 20px;
    }
  
    #doctor-details-page p {
      font-size: 14px;
    }
  
    #doctor-details-page .doctor-card img {
      width: 180px;
      height: 180px;
    }
  
    #doctor-details-page .doctor-name {
      font-size: 22px;
    }
  
    #doctor-details-page .specialist {
      font-size: 18px;
    }
  
    #doctor-details-page .experience {
      font-size: 16px;
    }


    #doctor-details-page .doctor-info .about-doctor h2 {
        margin: 30px 0 0 0;
        font-size: 28px;
    }

    #doctor-details-page .doctor-info .about-doctor p {
        font-size: 16px;
        line-height: 26px;
    }

    #doctor-details-page .doctor-info .qualifications h2 {
        margin: 30px 0 0 0;
        font-size: 28px;
    }

    #doctor-details-page .doctor-info .qualifications-content h5 {
        font-size: 17px;
        line-height: 20px;
        margin-bottom: 20px;
        text-align: left;
    }
  }






#contact-us {
    background-image: linear-gradient(to bottom right, #c8d92d, #04b2d9);
    padding: 90px 0; /* Top and bottom padding */
}

#contact-us h1{
    font-size: 64px;
    text-align: center;
    color: #302d97;
    font-family: Poppins-SemiBold;
}

.contact-us {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto; /* Center the content */
}

.contact-us > div:first-child {
    width: 50%;
}

.grid-container {
    display: grid;
    grid-template-columns: 50px 1fr; /* Fixed width for the first column, flexible for the second */
    gap: 0px; /* Space between grid items */
    width: 100%; /* Set container width */
    margin: 20px auto; /* Center the grid */
}

.grid-item {
    padding: 10px; /* Inner padding */
    text-align: left; /* Left align text */
    box-sizing: border-box; /* Include padding and border in width */
    font-size: 24px;
    line-height: 36px;
    color: #231f20;
    font-family: Rubik-Regular;
}

.grid-item img {
    max-width: 100%; /* Ensure the image fits within its grid item */
    height: auto; /* Maintain aspect ratio */
}

/* Styling for spans to adjust the appearance */
.grid-item span {
    display: block; /* Make spans block elements to stack them */
    margin-top: 5px; /* Space between lines */
    font-weight: normal; /* Optional styling */
}
.grid-item img{
    width: 30px;
}
.grid-item p{
    margin: 0 0 20px 0;
    line-height: 32px;
}
.grid-item span{
    float: right;
    font-weight: bold;
}


.contact-us > div:last-child {
    box-sizing: border-box;
    width: 50%;
    padding-left: 110px;
    text-align: left;
}

#contact-us .contact_info {
    margin-top: 50px;
}


#contact-us .contact_info p {
    font-size: 25px;
    line-height: 40px;
    color: #333333;
    font-family: Rubik-Regular;
    text-align: center;
    margin: 0 0 20px 0;
}

#contact-us .contact_info p a{
    font-size: 28px;
    color: #302d97;
    font-family: Rubik-Medium;
    text-decoration: none;
}


#contact-us .book-visit {
    display: block;
    background-color: #302d97;
    padding: 19px;
    width: 195px;
    color: #c3db00;
    font-size: 18px;
    font-family: Rubik-Medium;
    text-decoration: none;
    border-radius: 7px;
    margin: 40px auto 0 auto;
    text-align: center;
}




#faq-page {
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: #f5f6d3;
    padding: 60px 0;
}

.faq-inner-page {
    max-width: 1020px;
    width: 90%;
    text-align: center;
    margin: 0 auto 50px auto;
}

#faq-page h1 {
    font-size: 44px;
    color: #302d97;
    font-weight: normal;
    font-family: Poppins-Regular;
    border-bottom: 1px solid #ee4d9b;
    padding-bottom: 30px;
    margin-bottom: 30px;
}


.faq-accordion-container {
    max-width: 970px;
    margin: 0 auto;
}

.faq-accordion-item {
    border-bottom: 1px solid #f381a7;
    margin-bottom: 0px;
    overflow: hidden;
}

.faq-accordion-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.faq-accordion-item.active .faq-accordion-header h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;             /* start at left edge */
    width: 50px;        /* fixed width border */
    height: 2px;         /* thickness of the border */
    background: #ee4d9b;   /* border color */
}

.faq-accordion-header h3 {
    margin: 0;
    color: #302d97;
    font-family: Poppins-SemiBold;
    font-size: 22px;
    text-align: justify;
}

.faq-accordion-body {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
    font-size: 18px;
    font-family: Rubik-Regular;
    color: #333333;
    line-height: 26px;
    text-align: justify;
}

.faq-accordion-body h4{
    font-family: Rubik-Medium;
}

.icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.open-icon {
    display: block;
}

.close-icon {
    display: none;
}

.faq-accordion-item.active .open-icon {
    display: none;
}

.faq-accordion-item.active .close-icon {
    display: block;
}






.faq-download-toggle {
    display: flex;
    gap: 20px; /* space between links */
    max-width: 1000px;
    width: 100%;
    text-align: center;
    margin: 0 auto 100px auto;
}

.faq-download-toggle a {
    flex: 1;
    text-decoration: none;
    border: 1px solid #749799;
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
    color: #749799;
    font-family: Poppins-Regular;
    font-size: 18px;
    box-sizing: border-box;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.faq-download-toggle a:hover {
    background-color: #ffffff;
    color: #302d97;
}


@media (max-width: 576px) {

    .faq-download-toggle {
        flex-direction: column;
    }
}





/* *************************** About Us Page **************************  */


#who-are-we-page {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffa7e8;
    padding: 100px 0;
}

.who-are-we-inner-page {
    max-width: 1400px;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* Ensures the divs stay in one line */
}



#who-are-we-page .text-container {
    flex: 0 0 40%; /* Takes up 40% of the width */
    padding: 10px;
}

#who-are-we-page .image-container {
    flex: 0 0 60%; /* Takes up 60% of the width */
    padding: 10px;
}

#who-are-we-page * {
    box-sizing: border-box; /* Ensure padding and border are included in width */
}

#who-are-we-page .text-container h3 {
    font-size: 24px;
    letter-spacing: 0px;
    color: #ffffff;
    font-weight: normal;
    font-family: Rubik-Medium;
}

#who-are-we-page .text-container h1 {
    font-size: 53px;
    line-height: 70px;
    color: #302d97;
    font-weight: normal;
    font-family: Poppins-SemiBold;
}

#who-are-we-page .text-container p {
    font-size: 21px;
    line-height: 40px;
    color: #333333;
    font-family: Rubik-Regular;
}

#who-are-we-page .image-container img {
    width: 90%;
    height: auto;
    float: right;
}

/* Mobile responsive */
@media (max-width: 768px) {
    #who-are-we-page{
        padding: 50px 0;
    }

    .who-are-we-inner-page {
        flex-direction: column; /* Stacks the divs vertically on smaller screens */
        align-items: flex-start;
    }

    .text-container, .image-container {
        width: 100%; /* Full width for each div on mobile */
    }

    #who-are-we-page .image-container img{
        width: 100%;
    }

    #who-are-we-page .text-container h3{
        font-size: 18px;
    }

    #who-are-we-page .text-container h1{
        font-size: 38px;
        line-height: 50px;
    }

    #who-are-we-page .text-container p{
        font-size: 16px;
        line-height: 30px;
    }
    
}



#why-choose-page {
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: #f5f6d3;
    padding: 60px 0;
}

.why-choose-inner-page {
    max-width: 1400px;
    width: 90%;
    text-align: center;
    margin: 0 auto 50px auto;
}

#why-choose-page h1 {
    font-size: 44px;
    color: #302d97;
    font-weight: normal;
    font-family: Poppins-Regular;
}

#why-choose-page h1 span{
    font-family: Poppins-SemiBold;
}

#why-choose-page .why-choose-inner-page p {
    font-size: 20px;
    line-height: 36px;
    color: #333333;
    font-family: Rubik-Regular;
    text-align: justify;
    width: 1400px;
    max-width: 90%;
    margin: 16px auto;
}

.service_book_appointment {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items at the start */
    flex-wrap: nowrap; /* Prevent wrapping */
}

.service_book_appointment .item {
    flex: 1; /* Each item takes equal space */
    text-align: center; /* Center text */
    padding: 20px 34px;
}

.service_book_appointment .item img {
    border-radius: 50%; /* Circle image */
    width: 80px; /* Adjust size as needed */
    height: 80px; /* Adjust size as needed */
    box-shadow: 6px 6px 16px rgba(200, 217, 47, .5);
}

.service_book_appointment .item h3 {
    color: #302d97;
    font-family: Rubik-Medium;
    font-size: 28px;
    margin-bottom: 0;
}

.service_book_appointment .item p {
    color: #333333;
    font-family: Rubik-Regular;
    font-size: 20px;
    line-height: 36px;
    text-align: center !important;
    margin-top: 15px;
}

.service_book_appointment .middle-item {
    border-left: 3px dotted #cada35;
    border-right: 3px dotted #cada35;
    padding: 20px 34px;
}

.service_book_appointment .middle-item {
  position: relative;
  padding: 20px 34px; /* keep your padding */
}

/*.service_book_appointment .middle-item {
  border-left: 3px dotted transparent;
  border-right: 3px dotted transparent;

  border-image-source: url("../images/line.png");
  border-image-slice: 1;
  border-image-repeat: stretch; /* shows gradient */
}*/



/* Left dotted gradient border */
.service_book_appointment .middle-item::before,
.service_book_appointment .middle-item::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px; 
  background: repeating-linear-gradient(
    to bottom,
    #cada35,
    #cada35 4px,
    #07b2d6 4px,
    #07b2d6 8px,
    transparent 8px,
    transparent 12px
  );
}

/* Left border */
.service_book_appointment .middle-item::before {
  left: 0;
}

/* Right border */
.service_book_appointment .middle-item::after {
  right: 0;
}




.core_values {
    margin: 50px auto 20px auto;
    text-align: center;
}

.core_values h1{
    margin: 0;
    padding: 0;
}

#why-choose-page .book_appointment button {
    width: 400px;
    background: #ffe72c;
    border: none;
    border-radius: 5px;
    font-family: Rubik-Medium;
    font-size: 25px;
    color: #333333;
    margin: 0 auto;
    height: 80px;
    cursor: pointer;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

    #why-choose-page{
        padding: 50px 0;
    }

    #why-choose-page h1 {
        font-size: 36px; /* Adjust font size for smaller screens */
    }

    #why-choose-page p {
        font-size: 18px; /* Smaller font size for paragraph */
        line-height: 30px; /* Adjust line height */
    }

    .service_book_appointment {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
    }

    .service_book_appointment .item {
        width: 100%; /* Full width for each item */
        margin-bottom: 20px; /* Space between items */
    }

    .service_book_appointment .middle-item {
        border: none; /* Remove borders for mobile */
        border-top: 3px dotted white; /* Left dotted border */
        border-bottom: 3px dotted white; /* Right dotted border */
    }

    .service_book_appointment .item img {
        width: 80px;
        height: 80px;
    }

    .book_appointment {
        margin: 0 auto 100px auto;
    }

    #why-choose-page .book_appointment button {
        width: 90%;
        font-size: 18px;
        height: 60px;
    }
}







#why-choose-jivi {
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 60px 0;
}

.why-choose-jivi-inner-page {
    max-width: 1000px;
    width: 90%;
    text-align: center;
    margin: 0 auto 50px auto;
}

#why-choose-jivi h1 {
    font-size: 36px;
    line-height: 100px;
    color: #302d97;
    font-weight: normal;
    font-family: Poppins-Regular;
}

#why-choose-jivi h1 span{
    font-family: Poppins-SemiBold;
}

#why-choose-jivi p {
    font-size: 16px;
    line-height: 26px;
    color: #333333;
    font-family: Rubik-Regular;
    text-align: center;
}



/* Container styling */
.why-choose-jivi-points {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    border-top: 1px solid #dfe97f;
    border-bottom: 1px solid #dfe97f;
    padding: 38px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.why-choose-jivi-points .item {
    flex: 1;
    text-align: center;
    padding: 20px 34px;
}

.why-choose-jivi-points .item img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    box-shadow: 6px 6px 16px rgba(200, 217, 47, 0.5);
}

#why-choose-jivi .why-choose-jivi-points .item h3 {
    color: #ee4d9b;
    font-family: Poppins-SemiBold;
    font-size: 96px;
    margin: 0;
}

#why-choose-jivi .why-choose-jivi-points .item p {
    color: #302d97;
    font-family: Rubik-Medium;
    font-size: 30px;
    text-align: center !important;
    margin: 10px 0;
}

.why-choose-jivi-points .middle-item {
    border-left: 3px solid #c2c2c2;
    border-right: 3px solid #c2c2c2;
    padding: 20px 34px;
}

/* Extra points styling */
.why-choose-jivi-extra-points {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    padding: 38px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 30px;
}

.why-choose-jivi-extra-points div {
    background-color: #c0f8ff;
    padding: 10px;
    border-radius: 5px;
    color: #302d97;
    font-size: 26px;
    font-family: Rubik-Medium;
    text-align: center;
}

/* MEDIA QUERIES */

/* Tablet view */
@media (max-width: 1024px) {
    .why-choose-jivi-points {
        flex-wrap: wrap;
        padding: 20px;
    }

    .why-choose-jivi-points .item {
        flex: 1 1 45%;
        padding: 15px;
    }

    #why-choose-jivi .why-choose-jivi-points .item h3 {
        font-size: 60px;
    }

    #why-choose-jivi .why-choose-jivi-points .item p {
        font-size: 20px;
    }

    .why-choose-jivi-extra-points {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }

    .why-choose-jivi-extra-points div {
        font-size: 20px;
    }
}

/* Mobile view */
@media (max-width: 768px) {
    .why-choose-jivi-points {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .why-choose-jivi-points .item {
        flex: 1 1 100%;
        padding: 10px 20px;
        border-left: none !important;
        border-right: none !important;
    }

    #why-choose-jivi .why-choose-jivi-points .item h3 {
        font-size: 40px;
    }

    #why-choose-jivi .why-choose-jivi-points .item p {
        font-size: 18px;
    }

    .why-choose-jivi-extra-points {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

    .why-choose-jivi-extra-points div {
        font-size: 18px;
    }
}





#what-expect-jivi {
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: #ffed94;
    padding: 60px 0;
}

#what-expect-jivi.what-expect-jivi-on-the-day-surgery{
    background-color: #c0f8ff;    
}

#what-expect-jivi.what-expect-jivi-after-surgery{
    background-color: #dae378;    
}

.what-expect-jivi-inner {
    max-width: 1000px;
    width: 90%;
    text-align: center;
    margin: 0 auto 50px auto;
}

.what-expect-jivi-inner h2{
    font-size: 48px;
    line-height: 60px;
    color: #302d97;
    font-family: Poppins-SemiBold;
    text-align: center;
    margin: 0;
}

#what-expect-jivi .what-expect-jivi-inner p:nth-child(1) {
    width: 993px;
    font-size: 16px;
    line-height: 32px;
    color: #333333;
    font-family: Rubik-Regular;
    text-align: center;
}

.what-expect-jivi-inner .page-toggle {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: center;
    margin: 40px 0 80px 0;
}

.what-expect-jivi-inner .page-toggle a{
    text-decoration: none;
    border: 1px solid #749799;
    border-radius: 10px;
    padding: 5px 20px;
    text-align: center;
    color: #749799;
    display: flex;
    font-family: Poppins-Regular;
    font-size: 22px;
    box-sizing: border-box;
    align-items: center;
    height: 50px;
}

.what-expect-jivi-inner .page-toggle a.active{
    background-color: #ffffff;
    font-size: 26px;
    color: #302d97;
    font-family: Poppins-SemiBold;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    height: 60px;
    padding: 5px 30px;
}



#what-expect-jivi .what-expect-jivi-inner .steps-container {
  width: 90%;
  max-width: 974px;
  margin: 50px auto;
  position: relative;
}

#what-expect-jivi .what-expect-jivi-inner .step {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 0px;
  position: relative;
}

#what-expect-jivi .what-expect-jivi-inner .step-content {
  flex: 1;
  font-size: 18px;
  line-height: 28px;
  color: #333333;
  font-family: Rubik-Regular;
  text-align: left;
}


#what-expect-jivi .what-expect-jivi-inner .step-icon {
  width: 250px;
  height: 250px;
  border-radius: 50%;
}

#what-expect-jivi .what-expect-jivi-inner .step-icon img {
  width: 100%;
  padding: 20px;
}

#what-expect-jivi .what-expect-jivi-inner .knife-ico {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -10px) translateX(-72px);
}

#what-expect-jivi .what-expect-jivi-inner .step-1 {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-direction: row-reverse;
  margin-bottom: 0px;
  position: relative;
}


#what-expect-jivi .what-expect-jivi-inner .step:after {
    position: absolute;
    content: "";
    right: -3px;
    top: 0;
    background-color: transparent;
    height: calc(100% - 4px);
    width: 50%;
    border-top: 2px dotted #ee4d9b;
    border-bottom: 2px dotted #ee4d9b;
    border-right: 2px dotted #ee4d9b;
    border-radius: 0px 120px 120px 0px;

}

#what-expect-jivi .what-expect-jivi-inner .step-1:after {
    position: absolute;
    content: "";
    width: 50%;
    left: -2px;
    top: -2px;
    background-color: transparent;
    height: 100%;
    border-radius: 120px 0px 0px 120px;
    border-top: 2px dotted #ee4d9b;
    border-bottom: 2px dotted #ee4d9b;
    border-left: 2px dotted #ee4d9b;
    z-index: 0;
}

#what-expect-jivi .what-expect-jivi-inner .step-content h3 {
  color: #1e2a78;
  font-size: 26px;
  line-height: 38px;
  margin-bottom: 30px;
  margin-top: 0;
  max-width: 686px;
  text-align: left;
  font-family: Poppins-SemiBold;
}


#what-expect-jivi .what-expect-jivi-inner .step-content p {
  font-size: 18px;
  color: #333;
  line-height: 1.5;
  font-family: Rubik-Regular;
}


#what-expect-jivi .what-expect-jivi-inner .step-content p:first-of-type::before {
    content: "";
    position: absolute;
    margin-left: 0 !important;
    margin-top: -20px !important;
    width: 50px !important;
    height: 0 !important;
    background: none !important;
    border-bottom: 2px solid #ee4d9b;
}




@media (max-width: 480px) {



    #what-expect-jivi .what-expect-jivi-inner .step {
      flex-direction: column-reverse;
      gap: 0;
    }

    #what-expect-jivi .what-expect-jivi-inner .step-1 {
      flex-direction: column-reverse;
      gap: 0;
    }


    #what-expect-jivi .what-expect-jivi-inner .step-content{
        padding: 20px;
    }


    #what-expect-jivi .what-expect-jivi-inner .step-content h3 {
        text-align: center;
    }

    #what-expect-jivi .what-expect-jivi-inner .step-content p {
        text-align: center;
    }





}






.on-the-day-of-surgery {
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
    position: relative;
}

.on-the-day-of-surgery .on-the-day-of-surgery-box {
    display: flex;
    max-width: 1000px;
    width: 100%;
    margin: 60px auto;
    justify-content: space-between;
}

.on-the-day-of-surgery-img img{
    border-radius: 10px;
    width: 100%;
}

.on-the-day-of-surgery .on-the-day-of-surgery-text {
    max-width: 600px;
}

.on-the-day-of-surgery .on-the-day-of-surgery-text h3 {
    font-size: 26px;
    line-height: 34px;
    color: #302d97;
    font-family: Poppins-SemiBold;
    text-align: left;
    max-width: 600px;
}

.on-the-day-of-surgery .on-the-day-of-surgery-text p {
    font-size: 18px;
    line-height: 24px;
    color: #333333;
    font-family: Rubik-Regular;
    text-align: left;
    max-width: 600px;
}

.on-the-day-of-surgery .on-the-day-of-surgery-text p span {
    font-size: 20px;
    line-height: 24px;
    color: #302d97;
    font-family: Rubik-Medium;
    text-align: left;
    max-width: 600px;
}

.on-the-day-of-surgery .on-the-day-of-surgery-text p span span {
    color: #ee4d9b;
}

.on-the-day-of-surgery .on-the-day-of-surgery-text p:first-of-type::before {
  content: "";
  position: absolute;
  margin-left: 0 !important;                /* align from left edge of text */
  margin-top: -10px !important;                 /* adjust distance below text */
  width: 50px !important;            /* underline length */
  height: 0 !important;            /* underline thickness */
  background: none !important;
  border-bottom: 2px solid #ee4d9b;      /* underline color (can be gradient) */
}

.on-the-day-of-surgery .on-the-day-of-surgery-text p::before {
  content: "";
  position: absolute;
  margin-left: 0 !important;                /* align from left edge of text */
  margin-top: -10px !important;                 /* adjust distance below text */
  width: 250px !important;            /* underline length */
  height: 0 !important;            /* underline thickness */
  background: none !important;
  border-bottom: 2px dotted #ee4d9b;      /* underline color (can be gradient) */
}

.on-the-day-of-surgery .on-the-day-of-surgery-text p::before span {
    border-bottom: none;
}

.on-the-day-of-surgery .on-the-day-of-surgery-text p:has(span)::before {
  border-bottom: none;
}


#what-expect-jivi .what-expect-jivi-inner hr {
    border: none;
    border-bottom: 2px solid #e7818f;
}

#what-expect-jivi .what-expect-jivi-inner p.no-border {
  text-align: left !important;
}


#what-expect-jivi .what-expect-jivi-inner p.no-border::before {
  border-bottom: none;
  height: 0;
  background: none !important;
  text-align: left !important;
}







* {
    box-sizing: border-box; /* Ensures padding and border are included in element's total width and height */
}

/* Define CSS variables for partition sizes */
:root {
    --left-partition-flex: 2; /* Flex value for the left partition */
    --right-partition-flex: 1; /* Flex value for the right partition */
}

.image-grid {
    display: flex; /* Use flexbox for the layout */
    max-width: 1200px; /* Maximum width for the container */
    width: 90%; /* Responsive width */
    margin: 0 auto; /* Center the container */
}

.left-partition {
    flex: var(--left-partition-flex); /* Use the CSS variable for the left partition */
    margin-right: 12px; /* Space between left and right partitions */
    display: flex; /* Use flexbox for alignment */
    flex-direction: column; /* Stack images vertically */
}

.large-image {
    width: 100%; /* Full width of the left partition */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: rounded corners */
}

.small-images {
    display: flex; /* Use flexbox for small images */
    justify-content: space-between; /* Space between small images */
    margin-top: 12px; /* Space above small images */
}

.small-image {
    width: 49%; /* Slightly less than half to fit two images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: rounded corners */
    margin-bottom: 7px;
}

.right-partition {
    flex: var(--right-partition-flex); /* Use the CSS variable for the right partition */
    display: flex; /* Use flexbox for alignment */
    flex-direction: column; /* Stack images vertically */
}

.right-image {
    width: 100%; /* Full width of the right partition */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 10px; /* Space between right images */
    flex-grow: 1; /* Allow images to grow and fill the space */
}

@media (max-width: 768px) {
    .image-grid {
        flex-direction: column; /* Stack partitions on smaller screens */
    }

    .left-partition {
        margin-right: 0; /* Remove right margin for stacked layout */
        margin-bottom: 10px; /* Add space between stacked partitions */
    }

    .small-images {
        flex-direction: column; /* Stack small images vertically */
    }

    .small-image {
        width: 100%; /* Full width for small images on smaller screens */
        margin-bottom: 10px; /* Space between small images */
    }
}














.footer-container {
    width: 100%; /* Full width of the viewport */
    background-color: #333333;
    font-family: Rubik-Regular;
}

.footer {
    margin: 0 auto; /* Center the container */
    max-width: 1400px;
    width: 90%;
    display: grid; /* Use grid layout */
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    background-color: #333333; /* Background color for the footer */
    padding: 20px; /* Padding inside the footer */
    box-sizing: border-box; /* Include padding in width calculations */
    grid-template-columns: 500px 1fr 1fr 1fr;
}

.footer-item {
    padding: 10px; /* Padding for footer items */
    text-align: left; /* Center text in each column */
    color: #858585;
    font-size: 21px;
}

.opening-hours {
    color: #FFF;
}

.footer-item p{
    font-size: 18px;
    line-height: 30px;
}

.footer-item a{
    color: inherit;
    text-decoration: none;
}

.footer-item h4{
    font-weight: normal;
    font-size: 26px;
    font-family: Rubik-Medium;
}

.footer-item ul{
    padding: 0;
}

.opening-hours ul{
    margin-bottom: 50px;
}


.footer-item ul li{
    font-size: 21px;
    list-style-type: none;
    margin: 20px 0;
}



/* Optional: Add responsiveness */
@media (max-width: 1440px) {

    .breadcrumb {
        height: 280px;
    }

    .breadcrumb-inner h1{
        font-size: 34px;
    }

    .breadcrumb-inner h1 span{
        font-size: 54px;
        line-height: 56px;
    }
    
    .breadcrumb-inner p{
        font-size: 18px;
    }
    
    header.inside-page .logo img, .logo img{
        width: 140px;
    }

    header.inside-page .nav-links a, .nav-links a{
        font-size: 18px;
    }

    .slide-content p{
        font-size: 18px;
    }

    .slide-content h1{
        font-size: 56px;
        line-height: 70px;
    }
    .slide-content button{
        width: 280px;
        font-size: 17px;
    }

    .consultation-links{
        margin-top: 100px;
    }



    #container .container {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 4 columns */
        grid-template-rows: repeat(3, auto);   /* 3 rows */
        gap: 20px; /* spacing between boxes */
        max-width: 1200px; /* optional: keeps layout neat */
        width: 100%;
        margin: 0 auto; /* center align */
    }

    .container .box{
        padding: 20px;
    }

    .container .box img{
        width: 60px;
    }

    .container .box h3{
        font-size: 16px;
        line-height: 24px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .container .box p{
        font-size: 14px;
        line-height: 20px;
    }



    .founding-team-content {
        width: 90%;
        max-width: 1400px;
        margin: 0 auto; /* Center the content */
        text-align: center; /* Center align text */
        padding-bottom: 80px;
    }

    .founding-team h1 {
        font-size: 48px;
        color: #302d97;
        font-weight: normal;
        font-family: Poppins-SemiBold;
    }

    .founding-team .about-doctor p {
        width: 100%;
    }

    .founding-team p {
        max-width: 1000px; /* optional: keeps layout neat */
        width: 90%;
        color: #333;
        margin: 0 auto !important;
        padding: 0;
        font-size: 16px;
        line-height: 32px;
        font-family: Rubik-Regular;
        text-align: justify;
    }

    #founding-team-container {
        max-width: 1000px; /* optional: keeps layout neat */
        width: 90%;
        margin: 50px auto;
    }

    #founding-team-container .founding-team-container {
        display: flex;
        width: 100%;
        gap: 40px; /* spacing between boxes */
    }

    #founding-team-container .box {
        background-color: #ffffff;
        border-radius: 14px;
        padding: 40px 20px;
        text-align: center;
        box-shadow: 0px 0px 30px #0000002d;
        width: 100%;
        text-decoration: none;
    }


    .founding-team-container .box h3{
        color: #343392;
        font-family: Rubik-Medium;
        font-size: 24px;
        padding: 0;
        margin: 24px 0 10px 0;
    }

    .founding-team-container .box h3 a{
        color: #343392;
        text-decoration: none;
    }

    .founding-team-container .box p {
        color: #666666;
        width: 100%;
        margin: 0 !important;
        padding: 0;
        font-size: 18px;
        line-height: 18px;
        font-family: Rubik-Regular;
        text-align: center;
    }

    .founding-team-container .box p a{
        color: #666666;
        text-decoration: none;
    }

    .founding-team-container .box img {
        width: 160px;
        border-radius: 50%;
        margin: 0 auto;
    }


    .founding-team .know-more {
        display: inline-block;
        background-color: #302d97;
        padding: 20px;
        width: 280px;
        color: #c3db00;
        font-size: 18px;
        font-family: Rubik-Medium;
        text-decoration: none;
        border-radius: 7px;
        margin-top: 40px;
    }

    .founding-team .know-more img {
        margin-left: 24px;
        margin-bottom: -2px;
        transition: 0.5s ease-in-out; /* Smooth fade transition */
    }

    .founding-team .know-more:hover img {
        margin-left: 34px;
    }


    #founding-team-container hr{
        border: none;
        border-top: 1px solid #ecf7c6;
        margin: 50px 0 30px 0;
    }

    .founding-team-video {
        display: block;
    }


    .founding-team-video h3 {
        font-size: 26px;
        line-height: 38px;
        color: #343392;
        font-family: Poppins-SemiBold;
        margin: 0;
    }

    .founding-team-video p {
        font-size: 22px;
        color: #343392;
        font-family: Poppins-Regular;
        margin: 10px auto 20px auto !important;
        text-align: center;
    }


    .founding-team-video {
      max-width: 900px;     /* optional: keeps it from being too wide */
      margin: 0 auto;       /* center on page */
      text-align: center;   /* center heading, text, video */
      padding: 20px;
    }

    .founding-team-video video {
      width: 100%;          /* make video scale with parent */
      height: auto;         /* maintain aspect ratio */
      max-width: 450px;      /* prevent overflow */
      border-radius: 12px;  /* optional: rounded corners */
      box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* optional: subtle shadow */
    }

    .founding-team-video .know-more {
        display: block;
        background-color: #302d97;
        padding: 20px;
        width: 200px;
        color: #c3db00;
        font-size: 18px;
        font-family: Rubik-Medium;
        text-decoration: none;
        border-radius: 7px;
        margin: 40px auto 0 auto;
    }




    #why-choose-page {
        width: 100%;
        justify-content: center;
        align-items: center;
        background-color: #f5f6d3;
        padding: 60px 0;
    }

    .why-choose-inner-page {
        max-width: 1125px;
        width: 90%;
        text-align: center;
        margin: 0 auto 50px auto;
    }

    #why-choose-page h1 {
        font-size: 36px;
        color: #302d97;
        font-weight: normal;
        font-family: Poppins-Regular;
    }

    #why-choose-page h1 span{
        font-family: Poppins-SemiBold;
    }

    #why-choose-page .why-choose-inner-page p{
        font-size: 16px;
        line-height: 32px;
        color: #333333;
        font-family: Rubik-Regular;
        text-align: justify;
    }


    .service_book_appointment {
        max-width: 1400px;
        width: 90%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: flex-start; /* Align items at the start */
        flex-wrap: nowrap; /* Prevent wrapping */
    }

    .service_book_appointment .item {
        flex: 1; /* Each item takes equal space */
        text-align: center; /* Center text */
        padding: 20px 34px;
    }

    .service_book_appointment .item img {
        border-radius: 50%; /* Circle image */
        width: 80px; /* Adjust size as needed */
        height: 80px; /* Adjust size as needed */
        box-shadow: 6px 6px 16px rgba(200, 217, 47, .5);
    }

    .service_book_appointment .item h3 {
        color: #302d97;
        font-family: Rubik-Medium;
        font-size: 24px;
        margin-bottom: 0;
    }

    .service_book_appointment .item p {
        color: #333333;
        font-family: Rubik-Regular;
        font-size: 16px;
        line-height: 32px;
        text-align: center !important;
        margin-top: 15px;
    }

    .service_book_appointment .middle-item {
        border-left: 3px dotted #cada35;
        border-right: 3px dotted #cada35;
        padding: 20px 34px;
    }

    .service_book_appointment .middle-item {
      position: relative;
      padding: 20px 34px; /* keep your padding */
    }


    .about-us h4{
        font-size: 18px;
    }

    .about-us h1{
        font-size: 46px;
    }

    .about-us p{
        font-size: 16px;
    }

    .about-us-content .more-specialities{
        font-size: 17px;
        width: 270px;
        padding: 15px;
    }

    .about-us-content .more-specialities img{
        width: 21px;
        margin-bottom: 0;
        margin-left: 18px;
    }



    .who-are-we div:first-child h3{
        font-size: 18px;
    }

    .who-are-we div:first-child h1{
        font-size: 40px;
        line-height: 52px;
    }

    .who-are-we div:first-child p{
        font-size: 16px;
        line-height: 32px;
        margin-bottom: 30px;
    }

    .who-are-we div:first-child p.expertise{
        font-size: 18px;
    }

    .who-are-we .learn_more{
        width: 190px;
        padding: 20px;
        font-size: 18px;
    }


    .who-are-we div:last-child a {
        margin-left: 237px;
        margin-top: 74px;
    }
    .who-are-we div:last-child a img:nth-child(1){
        width: 290px;
    }
    
    .who-are-we div:last-child img:nth-child(1){
        width: 350px;
    }

    .who-are-we div:last-child img:nth-child(2){
        position: relative;
        margin-top: 245px;
        margin-left: 170px;
    }


    .who-are-we div:last-child img:nth-child(3){
        width: 350px;
        margin-top: 251px;
        margin-left: 178px;
    }






    #panel-doctos-page .doctor-card {
        background-color: #ffffff;
        padding: 25px;
        border-radius: 15px;
        text-decoration: none;
        color: inherit;
        transition: transform 0.3s;
        cursor: pointer;
      }


    #panel-doctos-page .doctor-card img {
        width: 100px;
        height: 100px;
        margin: -20px 0 0px -20px;
    }

    #panel-doctos-page .doctor-name {
        font-size: 19px;
        font-family: Poppins-SemiBold;
        margin-top: 70px;
        margin-bottom: 10px;
        color: #302d97;
    }
      
    #panel-doctos-page .specialist {
        font-size: 25px;
        font-family: Rubik-Regular;
        color: #666666;
        margin-bottom: 5px;
    }
      
    #panel-doctos-page .separator {
        width: 30px;
        height: 3px;
        background-color: #c3db00;
        margin: 5px auto 10px auto;
    }
      
    #panel-doctos-page .experience {
        font-size: 14px;
        line-height: 22px;
        color: #333333;
        font-family: Rubik-Regular;
    }



    #contact-us h1{
        font-size: 45px;
    }

    #contact-us .grid-item{
        font-size: 20px;
        line-height: 32px;
    }

    #contact-us .grid-item hr{
        border: none;
        border-bottom: 1px solid #4a5c88;
        width: 275px;
        margin: 30px 0 10px 0 !important;

    }

    .contact-us > div:last-child img{
        margin: 40px auto 20px auto;
        max-width: 215px;
        width: 100%;
    }

    #contact-us .contact_info p{
        font-size: 20px;
        line-height: 36px;
    }
    
    #contact-us .contact_info p a{
        font-size: 22px;
    }


    .map-container {
      position: relative;
      width: 100%;
      max-width: 300px;
      height: 330px;
      overflow: hidden;
      border-radius: 12px; /* optional: rounded corners */
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* optional: soft shadow */
      margin-top: 40px;
    }

    .map-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }





    .footer-logo{
        width: 120px;
    }

    .footer-item p {
        font-size: 14px;
        line-height: 24px;
    }

    .footer-item p.footer-address {
        color: #fff;
    }

    .footer-item h4{
        font-size: 20px;
    }

    .footer-item ul li{
        font-size: 16px;
    }

}



/* Mobile Responsive Styles */
@media (max-width: 800px) {
    .nav-links {
        margin-top: 0;
        display: flex;
        gap: 20px;
        align-items: center;
        transition: transform 0.3s ease-in-out; /* Smooth transition */
    }

    .nav-links {
        /* display: none; Hide by default on mobile */
        flex-direction: column;
        position: fixed;
        top: 0px;
        right: 0px;
        background-color: rgba(0, 0, 0, 0.9); /* Adjust background for visibility */
        padding: 80px 0 20px 0;
        box-sizing: border-box;
        border-radius: 0 0 10px 10px;
        width: 100%; /* Fixed width */
        transform: scaleY(0);
        transform-origin: top;
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        border-bottom: 3px solid #c3db00;
    }

    header.inside-page .nav-links a, .nav-links a {
        font-family: Rubik-Regular;
        text-decoration: none;
        color: #fff; /* Text color */
        font-size: 18px;
    }

    header.inside-page .nav-links a, .nav-links a {
        margin: 0;
        padding: 10px 0;
        width: 100%;
        text-align: center;
        transform: translateX(0);
        opacity: 1;
        /* transform: translateX(20px); */
        transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition */
    }

    .nav-links a:hover,
    .nav-links a.active {
        border-bottom: 1px solid #ffffffb9;
        background-color: #00b0dc77;
    }

    .nav-links .appointment-call {
        color: #fff; /* Text color */
        text-decoration: none; /* Remove underline */
        display: flex;
        align-items: center; /* Center items vertically */
    }

    .nav-links .appointment-call {
        display: block;
    }

    .nav-links .appointment-call img{
        width: 50px;
        margin-bottom: -20px;
    }

    .hamburger {
        position: relative;
        background: #00b0dc;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        border: none;
        display: block;
        cursor: pointer;
        font-size: 24px;
        color: #fff;
        margin-top: -108px;
        z-index: 2;
    }

    .hamburger.open::after {
        content: 'X';
        font-size: 24px;
        color: #fff;
        position: relative; /* Makes it position relative to its parent */
        top: 0px; /* Adjusts the vertical position */
        left: 0px; /* Adjusts the horizontal position */
    }

    .hamburger::after {
        content: '☰';
        font-size: 24px;
        color: #fff;
        position: relative; /* Makes it position relative to its parent */
        top: -1px; /* Adjusts the vertical position */
        left: 0px; /* Adjusts the horizontal position */
    }

    .nav-links.show {
        transform: scaleY(1);
        visibility: visible;
        opacity: 1;
    }

    .nav-links.show a {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.1s;
    }

    .slide-content h1 {
        font-size: 40px;
        line-height: 46px;
    }

    .consultation-links {
        margin-top: 100px;
    }
    


    .footer {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
    }
}

/* Hide the hamburger menu on larger screens */
@media (max-width: 801px) {
    /* .hamburger {
        display: none;
    } */

    .nav-links {
        display: flex;
    }
}




@media (max-width: 500px) {

    header.inside-page .logo img, .logo img {
        width: 80px;
        margin-bottom: 0;
    }

    .slide-content h1 {
        font-size: 36px;
        line-height: 46px;
    }

    .hamburger {
        margin-top: 0px;
        position: fixed;
        top: 25px;
        right: 20px;

    }

    .consultation-links {
        display: block;
        margin-top: 150px;
    }

    .consultation-links .consultation{
        font-size: 18px;
        display: block;
    }

    .consultation-links .consultation img{
        width: 35px;
        margin: 20px 5px -11px 0;
    }


    .about-us h1 {
        font-size: 30px;
        line-height: 42px;
    }


    .container{
        display: inline-grid;
    }

    .container .box {
        width: 100%;
        box-sizing: border-box;
    }

    .who-are-we div:last-child {
        width: 100%;
        margin-top: 50px;
    }

    .who-are-we{
        display: inline-grid;
        padding: 0 5%;
    }
    
    .who-are-we div:first-child{
        width: 100%;
        box-sizing: border-box;
    }

    .who-are-we div:last-child img{
        width: 100%;
        position: relative !important;
        margin: 10px 0;
    }

    .who-are-we div:last-child img:nth-child(1) {
        width: 100%;
    }

    .who-are-we div:last-child a img:nth-child(1) {
        width: 100%;
    }

    .who-are-we div:last-child a{
        display: block;
        position: relative !important;
        margin-left: 0;
        margin-top: 0;
    }

    .who-are-we div:last-child a img{
        width: 100%;
    }

    .who-are-we div:last-child img:nth-child(3) {
        width: 100%;
        margin-top: 0;
        margin-left: 0;
    }



    .contact-us {
        display: inline-grid;
        width: 100%;
    }


    .contact-us > div:first-child {
        width: 100%;
    }

    .grid-container {
        display: grid;
        grid-template-columns: 50px 1fr;
        gap: 0px;
        width: 100%;
        margin: 20px auto;
    }

    .contact-us > div:last-child {
        box-sizing: border-box;
        width: 100%;
        padding-left: 0;
        text-align: center;
    }

    .contact-us > div:last-child img {
        margin: 40px auto 20px auto;
        max-width: 500px;
        width: 90%;
    }

    #contact-us .contact_info {
        margin: 50px 10px 0 10px;
    }



    .map-container {
      position: relative;
      width: 90%;
      max-width: 500px;
      height: 330px;
      overflow: hidden;
      border-radius: 12px; /* optional: rounded corners */
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* optional: soft shadow */
      margin: 40px auto 20px auto;
    }






    .footer {
        grid-template-columns: 1fr; /* 1 column on extra small screens */
    }
}


@media (max-width: 992px) {
  #container .container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 576px) {
  #container .container {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }
}



@media (max-width: 375px) {

    .slide-content h1 {
        font-size: 26px;
        line-height: 36px;
    }

    .consultation-links {
        display: block;
        margin-top: 80px;
    }

    .consultation-links .consultation{
        font-size: 18px;
        display: block;
    }

    .consultation-links .consultation img{
        width: 35px;
        margin: 20px 5px -11px 0;
    }



    .footer {
        grid-template-columns: 1fr; /* 1 column on extra small screens */
    }
}
