/* =========================================
   N4 WELTEST - MAIN STYLESHEET
========================================= */

/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #f5f7fb;
    color: #222;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* ---------- COMMON ---------- */

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h4,
.about h4,
.contact h4 {
    color: #ff9800;
    margin-bottom: 10px;
}

.section-title h2,
.about h2,
.contact h2 {
    color: #08325f;
    font-size: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 13px 28px;
    background: #ff9800;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: .3s;
}

.btn-primary:hover {
    background: #08325f;
    transform: translateY(-2px);
}


/* ---------- HEADER ---------- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 24, 48, .9);
    backdrop-filter: blur(10px);
    z-index: 999;
}

.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo h2 {
    font-size: 22px;
}

.logo span {
    display: block;
    font-size: 12px;
    color: #ccc;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

nav a:hover {
    color: #ffb000;
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}


/* ---------- HERO ---------- */

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 60px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}


/* ---------- ABOUT ---------- */

.about {
    padding: 100px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

.about h2 {
    margin-bottom: 20px;
}

.about p {
    color: #555;
    margin-bottom: 18px;
}


/* ---------- SERVICES ---------- */

.services {
    padding: 100px 0;
    background: #eef4fb;
}

.service-grid,
.why-grid,
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card,
.why-card,
.highlight {
    background: white;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: .4s;
}

.card:hover,
.why-card:hover,
.highlight:hover {
    transform: translateY(-10px);
}

.card i,
.why-card i,
.highlight i {
    color: #ff9800;
    font-size: 45px;
    margin-bottom: 20px;
}

.card h3,
.why-card h3,
.highlight h3 {
    color: #08325f;
    margin-bottom: 15px;
}


/* ---------- WHY US ---------- */

.why-us {
    padding: 100px 0;
    background: white;
}


/* ---------- VISION ---------- */

.vision {
    padding: 100px 0;
    background: #08325f;
    color: white;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.vision-box {
    padding: 40px;
    background: rgba(255, 255, 255, .08);
    border-radius: 15px;
}

.vision-box h2 {
    color: #ffb000;
    margin-bottom: 20px;
}

.vision-box ul {
    padding-left: 20px;
}

.vision-box li {
    margin-bottom: 10px;
}


/* ---------- STATS ---------- */

.stats {
    padding: 90px 0;
    background: #08325f;
    color: white;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-grid h2 {
    color: #ffb000;
    font-size: 50px;
}


/* ---------- CERTIFICATES ---------- */

.certificates {
    padding: 100px 0;
    background: white;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.certificate-card {
    overflow: hidden;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: .4s;
}

.certificate-card:hover {
    transform: translateY(-10px);
}

.certificate-card img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    background: #f5f5f5;
}

.certificate-card h3 {
    padding: 20px 20px 5px;
    color: #08325f;
}

.certificate-card p {
    padding: 0 20px 25px;
}


/* ---------- HIGHLIGHTS ---------- */

.highlights {
    padding: 100px 0;
    background: #f4f8fc;
}


/* ---------- GALLERY ---------- */

.gallery {
    padding: 100px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    transition: .4s;
}

.gallery-grid img:hover {
    transform: scale(1.04);
}


/* ---------- TESTIMONIAL ---------- */

.testimonial {
    padding: 100px 0;
    background: #f4f8fc;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}


/* ---------- MAP ---------- */

.map iframe {
    width: 100%;
    height: 450px;
    border: 0;
}


/* ---------- CONTACT ---------- */

.contact {
    padding: 100px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact h2 {
    margin-bottom: 20px;
}

.contact p {
    margin-bottom: 18px;
}

.contact i {
    color: #ff9800;
    margin-right: 10px;
}

.contact a {
    text-decoration: none;
}

form {
    display: flex;
    flex-direction: column;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font: inherit;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #ff9800;
}

textarea {
    resize: vertical;
}

form button {
    border: 0;
    padding: 15px;
    background: #ff9800;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

form button:hover {
    background: #08325f;
}


/* ---------- FOOTER ---------- */

footer {
    padding: 70px 0 20px;
    background: #05172d;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-grid h3 {
    color: #ffb000;
    margin-bottom: 20px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid li {
    margin-bottom: 10px;
}

.footer-grid a {
    text-decoration: none;
}

.footer-grid a:hover {
    color: #ffb000;
}

footer hr {
    margin: 40px 0 20px;
    border-color: #24476b;
}

.copyright {
    text-align: center;
}


/* ---------- WHATSAPP ---------- */

.whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: white;
    border-radius: 50%;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
    z-index: 9999;
    transition: .3s;
}

.whatsapp:hover {
    transform: scale(1.1);
}


/* ---------- SCROLL REVEAL ---------- */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* ---------- BACK TO TOP ---------- */

#topBtn {
    position: fixed;
    left: 25px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #08325f;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 9998;
}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 900px) {

    .menu-btn {
        display: block;
    }

    nav {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        background: #051830;
        transition: .4s;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav li {
        margin: 12px 0;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .about-grid,
    .contact-grid,
    .vision-grid {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .container {
        width: 92%;
    }

    .logo h2 {
        font-size: 18px;
    }

    .logo img {
        width: 45px;
        height: 45px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title h2,
    .about h2,
    .contact h2 {
        font-size: 30px;
    }

    .stat-grid,
    .gallery-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .vision-box {
        padding: 30px;
    }

    .whatsapp {
        right: 18px;
        bottom: 18px;
    }

    #topBtn {
        left: 18px;
        bottom: 18px;
    }
}