* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Navbar */
header {
    position: fixed;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 18px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-links a:hover {
    color: #0077b6;
}

/* Sections */
.section {
    padding: 100px 20px 60px;
    max-width: 1200px;
    margin: auto;
}

/* Hero */
.hero {
    position: relative;      /* REQUIRED for overlay text */
    text-align: left;
}

.hero img {
    width: 100%;
    height: 70vh;            /* Better visual impact */
    object-fit: cover;
    display: block;
}


.hero-text {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    max-width: 40%;
    background: rgba(255, 255, 255, 0.7); /* readability */
    padding: 20px 25px;
    border-radius: 8px;
    text-align: right;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: bold;
    color: #222;
}

/* About */
.about {
    background: #ffffff;
}

/* Main container */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

/* Image styling */
.about-content img {
    width: 45%;
    border-radius: 12px;
    object-fit: cover;
}

/* Text container */
.about-text {
    width: 55%;
    background: #f6f9fc;          /* light card background */
    padding: 40px;
    border-radius: 20px;
}

/* "About Us" pill heading */
.about-text h2 {
    display: inline-block;
    font-size: 32px;
    font-weight: 600;
    padding: 10px 24px;
    background: #c9d6e8;          /* soft blue pill */
    border-radius: 20px;
    margin-bottom: 25px;
}

/* Paragraph text */
.about-text p {
    font-size: 18px;
    line-height: 1.9;
    color: #222;
}

/* Products */
.products h2 {
    text-align: center;
    margin-bottom: 40px;
}

.product {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.product img {
    width: 250px;
    border-radius: 8px;
}

.product-text h3 {
    margin-bottom: 10px;
}

/* Contact */
.contact {
    text-align: center;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #f5f5f5;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-content img {
        width: 100%;
    }

    .about-text {
        width: 100%;
        padding: 25px;
        text-align: left;
    }

    .about-text h2 {
        font-size: 26px;
    }

    .about-text p {
        font-size: 16px;
        line-height: 1.7;
    }
    .hero-text {
        position: absolute;
        top: auto;
        bottom: 10%;
        right: 50%;
        transform: translateX(50%);
        max-width: 90%;
        text-align: center;
        padding: 15px;
    }

    .hero-text h1 {
        font-size: 26px;
    }

    .hero img {
        height: 50vh;
    }
}






