/* =========================================================
   JEMA HOSPITALS
   RESPONSIVE.CSS
   CLEAN VERSION
========================================================= */


/* =========================================================
   GLOBAL RESPONSIVE FOUNDATION
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
    }

    section {
        width: 100%;
        max-width: 100%;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Prevent grid/flex children from causing overflow */

    .container > *,
    [class*="grid"] > *,
    [class*="content"] > * {
        min-width: 0;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p {
        max-width: 100%;
        overflow-wrap: break-word;
    }
}


/* =========================================================
   HEADER / NAVIGATION
========================================================= */


/* -------------------------
   DESKTOP
------------------------- */

.mobile-menu-toggle {
    display: none;
}


/* -------------------------
   TABLET
   992px and below
------------------------- */

@media (max-width: 992px) {

    .header-top,
    .top-bar {
        display: none;
    }

    .main-header {
        padding: 15px 0;
    }

    .header-container,
    .main-header .container {
        position: relative;
    }

    .logo img {
        max-width: 170px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 14px;
    }
}


/* -------------------------
   MOBILE
   768px and below
------------------------- */

@media (max-width: 768px) {

    .main-header {
        position: relative;
        padding: 13px 0;
    }

    .header-container,
    .main-header .container {
        position: relative;
    }

    .logo img {
        width: auto;
        max-width: 150px;
    }

    /* Hide desktop navigation */

    .nav-menu {
        display: none;
    }

    /* Mobile menu button */

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 44px;
        height: 44px;

        border: none;
        border-radius: 10px;

        background: var(--primary);
        color: #fff;

        font-size: 19px;

        cursor: pointer;
        flex-shrink: 0;
    }

    /* Mobile navigation */

    .nav-menu.active {
        display: flex;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        z-index: 9999;

        flex-direction: column;

        gap: 0;

        background: #fff;

        padding: 10px 0;

        border-top: 1px solid #edf2f7;

        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }

    .nav-menu.active li {
        width: 100%;
    }

    .nav-menu.active a {
        display: block;

        width: 100%;

        padding: 15px 25px;

        color: var(--primary);

        font-size: 15px;
    }

    .nav-menu.active a:hover {
        background: #f7fafc;
        color: var(--accent);
    }
}


/* -------------------------
   SMALL MOBILE
   480px and below
------------------------- */

@media (max-width: 480px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .logo img {
        max-width: 130px;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }
}


/* =========================================================
   HOME HERO
========================================================= */


/* -------------------------
   TABLET
   992px and below
------------------------- */

@media (max-width: 992px) {

    .hero {
        width: 100%;
        overflow: hidden;
    }

    .heroSwiper {
        width: 100%;
        height: 680px;
        min-height: 680px;
    }

    .hero .container {
        min-height: 100%;
        padding-top: 20px;
        padding-bottom: 60px;

        display: flex;
        align-items: center;
    }

    .hero-content {
        width: 100%;
        max-width: 600px;
    }

    .hero-content h1 {
        font-size: clamp(42px, 6vw, 56px);
        line-height: 1.08;
    }

    .hero-content p {
        font-size: 18px;
        max-width: 560px;
    }

    .hero-tag {
        padding: 10px 20px;
        font-size: 13px;
    }

    .hero-buttons {
        margin-bottom: 35px;
    }

    .hero-features {
        gap: 15px 20px;
    }

    .hero-features span {
        font-size: 14px;
    }

    .emergency-card {
        right: 30px;
        bottom: 90px;
        width: 230px;
        padding: 25px;
    }

    .emergency-card h2 {
        font-size: 30px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 48px;
        height: 48px;
    }
}


/* -------------------------
   MOBILE
   768px and below
------------------------- */

