@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

button, body {
    font-family: "Merriweather", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
p{
    font-size: 14px;
    line-height: 26px;
}
.container {
    width: 1140px;
    margin: auto;
}

header {
    width: 100%;
    background-color: rgba(0,0 , 0, 0.3);
    position: fixed;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0; 
}

header .logo {
    display: flex;
    align-items: center;
    margin-right: 0px; 
    margin-left: 30px; 
}

header .logo img {
    height: 70px; 
    width: auto; 
}

header nav {
    display: flex; 
    justify-content: center; 
}

header nav ul {
    list-style-type: none;
    display: flex; 
    justify-content: center;
    border-radius: 15px;
    margin: 0;
    padding: 0;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a {
    display: inline-block;
    height: 75px;
    line-height: 75px;
    padding: 0 20px; 
    text-decoration: none;
    text-transform: capitalize;
    font-size: 16px;
    color: white;
    position: relative;
    white-space: nowrap;
    transition: transform 0.3s ease, text-decoration 0.3s ease, color 0.3s ease; 
}

header nav ul li a:hover {
    transform: scale(1.1);
    color: green; 
}

/* Banner Section */
.banner {
    background: url('https://i.huffpost.com/gen/2298156/images/o-INDIAN-GIRLS-SMILING-facebook.jpg')no-repeat center center/cover;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}



.banner-content {
    z-index: 2;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.banner p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Who We Are Section */
.who-we-are {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.who-we-are .container {
    max-width: 1140px;
    margin: auto;
}

.who-we-are h2 {
    font-size: 2.5rem;
    color: #27ae60;
    margin-bottom: 20px;
}

.who-we-are p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 15px;
    
}
.who-we-are p span{
    color: purple;
    font-weight: 700;
}

/* Expanded Our Vision Section */
.our-vision {
    padding: 80px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.our-vision .container {
    max-width: 1140px;
    margin: auto;
}

.our-vision h2 {
    font-size: 2.5rem;
    color: #27ae60;
    margin-bottom: 30px;
}

.our-vision p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 20px;
}

.our-vision p:last-child {
    margin-bottom: 0;
}

/* General Styles */
body {
    font-family: "Merriweather", serif;
    background-color: #f4f4f4;
    color: #2c3e50;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #27ae60;
    margin-top: 50px;
}

/* Timeline Container */
.history {
    padding: 60px 20px;
    background-color: #ffffff;
}

.history .container {
    max-width: 1140px;
    margin: auto;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: auto;
    padding: 0;
    margin-top: 100px;
}

.timeline-item {
    position: relative;
    padding: 20px 0;
    border-left: 5px solid #27ae60;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background-color: #ecf0f1;
    transform: translateX(20px);
}

.timeline-icon {
    position: absolute;
    left: -8px;
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: #27ae60;
    border-radius: 50%;
    border: 4px solid white;
}

.timeline-content {
    padding-left: 40px;
    padding-right: 20px;
}

.timeline-content h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #7f8c8d;
}

/* Timeline Styling for Better Visibility */
.timeline-item:nth-child(even) {
    background-color: #f9f9f9;
}

.timeline-item:nth-child(odd) {
    background-color: #ecf0f1;
}

.timeline-item:last-child {
    border-left: none;
}

.timeline-item:hover .timeline-icon {
    background-color: white;
    border-color: #27ae60;
}
.awards {
    background-color: #f0f0f0;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden; 
}

.awards h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #27ae60;
}

.award-carousel {
    display: flex;
    gap: 30px;
    animation: scrollAwards 30s ease infinite alternate; 
}

.award-item {
    min-width: 250px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.award-item img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.award-item p {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: bold;
}

/* Animation for bidirectional scrolling */
@keyframes scrollAwards {
    0% {
        transform: translateX(0); 
    }
    50% {
        transform: translateX(-85%); 
    }
    100% {
        transform: translateX(0); 
    }
}

/* Footer Section Styling */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.footer .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-logo {
    flex: 1;
    margin: 10px;
}

.footer-logo img {
    width: 180px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #27ae60;
    margin-top: 10px;
}

.footer-links {
    flex: 1;
    margin: 10px;
    min-width: 250px;
    color: #27ae60;
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
}

.footer-links ul li {
    margin: 10px 0;
}

.footer-links ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
}

.footer-links ul li a:hover {
    color: #27ae60;
}

/* Contact Section */
.footer-contact {
    flex: 1;
    margin: 10px;
    min-width: 250px;
}

.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #27ae60;
}

