/* Reset some default styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif, Arial;
    color: #333;
}

body {
    background-color: #fff;
}

/* Header Section */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 8;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo img {
    width: 100px; 
}

/* Navigation Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #ddd;
}

/* Hero Section */
.hero {
    height: 100vh;
    padding-top: 80px; /* Accounts for the fixed header height */
    box-sizing: border-box; /* Ensures padding is included in the height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    object-fit: cover;
    width: 150%;
    height: 100%;
}

.hero-content {
    position: absolute;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 4vw;
    font-weight: 600;
    margin: 20px 0;
}

.hero p {
    font-size: 2vw;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #000;
    color: #fff;
    padding: 15px 30px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #444;
}

/* Products Section */
.product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: repeat(5, 1fr); /* 5 rows */
    gap: 20px;
    padding: 20px;
}

.product {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.product img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.product p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

/* About Section */
.about {
    padding: 40px 20px 20px;
    background-color: #f9f9f9;
    text-align: center;
    margin-top: 100px;
}

.about h1 {
    font-size: 36px;
    font-weight: 600;
    padding-top: 35px;
    margin-bottom: 20px;
}

.about p {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-team {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.team-member {
    width: 200px;
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 20%;
    margin-bottom: 10px;
}

.team-member h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 16px;
    color: #777;
}

/* Quotes Section */
.quotes {
    padding: 60px 20px;
    background-color: #e9ecef;
    text-align: center;
}

.quotes h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
}

.quote {
    margin: 20px 0;
    font-size: 18px;
    font-style: italic;
    color: #333;
}

.quote span {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 20px 40px;
    text-align: center;
    background-color: #f9f9f9;
    margin-top: 100px;
}

.contact h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

.contact form {
    display: block;
    margin: 0 auto;
    max-width: 600px;
    text-align: left;
}

.contact label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact button {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
    text-align: center;
    font-size: 16px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact button:hover {
    background-color: #444;
}

.contact-info {
    font-size: 18px;
    color: #333;
    margin-top: 30px;
}

.contact-info strong {
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    border-top: 1px solid #ddd;
}

footer a {
    color: #000;
    text-decoration: none;
}

footer a:hover {
    color: #444;
}

/* Responsive Design */
/* For Screens with Max Width 768px */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        height: 130px;
    }

    .hero h1 {
        font-size: 6vw;
    }

    .hero p {
        font-size: 3vw;
    }

    .contact {
        padding: 60px 15px;
    }

    .contact h2 {
        font-size: 24px;
        padding-top: 55px;
        margin-bottom: 15px; 
    }

    .contact p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .contact form {
        width: 100%;
        margin: 0 auto;
    }

    .product-list {
        grid-template-columns: 1fr; /* 1 column layout */
        gap: 15px; /* Reduce spacing */
    }

    .product img {
        width: 100%;
       object-fit: contain;
    }

    .product h3 {
        font-size: 16px; 
    }

    .product p {
        font-size: 14px;
    }
}

/* For Screens with Max Width 480px */
@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        height: 130px;
    }
    .hero h1 {
        font-size: 5vw;
    }

    .hero p {
        font-size: 2.5vw;
    }

    .contact h2 {
        font-size: 22px;
    }

    .contact p {
        font-size: 14px;
    }
    
    .about-team {
        flex-direction: column;
    }

    .team-member {
        width: 100%;
        margin-bottom: 20px;
    }
}
