/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('images/gurukulstudents.jpg'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    opacity:100px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text {
    color: white;
    font-size: 4rem;
    letter-spacing: 2px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.hero-text:hover {
    transform: scale(1.5);
}

/* Quote Section */
.quote-section {
    display: flex;
    justify-content: center;
    padding: 50px 0;
    background-color: #fff;
}

.quote-card {
    background-color: #e8f5e9;
    border: 2px solid #4caf50;
    border-radius: 10px;
    padding: 20px;
    max-width: 800px;
    text-align: center;
}

.quote-text {
    font-size: 1.8rem;
    color: #4caf50;
    font-weight: bold;
}

/* About Content Section */
.about-content-section {
    padding: 50px 100px;
    background-color: #fafafa;
}

.about-paragraph {
    font-size: 1.2rem;
    text-align: justify;
    line-height: 1.8;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
}

/* Icon Cards Section */
.icon-cards-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 40px 20px;
    background-color: #fff;
}

.icon-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 150px;
    padding: 20px;
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-card i {
    font-size: 40px;
    color: #4caf50;
    margin-bottom: 10px;
}

.icon-card p {
    font-size: 1.1rem;
    color: #333;
}

.icon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Vision Section */
.vision-section {
    background-color: #f0f0f0;
    padding: 50px 0;
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
}

.vision-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto;
    padding: 20px;
    max-width: 1200px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 350px;
}

.vision-card.reverse {
    flex-direction: row-reverse;
}

.vision-image {
    width: 50%;
    height: 100%;
    background-color: #ccc;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.vision-card:hover .vision-image {
    transform: scale(1.05);
}

.vision-content {
    width: 50%;
    padding: 20px;
    position: relative;
    overflow-y: scroll;
    max-height: 300px;
}

.vision-content h3 {
    font-size: 1.8rem;
    color: #4caf50;
    margin-bottom: 15px;
}

.vision-content p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    padding-right: 10px;
}

.vision-content::-webkit-scrollbar {
    display: none;
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    .about-content-section {
        padding: 30px 50px;
    }

    .icon-cards-section {
        flex-direction: column;
        align-items: center;
    }

    .icon-card {
        width: 100%;
        max-width: 300px;
    }

    .vision-card {
        flex-direction: column;
        height: auto;
    }

    .vision-card.reverse {
        flex-direction: column;
    }

    .vision-image {
        width: 100%;
        height: 200px;
    }

    .vision-content {
        width: 100%;
        max-height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-text {
        font-size: 3rem;
    }

    .about-content-section {
        padding: 20px 30px;
    }

    .quote-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .vision-card {
        flex-direction: column;
        height: auto;
    }

    .vision-image {
        width: 100%;
        height: 180px;
    }

    .vision-content {
        max-height: 150px;
    }
}
