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

header {
    background-color: #4CAF50;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style-type: none;
    display: flex;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.hamburger {
    display: none;
}

.hero {
    background-color: #5cb85c;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h2 {
    margin: 0 0 20px 0;
    font-size: 32px;
}

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

.hero button {
    background-color: #fff;
    color: #4CAF50;
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

section {
    padding: 40px 20px;
    text-align: center;
}

.products .product-list,
.benefits .benefit-list,
.testimonials .testimonial-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.products .product,
.benefits .benefit,
.testimonials .testimonial {
    background-color: white;
    padding: 20px;
    border: 1px solid #ddd;
    width: 280px;
    text-align: left;
}

.benefits .benefit h3,
.products .product h3 {
    margin-top: 0;
}

.call-to-action {
    background-color: #4CAF50;
    color: white;
    padding: 60px 20px;
}

.call-to-action h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.call-to-action button {
    background-color: #fff;
    color: #4CAF50;
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact form input,
.contact form textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    margin: 10px 0;
}

.contact form button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 16px;
}

footer {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 15px;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background-color: #4CAF50;
        position: absolute;
        top: 100px;
        right: 0;
        width: 100%;
        align-items: center;
        font-size: 30px;
    }

    nav ul.active {
        display: flex;
    }

    .hamburger {
        display: block;
        color: white;
        font-size: 28px;
        cursor: pointer;
    }

    .products .product-list,
    .benefits .benefit-list,
    .testimonials .testimonial-list {
        flex-direction: column;
        align-items: center;
    }

    header {
        padding: 10px 20px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .call-to-action h2 {
        font-size: 24px;
    }
}
.company-logo {
    width: 50px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
}
/* Gallery Section */
.gallery {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.gallery h2 {
    margin-bottom: 30px;
    font-size: 28px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Uniform size images with animation */
.gallery-grid img {
    width: 100%;
    height: 200px; /* Uniform height */
    object-fit: cover; /* Crop images while maintaining aspect ratio */
    border: 2px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: fadeIn 0.8s ease-in-out; /* Animation */
}

/* Staggered fade-in animation delays */
.gallery-grid img:nth-child(1) { animation-delay: 0.1s; }
.gallery-grid img:nth-child(2) { animation-delay: 0.2s; }
.gallery-grid img:nth-child(3) { animation-delay: 0.3s; }
.gallery-grid img:nth-child(4) { animation-delay: 0.4s; }
.gallery-grid img:nth-child(5) { animation-delay: 0.5s; }
.gallery-grid img:nth-child(6) { animation-delay: 0.6s; }
.gallery-grid img:nth-child(7) { animation-delay: 0.7s; }
.gallery-grid img:nth-child(8) { animation-delay: 0.8s; }
.gallery-grid img:nth-child(9) { animation-delay: 0.9s; }
.gallery-grid img:nth-child(10) { animation-delay: 1s; }
.gallery-grid img:nth-child(11) { animation-delay: 1.1s; }
.gallery-grid img:nth-child(12) { animation-delay: 1.2s; }

/* Hover effect for interactivity */
.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Keyframes for fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Home Section */
#home {
    background-image: url('kap1.jpg');
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the image */
    background-attachment: fixed; /* Optional: Creates a parallax effect (scrolling) */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    height: 100vh; /* Sets the section height to the full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff; /* Makes the text white for better visibility */
    position: relative;
}

/* Optional: Overlay for better text readability */
#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay to improve text contrast */
    z-index: 1;
}

.home-content {
    position: relative;
    z-index: 2; /* Ensures the content is above the overlay */
}

.home-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.home-content p {
    font-size: 18px;
    margin-bottom: 40px;
}

.learn-more {
    background-color: #fff;
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.learn-more:hover {
    background-color: #f1f1f1;
}
