@media(max-width:991px){

    .hero-section{
        padding:140px 0 80px;
        text-align:center;
    }

    .hero-section h1{
        font-size:52px;
    }

    .hero-section p{
        margin:auto;
        margin-top:25px;
    }

    .hero-image{
        max-width:380px;
        margin-top:50px;
    }

    .glow-circle{
        width:360px;
        height:360px;
    }

    .about-section,
    .offerings-section,
    .why-section{
        padding:80px 0;
    }

}

@media(max-width:576px){

   
    .hero-section h1{
        font-size:38px;
    }

    .hero-section p{
        font-size:16px;
    }

    .primary-btn,
    .secondary-btn{
        width:100%;
        margin-bottom:15px;
    }

    .hero-image{
        max-width:280px;
    }

    .glow-circle{
        width:260px;
        height:260px;
    }

    .about-section h2,
    .offerings-section h2,
    .why-section h2{
        font-size:34px;
    }

    .about-card{
        height:300px;
    }

}
@media(max-width:991px){

    .hero-row{
        padding-top:140px;
        text-align:center;
    }

    .hero-section h1{
        font-size:52px;
    }

    .hero-graphic-wrapper{
        height:500px;
        margin-top:50px;
    }

    .main-circle{
        width:350px;
        height:350px;
    }

    .ring-circle{
        width:280px;
        height:280px;
        border-width:25px;
    }

    .center-graphic{
        width:260px;
    }

}

@media(max-width:576px){

    .navbar-brand img{
    height:100px;
    width:auto;
    object-fit:contain;
}


    .hero-section h1{
        font-size:38px;
    }

    .hero-graphic-wrapper{
        height:380px;
    }

    .main-circle{
        width:260px;
        height:260px;
    }

    .ring-circle{
        width:220px;
        height:220px;
    }

    .center-graphic{
        width:200px;
    }

    .capsule{
        width:70px;
        height:30px;
    }

    .floating-card{
        padding:10px 18px;
        font-size:12px;
    }

    .map-wrapper{
        height:350px;
    }

}
@media(max-width:991px){

    .hero-row{
        padding-top:140px;
        text-align:center;
    }

    .hero-section h1{
        font-size:56px;
    }

    .hero-medical-wrapper{
        height:650px;
        margin-top:60px;
    }

    .medical-ring{
        width:400px;
        height:400px;
    }

    .medical-center{
        width:300px;
        height:300px;
    }

    .medical-products{
        width:240px;
    }

    .medical-label{
        width:100px;
        height:100px;
    }

    .medical-label span{
        font-size:16px;
    }

}

