/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Body */
body {
    background-color: #f5f7fa;
    color: #333;
}

/* Navbar */
.navbar {
    background-color: #007acc;
    padding: 1rem 2rem;
    text-align: left;
}

.company-name {
    color: white;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background-color: #e0e7ff;
}

.hero-content {
    display: flex;
    max-width: 1200px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.description {
    flex: 1;
    padding-right: 2rem;
}

.description h2 {
    font-size: 2.5rem;
    color: #007acc;
    margin-bottom: 1rem;
}

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


/* Responsive Styling */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column; /* Stack content vertically */
        text-align: center;     /* Center-align text on smaller screens */
    }

    .description {
        padding-right: 0; /* Remove padding on mobile for a centered look */
    }

    .gallery {
        margin-top: 1rem; /* Add spacing between text and gallery */
        width: 90%;       /* Adjust width for smaller screens */
        height: auto;     /* Adjust height automatically based on image */
    }

    .gallery-image {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }
}
.gallery {
    position: relative;
    width: 600px;  /* Increased width */
    height: 400px; /* Increased height */
}

.gallery-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-out;
    object-fit: cover; /* Ensures images scale proportionally */
}

.gallery-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.7rem;
    cursor: pointer;
    font-size: 1.8rem;
    border-radius: 50%;
}

.gallery-button.prev {
    left: 15px;
}

.gallery-button.next {
    right: 15px;
}

/* Newsletter Section */
.newsletter {
    background-color: #f0f4f8;
    padding: 3rem;
    text-align: center;
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #007acc;
}

.newsletter p {
    margin-bottom: 1rem;
    color: #666;
}

.newsletter form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.newsletter input[type="email"] {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 250px;
}

.newsletter button {
    padding: 0.8rem 1.5rem;
    border: none;
    background-color: #007acc;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter button:hover {
    background-color: #005fa3;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