@media (max-width: 768px) {

    .hero {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .heroSwiper {
        width: 100%;
        height: 650px;
        min-height: 650px;
        max-height: none;
    }

    .heroSwiper .swiper-slide {
        width: 100%;
        min-height: 650px;
    }

    .hero-bg {
        width: 100%;
        min-height: 650px;
        background-position: center;
    }

    .hero .container {
        width: 100%;
        min-height: 100%;

        padding-top: 30px;
        padding-bottom: 90px;

        display: flex;
        align-items: center;
        justify-content: center;

        text-align: center;
    }

    .hero-content {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
    }

    .hero-tag {
        display: inline-flex;

        font-size: clamp(10px, 2.5vw, 12px);

        padding: 9px 16px;

        margin-bottom: 20px;
    }

    .hero-content h1 {
        width: 100%;

        font-size: clamp(34px, 7vw, 44px);

        line-height: 1.1;

        margin-bottom: 18px;
    }

    .hero-content p {
        width: 100%;
        max-width: 600px;

        margin: 0 auto 28px;

        font-size: clamp(14px, 3vw, 16px);

        line-height: 1.7;
    }

    /* Buttons */

    .hero-buttons {
        width: 100%;

        display: flex;

        justify-content: center;

        flex-wrap: wrap;

        gap: 12px;

        margin-bottom: 30px;
    }

    .hero-buttons .btn {
        min-width: 0;

        padding: 13px 20px;

        justify-content: center;

        text-align: center;
    }

    /* Features */

    .hero-features {
        width: 100%;

        display: flex;

        justify-content: center;

        align-items: center;

        flex-wrap: wrap;

        gap: 12px 20px;
    }

    .hero-features span {
        font-size: clamp(12px, 2.5vw, 14px);

        text-align: center;
    }

    /* Emergency card */

    .emergency-card {
        display: none;
    }

    /* Swiper arrows */

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px;
    }

    /* Pagination */

    .swiper-pagination {
        bottom: 20px !important;
    }

    .swiper-pagination-bullet {
        width: 9px;
        height: 9px;
    }

    .swiper-pagination-bullet-active {
        width: 25px;
    }

    .scroll-down {
        display: none;
    }
}


/* -------------------------
   SMALL MOBILE
   480px and below
------------------------- */

