/* LittleBuds Website Styles */
:root {
    --mint-green: #a8e6cf;
    --soft-yellow: #fffde7;
    --sky-blue: #b5e2fa;
    --light-pink: #fcd1d1;
    --pastel-purple: #d4c1ec;
    --primary-color: #4a9b85; /* Darker mint green */
    --secondary-color: #f9a825; /* Darker soft yellow */
    --accent-color: #4285f4; /* Sky blue */
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --charcoal: #2c3e50;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    padding-top: 80px; /* Space for the fixed navbar */
}

/* Adjust padding when navbar is scrolled */
body.navbar-scrolled {
    padding-top: 70px;
}



.logo-img {
    height: 50px;
    width: auto;
}

.logo-img-footer {
    height: 40px;
    width: auto;
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.book-tour-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.book-tour-btn:hover {
    background-color: #3a7a6a;
    border-color: #3a7a6a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at center, #FFF9E5 0%, #E0F2FE 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.floating-mascot {
    max-height: 175px; /* Reduced from 350px to 50% */
    animation: float 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.floating-mascot:hover {
    transform: scale(1.05);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Programs Section */
.programs-section .text-center h2 {
    color: #a0a0a0; /* Softer gray color */
}

/* Events Section */
.events-section .text-center h2 {
    color: #a0a0a0; /* Softer gray color */
}

/* About Section */
.about-section {
    background-color: var(--light-gray);
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Equal height columns for About section */
.about-section .row.equal-height {
    display: flex;
    align-items: stretch;
}

.about-section .row.equal-height > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.about-section .banner-img-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section .banner-img-container img {
    max-height: 100%;
    width: auto;
    object-fit: cover;
}

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
    padding: 1.5rem;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Programs Section */
.programs-section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
    background-color: var(--soft-yellow);
}

.program-card {
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
    padding: 2rem;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.program-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.icon {
    text-align: center;
}

/* Events Gallery */
.events-section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
    background-color: var(--sky-blue);
}

.event-item {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-item:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.event-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.event-item:hover .event-img {
    transform: scale(1.1);
}

.event-caption {
    display: none;
}

/* Image Modal */
.modal-content {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.modal-title {
    font-weight: bold;
}

.modal-body {
    padding: 2rem;
}

#modalImage {
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

#modalImageCaption h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Individual Character Rainbow Text Effect */
.rainbow-text {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    text-align: center;
    display: inline-block;
}

.rainbow-text span:nth-child(1) { color: #FF9999; } /* L - Medium Pink */
.rainbow-text span:nth-child(2) { color: #99CC99; } /* i - Medium Green */
.rainbow-text span:nth-child(3) { color: #66CCCC; } /* t - Medium Teal */
.rainbow-text span:nth-child(4) { color: #9999CC; } /* t - Medium Blue */
.rainbow-text span:nth-child(5) { color: #FFB280; } /* l - Medium Peach */
.rainbow-text span:nth-child(6) { color: #CCCC66; } /* e - Medium Yellow */
.rainbow-text span:nth-child(7) { color: #FF6666; } /* B - Medium Red */
.rainbow-text span:nth-child(8) { color: #FF9966; } /* u - Medium Orange */
.rainbow-text span:nth-child(9) { color: #FFB280; } /* d - Medium Apricot */
.rainbow-text span:nth-child(10) { color: #99CC99; } /* s - Medium Green */

.rainbow-text.bigger {
    font-size: 4rem;
}

.rainbow-text.huge {
    font-size: 5rem;
}

/* Responsive adjustments for modal */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .rainbow-text.bigger {
        font-size: 2.5rem;
    }

    .rainbow-text.huge {
        font-size: 4rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--mint-green);
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.testimonial-card {
    max-width: 800px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid #f0f0f0;
}

.testimonial-card:before {
    content: """;
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 80px;
    color: var(--sky-blue);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Contact Section */
.contact-section {
    background-color: var(--light-gray);
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.map-box {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ddd;
}

/* Footer */
.footer {
    background-color: var(--charcoal);
}

.bg-charcoal {
    background-color: var(--charcoal) !important;
}

.social-icons a {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color) !important;
}

/* General Styles */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    color: var(--primary-color);
    font-weight: bold;
}

.section-title p {
    color: var(--text-light);
}

.py-20 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .floating-mascot {
        max-height: 200px;
        margin-top: 1.5rem;
    }
    
    .glass-nav.navbar-scrolled {
        background-color: rgba(255, 255, 255, 0.98) !important;
    }
    
    .btn-primary {
        width: 100%;
    }
    
    .program-card,
    .feature-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .nav-link {
        margin: 0.25rem;
    }
    
    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}



        /* 1. The Container for the Logo and Title */
        .school-title-container {
            display: flex;
            align-items: center; /* Vertically align items */
            justify-content: flex-start; /* Place at the beginning of the line */
            background-color: #ffffff; /* Clean white background for the header area */
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Soft shadow for a premium feel */
            max-width: 1200px;
            margin: 0 auto; /* Center on large screens */
        }

        /* 2. Style for the Logo Image */
        .school-logo {
            height: 140px; /* Adjust size as needed */
            width: auto; /* Maintain aspect ratio */
            margin-right: 25px; /* Spacing between logo and text */
            transition: transform 0.3s ease; /* Subtle hover effect */
        }

        .school-logo:hover {
            transform: scale(1.05); /* Gentle scale-up on hover */
        }

        /* 3. Style for the Text Container */
        .school-text-wrapper {
            display: flex;
            flex-direction: column; /* Stack the lines vertically */
        }

        /* 4. The Main Title: "PRAJNA VIDYAPEETA" */
        .school-name-english {
            margin: 0;
            padding: 0;
            font-size: 36px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #0d3b66; /* Match the dark blue in the logo */
            line-height: 1.1;
        }

        /* 5. The Second Line (Vernacular): "प्रज्ञा विद्यापीठ" */
        .school-name-vernacular {
            margin: 5px 0 0 0; /* Add top spacing */
            padding: 0;
            font-size: 28px;
            font-weight: 500;
            color: #c94024; /* Match the rich red in the logo */
            line-height: 1.2;
        }

        /* 6. A Subtle Separator Line */
        .separator-line {
            width: 100%;
            height: 2px;
            background-color: #e8e8e8;
            margin-top: 15px;
            margin-bottom: 5px;
        }

        /* 7. The Third Line (Motto): "Path of Knowledge" */
        .school-motto {
            margin: 3px 0 0 0;
            font-size: 16px;
            font-weight: 300;
            font-style: italic;
            color: #555555; /* Neutral grey */
            letter-spacing: 0.5px;
        }

        /* 8. Mobile Responsiveness */
        @media (max-width: 768px) {
            .school-title-container {
                flex-direction: column; /* Stack vertically on small screens */
                text-align: center;
                padding: 20px;
            }

            .school-logo {
                margin-right: 0;
                margin-bottom: 15px;
                height: 100px;
            }

            .school-name-english {
                font-size: 28px;
            }

            .school-name-vernacular {
                font-size: 24px;
            }
        }