﻿/* General Body Styles & Reset */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f8f8; /* Light background for the page */
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

/* Header & Navbar */
header {
    background: rgba(255, 255, 255, 0.9); /* Slightly transparent white for a modern look */
    backdrop-filter: blur(10px);
    border-radius: 0px 0px 15px 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); /* Softer shadow */
    padding: 10px 30px; /* Adjusted padding */
    margin-bottom: 0; /* Header should sit right at the top */
    transition: all 0.4s ease;
    position: sticky; /* Makes header stick to the top on scroll */
    top: 0;
    z-index: 1000; /* Ensure header is always on top */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px; /* Limit navbar width for larger screens */
    margin: 0 auto; /* Center navbar content */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 2.2em; /* Slightly adjusted font size */
    color: #040439;
    font-weight: bold;
    /* Removed animation for simplicity, re-add if desired */
}

    .logo img {
        border-radius: 50%; /* Make logo image circular */
    }

.nav-links {
    display: flex;
    gap: 25px; /* Adjusted gap */
    list-style: none;
    padding: 0;
    margin: 0;
}

    .nav-links li a {
        text-decoration: none;
        color: #040439;
        font-size: 1.15em; /* Adjusted font size */
        font-weight: 500;
        padding: 8px 12px; /* Adjusted padding */
        position: relative;
        transition: color 0.3s ease; /* Transition for color only */
    }

        /* Custom Underline Effect for Nav Links */
        .nav-links li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px; /* Position below the text */
            left: 50%;
            transform: translateX(-50%);
            background-color: #007bff; /* Highlight color */
            transition: width 0.3s ease;
        }

        .nav-links li a:hover::after,
        .nav-links li a.active::after {
            width: 100%; /* Expand underline on hover or active */
        }

        .nav-links li a:hover {
            color: #007bff; /* Highlight color on hover */
        }

.nav-buttons {
    display: flex;
    gap: 15px;
}

.Apply {
    padding: 10px 22px; /* Adjusted padding */
    border-radius: 50px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #040439; /* Solid border */
    outline: none;
    background: transparent;
    color: #040439;
}

    .Apply:hover {
        background-color: #040439;
        color: white;
        transform: translateY(-2px); /* Slight lift */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

/* --- Hero Section / Image Slider --- */
.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden; /* Ensure anything outside slider is hidden */
    margin-bottom: 50px; /* Space below the slider */
}

.slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    /* height: 550px; /* Fixed height, adjust as needed or use aspect-ratio */
    /* For responsive height based on image aspect ratio, if all images are same: */
    aspect-ratio: 16 / 9; /* Or 21 / 9 for wider cinematic */
    max-height: 650px; /* Limit max height for very tall screens */
}

.slides {
    display: flex;
    height: 100%; /* Take full height of container */
    transition: transform 0.8s ease-in-out; /* Slower, smoother slide */
}

    .slides img {
        width: 100%;
        height: 100%; /* Cover the entire area */
        object-fit: cover; /* Ensures images cover the container without distortion */
        display: block;
        flex-shrink: 0;
    }

/* Welcome Text Overlay */
.welcome-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 20; /* Higher z-index than buttons/dots */
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.5); /* More visible background */
    border-radius: 12px;
    max-width: 700px; /* Increased max-width for better readability */
    box-sizing: border-box; /* Include padding in width */
}

    .welcome-text h1 {
        font-size: 3.2em; /* Larger heading */
        margin-bottom: 15px;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9); /* Stronger shadow for pop */
        line-height: 1.2;
    }

    .welcome-text p {
        font-size: 1.3em; /* Larger paragraph text */
        margin-bottom: 25px;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    }

.cta-button {
    background-color: #007bff;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: bold;
}

    .cta-button:hover {
        background-color: #0056b3;
        transform: scale(1.05);
    }