@media (max-width: 480px) {

    .heroSwiper {
        height: 620px;
        min-height: 620px;
    }

    .heroSwiper .swiper-slide {
        min-height: 620px;
    }

    .hero-bg {
        min-height: 620px;
    }

    .hero .container {
        padding-left: 18px;
        padding-right: 18px;

        padding-top: 25px;
        padding-bottom: 80px;
    }

    .hero-content h1 {
        font-size: clamp(30px, 9vw, 38px);
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.65;
    }

    .hero-tag {
        font-size: 10px;
        padding: 8px 14px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        flex-direction: column;
        gap: 9px;
    }

    .hero-features span {
        font-size: 12px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}


/* =========================================================
   QUICK ACCESS
========================================================= */


/* -------------------------
   TABLET
   992px and below
------------------------- */

@media (max-width: 992px) {

    .quick-access {
        margin-top: -40px;
        position: relative;
        z-index: 10;
    }

    .quick-grid {
        width: 100%;

        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

    .quick-card {
        width: 100%;
        min-width: 0;

        padding: 30px 25px;
    }

    .quick-card h3 {
        font-size: clamp(20px, 2.5vw, 22px);
    }

    .quick-card p {
        font-size: 15px;
        line-height: 1.7;
    }
}


/* -------------------------
   MOBILE
   768px and below
------------------------- */

@media (max-width: 768px) {

    .quick-access {
        margin-top: -30px;
        padding-bottom: 50px;

        position: relative;
        z-index: 10;
    }

    .quick-grid {
        width: 100%;

        display: grid !important;

        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        gap: 12px;
    }

    .quick-card {
        width: 100%;
        min-width: 0;

        padding: 24px 15px;

        overflow: hidden;
    }

    .quick-card h3 {
        font-size: clamp(17px, 4.5vw, 21px);
        line-height: 1.25;
    }

    .quick-card p {
        font-size: clamp(13px, 3vw, 15px);
        line-height: 1.6;
    }
}


/* -------------------------
   SMALL MOBILE
   480px and below
------------------------- */

@media (max-width: 480px) {

    .quick-access {
        margin-top: -25px;
        padding-bottom: 40px;
    }

    .quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .quick-card {
        padding: 20px 10px;
    }

    .quick-card h3 {
        font-size: clamp(15px, 4.5vw, 18px);
        line-height: 1.25;
    }

    .quick-card p {
        font-size: 12px;
        line-height: 1.5;
    }
}


/* =========================================================
   VERY SMALL PHONES
   360px and below
========================================================= */

@media (max-width: 360px) {

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-content h1 {
        font-size: 29px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .quick-card {
        padding: 18px 8px;
    }

    .quick-card h3 {
        font-size: 15px;
    }

    .quick-card p {
        font-size: 11px;
    }
}



/* =========================================================
   JEMA HOSPITALS
   RESPONSIVE.CSS — BATCH 2
   ABOUT / SERVICES / DOCTORS / STATISTICS / CTA / FOOTER
========================================================= */


/* =========================================================
   JEMA HOSPITALS
   HOME ABOUT SECTION — RESPONSIVE
========================================================= */

/* -----------------------------
   TABLET
----------------------------- */

@media (max-width: 992px) {

    .about {
        padding: 80px 0;
        overflow: hidden;
    }

    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 45px;
    }

    .about-image {
        width: 100%;
        min-width: 0;
    }

    .about-image img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .about-content {
        width: 100%;
        min-width: 0;
    }

    .about-content h2 {
        font-size: 42px;
        line-height: 1.15;
        margin-bottom: 20px;
    }

    .about-content p {
        font-size: 16px;
        line-height: 1.75;
    }

    .about-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

}


/* -----------------------------
   MOBILE
----------------------------- */

@media (max-width: 768px) {

    .about {
        width: 100%;
        padding: 65px 0;
        overflow: hidden;
    }

    .about .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    /* IMAGE */

    .about-image {
        width: 100%;
        max-width: 100%;
        order: 1;
    }

    .about-image img {
        display: block;
        width: 100%;
        max-width: 500px;
        height: auto;
        margin: 0 auto;
        object-fit: contain;
    }

    /* CONTENT */

    .about-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        order: 2;
    }

    .about-content .section-tag {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 15px;
    }

    .about-content h2 {
        width: 100%;
        max-width: 100%;
        font-size: 34px;
        line-height: 1.15;
        margin-bottom: 20px;
        overflow-wrap: normal;
        word-break: normal;
    }

    .about-content p {
        width: 100%;
        max-width: 100%;
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 15px;
    }

    /* FEATURES */

    .about-features {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin: 25px 0;
    }

    .feature-item {
        width: 100%;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .feature-item i {
        flex-shrink: 0;
        font-size: 16px;
    }

    .feature-item span {
        min-width: 0;
        font-size: 13px;
        line-height: 1.4;
        overflow-wrap: break-word;
    }

    /* BUTTON */

    .about-content .btn {
        display: inline-flex;
        width: auto;
        max-width: 100%;
    }

}


/* -----------------------------
   SMALL PHONES
----------------------------- */

@media (max-width: 480px) {

    .about {
        padding: 55px 0;
    }

    .about .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .about-grid {
        gap: 30px;
    }

    .about-image img {
        width: 100%;
        max-width: 100%;
    }

    .about-content h2 {
        font-size: 29px;
        line-height: 1.18;
    }

    .about-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .feature-item {
        padding: 8px 0;
    }

    .feature-item span {
        font-size: 13px;
    }

    .about-content .btn {
        width: 100%;
        justify-content: center;
    }

}


/* =========================================================
   SERVICES
========================================================= */


/* -------------------------
   TABLET
------------------------- */

@media (max-width: 992px) {

    .services {
        width: 100%;

        padding: 80px 0;

        overflow: hidden;
    }

    .services-grid {
        width: 100%;

        display: grid !important;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

    .service-card {
        width: 100%;

        min-width: 0;

        padding: 30px 25px;

        overflow: hidden;
    }
}


/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 768px) {

    .services {
        padding: 70px 0;
    }

    .services-grid {
        grid-template-columns: 1fr !important;

        gap: 18px;
    }

    .services-grid > * {
        width: 100% !important;

        min-width: 0 !important;
    }

    .service-card {
        width: 100%;

        padding: 28px 22px;
    }

    .service-card h3 {
        font-size: clamp(19px, 5vw, 24px);

        line-height: 1.3;
    }

    .service-card p {
        font-size: 14px;

        line-height: 1.7;
    }
}


/* -------------------------
   SMALL MOBILE
------------------------- */

@media (max-width: 480px) {

    .services {
        padding: 55px 0;
    }

    .services-grid {
        gap: 15px;
    }

    .service-card {
        padding: 24px 18px;
    }

    .service-card h3 {
        font-size: 19px;
    }

    .service-card p {
        font-size: 13px;
        line-height: 1.65;
    }
}


/* =========================================================
   DOCTORS
========================================================= */


/* -------------------------
   TABLET
------------------------- */

@media (max-width: 992px) {

    .doctors {
        padding: 80px 0;

        width: 100%;

        overflow: hidden;
    }

    .doctors-grid {
        width: 100%;

        display: grid !important;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

    .doctor-card {
        width: 100%;

        min-width: 0;

        overflow: hidden;
    }

    .doctor-image {
        width: 100%;

        height: 360px;

        object-fit: cover;
    }
}


/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 768px) {

    .doctors {
        padding: 70px 0;
    }

    .doctors-grid {
        grid-template-columns: 1fr !important;

        gap: 20px;
    }

    .doctors-grid > * {
        width: 100% !important;

        min-width: 0 !important;
    }

    .doctor-image {
        width: 100%;

        height: 330px;

        object-fit: cover;
    }

    .doctor-card {
        width: 100%;
    }

    .doctor-content {
        padding: 25px 22px;
    }

    .doctor-content h3 {
        font-size: clamp(20px, 5vw, 24px);

        line-height: 1.3;
    }

    .doctor-content p {
        font-size: 14px;

        line-height: 1.6;
    }
}


/* -------------------------
   SMALL MOBILE
------------------------- */

@media (max-width: 480px) {

    .doctors {
        padding: 55px 0;
    }

    .doctor-image {
        height: 300px;
    }

    .doctor-content {
        padding: 22px 18px;
    }

    .doctor-content h3 {
        font-size: 20px;
    }

    .doctor-content p {
        font-size: 13px;
    }
}


/* =========================================================
   TESTIMONIALS
========================================================= */


/* -------------------------
   TABLET
------------------------- */

@media (max-width: 992px) {

    .testimonials {
        padding: 80px 0;

        width: 100%;

        overflow: hidden;
    }

    .testimonial-card {
        width: 100%;

        min-width: 0;

        padding: 30px 25px;
    }
}


/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 768px) {

    .testimonials {
        padding: 70px 0;
    }

    .testimonial-card {
        width: 100%;

        padding: 28px 22px;
    }

    .testimonial-card p {
        font-size: 14px;

        line-height: 1.75;
    }
}


/* -------------------------
   SMALL MOBILE
------------------------- */

@media (max-width: 480px) {

    .testimonials {
        padding: 55px 0;
    }

    .testimonial-card {
        padding: 24px 18px;
    }

    .testimonial-card p {
        font-size: 13px;

        line-height: 1.7;
    }
}


/* =========================================================
   STATISTICS
========================================================= */


/*
   IMPORTANT:
   The statistics are kept as 2 columns on phones.
   This prevents the four statistics from becoming
   excessively tall on small screens.
*/


/* -------------------------
   TABLET
------------------------- */

@media (max-width: 992px) {

    .statistics {
        width: 100%;

        overflow: hidden;
    }

    .statistics .container {
        width: 100%;
    }

    .statistics-grid {
        width: 100%;

        display: grid !important;

        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        gap: 0;
    }

    .stat-item {
        width: 100%;

        min-width: 0;

        padding: 32px 18px;

        text-align: center;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;
    }

    .stat-icon {
        width: 44px;
        height: 44px;

        display: flex;

        align-items: center;
        justify-content: center;

        margin-bottom: 12px;

        flex-shrink: 0;
    }

    .stat-icon i {
        font-size: 21px;
    }

    .stat-number {
        width: 100%;

        margin: 0 0 8px;

        font-size: clamp(30px, 4vw, 42px);

        line-height: 1.1;

        text-align: center;

        white-space: nowrap;
    }

    .stat-item p {
        width: 100%;

        margin: 0;

        font-size: clamp(13px, 1.5vw, 15px);

        line-height: 1.4;

        text-align: center;
    }
}


/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 768px) {

    .statistics {
        width: 100%;

        overflow: hidden;
    }

    .statistics .container {
        width: 100%;

        padding-left: 16px;
        padding-right: 16px;
    }

    .statistics-grid {
        width: 100%;

        display: grid !important;

        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        gap: 1px;

        overflow: hidden;

        border-radius: 12px;
    }

    .stat-item {
        width: 100%;

        min-width: 0;

        padding: 28px 10px;
    }

    .stat-icon {
        width: 42px;
        height: 42px;

        margin-bottom: 10px;
    }

    .stat-icon i {
        font-size: 20px;
    }

    /*
       Fluid number sizing.
       This is important for 15+, 5000+, 10+
       and 24/7.
    */

    .stat-number {
        width: 100%;

        font-size: clamp(24px, 7vw, 34px);

        line-height: 1.1;

        white-space: nowrap;

        margin-bottom: 7px;
    }

    .stat-item p {
        width: 100%;

        font-size: clamp(11px, 3vw, 14px);

        line-height: 1.35;

        overflow-wrap: break-word;
    }
}


