* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.navbar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eee;
    position: fixed;   /* 🔥 changed */
    top: 0;            /* 🔥 added */
    left: 0;           /* 🔥 added */
    z-index: 1000;
    height: 90px; /* adjust based on your design */
}

body {
    padding-top: 100px; 
    overflow-x: hidden; 
}

/* NAV CONTAINER FIX */
.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 10px 20px;

    display: flex;
    align-items: center;
    justify-content: flex-start;  /* 🔥 CHANGE THIS */
    gap: 50px; /* 🔥 controls space between logo & menu */
}

/* LOGO */
.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;        /* slightly increased */
    padding: 7px 15px; /* adds height & width */
}

.logo-icon {
    width: 180.5px;
}
.logo-icons {
    width: 100px;
}


.logo-texts {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e5fae;
}

.logo-sub {
    font-size: 15px;
    letter-spacing: 1px;
}


/* DESKTOP */
.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

/* HAMBURGER HIDDEN BY DEFAULT */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}
.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    font-weight: 500;
    transition: 0.3s;
}

/* Hover effect */
.nav-menu a:hover {
    color: #1e90ff;
}

/* ACTIVE PAGE */
.nav-menu a.active {
    color: #1e90ff;
    font-weight: 700;
    border-bottom: 2px solid #1e90ff;
    padding-bottom: 3px;
}
/* BUTTON */
.nav-btn {
    background: #1e90ff;
    color: #fff;
    padding: 10px 22px;
    font-size: 20px;
    border-radius: 6px;
    text-decoration: none;

    margin-left: 85px; /* 🔥 adds space from Contact */
}

/* MAIN HERO */
/* MAIN SECTION */
.med-banner {
    position: relative;
    min-height: 100vh;

    background: url('../images/home.png') no-repeat center center;
    background-size: cover;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px 20px;
    overflow: hidden;
}

