/* Import a Google Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/* --- General Body and Container Styles --- */
body {
    font-family: 'Roboto', sans-serif; /* Using the imported font */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #2c3e50; /* Lighter, subtle background */
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scroll issues */
}

.container {
    width: 90%; /* Slightly wider container */
    max-width: 1200px; /* Max width for large screens */
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* --- Header Styles --- */
header {
    /* CORRECTED LINE: The syntax for linear-gradient was fixed here */
    background: linear-gradient(to right, #2c3e50, #4a69bd); /* Gradient background */
    color: #9E9DA0;
    padding: 15px 0; /* Reduced top padding */
    min-height: 80px; /* Taller header */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Stronger shadow for depth */
    position: sticky; /* Sticky header */
    top: 0;
    z-index: 1000; /* Ensure it stays on top */
}

header .logo {
    float: left;
    display: flex;
    align-items: center;
}

header .logo img {
    height: 60px; /* Larger logo */
    margin-right: 20px;
    margin-left: 20px;
    border-radius: 50%; /* Make logo round if desired */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Shadow for logo */
}

header h1 {
    margin: 0px;
    font-size: 28px; /* Larger company name */
    font-weight: 700; /* Bolder font */
    letter-spacing: 1px;
}

header nav {
    float: right;
    margin-top: 15px; /* Adjust alignment with larger logo */
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 25px; /* More spacing between nav items */
}

header a {
    color: #9E9DA0;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 400;
    transition: color 0.3s ease-in-out; /* Smooth color transition on hover */
}

header a:hover {
    color: #89cff0; /* Lighter blue on hover */
    font-weight: 700; /* Bolder on hover */
}

/* --- Main Content Area --- */
main {
    padding: 40px 0; /* More vertical padding for main content */
}

/* --- Courses Section --- */
.courses-section { /* Note: This was previously suggested to be renamed to .services-section */
    background: #fff;
    padding: 50px 0; /* More padding */
    margin-bottom: 30px;
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Deeper shadow */
    text-align: center; /* Center the heading */
}

.courses-section h2 {
    font-size: 36px; /* Larger heading */
    color: #2c3e50; /* Darker heading color */
    margin-bottom: 40px;
    position: relative;
    display: inline-block; /* To center the pseudo-element */
}

.courses-section h2::after {
    content: '';
    display: block;
    width: 60px; /* Underline for heading */
    height: 4px;
    background-color: #4a69bd; /* Accent color */
    margin: 10px auto 0;
    border-radius: 2px;
}

.courses-section ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Larger minimum card size */
    gap: 30px; /* More space between cards */
    max-width: 90%; /* Center the grid on larger screens */
    margin: 0 auto;
}

.courses-section li {
    background: #DEFFEE; /* Slightly off-white for cards */
    border: 1px solid #e0e0e0;
    padding: 25px; /* More padding inside cards */
    border-radius: 10px; /* Rounded card corners */
    text-align: left; /* Align text within card to left */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Card shadow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth hover effect */
    font-size: 18px; /* Larger text for courses */
    color: #555;
    display: flex; /* For potential icon or numbering */
    align-items: center;
}

.courses-section li:hover {
    transform: translateY(-8px); /* Lift effect on hover */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
    background-color: #7ea3de; /* Slight background change on hover */
}

/* You could add an icon/numbering to each list item if you want: */
/*
.courses-section li::before {
    content: '📚';
    margin-right: 10px;
    font-size: 24px;
    line-height: 1;
}
*/

/* Remove underline and inherit card styling */
.courses-section li a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}


.courses-section li a:hover {
    background-color: #7ea3de;  /* Match your existing hover */
    color: #fff;
    text-decoration: none;
}


/* --- Footer Styles --- */
footer {
    background: #2c3e50; /* Darker footer background */
    color: #ecf0f1; /* Lighter text color */
    text-align: center;
    padding: 30px 0; /* More padding */
    margin-top: 50px;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1); /* Top shadow for footer */
}

footer p {
    margin: 8px 0; /* More spacing for footer text */
    font-size: 15px;
}