/* -------------------------
   SMALL MOBILE
------------------------- */

@media (max-width: 480px) {

    .statistics .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .statistics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        gap: 1px;
    }

    .stat-item {
        padding: 24px 6px;
    }

    .stat-icon {
        width: 38px;
        height: 38px;

        margin-bottom: 8px;
    }

    .stat-icon i {
        font-size: 18px;
    }

    .stat-number {
        font-size: clamp(22px, 7vw, 30px);

        line-height: 1;

        margin-bottom: 6px;
    }

    .stat-item p {
        font-size: 11px;

        line-height: 1.3;
    }
}


/* -------------------------
   VERY SMALL PHONES
------------------------- */

@media (max-width: 360px) {

    .statistics .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .stat-item {
        padding: 20px 4px;
    }

    .stat-icon {
        width: 34px;
        height: 34px;
    }

    .stat-icon i {
        font-size: 16px;
    }

    .stat-number {
        font-size: 21px;
    }

    .stat-item p {
        font-size: 10px;
    }
}


/* =========================================================
   CTA
========================================================= */


/* -------------------------
   TABLET
------------------------- */

@media (max-width: 992px) {

    .cta,
    .home-cta {
        width: 100%;

        overflow: hidden;
    }

    .cta-content,
    .home-cta-content {
        width: 100%;

        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 30px;
    }

    .cta-content h2,
    .home-cta-content h2 {
        font-size: clamp(30px, 4vw, 40px);

        line-height: 1.2;
    }
}