/* Slider Navigation Buttons */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6); /* Slightly darker */
    color: white;
    border: none;
    padding: 12px 18px; /* Larger buttons */
    cursor: pointer;
    font-size: 28px; /* Larger icons */
    border-radius: 5px;
    z-index: 10;
    transition: background-color 0.3s ease;
    display: flex; /* Hide by default, only for auto-slide */
}

    .prev-btn:hover, .next-btn:hover {
        background-color: rgba(0, 0, 0, 0.9);
    }

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Slider Dot Navigation */
.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px; /* Wider gap */
    z-index: 10;
    display: none; /* Hide by default for auto-slide */
}

.dot {
    width: 14px; /* Larger dots */
    height: 14px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .dot.active, .dot:hover {
        background-color: white;
        transform: scale(1.3); /* More pronounced scale */
    }


/* --- ABOUT US SECTION --- */
.about-us-section {
    padding: 80px 5%; /* More vertical padding */
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #333;
    background-color: #ffffff; /* White background for the section */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Subtle shadow */
    border-radius: 10px;
    margin-bottom: 50px; /* Space below the section */
}

    .about-us-section h2,
    .values-programs-section h2 { /* Apply common styles to both section headings */
        font-size: 2.8em; /* Make the heading larger and more prominent */
        color: #040439;
        margin-top: 0; 
        margin-bottom: 25px; /* More space below */
        position: relative;
        display: inline-block;
        padding-bottom: 8px; /* Space between text and underline */
        text-transform: uppercase;
        letter-spacing: 2px;
    }

        .about-us-section h2::after,
        .values-programs-section h2::after {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            width: 80px; /* Wider underline */
            height: 4px; /* Thicker underline */
            background-color: #007bff;
            border-radius: 2px;
        }

    .about-us-section p {
        font-size: 1.15em; /* Slightly larger paragraph text */
        line-height: 1.8; /* More line spacing for readability */
        max-width: 850px; /* Constrain paragraph width */
        margin: 0 auto;
        color: #555;
    }

/* --- Programs/Values Section (3 Blocks with Dropdowns) --- */
.values-programs-section {
    padding: 60px 20px;
    background-color: #ecf0f1; /* Light grey background for this section */
    text-align: center;
    margin-bottom: 50px;
    background-color: #87CEEB;
}

.blocks-container {
    
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* More space between blocks */
    padding: 20px 0; /* Vertical padding */
    max-width: 1200px;
    margin: 0 auto;
}

.block {
    flex: 1 1 300px; /* flex-grow, flex-shrink, flex-basis */
    min-width: 280px;
    background-color: #ffffff;
    border-radius: 12px; /* Slightly more rounded corners */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Stronger initial shadow */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

    .block:hover {
        transform: translateY(-8px); /* More pronounced lift effect */
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); /* Stronger hover shadow */
    }

.block-header {
    background-color: #040439; /* Use your dark brand color */
    color: white;
    padding: 22px 28px; /* More padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    font-weight: bold;
}

    .block-header h3 {
        margin: 0;
        font-size: 1.6em; /* Slightly larger heading in blocks */
    }

.dropdown-icon {
    font-size: 1.3em;
    transition: transform 0.3s ease;
}

.block.active .dropdown-icon {
    transform: rotate(180deg);
}

.block-content {
    padding: 0 28px; /* Horizontal padding, vertical will animate */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding-top 0.5s ease-out, padding-bottom 0.5s ease-out; /* Smoother transition */
    background-color: #fcfcfc;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    text-align: left; /* Align content text left */
    font-family:Arial;
    
}

.block.active .block-content {
    max-height: 600px; /* Sufficiently large value */
    padding-top: 25px;
    padding-bottom: 25px;
}

.block-content p {
    margin-bottom: 18px;
    font-size: 1em;
    color: #444;
}

.block-content ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
    margin-top: 0;
}

    .block-content ul li {
        margin-bottom: 8px;
        font-size: 0.95em;
        color: #666;
        position: relative;
        padding-left: 20px; /* Space for custom bullet */
    }

        .block-content ul li::before {
            content: '•'; /* Custom bullet point */
            color: #007bff; /* Color for the bullet */
            position: absolute;
            left: 0;
            top: 0;
            font-weight: bold;
        }


