* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    background-attachment: fixed;
    margin-top: 90px;
}

/* History Section */
.history {
    display: flex;
    max-width: 1200px;
    margin: 50px auto;
    align-items: center;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.history-text {
    flex: 1;
    padding: 40px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.history-image {
    flex: 1;
    height: 100%;
}

/* Carousel Gallery */
.carousel {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
}

.carousel-track {
    display: flex;
    width: calc(300px * 10); /* (Number of images * 2 to ensure smooth loop) */
    animation: scroll 20s linear infinite;
}

.carousel img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    margin: 0 10px;
    border-radius: 10px;
}

/* Keyframes for Continuous Scrolling */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Move by half the container width */
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .hero {
        height: 60vh; /* Reduce hero height */
        margin-top: 55px;
    }

    .history {
        flex-direction: column;
        text-align: center;
        padding: 1px;
    }

    .history-text {
        width: 100%;
    }

    .history-image {
        display: none; /* Remove image on mobile */
    }
}