/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 768px) {

    .cta,
    .home-cta {
        width: 100%;

        overflow: hidden;
    }

    .cta .container,
    .home-cta .container {
        width: 100%;
    }

    .cta-content,
    .home-cta-content {
        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 22px;

        text-align: left;
    }

    .cta-content h2,
    .home-cta-content h2 {
        width: 100%;

        font-size: clamp(28px, 7vw, 36px);

        line-height: 1.2;
    }

    .cta-content p,
    .home-cta-content p {
        width: 100%;

        font-size: 15px;

        line-height: 1.7;
    }

    .cta-buttons,
    .home-cta-buttons {
        width: 100%;

        display: flex;

        flex-direction: column;

        gap: 12px;
    }

    .cta-buttons .btn,
    .home-cta-buttons .btn {
        width: 100%;

        justify-content: center;

        text-align: center;
    }
}


/* -------------------------
   SMALL MOBILE
------------------------- */

@media (max-width: 480px) {

    .cta-content h2,
    .home-cta-content h2 {
        font-size: 28px;
    }

    .cta-content p,
    .home-cta-content p {
        font-size: 14px;
    }
}


/* =========================================================
   FOOTER
========================================================= */


/* -------------------------
   TABLET
------------------------- */

@media (max-width: 992px) {

    .footer {
        width: 100%;

        overflow: hidden;
    }

    .footer-grid {
        width: 100%;

        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 40px;
    }

    .footer-column {
        width: 100%;

        min-width: 0;
    }

    .footer-column p {
        max-width: 100%;

        line-height: 1.7;
    }
}


/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 768px) {

    .footer {
        width: 100%;

        padding: 60px 0 25px;

        overflow: hidden;
    }

    .footer .container {
        width: 100%;
    }

    .footer-grid {
        width: 100%;

        display: grid !important;

        grid-template-columns: 1fr !important;

        gap: 35px;
    }

    .footer-column {
        width: 100%;

        min-width: 0;
    }

    .footer-column h3,
    .footer-column h4 {
        margin-bottom: 15px;

        font-size: 17px;

        line-height: 1.3;
    }

    .footer-column p,
    .footer-column li,
    .footer-column a {
        max-width: 100%;

        font-size: 14px;

        line-height: 1.6;

        overflow-wrap: break-word;
    }

    .footer-contact {
        width: 100%;
    }

    .footer-contact-item {
        width: 100%;

        display: flex;

        align-items: flex-start;

        gap: 12px;
    }

    .footer-contact-item i {
        flex-shrink: 0;
    }

    .footer-contact-item span,
    .footer-contact-item p {
        min-width: 0;

        max-width: 100%;

        overflow-wrap: break-word;
    }

    .footer-bottom {
        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        text-align: center;

        gap: 10px;
    }
}


/* -------------------------
   SMALL MOBILE
------------------------- */

@media (max-width: 480px) {

    .footer {
        padding: 50px 0 20px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-bottom {
        font-size: 12px;
    }

    .footer-bottom p,
    .footer-bottom span {
        font-size: 12px;

        line-height: 1.5;
    }
}

/* =========================================================
   JEMA HOSPITALS
   RESPONSIVE CSS — BATCH 3
   SERVICES / ABOUT / DOCTORS / FOOTER
   STATISTICS / CTA / ABOUT PAGE
========================================================= */


/* =========================================================
   MOBILE FOUNDATION
   768px and below
========================================================= */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    section {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    .container > *,
    section > *,
    [class*="grid"] > *,
    [class*="content"] > * {
        min-width: 0;
    }

    h1,
    h2,
    h3,
    h4,
    p {
        max-width: 100%;
        overflow-wrap: break-word;
    }
}


/* =========================================================
   SERVICES
========================================================= */

@media (max-width: 768px) {

    .services {
        width: 100%;
        padding: 4rem 0;
        overflow: hidden;
    }

    .services-grid {
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }

    .services-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .service-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 2rem 1.5rem;
        overflow: hidden;
    }
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

@media (max-width: 768px) {

    .section-header {
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.1;
        overflow-wrap: break-word;
    }

    .section-header p {
        width: 100%;
        max-width: 38rem;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(0.95rem, 3.8vw, 1.1rem);
        line-height: 1.7;
    }
}


/* =========================================================
   ABOUT — HOME PAGE
========================================================= */

@media (max-width: 768px) {

    .about {
        width: 100%;
        padding: 4.5rem 0;
        overflow: hidden;
    }

    .about-grid {
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }

    .about-grid > * {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .about-image {
        width: 100%;
        display: flex;
        justify-content: center;
        order: 1;
    }

    .about-image img {
        display: block;
        width: 100%;
        max-width: 500px;
        height: auto !important;
        margin: 0 auto;
        object-fit: contain;
    }

    .about-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        order: 2;
        text-align: left;
    }

    .about-content h2 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.15;
        margin-bottom: 1.25rem;
    }

    .about-content p {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.75;
    }

    .about-features {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
        margin: 1.75rem 0 2rem;
    }

    .feature-item {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        min-width: 0;
    }

    .feature-item i {
        flex-shrink: 0;
    }

    .about-content .btn {
        max-width: 100%;
    }
}