/* --- Responsive Adjustments --- */
@media (max-width: 992px) { /* Adjust for medium screens */
    .navbar {
        padding: 10px 20px;
    }

    .logo {
        font-size: 1.8em;
    }

    .nav-links {
        gap: 15px;
    }

        .nav-links li a {
            font-size: 1em;
        }

    .Apply {
        padding: 8px 18px;
        font-size: 0.9em;
    }

    .welcome-text h1 {
        font-size: 2.5em;
    }

    .welcome-text p {
        font-size: 1.1em;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .about-us-section h2,
    .values-programs-section h2 {
        font-size: 2.2em;
    }

    .about-us-section p {
        font-size: 1em;
    }

    .blocks-container {
        gap: 20px;
    }

    .block-header h3 {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) { /* Adjust for tablets & smaller screens */
    .navbar {
        flex-direction: column; /* Stack navbar items vertically */
        align-items: flex-start; /* Align logo to left */
        gap: 15px;
    }

    .nav-links {
        flex-direction: column; /* Stack nav links vertically */
        gap: 5px;
        width: 100%; /* Take full width */
        text-align: center; /* Center links in vertical stack */
    }

        .nav-links li {
            width: 100%;
        }

            .nav-links li a {
                display: block; /* Make links full width */
                padding: 10px 0; /* More vertical padding for links */
                border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Separator */
            }

            .nav-links li:last-child a {
                border-bottom: none;
            }

    .nav-buttons {
        width: 100%;
        justify-content: center; /* Center the button */
        margin-top: 10px;
    }

    .Apply {
        width: 80%; /* Make button wider */
    }

    .slider-container {
        aspect-ratio: 4 / 3; /* Taller aspect ratio for mobile */
        max-height: 400px;
    }

    .welcome-text {
        padding: 20px;
        max-width: 90%;
    }

        .welcome-text h1 {
            font-size: 1.8em;
        }

        .welcome-text p {
            font-size: 1em;
            margin-bottom: 20px;
        }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .about-us-section,
    .values-programs-section {
        padding: 40px 15px;
    }

        .about-us-section h2,
        .values-programs-section h2 {
            font-size: 1.8em;
            margin-bottom: 20px;
        }

        .about-us-section p {
            font-size: 0.9em;
        }

    .blocks-container {
        flex-direction: column; /* Stack blocks vertically */
        align-items: center; /* Center blocks */
        gap: 20px;
    }

    .block {
        width: 95%; /* Take almost full width */
        max-width: 450px; /* Limit max width for large mobile screens */
    }

    .block-header h3 {
        font-size: 1.3em;
    }

    .block-content p, .block-content ul li {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) { /* Adjust for small mobile screens */
    .logo {
        font-size: 1.6em;
    }

        .logo img {
            width: 40px;
            height: 40px;
        }

    .welcome-text h1 {
        font-size: 1.5em;
    }

    .welcome-text p {
        font-size: 0.8em;
    }

    .cta-button {
        padding: 8px 15px;
        font-size: 0.8em;
    }

    .about-us-section h2,
    .values-programs-section h2 {
        font-size: 1.5em;
    }

    .about-us-section p {
        font-size: 0.85em;
    }
}
/* ... (Keep all existing CSS from the previous comprehensive update) ... */

/* --- Events Section --- */
.events-section {
    background-color: #040439; /* Dark blue background as per image */
    padding: 60px 20px;
    text-align: center;
    color: white; /* White text for contrast */
    margin-bottom: 50px;
    overflow: hidden; /* Important for the carousel */
}

    .events-section h2 {
        color: white; /* White heading */
        /* Reuse heading styles from about-us-section, but override color */
        font-size: 2.8em;
        margin-bottom: 25px;
        position: relative;
        display: inline-block;
        padding-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

        .events-section h2::after {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            width: 80px;
            height: 4px;
            background-color: #007bff; /* Blue underline */
            border-radius: 2px;
        }

.event-carousel-container {
    position: relative;
    max-width: 1200px; /* Limit width */
    margin: 0 auto 40px auto; /* Center with space at bottom */
    overflow: hidden; /* Hide cards outside view */
    padding: 0 50px; /* Padding for navigation buttons */
    box-sizing: border-box;
}

.event-cards-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out; /* Smooth sliding transition */
    gap: 30px; /* Space between event cards */
}

.event-card {
    flex: 0 0 calc(33.333% - 20px); /* Display 3 cards per view, account for gap */
    /* (30px gap for 2 spaces, so 20px = (2/3) * 30px) */
    /* Better calc if using gap: flex: 0 0 calc(100% / 3 - (2 * 30px / 3)); for 3 cards */
    min-width: 280px; /* Minimum width of each card before stacking */
    background-color: #fff;
    color: #333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex; /* Make content flexible inside card */
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .event-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    .event-card img {
        width: 100%;
        height: 200px; /* Fixed height for event image */
        object-fit: cover; /* Cover and crop */
        display: block;
    }

    .event-card .card-content {
        padding: 20px;
        flex-grow: 1; /* Allows content to grow and fill space */
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Pushes read more to bottom if content varies */
    }

    .event-card h4 {
        font-size: 1.3em;
        margin-top: 0;
        margin-bottom: 10px;
        color: #040439; /* Dark blue heading */
    }

    .event-card .event-date {
        font-size: 0.9em;
        color: #666;
        margin-bottom: 15px;
    }

    .event-card .read-more {
        display: inline-block;
        color: #007bff;
        text-decoration: none;
        font-weight: bold;
        margin-top: auto; /* Pushes it to the bottom of the card-content */
        transition: color 0.3s ease;
    }

        .event-card .read-more:hover {
            color: #0056b3;
        }

/* Event Carousel Navigation Buttons */
.event-prev-btn, .event-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 2em;
    border-radius: 50%; /* Circular buttons */
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 50px; /* Fixed width */
    height: 50px; /* Fixed height */
    display: flex;
    justify-content: center;
    align-items: center;
}

    .event-prev-btn:hover, .event-next-btn:hover {
        background-color: rgba(255, 255, 255, 0.4);
        transform: translateY(-50%) scale(1.1);
    }

.event-prev-btn {
    left: 0;
}

.event-next-btn {
    right: 0;
}

.view-all-events-btn {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: bold;
    margin-top: 40px; /* Space above button */
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .view-all-events-btn:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
    }

/* --- Responsive Adjustments for Events Section --- */
@media (max-width: 992px) {
    .event-card {
        flex: 0 0 calc(50% - 15px); /* Show 2 cards per row on medium screens */
    }

    .event-carousel-container {
        padding: 0 30px; /* Adjust padding for buttons */
    }

    .event-prev-btn, .event-next-btn {
        padding: 10px;
        font-size: 1.8em;
        width: 40px;
        height: 40px;
    }

    .event-card h4 {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .event-card {
        flex: 0 0 90%; /* Show 1 card per row on small screens */
        max-width: 400px; /* Limit single card width */
    }

    .event-carousel-container {
        padding: 0 20px; /* Adjust padding for buttons */
    }

    .event-prev-btn, .event-next-btn {
        padding: 8px;
        font-size: 1.5em;
        width: 35px;
        height: 35px;
    }

    .events-section h2 {
        font-size: 2em;
    }

    .view-all-events-btn {
        font-size: 1em;
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    .event-carousel-container {
        padding: 0 10px;
    }

    .event-prev-btn, .event-next-btn {
        display: none; /* Hide navigation buttons on very small screens, rely on touch scroll */
    }

    .event-card {
        padding-bottom: 15px; /* Ensure some bottom space when stacking */
    }
}
/* --- Contact Section --- */
/* --- Contact Section --- */
.contact-section {
    padding: 80px 20px;
    background-color: #f0f4f7; /* Light grey blue background */
    text-align: center;
    color: #333;
}

    .contact-section h2 {
        font-size: 2.8em;
        color: #040439;
        margin-bottom: 50px;
        position: relative;
        display: inline-block;
        padding-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

        .contact-section h2::after {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            width: 80px;
            height: 4px;
            background-color: #007bff;
            border-radius: 2px;
        }

.contact-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers items when they don't fill the row */
    gap: 30px; /* Slightly reduced gap for three columns */
    max-width: 1400px; /* Increased max-width to allow more space for 3 columns */
    margin: 0 auto 50px auto; /* Space below before map */
}

.contact-info,
.contact-form-container {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    text-align: left;
    /* Updated flex-basis to accommodate three columns */
    flex: 1 1 300px; /* Base width for each contact card/form. Will grow/shrink. */
    max-width: 450px; /* Max width for each column */
}

    /* Ensure form container and info blocks align their headings and content similarly */
    .contact-info h3,
    .contact-form-container h3 {
        color: #040439;
        font-size: 1.8em;
        margin-bottom: 25px;
        border-bottom: 2px solid #007bff;
        padding-bottom: 10px;
        display: inline-block; /* Makes border-bottom only as wide as text */
    }

    .contact-info p {
        font-size: 1.1em;
        margin-bottom: 15px;
        display: flex;
        align-items: flex-start; /* Align icon and text at the top */
        gap: 15px;
        color: #555;
    }

        .contact-info p i {
            color: #007bff;
            font-size: 1.3em;
            flex-shrink: 0; /* Prevent icon from shrinking */
            padding-top: 3px; /* Adjust icon vertical alignment if needed */
        }

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    /* For branch info, left align. For main contact info, this will also be left. */
    /* If you want them centered in the main, you might need a dedicated class for that */
}

    .social-links a {
        color: #040439;
        font-size: 1.8em;
        transition: color 0.3s ease, transform 0.3s ease;
    }

        .social-links a:hover {
            color: #007bff;
            transform: translateY(-3px);
        }

/* Form Specific Styles (already good, just including for completeness) */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #040439;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .contact-form input[type="text"]:focus,
    .contact-form input[type="email"]:focus,
    .contact-form textarea:focus {
        border-color: #007bff;
        box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
        outline: none;
    }

.contact-form textarea {
    resize: vertical;
}

.contact-form .submit-btn {
    background-color: #007bff;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: bold;
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 20px auto 0 auto;
}

    .contact-form .submit-btn:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
    }

.map-container {
    width: 100%;
    max-width: 1200px; /* Kept to 1200px as before for map */
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-top: 50px; /* Add some space above the map */
}

    .map-container iframe {
        display: block;
    }


/* --- Responsive Adjustments for Contact Section --- */
@media (max-width: 1200px) { /* Adjust for larger tablets/smaller desktops */
    .contact-info,
    .contact-form-container {
        flex: 1 1 calc(50% - 15px); /* Two columns */
        max-width: 550px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 15px;
    }

        .contact-section h2 {
            font-size: 2.2em;
        }

    .contact-info,
    .contact-form-container {
        flex: 1 1 90%; /* Stack columns on small screens */
        max-width: 500px; /* Limit single column width */
        padding: 25px;
    }

        .contact-info h3,
        .contact-form-container h3 {
            font-size: 1.5em;
            margin-bottom: 20px;
        }

        .contact-info p {
            font-size: 1em;
            gap: 10px;
        }

            .contact-info p i {
                font-size: 1.2em;
            }

    .social-links {
        justify-content: center; /* Center social links when stacked */
    }

    .map-container {
        margin-top: 30px; /* Adjust map margin */
    }
}

@media (max-width: 480px) {
    .contact-section h2 {
        font-size: 1.8em;
    }

    .contact-info h3,
    .contact-form-container h3 {
        font-size: 1.3em;
    }

    .contact-form .submit-btn {
        padding: 12px 20px;
        font-size: 1em;
    }
}



/* --- Footer Section --- */
footer {
    background-color: #040439; /* Dark blue background matching header logo */
    color: #f8f8f8; /* Light text color */
    padding: 60px 20px 20px; /* More padding at top */
    font-size: 0.95em;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto 40px auto; /* Space before bottom text */
    gap: 30px; /* Space between footer columns */
}

.footer-about,
.footer-links,
.footer-contact-info {
    flex: 1 1 280px; /* Base width for columns */
    padding: 15px;
    box-sizing: border-box;
}

    .footer-about h3,
    .footer-links h3,
    .footer-contact-info h3 {
        color: #ffffff;
        font-size: 1.5em;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 10px;
    }

        .footer-about h3::after,
        .footer-links h3::after,
        .footer-contact-info h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background-color: #007bff; /* Blue line under headings */
            border-radius: 2px;
        }


    .footer-about p {
        line-height: 1.8;
        color: #bbb;
    }

    .footer-links ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .footer-links ul li {
            margin-bottom: 12px;
        }

            .footer-links ul li a {
                color: #bbb;
                text-decoration: none;
                transition: color 0.3s ease;
                display: block; /* Make link block for full clickable area */
            }

                .footer-links ul li a:hover {
                    color: #007bff;
                    text-decoration: underline;
                }

    .footer-contact-info p {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 15px;
        color: #bbb;
    }

        .footer-contact-info p i {
            color: #007bff;
            font-size: 1.1em;
        }

.footer-social-links {
    margin-top: 25px;
    display: flex;
    gap: 18px;
}

    .footer-social-links a {
        color: #bbb;
        font-size: 1.6em;
        transition: color 0.3s ease, transform 0.3s ease;
    }

        .footer-social-links a:hover {
            color: #007bff;
            transform: translateY(-3px);
        }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    color: #888;
}


/* --- Responsive Adjustments for Contact & Footer --- */
@media (max-width: 992px) {
    .block-flex,
    .contact-info,
    .contact-form-container {
        flex: 1 1 calc(100% - 40px); /* Stack columns on medium screens */
        max-width: 600px; /* Allow wider single column */
    }

    .footer-container {
        justify-content: center; /* Center columns when they wrap */
        text-align: center;
    }

    .footer-about,
    .footer-links,
    .footer-contact-info {
        flex: 1 1 45%; /* Two columns per row if space allows */
    }

        .footer-about h3::after,
        .footer-links h3::after,
        .footer-contact-info h3::after {
            left: 50%; /* Center underlines */
            transform: translateX(-50%);
        }

        .footer-contact-info p {
            justify-content: center; /* Center contact info lines */
        }

    .footer-social-links {
        justify-content: center; /* Center social links */
    }
}

@media (max-width: 768px) {
    .block-flex,.contact-section {
        padding: 60px 15px;
    }

        .block-flex,.contact-section h2 {
            font-size: 2.2em;
        }

    .contact-info,
    .contact-form-container {
        padding: 25px;
    }

        .contact-info h3,
        .contact-form-container h3 {
            font-size: 1.5em;
            margin-bottom: 20px;
        }

        .contact-info p {
            font-size: 1em;
            gap: 10px;
        }

            .contact-info p i {
                font-size: 1.2em;
            }

    .social-links {
        justify-content: center; /* Center social links in single column */
    }

    .footer-container {
        flex-direction: column; /* Stack all footer columns vertically */
        align-items: center; /* Center them */
        gap: 20px;
    }

    .footer-about,
    .footer-links,
    .footer-contact-info {
        flex: 1 1 100%; /* Take full width */
        max-width: 400px; /* Limit width */
        text-align: center;
    }
}

@media (max-width: 480px) {
    .block-flex,.contact-section h2 {
        font-size: 1.8em;
    }

    .contact-info h3,
    .contact-form-container h3 {
        font-size: 1.3em;
    }

    .contact-form .submit-btn {
        padding: 12px 20px;
        font-size: 1em;
    }

    footer {
        padding: 40px 15px 15px;
    }

    .footer-about h3,
    .footer-links h3,
    .footer-contact-info h3 {
        font-size: 1.3em;
    }
}
