/* --- General & Typography --- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #EEEEEE;
    color: #333;
    padding-top: 56px; /* Add padding to body for the fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.tamil-text {
    font-family: 'Hind Madurai', sans-serif;
    font-weight: 500;
}

.lead-sm {
    font-size: 1.1rem;
    color: #555;
}

/* --- Language Toggle Specific Styles --- */
/* Hide English text when Tamil is active */
.lang-ta [data-key$="_en"] {
    display: none;
}
/* Hide Tamil text when English is active (default) */
[data-key$="_ta"] {
    display: none;
}
.lang-ta [data-key$="_ta"] {
    display: block;
}


/* --- Banner Section with Parallax --- */
.banner {
    min-height: 70vh;
    /* The image used */
    background: url('gurukulam.jpg') no-repeat center center;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
}

.banner h1 {
    font-size: calc(1.8rem + 2.5vw);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.banner .lead {
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}


/* --- On-Scroll Animation --- */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Form Section --- */
#form-section {
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
}

.dynamic-form {
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

/* --- Custom Button Style --- */
.btn-primary {
    background-color: #ff6f00; /* Saffron/Orange color */
    border-color: #ff6f00;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #e66000;
    border-color: #e66000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-group .btn {
    transition: all 0.3s ease;
}

/* --- Form Control Styling --- */
.form-control:focus, .form-select:focus {
    border-color: #ff914d;
    box-shadow: 0 0 0 0.25rem rgba(255, 111, 0, 0.25);
}


/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .banner {
        min-height: 50vh;
        background-attachment: scroll; /* Disable parallax on mobile for performance */
    }

    .banner h1 {
        font-size: calc(1.5rem + 3vw);
    }
}