/* =========================================================
   DOCTORS
========================================================= */

@media (max-width: 768px) {

    .doctors {
        width: 100%;
        padding: 4rem 0;
        overflow: hidden;
    }

    .doctors-grid {
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }

    .doctors-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .doctor-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .doctor-image {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;
        object-fit: cover;
    }
}


/* =========================================================
   STATISTICS
========================================================= */

@media (max-width: 768px) {

    .statistics {
        width: 100%;
        padding: 0;
        overflow: hidden;
    }

    .statistics .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .statistics-grid {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1px;
        overflow: hidden;
    }

    .stat-item {
        width: 100%;
        min-width: 0;
        padding: 28px 10px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        text-align: center;
    }

    .stat-icon {
        width: 42px;
        height: 42px;

        display: flex;
        align-items: center;
        justify-content: center;

        margin-bottom: 10px;
        flex-shrink: 0;
    }

    .stat-icon i {
        font-size: clamp(18px, 5vw, 22px);
    }

    .stat-number {
        width: 100%;
        min-width: 0;

        margin: 0 0 7px;

        /*
           Fluid number size.
           This allows 15+, 5000+, 10+ and 24/7
           to resize naturally.
        */
        font-size: clamp(24px, 7vw, 36px);
        line-height: 1.1;

        white-space: nowrap;
        text-align: center;
    }

    .stat-item p {
        width: 100%;
        min-width: 0;

        margin: 0;

        font-size: clamp(11px, 3vw, 14px);
        line-height: 1.35;

        text-align: center;
        overflow-wrap: break-word;
    }
}


/* =========================================================
   CTA
========================================================= */

@media (max-width: 768px) {

    .cta,
    .home-cta {
        width: 100%;
        overflow: hidden;
    }

    .cta .container,
    .home-cta .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .cta-content,
    .home-cta-content {
        width: 100%;

        display: flex;
        flex-direction: column;

        align-items: flex-start;
        justify-content: center;

        gap: 1.5rem;

        text-align: left;
    }

    .cta-content h2,
    .home-cta-content h2 {
        width: 100%;
        max-width: 100%;

        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.2;
    }

    .cta-content p,
    .home-cta-content p {
        width: 100%;
        max-width: 100%;

        font-size: 1rem;
        line-height: 1.7;
    }

    .cta-buttons,
    .home-cta-buttons {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 0.75rem;
    }

    .cta-buttons .btn,
    .home-cta-buttons .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}


/* =========================================================
   FOOTER
========================================================= */

