/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 15px 30px;
}

header .logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: url('{{ asset('images/hero-image.jpg') }}') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 0;
    background-size: cover;  /* Ensures the image covers the entire section */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #4CAF50; /* Green Button */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Products Section */
.products {
    text-align: center;
    padding: 50px 20px;
}

.products .section-title {
    font-size: 2em;
    margin-bottom: 20px;
}

/* Centering Product Cards */
.product-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;  /* Allows wrapping on smaller screens */
}

.product-card {
    background-color: #f4f4f4;
    padding: 20px;
    width: 250px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for transform and shadow */
}

.product-card:hover {
    transform: translateY(-10px); /* Slight lift on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Deeper shadow for the lift effect */
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.product-card h3 {
    margin-top: 10px;
    font-size: 1.5em;
}

.product-card p {
    font-size: 1em;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-cards {
        flex-direction: column;  /* Stack product cards vertically on smaller screens */
        align-items: center;  /* Center the items */
    }
    
    .product-card {
        width: 80%;  /* Adjust card width for smaller screens */
        margin-bottom: 20px;  /* Add some space between stacked cards */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;  /* Smaller font size for smaller screens */
    }

    .hero p {
        font-size: 1rem;  /* Smaller font size for smaller screens */
    }

    .btn-primary {
        padding: 8px 16px;  /* Smaller padding for smaller screens */
    }
}



/* About Section */
.about {
    padding: 50px;
    background-color: #f1f1f1;
    text-align: center;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    margin-right: 30px;
}

.about-text {
    flex: 1;
    max-width: 600px;
    padding: 20px;
    text-align: left;
}

.about h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.2rem;
    color: #555;
}

/* Mission Section */
.mission {
    padding: 50px;
    background-color: #fff;
    text-align: center;
    border-top: 3px solid #4CAF50; /* Green border to indicate focus */
}

.mission h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.mission p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

/* Vision Section */
.vision {
    padding: 50px;
    background-color: #f9f9f9;
    text-align: center;
    border-top: 3px solid #4CAF50; /* Green border to indicate focus */
}

.vision h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.vision p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.contact-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    margin-right: 30px;
}

.contact-info {
    flex: 1;
    max-width: 600px;
    padding: 20px;
    text-align: left;
}

.contact h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.2rem;
    color: #555;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

/* Contact Form Styles */
.contact-form {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #333;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #45a049;
}