@media(max-width:576px){

  
    .hero-section h1{
        font-size:38px;
    }
    .hero-section{
    padding-top:30px !important;
}

.hero-row{
    padding-top:30px !important;
}

.hero-content{
    margin-top:0 !important;
}

    .hero-section p{
        font-size:16px;
    }

    .hero-medical-wrapper{
    height:480px;
    margin-top:20px !important;
}
    .medical-ring{
        width:260px;
        height:260px;
        border-width:18px;
    }

    .medical-center{
        width:190px;
        height:190px;
    }

    .medical-products{
        width:150px;
    }

    .medical-label{
        width:70px;
        height:70px;
    }

    .label-icon{
        font-size:20px;
    }

    .medical-label span{
        font-size:10px;
    }
    .rd-hero-section{
    padding-top: 40px !important;
    padding-bottom: 60px !important;
}

.rd-hero-section .row{
    row-gap: 20px;
}

.rd-hero-section h1{
    font-size: 42px !important;
    line-height: 1.05 !important;
    letter-spacing: -1.5px;
    margin-bottom: 20px !important;
}

.rd-hero-content p{
    font-size: 17px;
    line-height: 1.9;
}
.contact-hero-section{
    display:none;
}
.rd-title{
    font-size:42px !important;
    line-height:1.08 !important;
    letter-spacing:-1.5px !important;
}

.rd-capabilities-grid{
    display:grid !important;
    grid-template-columns:repeat(2, 1fr) !important;
    gap:14px !important;
}
.rd-card{
    padding:20px 20px !important;
    border-radius:28px !important;
    min-height:auto !important;
}

.rd-card h4{
    font-size:14px !important;
    line-height:1.3 !important;
    margin-bottom:14px !important;
}

.rd-card p{
    font-size:15px !important;
    line-height:1.8 !important;
}

.rd-icon{
    width:72px !important;
    height:72px !important;
    margin-bottom:22px !important;
}

.rd-icon i{
    font-size:28px !important;
}
/* R&D mobile fixes */

.rnd-focus-section .section-title,
.innovation-section .section-title,
.focus-section .section-title{
    font-size:26px !important;
    line-height:1.08 !important;
    letter-spacing:-1.5px !important;
    text-align:center !important;
}

.rnd-focus-section .section-head,
.innovation-section .section-head,
.focus-section .section-head{
    margin-bottom:40px !important;
    text-align:center !important;
}

.focus-grid,
.innovation-grid,
.rnd-focus-grid{
    grid-template-columns:1fr !important;
    gap:20px !important;
}

.focus-card,
.innovation-card,
.rnd-focus-card{
    width:100% !important;
    min-width:100% !important;
    padding:30px 22px !important;
    border-radius:28px !important;
    min-height:auto !important;
}

.focus-card h4,
.innovation-card h4,
.rnd-focus-card h4{
    font-size:14px !important;
    line-height:1.3 !important;
    margin-bottom:18px !important;
}

.focus-card p,
.innovation-card p,
.rnd-focus-card p{
    font-size:15px !important;
    line-height:1.8 !important;
}

.focus-icon,
.innovation-icon,
.rnd-focus-icon{
    width:90px !important;
    height:90px !important;
    margin:0 auto 24px !important;
}

.focus-card,
.innovation-card,
.rnd-focus-card{
    text-align:center !important;
}
}

/* =========================================
MOBILE MENU FIX
========================================= */

@media(max-width:768px){

    .custom-navbar{
        position:relative;
        z-index:99999;
    }

    .navbar-collapse{

        position:absolute;

        top:82px;

        right:15px;

        left:auto;

        width:260px;

        background:#ffffff;

        padding:24px;

        border-radius:24px;

        box-shadow:0 20px 60px rgba(0,0,0,0.15);

        z-index:999999;

        border:1px solid #edf2f7;

    }

    .navbar-nav{

        gap:14px;
    }

    .navbar-nav .nav-link{

        margin-left:0;

        padding:8px 0;

        font-size:18px;

        font-weight:600;

        color:#0b4f8a !important;
    }

    .contact-btn{

        width:100%;

        margin-left:0;

        margin-top:15px;

        text-align:center;
    }
}
/* =========================================
ABOUT PAGE MOBILE/TABLET FIXES
========================================= */

@media(max-width:768px){

    /* =========================
       STICKY HEADER
    ========================= */

    .custom-navbar{

        position:fixed;

        top:0;
        left:0;

        width:100%;

        z-index:999999;
    }

    body{

        padding-top:82px;
    }

    /* =========================
       ABOUT HERO
    ========================= */

    .about-hero-section{

        padding:40px 0 50px !important;
    }

    .about-hero-section .container{

        padding-top:0 !important;
    }

    .about-hero-section .row{

        margin-top:0 !important;

        align-items:center;
    }

    /* HERO TITLE */

    .about-hero-section h1{

        font-size:58px !important;

        line-height:1.02 !important;

        letter-spacing:-2px !important;

        margin-bottom:24px !important;
    }

    /* HERO TEXT */

    .about-hero-section p{

        font-size:17px !important;

        line-height:1.9 !important;
    }

    /* =========================
       PRINCIPLES THAT DEFINE US
    ========================= */

    .about-values-section h2{

        font-size:42px !important;

        line-height:1.12 !important;

        text-align:center;
    }

}
@media(max-width:768px){

    .vision-section h2{

        font-size:42px !important;

        line-height:1.08 !important;

        letter-spacing:-1.5px !important;
    }

}