@media (max-width: 768px) {

    .footer {
        width: 100%;
        max-width: 100%;
        padding: 4rem 0 1.5rem;
        overflow: hidden;
    }

    .footer .container {
        width: 100%;
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .footer-grid {
        width: 100%;
        max-width: 100%;

        display: grid !important;
        grid-template-columns: 1fr !important;

        gap: 2.5rem;
    }

    .footer-column {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .footer-column h3,
    .footer-column h4 {
        font-size: 17px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .footer-column p,
    .footer-column li,
    .footer-column a {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.6;
        overflow-wrap: break-word;
    }

    .footer-contact {
        width: 100%;
        max-width: 100%;
    }

    .footer-contact-item {
        width: 100%;
        max-width: 100%;

        display: flex;
        align-items: flex-start;

        gap: 10px;
    }

    .footer-contact-item i {
        flex-shrink: 0;
    }

    .footer-contact-item span,
    .footer-contact-item p {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .footer-bottom {
        width: 100%;
        max-width: 100%;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        text-align: center;
        gap: 8px;

        padding-top: 20px;
    }

    .footer-bottom p,
    .footer-bottom span {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.5;
        overflow-wrap: break-word;
    }
}


/* =========================================================
   JEMA HOSPITALS
   ABOUT PAGE — FINAL RESPONSIVE
========================================================= */


/* =========================================================
   ABOUT HERO
========================================================= */

@media (max-width: 768px) {

    .about-hero {
        width: 100%;
        min-height: 520px;
        overflow: hidden;
    }

    .about-hero .container {
        width: 100%;
        min-height: 520px;
        padding-left: 20px;
        padding-right: 20px;

        display: flex;
        align-items: center;
    }

    .about-hero-content {
        width: 100%;
        max-width: 650px;
        text-align: center;
        margin: 0 auto;
    }

    .about-hero-content h1 {
        font-size: clamp(2.4rem, 10vw, 4rem);
        line-height: 1.1;
        overflow-wrap: break-word;
    }

    .about-hero-content p {
        max-width: 600px;
        margin: 20px auto 0;
        font-size: 15px;
        line-height: 1.7;
    }

}


@media (max-width: 480px) {

    .about-hero {
        min-height: 470px;
    }

    .about-hero .container {
        min-height: 470px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .about-hero-content h1 {
        font-size: 36px;
        line-height: 1.12;
    }

    .about-hero-content p {
        font-size: 14px;
        line-height: 1.7;
    }

}


/* =========================================================
   CEO SECTION
========================================================= */

@media (max-width: 992px) {

    .ceo-section {
        padding: 80px 0;
    }

    .ceo-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 45px;
    }

}


@media (max-width: 768px) {

    .ceo-section {
        width: 100%;
        padding: 65px 0;
        overflow: hidden;
    }

    .ceo-section .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .ceo-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .ceo-visual {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .ceo-image-frame {
        width: 100%;
    }

    .ceo-image-frame img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .ceo-badge {
        max-width: calc(100% - 30px);
    }

    .ceo-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .ceo-content h2 {
        font-size: 34px;
        line-height: 1.15;
    }

    .ceo-content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .ceo-quote {
        width: 100%;
        max-width: 100%;
    }

    .ceo-signature {
        width: 100%;
        max-width: 100%;
    }

}


@media (max-width: 480px) {

    .ceo-section {
        padding: 55px 0;
    }

    .ceo-section .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .ceo-grid {
        gap: 30px;
    }

    .ceo-content h2 {
        font-size: 29px;
    }

    .ceo-content p {
        font-size: 14px;
    }

    .ceo-badge {
        padding: 12px;
    }

}


/* =========================================================
   WHO WE ARE
========================================================= */

@media (max-width: 768px) {

    .about-intro {
        width: 100%;
        padding: 60px 0;
        overflow: hidden;
    }

    .about-intro .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-intro-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .about-intro-content {
        width: 100%;
        min-width: 0;
    }

    .about-intro-content h2 {
        font-size: 34px;
        line-height: 1.15;
    }

    .about-intro-content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .about-highlight {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        margin-top: 20px;
    }

    .about-highlight p {
        font-size: 14px;
    }

    .about-intro-card {
        width: 100%;
        max-width: 100%;
        padding: 30px 22px;
    }

}


@media (max-width: 480px) {

    .about-intro {
        padding: 50px 0;
    }

    .about-intro .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .about-intro-content h2 {
        font-size: 29px;
    }

    .about-intro-content p {
        font-size: 14px;
    }

    .about-intro-card {
        padding: 25px 18px;
    }

}


/* =========================================================
   MISSION & VISION
========================================================= */

@media (max-width: 768px) {

    .mission-vision {
        width: 100%;
        padding: 60px 0;
        overflow: hidden;
    }

    .mission-vision .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mission-vision-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mission-card,
    .vision-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 28px 22px;
    }

    .mv-divider {
        display: none;
    }

    .mission-card h3,
    .vision-card h3 {
        font-size: 26px;
    }

    .mission-card p,
    .vision-card p {
        font-size: 14px;
        line-height: 1.7;
    }

}


@media (max-width: 480px) {

    .mission-vision {
        padding: 50px 0;
    }

    .mission-vision .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .mission-card,
    .vision-card {
        padding: 25px 18px;
    }

}


/* =========================================================
   CORE VALUES
========================================================= */

@media (max-width: 768px) {

    .core-values {
        width: 100%;
        padding: 60px 0;
        overflow: hidden;
    }

    .core-values .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .values-grid {
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .value-card {
        width: 100%;
        min-width: 0;
        padding: 22px 18px;
        display: flex;
        align-items: flex-start;
        gap: 13px;
    }

    .value-icon,
    .value-letter {
        flex-shrink: 0;
    }

    .value-content {
        min-width: 0;
        flex: 1;
    }

    .value-content h3 {
        font-size: 20px;
    }

    .value-content p {
        font-size: 14px;
        line-height: 1.65;
    }

}


@media (max-width: 480px) {

    .core-values {
        padding: 50px 0;
    }

    .core-values .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .value-card {
        padding: 20px 15px;
    }

    .value-content h3 {
        font-size: 18px;
    }

    .value-content p {
        font-size: 13px;
    }

}


/* =========================================================
   WHY CHOOSE JEMA
========================================================= */

@media (max-width: 768px) {

    .why-us {
        width: 100%;
        padding: 60px 0;
        overflow: hidden;
    }

    .why-us .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .why-grid {
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .why-card {
        width: 100%;
        min-width: 0;
        padding: 24px 20px;
    }

    .why-card h3 {
        font-size: 19px;
        line-height: 1.3;
    }

    .why-card p {
        font-size: 14px;
        line-height: 1.65;
    }

}


@media (max-width: 480px) {

    .why-us {
        padding: 50px 0;
    }

    .why-us .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .why-card {
        padding: 20px 17px;
    }

}


/* =========================================================
   ABOUT CTA
========================================================= */

@media (max-width: 768px) {

    .about-cta {
        width: 100%;
        overflow: hidden;
    }

    .about-cta .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-cta-content {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    .about-cta-content h2 {
        font-size: 34px;
        line-height: 1.15;
    }

    .about-cta-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .about-cta-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
    }

    .about-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

}


@media (max-width: 480px) {

    .about-cta-content h2 {
        font-size: 29px;
    }

    .about-cta-content p {
        font-size: 14px;
    }

    .about-cta-buttons {
        margin-top: 20px;
    }

}


/* =========================================================
   SERVICES PAGE — LIST OF SERVICES
========================================================= */

@media (max-width: 768px) {

    .services-list,
    .services-list-section {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .services-list .container,
    .services-list-section .container {
        width: 100%;
        max-width: 100%;
    }

    .services-list-grid,
    .services-list .services-grid,
    .services-list-section .services-grid {
        width: 100%;
        max-width: 100%;

        display: grid !important;
        grid-template-columns: 1fr !important;

        gap: 15px;
    }

    .services-list-grid > *,
    .services-list .services-grid > *,
    .services-list-section .services-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .services-list .service-card,
    .services-list-section .service-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        padding: 22px 20px;

        overflow: hidden;
    }
}


/* =========================================================
   SMALL MOBILE
   480px and below
========================================================= */

@media (max-width: 480px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    /* SECTION HEADINGS */

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: clamp(1.8rem, 8vw, 2.3rem);
    }

    .section-header p {
        font-size: 14px;
        line-height: 1.7;
    }


    /* SERVICES */

    .services,
    .doctors {
        padding: 3.5rem 0;
    }

    .service-card {
        padding: 1.75rem 1.25rem;
    }


    /* ABOUT */

    .about {
        padding: 3.5rem 0;
    }

    .about-grid {
        gap: 30px;
    }

    .about-image img {
        width: 100%;
        max-width: 100%;
    }

    .about-content h2 {
        font-size: clamp(1.8rem, 8vw, 2.3rem);
    }

    .about-content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .about-content .btn {
        width: 100%;
        justify-content: center;
    }


    /* STATISTICS */

    .statistics .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .stat-item {
        padding: 24px 6px;
    }

    .stat-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 8px;
    }

    .stat-icon i {
        font-size: 18px;
    }

    .stat-number {
        font-size: clamp(22px, 7vw, 30px);
        line-height: 1;
        margin-bottom: 6px;
    }

    .stat-item p {
        font-size: 11px;
        line-height: 1.3;
    }


    /* CTA */

    .cta-content h2,
    .home-cta-content h2 {
        font-size: clamp(1.8rem, 8vw, 2.3rem);
    }


    /* FOOTER */

    .footer {
        padding: 3.5rem 0 1.5rem;
    }

    .footer-grid {
        gap: 35px;
    }

    .footer-bottom {
        font-size: 13px;
    }


    /* ABOUT PAGE */

    .about-intro {
        padding: 50px 0;
    }

    .mission-vision,
    .core-values,
    .why-us {
        padding: 50px 0;
    }

    .about-intro-content h2 {
        font-size: clamp(1.8rem, 8vw, 2.3rem);
    }

    .mission-card,
    .vision-card {
        padding: 24px 18px;
    }

    .value-card {
        padding: 20px 16px;
    }

    .why-card {
        padding: 22px 18px;
    }
}


/* =========================================================
   VERY SMALL PHONES
   360px and below
========================================================= */

@media (max-width: 360px) {

    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .stat-item {
        padding: 20px 4px;
    }

    .stat-number {
        font-size: 21px;
    }

    .stat-item p {
        font-size: 10px;
    }

    .stat-icon {
        width: 34px;
        height: 34px;
    }

    .stat-icon i {
        font-size: 16px;
    }

    .service-card,
    .quick-card {
        padding: 1.5rem 1rem;
    }
}