/* GLASS CARD */
.med-banner-glass {
    position: relative;
    z-index: 2;

    width: 750px;
    max-width: 100%;

    padding: 50px 40px;
    text-align: center;
    color: #fff;

    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-radius: 20px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* TITLE */
.med-banner-glass h1 {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;

    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/* HIGHLIGHT */
.med-yellow {
    color: #ffd300 !important;
    font-weight: 800;
}

/* PARAGRAPH */
.med-banner-glass p {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.7;

    color: rgba(255,255,255,0.95);
    margin: 20px 0;

    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* BUTTON */
.med-banner-btn {
    background-color: #2e86ff;
    color: #fff;

    padding: 14px 35px;
    font-size: 16px;

    font-weight: 600;
    border-radius: 30px;

    display: inline-block;
    transition: 0.3s;
}

.med-banner-btn:hover {
    background-color: #1b4fbd;
}
/* 1st end */
/* SECTION */
/* SECTION */
/* SECTION */
/* .landing {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    animation: bgFade 0.6s ease-in-out;
} */

/* BACKGROUND FADE */
/* @keyframes bgFade {
    from { opacity: 0; }
    to { opacity: 1; }
} */

/* ================= IMAGES ================= */

/* .landing-img {
    position: absolute;
    height: 120%;
    width: auto;
    object-fit: cover;
    pointer-events: none;

    opacity: 0;
} */

/* LEFT DNA */
/* .left-img {
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-80px);

    animation: slideLeft 0.6s ease-out forwards;
    animation-delay: 0.6s;
} */

/* RIGHT MICROSCOPE */
/* .right-img {
    right: -40px;
    top: 50%;
    transform: translateY(-50%) translateX(80px);

    animation: slideRight 0.6s ease-out forwards;
    animation-delay: 0.6s;
} */

/* IMAGE ANIMATION */
/* @keyframes slideLeft {
    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
} */

/* ================= CONTENT ================= */

/* .landing-content {
    position: relative;
    z-index: 2;
    text-align: center;

    opacity: 0;
    transform: translateY(30px);

    animation: fadeUp 0.6s ease-out forwards;
    animation-delay: 0.6s;
} */

/* TEXT ANIMATION */
/* @keyframes slideIn {
    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
} */

/* ================= GLASS BOX ================= */

/* .glass-box {
    width: 1000px;
    max-width: 96%;
    min-height: 520px;
    padding: 90px 100px;

    border-radius: 16px;

    
    background: rgba(10, 40, 90, 0.55);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(255,255,255,0.05);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
} */

/* ================= TEXT ================= */

/* .landing h1 {
    font-size: 64px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.highlight {
    color: #ffd400 !important;
}

.landing p {
    margin: 20px 0;
    font-size: 19px;
    color: #e0e0e0;
    max-width: 750px;
} */

/* ================= BUTTON ================= */

/* .btn {
    padding: 14px 30px;
    background: linear-gradient(90deg, #2b7cff, #1e5eff);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    cursor: pointer;
} */


/* ================= LANDING ================= */

/* ================= LANDING ================= */

.landing { position: relative; width: 100%; min-height: 100vh; /* ✅ FIX */ overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 40px 20px; /* ✅ add spacing */ animation: bgFade 0.6s ease-in-out; } /* BACKGROUND FADE */ @keyframes bgFade { from { opacity: 0; } to { opacity: 1; } } /* ================= IMAGES ================= */ .landing-img { position: absolute; height: 90%; /* ✅ reduce size */ width: auto; object-fit: contain; pointer-events: none; opacity: 0; } /* LEFT */ .left-img { left: 0; top: 50%; transform: translateY(-50%) translateX(-50px); animation: slideLeft 0.6s ease-out forwards; animation-delay: 0.6s; } /* RIGHT */ .right-img { right: 0; top: 50%; transform: translateY(-50%) translateX(50px); animation: slideRight 0.6s ease-out forwards; animation-delay: 0.6s; } @keyframes slideLeft { to { transform: translateY(-50%) translateX(0); opacity: 1; } } @keyframes slideRight { to { transform: translateY(-50%) translateX(0); opacity: 1; } } /* ================= CONTENT ================= */ .landing-content { position: relative; z-index: 2; text-align: center; opacity: 0; transform: translateY(30px); animation: fadeUp 0.6s ease-out forwards; animation-delay: 0.6s; } @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } } /* ================= GLASS BOX ================= */ .glass-box { width: 900px; max-width: 95%; padding: 50px 40px; /* ✅ reduced */ border-radius: 16px; background: rgba(10, 40, 90, 0.55); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255,255,255,0.05); display: flex; flex-direction: column; align-items: center; } /* ================= TEXT ================= */ /* ================= TEXT ================= */ .landing h1 { font-size: 48px; /* ✅ reduced */ color: #fff; line-height: 1.3; } .highlight { color: #ffd400; } .landing p { margin: 18px 0; font-size: 17px; color: #e0e0e0; max-width: 650px; } /* ================= BUTTON ================= */ .btn { padding: 12px 26px; background: linear-gradient(90deg, #2b7cff, #1e5eff); border-radius: 8px; color: white; }

/* 2ND */
.med-metrics-zone {
    width: 100%;
    min-height: 500px;

    /* 🔥 YELLOW BACKGROUND */
    background-color: #f4c400;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px 20px;
}
/* 3rd */
/* CARD */
/* ================= SECTION ================= */
.med-services-zone {
    text-align: center;
    padding: 60px 20px;
}

/* ================= TEXT ================= */
.med-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 16px;
}

.med-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.med-desc {
    font-size: 20px;
    color: #777;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* ================= CARD ROW ================= */
.med-card-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
}

/* ================= CARD ================= */
.med-card {
    position: relative;
    width: 320px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
}

/* BACKGROUND IMAGE */
.med-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= CARD CONTENT ================= */
.med-card-content {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    padding: 140px 20px 30px;
    text-align: center;
    color: #fff;
}

