:root {
    --primary-color: #F7941E;
    --secondary-color: #007BCE;
    --tertiary-color: #FFFFFF;
    --primary-font: 'Open Sans', sans-serif;
    --secondary-font: 'Lato', Helvetica, Arial, Lucida, sans-serif;
}

/* ============================================== */
body {
    /* background: url(../images/background/body.avif); */
    background-color: #fff;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: var(--primary-font);
    text-align: justify;
}

/* ============================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--secondary-font);
}

p {
    color: black;
    font-size: 16px;
}

/* .bg-light{
    background: #fffafa !important;
} */
/* ============================================= */
.hero {
    position: relative;
    height: 100dvh;
    overflow: hidden;
}

/* Background Video Styling */
.hero video {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Overlay Content */
.hero .overlay {
    z-index: 2;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    max-width: 700px;
    width: 90%;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

/* Text Styling */
.hero .overlay h1,
.hero .overlay p {
    color: var(--tertiary-color);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero .overlay h1 {
        font-size: 2rem;
    }

    .hero .overlay p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero .overlay {
        padding: 1.2rem;
    }
}


/* ===================================================================== */
.head-title h2 {
    font-family: var(--secondary-font);
    font-size: 26px;
    font-weight: 600;
    color: var(--primary-color);
}

.head-title span {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 50px;
    font-family: var(--secondary-font);
}

@media screen and (max-width: 768px) {
    .head-title h2 {
        font-size: 2rem;
    }

    .head-title span {
        font-size: 2rem;
    }
}

.underline {
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
    /* margin: auto; */
}

/* ============================================ */
.title {
    font-family: var(--secondary-font);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

@media screen and (max-width: 768px) {
    .title {
        font-size: 1rem;
    }
}

/* =============================================== */
/* .about-section{
    background: linear-gradient(rgba(83, 217, 237, 0.5), rgba(79, 240, 240, 0.5)), url(../images/background/1.png) no-repeat center center fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
} */
/* ------------  Collage tweaks  ------------ */
/* .about-section .image-stack {
    position: relative;
    width: 100%;
    height: 300px;
}

.about-section .image-stack .image {
    position: absolute;
    width: 70%;
    border-radius: 80px 0px 0px 0px;
    overflow: hidden;
}

.about-section .image-top {
    top: -30px;
    left: 0;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-section .image-bottom {
    bottom: -50px;
    right: 0;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .about-section .image-stack {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .about-section .image-stack .image {
        position: static;
        width: 100%;
        padding: 0;
        border-radius: 20px;
    }

    .about-section .image-top,
    .about-section .image-bottom {
        box-shadow: none;
    }
} */

/* =============================================== */
.about-section img {
    border-radius: 40px 0px 40px 0px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    width: 100%;
}

.about-section img:hover {
    transform: rotateX(8deg);
    /* box-shadow: 0 25px 35px rgba(0, 0, 0, 0.2); */
}

.products img {
    border-radius: 40px 0px 40px 0px;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    width: 100%;
}

.products img:hover {
    transform: rotateX(8deg);
    /* box-shadow: 0 25px 35px rgba(0, 0, 0, 0.2); */
}

/* ======================================================================= */
/* SECTION wrapper */
.products {
    position: relative;
    overflow: hidden;
}

/* video stays INSIDE section only */
.bg-video {
    position: absolute;
    /* relative to .products */
    inset: 0;
    /* shorthand for top:0; right:0; bottom:0; left:0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* fill section */
    z-index: -2;
    pointer-events: none;
    /* don’t block clicks */
}

/* optional dark overlay for legibility */
.bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
}

/* ==================================================== */
.product-slider .swiper-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}

/* ========================================== */

.why-choose .video-card {
    min-height: 220px;
    /* ensure a pleasant height */
}

.why-choose .video-card .bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: right center;
    pointer-events: none;
    z-index: -2;

}

.why-choose .video-card .bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: -1;
}

