body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

.banner {
    position: relative;
    text-align: center;
}

.banner-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    margin-top: 112px;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: red;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.banner-text h1 {
    font-size: 48px;
    margin: 0;
      font-family:emoji;
}

.banner-text p {
    font-size: 18px;
      font-family:emoji;
}

.history-section {
    padding: 50px 0;
    background-color: #f9f9f9;
    margin-top:-8px;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    color: red;
    text-align: center;
    margin-bottom: 20px;
      font-family:emoji;
}

.intro-text {
    font-size: 20px;
    text-align: center;
    color: #555;
    margin-bottom: 40px;
      font-family:emoji;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.timeline-event {
    position: relative;
    width: 82%;
    height: 200px;
    perspective: 1000px;
      font-family:emoji;
      
    gap: 20px;
    margin: 26px;
}


.event-content, .event-content-back {
    position: absolute;
    width: 100%;
    height: 100%; /* Fill the entire container */
    backface-visibility: hidden; /* Hide back face when not flipped */
    transition: transform 0.6s; /* Smooth transition */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.event-content {
    background-color: #fff; /* Front side */
    z-index: 2; /* Make sure front side is on top */
}

.event-content-back {
    background-color: #f9f9f9; /* Back side */
    transform: rotateY(180deg); /* Initially hide back side */
}

.timeline-event:hover .event-content {
    transform: rotateY(180deg); /* Flip front to back */
}

.timeline-event:hover .event-content-back {
    transform: rotateY(0deg); /* Show back side */
}

.timeline-event h3 {
    font-size: 24px;
    color: red;
    margin-bottom: 10px;
}

.timeline-event p {
    font-size: 18px;
    color: #666;
      font-family:emoji;
}

.key-moments {
    padding: 50px 0;
}

.moments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.moment {
    text-align: center;
}

.moment img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    height:318px;
}

.moment h4 {
    font-size: 22px;
    color: red;
    margin-bottom: 10px;
}

.moment p {
    font-size: 16px;
    color: #666;
}

.footer {
    background-color: #333;
    padding: 20px 0;
    text-align: center;
    color: white;
}

/* Media queries for responsive design */

@media (max-width: 1024px) {
    .timeline {
        grid-template-columns: 1fr;
    }

    .moments-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .banner-text h1 {
        font-size: 36px;
    }

    .banner-text p {
        font-size: 16px;
    }

    .moments-grid {
        grid-template-columns: 1fr;
    }
    .banner-img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    margin-top:112px;
}
.section-title{
font-size:22px;
}
}

@media (max-width: 480px) {
    .banner-text h1 {
        font-size: 28px;
    }

    .banner-text p {
        font-size: 14px;
    }

    .timeline-event h3 {
        font-size: 20px;
    }

    .moment h4 {
        font-size: 20px;
    }
    
    .section-title{
font-size:22px;
}
}