/* TITLE */
.med-card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* TEXT */
.med-card-content p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* ================= BUTTON ================= */
.med-btn {
    background: #ffffff;
    color: #1e5fae;
    padding: 10px 16px;
    font-size: 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.med-btn:hover {
    background: #e6e6e6;
}

/* 4th */
/* ================= SECTION ================= */
.med-why-zone {
    padding: 70px 20px;
    background:  #eaf6ff;
}

/* ================= WRAPPER ================= */
.med-why-wrap {
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 40px;
}

/* ================= LEFT ================= */
.med-why-left {
    flex: 1;
}

.med-why-left h2 {
    color: #1e4fa3;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.med-why-desc {
    color: #333;
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ================= FEATURES ================= */
.med-why-features {
    list-style: none;
    margin-bottom: 30px;
}

.med-why-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16.5px;
    color: #333;
}

/* NUMBER BOX */
.med-why-features li span {
    background: #1e90ff;
    color: #fff;
    font-weight: bold;
    border-radius: 20px;
    padding: 6px 10px;
    margin-right: 10px;
    font-size: 13px;
}

/* ================= BUTTON ================= */
.med-why-btn {
    background: #1e4fa3;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.med-why-btn:hover {
    background: #163d80;
}

/* ================= RIGHT ================= */
.med-why-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.med-why-right img {
    width: 100%;
    max-width: 550px;
    height: auto;
    object-fit: contain;
}

/* 5th */
/* ================= SECTION ================= */
.med-review-zone {
    background: #1f4d7a;
    padding: 70px 20px;
    text-align: center;
}

/* ================= TOP TEXT ================= */
.med-review-top h4 {
    color: #ffffff;
    font-size: 19.5px;
    margin-bottom: 10px;
}

.med-review-top h1 {
    color: #ffc107;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
}

.med-review-top p {
    color: #d0e3ff;
    max-width: 750px;
    margin: auto;
    font-size: 18px;
    line-height: 1.6;
}

/* ================= GRID ================= */
.med-review-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

/* ================= IMAGE ================= */
.med-review-grid img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    object-fit: contain;
    transition: 0.3s;
}

/* HOVER */
.med-review-grid img:hover {
    transform: translateY(-8px);
}

/* 6th */
/* ================= SUBSCRIBE SECTION ================= */
.subscribe-section {
    background: #eef3f8;
    padding: 80px 20px;
}

/* MAIN BOX */
.subscribe-box {
    max-width: 750px;
    margin: auto;

    display: flex;                /* 🔥 IMPORTANT */
    flex-direction: column;       /* 🔥 STACK */
    align-items: center;          /* 🔥 CENTER */
    text-align: center;
}

/* ICON */
.mail-icon {
    width: 60px;
    margin-bottom: 15px;

    display: block;
}

/* TITLE */
.subscribe-box h2 {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    color: #1f3c5a;
    margin-bottom: 12px;
}

/* TEXT */
.subscribe-box p {
    color: #6b7c93;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 600px;
}

/* FORM */
.subscribe-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* INPUT */
.subscribe-form input {
    padding: 14px 18px;
    border: none;
    border-radius: 8px;

    width: 300px;   /* 🔥 FIX WIDTH */

    background: #dbe3ec;
    outline: none;
    font-size: 16px;
}

/* BUTTON */
.subscribe-form button {
    padding: 14px 26px;
    background: #2d6cdf;
    color: #fff;

    border: none;
    border-radius: 8px;
    cursor: pointer;

    font-weight: 600;
}

/* 7th */
.cta-section {
    background: url('../images/blueback.png') no-repeat center center/cover;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* OPTIONAL LIGHT OVERLAY (for clarity like design) */
.cta-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.5); /* 👈 adjust if needed */
    top: 0;
    left: 0;
}

/* CONTENT */
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