footer strong {
    color: #89cff0; /* Accent color for strong text */
}

footer a {
    color: #89cff0; /* Lighter blue for links */
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

footer a:hover {
    text-decoration: underline;
    color: #fff; /* White on hover for contrast */
}

.footer-info, .social-media, .copyright {
    margin-bottom: 20px;
}

.social-media a {
    margin: 0 10px;
    display: inline-block; /* To allow margin */
}

.social-media p {
    font-weight: 600;
}



/* --- About Us Page Specific Styles --- */

.about-hero {
    background: linear-gradient(to right, #4a69bd, #2c3e50); /* Similar to header background */
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.about-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Mission Section */
.about-mission {
    padding: 50px 0;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.mission-content {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    align-items: center;
    gap: 40px;
}

.mission-content .text-block {
    flex: 1; /* Takes up available space */
    min-width: 300px; /* Minimum width before wrapping */
    padding-right: 20px;
}

.mission-content .text-block h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.mission-content .text-block p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.mission-content .image-block {
    flex: 1;
    min-width: 300px; /* Minimum width before wrapping */
    text-align: center;
}

.mission-content .image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* History Section */
.about-history {
    padding: 50px 0;
    margin-bottom: 40px;
    background: #fdfdfd;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.about-history h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.about-history h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #4a69bd;
    margin: 10px auto 0;
    border-radius: 2px;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.history-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.history-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.history-item img {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures image covers area without distortion */
    border-radius: 8px;
    margin-bottom: 20px;
}

.history-item h3 {
    font-size: 24px;
    color: #4a69bd;
    margin-bottom: 10px;
}

.history-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.about-team {
    padding: 50px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.about-team h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-team h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #4a69bd;
    margin: 10px auto 0;
    border-radius: 2px;
}

.team-intro {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    background: #fdfdfd;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 150px; /* Fixed width for team photos */
    height: 150px; /* Fixed height */
    object-fit: cover; /* Ensures consistent sizing */
    border-radius: 50%; /* Makes images circular */
    border: 4px solid #4a69bd; /* Accent border */
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.team-member h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.team-member .role {
    font-size: 16px;
    color: #4a69bd;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-member p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}


/* --- Contact Us Page Specific Styles --- */

.contact-hero {
    background: linear-gradient(to right, #4a69bd, #2c3e50); /* Similar to header background */
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Contact Details Section */
.contact-details {
    padding: 50px 0;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-details h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.contact-details h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #4a69bd;
    margin: 10px auto 0;
    border-radius: 2px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-item {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.info-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.info-item h3 {
    font-size: 24px;
    color: #4a69bd;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h3 i { /* Icon styling for Font Awesome */
    margin-right: 10px;
    font-size: 28px;
}

.info-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
}

.info-item a {
    color: #4a69bd;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    padding: 50px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-section h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.contact-form-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #4a69bd;
    margin: 10px auto 0;
    border-radius: 2px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: #fdfdfd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
    color: #333;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: calc(100% - 20px); /* Adjust for padding */
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box; /* Include padding in width */
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #4a69bd;
    box-shadow: 0 0 8px rgba(74, 105, 189, 0.3);
    outline: none;
}

.submit-button {
    background: linear-gradient(to right, #4a69bd, #2c3e50);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.submit-button:hover {
    background: linear-gradient(to right, #2c3e50, #4a69bd);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Map Section */
.map-section {
    padding: 50px 0;
    background: #f0f2f5; /* Match body background */
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.map-section h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.map-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #4a69bd;
    margin: 10px auto 0;
    border-radius: 2px;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden; /* Ensures iframe respects border-radius */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block; /* Remove extra space below iframe */
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .contact-hero h1,
    .contact-details h2,
    .contact-form-section h2,
    .map-section h2 {
        font-size: 32px;
    }

    .contact-hero p {
        font-size: 18px;
    }

    .info-grid {
        grid-template-columns: 1fr; /* Stack items on small screens */
    }

    .contact-form {
        padding: 20px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        width: 100%; /* Full width on small screens */
    }
}