.why-choose .video-card:hover .bg-video {
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.video-card .content h5 {
    color: var(--primary-color);
    font-weight: 600;
}

.video-card .content p {
    color: black;
}

/* =============================================== */
.counter-box h2 {
    font-size: 48px;
    font-weight: bold;
    color: var(--tertiary-color);
    margin-bottom: 0.3rem;
}

.counter-box p {
    font-size: 16px;
    color: var(--tertiary-color);
}

.counter-section {
    background: linear-gradient(to right, #00529B, #007BCE);
}

/* =============================================================== */
/* ---- SECTION COLOURS ---- */
.r-d {
    background: #11333a;
    color: var(--tertiary-color);
}

/* ---- IMAGE SIZING / POSITION ---- */
.r-d .img-wrap {
    position: relative;
    overflow: visible;
}

.r-d .doctor-img {
    width: 200%;
    max-width: none;
    height: auto;
    transform: translateX(-10%);
}

/* <= LG screens: fall back to normal size */
@media (max-width:992px) {
    .r-d .doctor-img {
        width: 150%;
        transform: none;
    }
}

@media screen and (max-width: 768px) {
    .r-d .doctor-img {
        width: 100%;
        transform: none;
    }

}

/* ---- CARD TYPOGRAPHY ---- */
.r-d .card {
    border: 0;
    border-radius: 8px;
    min-height: 160px;
    text-align: center;
}

.r-d .card h5 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.r-d .card h6 {
    font-size: 20px;
    color: var(--secondary-color);
    line-height: 1.3;
}

/* optional hover lift */
.r-d .card:hover {
    transform: translateY(-6px);
    transition: .3s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

/* ======================================================= */
/* ---------- SECTION BACKDROP ---------- */
.career {
    background: #002731;
    /* fallback */
    background: linear-gradient(135deg, #003c4d 0%, #01212a 40%, #001417 100%);
    overflow: hidden;
}

/* Optional abstract blob */
.career-blob {
    position: absolute;
    top: -120px;
    right: -140px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, #0ab1ff, transparent 70%);
    filter: blur(100px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

/* ---------- HEADINGS & TEXT ---------- */
.career h2 span {
    color: #0ab1ff;
}

.career p.lead {
    font-size: 1.1rem;
}

.career ul i {
    font-size: 1.3rem;
}

/* ---------- IMAGE CARD ---------- */
.img-card {
    position: relative;
    border-radius: 40px 0 40px 0;
    overflow: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .5);
}

.career-img {
    width: 100%;
    height: auto;
    transition: transform .6s ease, filter .6s ease;
    transform-origin: center;
}

/* subtle parallax + tilt on hover */
.img-card:hover .career-img {
    transform: rotateX(8deg) translateZ(30px) scale(1.02);
    filter: brightness(1.05) saturate(1.1);
}

/* ---------- BUTTON ---------- */
.career .btn-primary {
    background: #0ab1ff;
    border: none;
}

.career .btn-primary:hover {
    background: #0692d6;
}

/* ---------- RESPONSIVE TWEAKS ---------- */
@media (max-width: 992px) {
    .career h2 {
        font-size: 2rem;
    }

    .img-card {
        margin-bottom: 2rem;
    }
}

/* ========================================= */

/* ---------- SECTION BACKDROP ---------- */


/* ---------- Left column “glass” card ---------- */
.glass-card {
    background: #001c24;
    background: linear-gradient(135deg, #002933 0%, #00141a 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .45);
}

/* ---------- Contact text & icons ---------- */
.contact-info p {
    font-size: 1rem;
    margin-bottom: 14px;
    color: #e0f5ff;
    transition: .25s;
}

.contact-info i {
    color: var(--tertiary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.contact-info i:hover {
    transform: translateY(-3px);
    color: #fff;
}

.contact-info p:hover {
    transform: translateX(4px);
    color: #fff;
}

/* ---------- Social icons ---------- */


/* ---------- Form box ---------- */
.contact-form {
    background: url(../images/background/contact.avif);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .4);
}

.contact-form h4 {
    color: #002d3a;
    font-weight: 700;
}

.contact-form label {
    color: black;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-form .form-control {
    border-radius: 1px;
    border: 1px solid black;
    background: var(--tertiary-color);
    color: #002d3a;
    transition: border-color .25s, box-shadow .25s;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 177, 255, .25);
}

/* ---------- Button ---------- */
.contact-form .btn-primary {
    position: relative;
    background: #0ab1ff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: .3px;
    overflow: hidden;
}

.contact-form .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .25);
    transform: skewX(-20deg);
    transition: .45s;
}

.contact-form .btn-primary:hover {
    background: #0793d3;
}

.contact-form .btn-primary:hover::after {
    left: 130%;
}

/* ---------- Small screens ---------- */
@media (max-width: 767.98px) {

    .contact-info,
    .contact-form {
        margin-top: 1rem;
    }

    .glass-card {
        border-radius: 16px;
    }
}

/* ========================================= */

/* ============================================== */
.mission-vission .card {
    border: none;
    border-radius: 0px;
    background: transparent;
    transition: all 0.7s ease;
}

.mission-vission .card:hover {
    background: var(--primary-color);
    border: 0px;
    color: var(--tertiary-color);
    transition: all 0.7s ease;
}

.mission-vission .card:hover .card-title,
.mission-vission .card:hover .card-text {
    color: var(--tertiary-color);
}

.mission-vission .card .icon i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-size: 36px;
}

.mission-vission .card:hover .icon i {
    transform: scale(1.2);
    color: var(--tertiary-color);
}

/* ============================================= */
.leader {
    font-weight: 600;
    color: red;
    font-style: italic;
}

/* ============================================ */
.corner-card {
    background: transparent;
    border: none;
    border-radius: 0px;
    transition: all 0.7s ease;
    text-align: center;
}

.corner-card:hover {
    background: var(--primary-color);
    border: 0px;
    color: var(--tertiary-color);
    transition: all 0.7s ease;
}

.corner-card:hover p {
    color: var(--tertiary-color);
}

.corner-card i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-size: 36px;
}

.corner-card:hover i {
    transform: scale(1.2);
    color: var(--tertiary-color);
}

/* =========================================== */

/* ========================================= */
/* Gradient icon circle */

/* Card border open corner */
.focus-area .corner-card {
    position: relative;
    background: transparent;
    border: 2px solid transparent;
}

.focus-area .corner-card {
    transition: all 0.7s ease;
}

.focus-area .corner-card:hover {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--tertiary-color);
    transition: all 0.7s ease;
}

.focus-area .corner-card:hover p {
    color: var(--tertiary-color);
}

.focus-area .corner-card i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-size: 36px;
}

.focus-area .corner-card:hover i {
    transform: scale(1.2);
    color: var(--tertiary-color);
}

/* Hover animation */
.focus-area .hover-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.focus-area .hover-up:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.focus-area .hover-up:hover .icon-circle {
    transform: scale(1.1);
}


/* ===================================================== */
.get-in-touch-section {
    background: url('../images/background/1.png') center center/cover no-repeat;
    position: relative;
    z-index: 1;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.get-in-touch-section .overlay {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: -1;
}

/* Highlighted word */
.get-in-touch-section .highlight {
    color: #ffc107;
    text-decoration: underline;
}

/* Button Glow Effect */
.btn-glow {
    background-color: #fff;
    color: #0d6efd;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-glow:hover {
    background-color: #0d6efd;
    color: #fff;
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.7);
    transform: scale(1.05);
}

/* ================================================== */
.product-card img {
    max-height: 130px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* ========== Swiper Nav Buttons ========== */
.swiper-button-next,
.swiper-button-prev {
    width: 44px;
    height: 44px;
    /* background: red; */
    /* subtle blue tint */
    border-radius: 50%;
    /* border: 1px solid rgba(0, 123, 255, 0.25); */
    color: var(--tertiary-color);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    /* background: var(--primary-color); */
    color: #fff;
    transform: scale(1.1);
    /* border-color: red; */
}

/* Optional: make icons bold */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: 600;
}

/* Adjust position */
.general-swiper .swiper-button-next,
.general-swiper .swiper-button-prev,
.special-swiper .swiper-button-next,
.special-swiper .swiper-button-prev {
    top: 35%;
}

.swiper-button-prev {
    left: -12px;
}

.swiper-button-next {
    right: -12px;
}

/* Responsive fix for small screens */
@media (max-width: 576px) {

    .swiper-button-next,
    .swiper-button-prev {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* ========================================= */




/* ================================================= */
.guidance-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.guidance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.guidance-section {
    background: url('../images/background/5.avif') center center/cover no-repeat;

}

.guidance-card i {
    font-size: 20px;
}

/* ========================================================================== */
.custom-btn {
    position: relative;
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.custom-btn span {
    position: relative;
    z-index: 2;
}

.custom-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.4s ease-in-out;
    z-index: 1;
    border-radius: 50px;
}

.custom-btn:hover::before {
    left: 0;
}

.custom-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

/* =============================================== */
.trust-certifications h2 span {
    color: var(--primary-color, #007bff);
}

.cert-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.cert-img {
    max-height: 80px;
    object-fit: contain;
}

/* ==================================== */
.leadership,
.overview {
    background: url(../images/background/5.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed
}