/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
}

/* Navbar */
.navbar {
    background-color: #003d99;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
}

.logo {
    max-height: 50px; /* Reduced the logo size */
    width: auto;
    border-radius: 8px; /* Added rounded corners to the logo */
}

/* Navigation links hidden on mobile */
.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    background-color: #ffcc00;
    color: #003d99;
    border-radius: 5px;
}

/* Hamburger Icon */
#hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

#hamburger div {
    width: 30px;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
}

.btn-primary {
    background-color: #ffcc00;
    color: #003d99;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #ffc107;
    color: #002c70;
}

/* Mission Section */
.mission {
    text-align: center;
    padding: 40px 20px;
    background-color: #ffffff;
}

.mission h2 {
    color: #003d99;
    font-size: 2.5rem; /* Resized to match "Our Products" */
    text-align: center;
    margin-bottom: 1rem;
}

.mission p {
    font-size: 1.25rem; /* Consistent size with "Our Products" text */
    line-height: 1.6;
    text-align: center;
    margin: 0 auto;
    max-width: 800px; /* Ensures better readability */
}

/* Products Section */
.products {
    padding: 40px 20px;
    background-color: #f4f4f4;
}

.products h2 {
    color: #003d99;
    font-size: 2.5rem; /* Larger size for the heading */
    text-align: center; /* Center-aligned */
    margin-bottom: 1rem; /* Spacing below the heading */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns for desktop */
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.product {
    text-align: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product:hover {
    transform: translateY(-5px);
}

/* Product Images */
.product img {
    width: 100%;          /* Makes the image responsive by taking full width */
    height: 250px;        /* Increased height for larger tiles */
    object-fit: contain;  /* Resizes the image to fit within the container without cropping */
    border-radius: 8px;   /* Optional: Add rounded corners for a cleaner look */
}

.product h3 {
    color: #003d99;
    margin: 15px 0;
    font-size: 1.5rem; /* Larger font size for product titles */
}

.product p {
    margin: 5px 0;
    flex-grow: 1; /* Ensures the description takes up remaining space */
    font-size: 1.1rem; /* Slightly larger font size for descriptions */
}

/* Footer */
footer {
    background-color: #0a3d62; /* A dark navy blue for professional appeal */
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 10px;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #ffdd59; /* Add a complementary highlight color */
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ffdd59;
    text-decoration: underline;
}

.social-media .social-icon {
    width: 30px;
    margin-top: 10px;
}

.social-media a {
    display: inline-block;
    margin: 0 5px;
    transition: transform 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.1);
}

/* General Section Padding */
section {
    padding: 40px 20px; /* Consistent spacing across all sections */
}

.product-description {
    text-align: center; /* Center the text */
    font-weight: bold;  /* Make the text bold */
    color: #000;        /* Set color to black */
    font-size: 1.2em;   /* Optional: Adjust font size if needed */
    margin: 20px 0;     /* Optional: Add some spacing around the text */
}

/* Mobile View */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide the navigation links by default */
        flex-direction: column;
        width: 100%;
        background-color: #003d99;
        position: absolute;
        top: 60px;
        left: 0;
        gap: 10px;
        padding: 20px 0;
        align-items: center;
    }

    .nav-links.open {
        display: flex; /* Show the menu when 'open' class is added */
    }

    #hamburger {
        display: flex; /* Show the hamburger menu only on mobile */
    }

    .product-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    .product img {
        height: 200px; /* Slightly smaller images on mobile */
    }
}