.footer-contact ul {
    list-style-type: none;
    padding: 0;
}

.footer-contact ul li {
    margin: 10px 0;
    color: #ecf0f1;
    font-size: 1rem;
}

.footer-contact ul li span {
    font-weight: bold;
    color: #bdc3c7;
}

/* Newsletter Section */
.footer-newsletter {
    flex: 1;
    margin: 10px;
    min-width: 250px;
    text-align: left;
    margin-bottom: 20px;
}

.footer-newsletter h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #27ae60;
}

.footer-newsletter form {
    display: flex;
    flex-direction: column;
}

.footer-newsletter input {
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.footer-newsletter button {
    padding: 12px;
    background-color: #27ae60;
    border: none;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: #2ecc71;
}

.footer-bottom {
    background-color: #34495e;
    padding: 15px 0;
}

.footer-bottom p {
    font-size: 1rem;
    color: #bdc3c7;
}


/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }

    header .logo img {
        height: 60px;
    }

    header nav ul li a {
        font-size: 14px;
        height: 60px;
        line-height: 60px;
    }

    .banner {
        height: 500px;
    }

    .banner h1 {
        font-size: 2rem;
    }

    .banner p {
        font-size: 1rem;
    }

    .who-we-are h2, .our-vision h2 {
        font-size: 2rem;
    }

    .who-we-are p, .our-vision p {
        font-size: 1rem;
    }

    .timeline {
        max-width: 100%;
    }

    .timeline-content h3 {
        font-size: 1.4rem;
    }

    .timeline-content p {
        font-size: 1rem;
    }

    .award-item {
        min-width: 200px;
    }

    .footer-logo img {
        width: 150px;
    }

    .footer-links ul li a, .footer-contact ul li, .footer-newsletter input, .footer-newsletter button {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: row;
        padding: 10px 20px;
    }

    header .logo {
        margin: 0 auto 10px;
    }

    header nav ul {
        flex-direction: row; /* Keep navigation items in a horizontal row */
        justify-content: space-around; /* Space out items evenly */
        width: 100%;
    }

    header nav ul li {
        margin: 0px;
    }
    header nav ul li a {
        font-size: 14px; /* Adjust font size for smaller screens */
        padding: 0 10px; /* Reduce padding */
        height: auto; /* Allow flexible height */
        line-height: normal; /* Adjust line height */
    }
    @media (max-width: 480px) {
        header nav ul {
            flex-wrap: wrap; /* Allow wrapping if space is limited */
        }
    
        header nav ul li a {
            font-size: 12px; /* Further reduce font size for very small screens */
            padding: 0 5px; /* Reduce padding further */
        }
    }
    .banner {
        height: 400px;
    }

    .banner h1 {
        font-size: 1.8rem;
    }

    .banner p {
        font-size: 0.9rem;
    }

    .who-we-are, .our-vision, .history {
        padding: 40px 10px;
    }

    .timeline-content {
        padding-left: 20px;
        padding-right: 10px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo, .footer-links, .footer-contact, .footer-newsletter {
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    header nav ul li a {
        font-size: 12px;
        height: 50px;
        line-height: 50px;
    }

    .banner {
        height: 300px;
    }

    .banner h1 {
        font-size: 1.5rem;
    }

    .banner p {
        font-size: 0.8rem;
    }

    .who-we-are h2, .our-vision h2 {
        font-size: 1.5rem;
    }

    .who-we-are p, .our-vision p {
        font-size: 0.9rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .award-item {
        min-width: 150px;
    }

    .footer-logo img {
        width: 120px;
    }

    .footer-links ul li a, .footer-contact ul li, .footer-newsletter input, .footer-newsletter button {
        font-size: 0.8rem;
    }
}