/* HEADING */
.cta-content h1 {
    font-size: 36px;
    color: #1e4fa3;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* PARAGRAPH */
.cta-content p {
    font-size: 19px;
    color: #333;
    margin-bottom: 30px;
}

/* BUTTONS */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* COMMON BUTTON */
.btn {
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

/* WHITE BUTTON */
.white-btn {
    background: #ffffff;
    color: #1e4fa3;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* BLUE BUTTON */
.blue-btn {
    background: linear-gradient(90deg, #4da3ff, #1e4fa3);
    color: #ffffff;
}






/* RESPONSIVE */

/* ================= RESPONSIVE ================= */

/* TABLET */
/* @media (max-width: 992px) {

    .glass-box {
        width: 700px;
        min-height: 350px;
        padding: 40px;
    }

    .landing h1 {
        font-size: 36px;
    }

    .left-img {
        transform: translateY(-50%) translateX(-40px);
        height: 90%;
    }

    .right-img {
        transform: translateY(-50%) translateX(40px);
        height: 90%;
    }
} */

/* MOBILE */
/* @media (max-width: 768px) {

    .glass-box {
        width: 100%;
        min-height: auto;
        padding: 25px;
    }

    .landing h1 {
        font-size: 28px;
    }

    .landing p {
        font-size: 14px;
    }

    .landing-img {
        display: none;
    }
} */

/* SMALL MOBILE */
/* @media (max-width: 480px) {

    .landing h1 {
        font-size: 22px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
} */
/*1st end */
/* media query */
/* @media (max-width: 768px) {
    .med-banner-glass {
        padding: 30px 20px;
    }

    .med-banner-glass h1 {
        font-size: 30px;
    }

    .med-banner-glass p {
        font-size: 14px;
    }
} */

/* @media (max-width: 480px) {
    .med-banner-glass {
        width: 90%;
    }

    .med-banner-glass h1 {
        font-size: 24px;
    }

    .med-banner-btn {
        width: 100%;
    } */


    /* ================= TABLET (<=768px) ================= */

/* ================= TABLET FIX (🔥 MAIN FIX) ================= */

@media (max-width: 1024px) {

    .glass-box {
        width: 80%;
        padding: 40px 25px;
    }

    .landing h1 {
        font-size: 34px;
    }

    .landing p {
        font-size: 15px;
    }

    .landing-img {
        height: 60%; /* prevent overflow */
        opacity: 0.6; /* reduce dominance */
    }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .landing {
        min-height: auto;
        padding: 60px 15px;
    }

    .landing-img {
        display: none;
    }

    .glass-box {
        width: 100%;
        padding: 25px 15px;
    }

    .landing h1 {
        font-size: 24px;
        line-height: 1.4;
    }

    .landing p {
        font-size: 13px;
    }

    .btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
}

/* ================= SMALL MOBILE ================= */

@media (max-width: 480px) {

    .landing h1 {
        font-size: 20px;
    }

    .glass-box {
        padding: 20px 12px;
    }
}
/* 2nd */
/* LARGE LAPTOP */
@media (max-width: 1200px) {
    .med-metrics-zone {
        min-height: 450px;
        padding: 30px 20px;
    }
}

/* TABLET */
@media (max-width: 992px) {
    .med-metrics-zone {
        min-height: 400px;
        padding: 25px 15px;
    }
}

/* SMALL TABLET */
@media (max-width: 768px) {
    .med-metrics-zone {
        min-height: 350px;
        padding: 20px 15px;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .med-metrics-zone {
        min-height: auto;   /* 🔥 important for small screens */
        padding: 20px 10px;
    }
}
/* 3rd */
/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 992px) {
    .med-title {
        font-size: 26px;
    }

    .med-card {
        width: 280px;
        height: 350px;
    }

    .med-card-content {
        padding-top: 120px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .med-card-row {
        flex-direction: column;
        align-items: center;
    }

    .med-card {
        width: 90%;
        max-width: 350px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .med-title {
        font-size: 22px;
    }

    .med-desc {
        font-size: 13px;
    }

    .med-card-content {
        padding: 110px 15px 20px;
    }

    .med-btn {
        width: 100%;
    }
}

/* 4th */
/* TABLET */
@media (max-width: 992px) {
    .med-why-wrap {
        flex-direction: column;
        text-align: center;
    }

    .med-why-right {
        margin-top: 20px;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .med-why-left h2 {
        font-size: 22px;
    }

    .med-why-desc {
        font-size: 14px;
    }
}

/* 5th */
/* TABLET */
@media (max-width: 992px) {
    .med-review-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .med-review-top h1 {
        font-size: 32px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .med-review-grid {
        grid-template-columns: 1fr;
    }

    .med-review-top h1 {
        font-size: 26px;
    }

    .med-review-top p {
        font-size: 14px;
    }
}

/* 6th */
@media (max-width: 768px) {

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input,
    .subscribe-form button {
        width: 100%;
        max-width: 300px;
    }
}

/* 7th */
@media (max-width: 768px) {
    .cta-section {
        height: auto;
        padding: 50px 20px;
    }

    .cta-content h1 {
        font-size: 26px;
    }

    .cta-content p {
        font-size: 14px;
    }
}
/* 
@media (max-width: 768px) {
    .nav-menu {
        display: none;  
    }
} */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}
/* 📱 MOBILE ONLY */
@media (max-width: 768px) {

    /* SHOW ☰ ONLY IN MOBILE */
    .menu-toggle {
        display: block;
    }

    /* HIDE MENU IN MOBILE */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        gap: 15px;
    }

    /* SHOW MENU WHEN CLICK */
    .nav-menu.active {
        display: flex;
    }
}