
/* JIMASTAC RESPONSIVE WEBSITE */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: Arial, sans-serif;
    color: #26354b;
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* HEADER */

header {
    background: #0b3478;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1150px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: white;
    font-size: 21px;
    font-weight: bold;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 22px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    color: #8ec5ff;
}

.menu-toggle {
    display: none;
    background: none;
    color: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
}

/* HOME */

.hero {
    min-height: 480px;
    padding: 90px 20px;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, #0b3478, #1769aa);
    color: white;
}

.hero-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.tag,
.section-heading span {
    color: #6db8ff;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 13px;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 58px);
    line-height: 1.2;
    margin: 20px 0;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* BUTTONS */

.btn {
    display: inline-block;
    background: white;
    color: #0b3478;
    padding: 14px 24px;
    border-radius: 8px;
    margin: 5px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid white;
    cursor: pointer;
}

.btn:hover {
    background: #dcecff;
}

.btn-outline {
    background: transparent;
    color: white;
}

/* SECTIONS */

.section {
    padding: 75px 20px;
}

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.section-heading span {
    color: #1670bb;
}

.section-heading h2 {
    color: #0b3478;
    font-size: 32px;
    margin: 10px 0;
}

.about {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.about-text {
    max-width: 750px;
    margin: auto;
    font-size: 17px;
}

/* PRODUCTS */

.products {
    background: #f0f6ff;
}

.product-grid,
.service-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card,
.service-card {
    background: white;
    padding: 28px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,.07);
    transition: transform .2s;
}

.product-card:hover,
.service-card:hover {
    transform: translateY(-5px);
}

.product-icon {
    font-size: 45px;
    margin-bottom: 12px;
}

.product-card h3,
.service-card h3 {
    color: #0b3478;
    margin-bottom: 10px;
}

/* SERVICES */

.services {
    background: white;
}

.service-card {
    background: #f0f6ff;
}

/* CONTACT */

.contact {
    background: #f0f6ff;
}

.contact-card {
    background: white;
    max-width: 650px;
    margin: auto;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,.07);
}

.contact-card p {
    margin: 12px 0;
    overflow-wrap: anywhere;
}

.contact-card a:not(.btn) {
    color: #1769aa;
}

.whatsapp {
    background: #168b50;
    color: white;
    border-color: #168b50;
}

.email-btn {
    background: #0b3478;
    color: white;
    border-color: #0b3478;
}

.contact-buttons {
    margin-top: 20px;
}

.small-note {
    font-size: 13px;
    color: #667085;
    margin-top: 15px;
}

/* FOOTER */

footer {
    background: #092653;
    color: white;
    text-align: center;
    padding: 30px 15px;
}

footer p {
    margin: 8px 0;
}

/* FLOATING WHATSAPP */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #168b50;
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 40px;
    font-weight: bold;
    z-index: 999;
    box-shadow: 0 4px 12px #0003;
}

/* TABLETS */

@media (max-width: 850px) {
    .product-grid,
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE PHONES */

@media (max-width: 600px) {

    .navbar {
        padding: 12px 16px;
    }

    .logo {
        font-size: 19px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #0b3478;
        flex-direction: column;
        padding: 20px;
        gap: 18px;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 7px 0;
    }

    .hero {
        min-height: 420px;
        padding: 65px 18px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        text-align: center;
        margin: 6px 0;
    }

    .section {
        padding: 50px 16px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .product-grid,
    .service-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card,
    .service-card {
        padding: 25px 18px;
    }

    .contact-card {
        padding: 22px 17px;
    }

    .contact-buttons {
        display: flex;
        flex-direction: column;
    }

    .contact-buttons .btn {
        text-align: center;
        margin: 6px 0;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 12px;
        padding: 12px 17px;
        font-size: 14px;
    }

    footer {
        padding: 25px 15px 75px;
        font-size: 14px;
    }
}

/* SMALL PHONES */

@media (max-width: 360px) {

    .hero h1 {
        font-size: 29px;
    }

    .logo {
        font-size: 17px;
    }

    .section-heading h2 {
        font-size: 24px;
    }
}