/* =========================================
GLOBAL MOBILE OVERFLOW FIX
========================================= */

@media(max-width:768px){

    html,
    body{
        overflow-x:hidden !important;
        width:100%;
    }

    section{
        overflow:hidden;
    }

    .container{
        max-width:100% !important;
        overflow:hidden;
    }

    .row{
        margin-left:0 !important;
        margin-right:0 !important;
    }

    h1,
    h2,
    h3,
    h4,
    p{
        word-break:break-word;
    }

    .rd-hero-section h1{
        font-size:34px !important;
        line-height:1.1 !important;
        letter-spacing:-1px !important;
    }

}
/* =========================================
PRODUCTS PAGE MOBILE FINAL FIXES
========================================= */

@media(max-width:768px){

    /* PRODUCT SECTIONS */

    .product-block-section{
        padding:45px 0 !important;
    }

    .product-block-section .row{
        row-gap:24px !important;
    }

    /* PRODUCT TITLES */

    .product-content-card h2{
        font-size:32px !important;
        line-height:1.08 !important;
        letter-spacing:-1px !important;
        margin-bottom:24px !important;
    }

    /* PRODUCT TEXT */

    .product-content-card p{
        font-size:16px !important;
        line-height:1.8 !important;
        margin-top:18px !important;
        margin-bottom:18px !important;
    }

    /* LIST SPACING */

    .product-list{
        margin-bottom:18px !important;
    }

    .product-list li{
        font-size:16px !important;
        margin-bottom:12px !important;
    }

    /* PRODUCT IMAGE */

    .product-image-card{
        margin-top:0 !important;
    }

    /* VALUE ADDED SERVICES SECTION */

    .rd-capabilities-section{
        padding-top:50px !important;
        padding-bottom:50px !important;
    }

    /* VALUE ADDED SERVICES TITLE */

    .rd-title{
        font-size:34px !important;
        line-height:1.08 !important;
        letter-spacing:-1px !important;
        margin-top:14px !important;
        margin-bottom:0 !important;
    }

}
/* =========================================
R&D PAGE MOBILE FINAL FIXES
========================================= */

