* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    background: #ffffff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* ================= HEADER ================= */

header {
    width: 100%;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.navbar {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo h2 {
    font-size: 17px;
    color: #123b68;
}

.logo p {
    font-size: 9px;
    letter-spacing: 1px;
    color: #555;
}


/* Navigation */

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #222;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #0d68b5;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}


/* ================= HERO ================= */

.hero {
    min-height: 650px;

    background-image:
        url("images/laboratory.jpg");

    background-size: cover;
    background-position: center;

    position: relative;

    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 30, 55, 0.90),
            rgba(4, 30, 55, 0.45),
            rgba(4, 30, 55, 0.20)
        );
}

.hero-content {
    position: relative;
    color: white;
}

.small-title {
    letter-spacing: 4px;
    font-size: 14px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-text {
    max-width: 600px;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}


/* ================= BUTTONS ================= */

.btn {
    display: inline-block;

    padding: 13px 28px;

    text-decoration: none;

    border-radius: 4px;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s;
}

.primary-btn {
    background: #0878c9;
    color: white;
}

.primary-btn:hover {
    background: #055b98;
}

.secondary-btn {
    border: 1px solid white;
    color: white;
}

.secondary-btn:hover {
    background: white;
    color: #123b68;
}


/* ================= SECTIONS ================= */

.section {
    padding: 90px 0;
}

.section-subtitle {
    color: #0878c9;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-heading h2,
.about-content h2,
.contact-info h2 {
    font-size: 36px;
    color: #123b68;
    margin-bottom: 20px;
}

.section-heading p {
    line-height: 1.8;
    color: #666;
}


/* ================= ABOUT ================= */

.about {
    background: #f7fafc;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 5px;
}

.about-content p:not(.section-subtitle) {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}


/* ==============================
   ACCREDITATION SECTION
   ============================== */

.accreditation-section {
    padding: 80px 8%;
    background: #f7f9fc;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #123b63;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 17px;
    color: #666;
}

.accreditation-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Certificate */

.certificate-image {
    width: 50%;
    text-align: center;
}

.certificate-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: white;
}

/* Content */

.accreditation-content {
    width: 50%;
}

.accreditation-content h3 {
    font-size: 28px;
    color: #123b63;
    margin-bottom: 20px;
}

.accreditation-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* Download Button */

.download-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 25px;
    background: #123b63;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s;
}

.download-btn:hover {
    background: #0b2945;
    transform: translateY(-2px);
}

.download-btn i {
    margin-right: 8px;
}


/* Mobile Responsive */

@media (max-width: 768px) {

    .accreditation-section {
        padding: 60px 5%;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .accreditation-container {
        flex-direction: column;
        gap: 35px;
    }

    .certificate-image,
    .accreditation-content {
        width: 100%;
    }

    .accreditation-content {
        text-align: center;
    }

    .accreditation-content h3 {
        font-size: 24px;
    }

    .download-btn {
        font-size: 14px;
    }
}

/* ================= SERVICES ================= */

.service-card img {
    width: 100%;
    height: 180px;
    object-fit:contain;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-card {
    padding: 25px;
    background: white;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}
.services {
    background: white;
}

.service-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.service-card {
    padding: 35px 25px;

    background: white;

    border: 1px solid #e7edf2;

    border-radius: 5px;

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.10);

    border-color: #0878c9;
}

.service-icon {
    font-size: 35px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #123b68;
    margin-bottom: 12px;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}


/* ================= WHY US ================= */

.why-us {
    background: #123b68;
    color: white;
}

.why-us .section-subtitle {
    color: #62c2ff;
}

.why-us h2 {
    color: white;
}

.features {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;
}

.feature {
    border-left: 2px solid #62c2ff;
    padding-left: 20px;
}

.feature span {
    font-size: 13px;
    color: #62c2ff;
}

.feature h3 {
    margin: 12px 0;
}

.feature p {
    color: #d8e4ef;
    line-height: 1.7;
    font-size: 14px;
}


/* ================= FACILITIES ================= */

.facilities {
    background: #f7fafc;
}

.facility-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.facility-box {
    background: white;
    padding: 35px;

    border-radius: 5px;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.06);
}

.facility-box h3 {
    color: #123b68;
    margin-bottom: 15px;
}

.facility-box p {
    color: #666;
    line-height: 1.7;
}


/* ================= CONTACT ================= */

.contact {
    background: white;
}

.contact-container {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;
}

.contact-info > p {
    color: #666;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.contact-item span {
    font-size: 25px;
}

.contact-item h4 {
    color: #123b68;
}

.contact-item p {
    color: #666;
    margin-top: 5px;
}


.contact-form {
    background: #f7fafc;
    padding: 35px;
    border-radius: 5px;
}

.contact-form h3 {
    color: #123b68;
    font-size: 25px;
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 14px;

    margin-bottom: 15px;

    border: 1px solid #dce4ea;

    border-radius: 4px;

    font-family: inherit;

    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0878c9;
}

.contact-form textarea {
    resize: vertical;
}


/* ================= FOOTER ================= */

footer {
    background: #092944;
    color: white;
}

.footer-container {
    padding: 45px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-container h3 {
    letter-spacing: 1px;
}

.footer-container p {
    color: #b8c9d8;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #62c2ff;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);

    text-align: center;

    padding: 20px;

    color: #aebdca;

    font-size: 12px;
}


/* ================= MOBILE ================= */

@media (max-width: 900px) {

    nav {
        display: none;

        position: absolute;

        top: 85px;
        left: 0;

        width: 100%;

        background: white;

        flex-direction: column;

        padding: 25px;

        box-shadow:
            0 10px 20px rgba(0,0,0,0.08);
    }

    nav.active {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 42px;
    }

    .service-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .features {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .facility-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .logo h2 {
        font-size: 13px;
    }

    .logo p {
        font-size: 7px;
    }

    .logo img {
        width: 45px;
        height: 45px;
    }

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 170px;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading h2,
    .about-content h2,
    .contact-info h2 {
        font-size: 28px;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 300px;
    }

    .service-grid,
    .features,
    .facility-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

}