@media(max-width:768px){

    /* =================================
       SECTION SPACING
    ================================= */

    .rd-capabilities-section,
    .rd-focus-section,
    .rd-collaboration-section,
    .rnd-gallery-section{

        padding-top:50px !important;
        padding-bottom:50px !important;
    }

    .rd-capabilities-section .container,
    .rd-focus-section .container,
    .rd-collaboration-section .container,
    .rnd-gallery-section .container{

        padding-top:0 !important;
        padding-bottom:0 !important;
    }

    /* =================================
       ALL R&D SECTION TITLES
    ================================= */

    .rd-title,
    .rd-focus-section h2,
    .rd-collaboration-section h2,
    .rnd-gallery-section h2{

        font-size:34px !important;
        line-height:1.08 !important;
        letter-spacing:-1px !important;
        margin-top:14px !important;
        margin-bottom:18px !important;
    }

    /* =================================
       SECTION HEADINGS SPACING
    ================================= */

    .rd-focus-section .mb-5,
    .rd-capabilities-section .mb-5,
    .rnd-gallery-section .section-heading{

        margin-bottom:30px !important;
    }

    /* =================================
       INNOVATION AREA GRID
       2 x 3 CARDS
    ================================= */

    .rd-focus-grid{

        display:grid !important;

        grid-template-columns:repeat(2, 1fr) !important;

        gap:14px !important;
    }

    /* =================================
       FOCUS CARDS
    ================================= */

    .focus-card{

        width:100% !important;

        min-width:0 !important;

        padding:24px 16px !important;

        border-radius:26px !important;

        min-height:auto !important;

        text-align:center !important;
    }

    /* =================================
       CARD ICONS
    ================================= */

    .focus-icon{

        width:72px !important;

        height:72px !important;

        margin:0 auto 18px !important;
    }

    .focus-icon i{

        font-size:26px !important;
    }

    /* =================================
       CARD TITLES
    ================================= */

    .focus-card h4{

        font-size:18px !important;

        line-height:1.35 !important;

        margin-bottom:14px !important;
    }

    /* =================================
       CARD TEXT
    ================================= */

    .focus-card p{

        font-size:14px !important;

        line-height:1.7 !important;

        margin-bottom:0 !important;
    }

    /* =================================
       COLLABORATION SECTION
    ================================= */

    .rd-collaboration-section p{

        font-size:15px !important;

        line-height:1.8 !important;

        margin-bottom:24px !important;
    }

    .rd-collaboration-section .row{

        row-gap:24px !important;
    }

}
/* =========================================
SMALL LAPTOP TYPOGRAPHY FIX
========================================= */




    /* HERO */

    .hero-section h1{
        font-size:64px !important;
        line-height:0.95 !important;
        letter-spacing:-2px !important;
    }

    .hero-section p{
        font-size:16px !important;
        line-height:1.8 !important;
    }

    .hero-buttons .btn{
        font-size:14px !important;
        padding:14px 28px !important;
    }

    /* SECTION HEADINGS */

    .about-section h2,
    .offerings-section h2,
    .global-section h2,
    .why-section h2{
        font-size:52px !important;
        line-height:1.05 !important;
        letter-spacing:-1.5px !important;
    }

    /* SECTION PARAGRAPHS */

    .about-section p,
    .global-section p,
    .why-description{
        font-size:15px !important;
        line-height:1.9 !important;
    }

    /* OFFERING CARDS */

    .offering-card h3{
        font-size:24px !important;
        line-height:1.2 !important;
    }

    .offering-card p{
        font-size:14px !important;
        line-height:1.7 !important;
    }

    /* WHY CARDS */

    .why-card h5{
        font-size:22px !important;
        line-height:1.2 !important;
    }

    .why-card p{
        font-size:14px !important;
        line-height:1.7 !important;
    }

    /* GLOBAL FEATURE BOXES */

    .global-feature span{
        font-size:13px !important;
    }

    /* MARQUEE */

    .marquee-item span{
        font-size:28px !important;
    }

}
    /* SECTION SPACING */



    .about-section,
    .offerings-section,
    .global-section,
    .why-section{
        padding-top:70px !important;
        padding-bottom:70px !important;
    }

    /* SECTION HEADERS */

    .section-header{
        margin-bottom:45px !important;
    }

    /* ABOUT SECTION */

    .about-section .row{
        row-gap:40px !important;
    }

    /* GLOBAL SECTION */

    .global-section .row{
        row-gap:40px !important;
    }

    /* WHY SECTION */

    .why-section .row{
        row-gap:40px !important;
    }

    /* CARD SPACING */

    .offering-card,
    .why-card{
        padding-top:28px !important;
        padding-bottom:28px !important;
    }

    /* MARQUEE */
    .healthcare-marquee{
        margin-top:50px !important;
    }
@media (min-width: 992px) and (max-width: 1280px){

    .hero-medical-wrapper{
        transform: scale(0.88) translateX(35px) !important;
        transform-origin: center center;
    }

    /* BADGES POSITIONED ON RING */

    .api-badge{
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
    }

    .pharma-badge{
        top: 70px;
        right: -18px;
    }

    .surgical-badge{
        left: -18px;
        top: 215px;
    }

    .nutra-badge{
        right: -18px;
        bottom: 75px;
    }

    .personalcare-badge{
        bottom: -18px;
        left: 50%;
        transform: translateX(-50%);
    }

}
