/* Google Fonts Import: Poppins (for headings) & Open Sans (for body text) & Lora (for Vision section) & Montserrat (for intro paragraphs and some general text) & Lato (for tagline) */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;600&family=Poppins:wght@400;600;700&display=swap');

/* Basic Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif; /* Modern, readable body font */
    line-height: 1.7; /* Increased line height for readability */
    color: #333; /* Dark grey for main text */
    background-color: #f8f9fa; /* Light grey background */
}

.container {
    width: 90%;
    max-width: 1200px; /* Limit max width for readability */
    margin: 0 auto; /* Center container */
    padding: 20px 0;
}

/* Header */
header {
    background: #1E3A5F; /* Primary Dark Blue from flyer */
    color: #fff;
    padding: 1.3rem 0; /* Adjusted padding for taller header bar */
    border-bottom: #A97C3A 5px solid; /* Accent Gold/Brown for border */
    box-shadow: 0 3px 10px rgba(0,0,0,0.15); /* Softer, more prominent shadow */
}

header .container {
    display: flex;
    justify-content: space-between; /* Spreads out items (logo, title, nav) */
    align-items: center;
    padding: 0 25px; /* Add horizontal padding to header container */
}

/* Header Logo & Title Styling (applied to all pages now) */
.brand-link {
    display: flex; /* Make it a flex container to align logo and title */
    align-items: center; /* Vertically center logo and title */
    text-decoration: none; /* Remove underline from link */
    color: inherit; /* Inherit text color from header */
}
.brand-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

.header-logo {
    max-height: 70px; /* Adjusted logo size */
    width: auto;
    margin-right: 15px; /* Space between logo and title text */
    order: 1;
}

.header-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.3em; /* Adjusted H1 title size */
    margin: 0;
    text-align: left; /* Align text within its own space */
    white-space: nowrap; /* PREVENT TEXT WRAPPING */
    order: 2;
}

header nav {
    order: 3;
    margin-left: auto;
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header li {
    margin-left: 40px;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1em; /* Adjusted nav link size */
    font-weight: 600;
    transition: color 0.3s ease, transform 0.2s ease;
}

header a:hover {
    color: #A97C3A;
    transform: translateY(-2px);
}

/* NEW: Specific styling for "Contact Us" in header nav */
/* Removed .contact-nav-link class from HTML to revert to standard link styling */
/* No specific styling for .contact-nav-link here anymore */


/* Main Content Sections */
main {
    padding: 40px 0;
}

section {
    padding: 80px 0;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    overflow: hidden;
}

section h2 {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin-bottom: 50px;
    color: #2C64B0;
    font-size: 3.2em;
    font-weight: 700;
    line-height: 1.2;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, #e0f2f7 0%, #c1e4f4 100%);
    color: #333;
    text-align: center;
    padding: 120px 0;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
}

/* Animation Keyframes for Hero Heading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


#hero h2 {
    font-family: 'Poppins', sans-serif;
    color: #1E3A5F;
    font-size: 4.5em;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

#hero .tagline {
    font-family: 'Lato', sans-serif;
    font-size: 2.2em;
    font-weight: 700;
    color: #A97C3A;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: fadeInFromLeft 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

.hero-description-p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.45em;
    line-height: 1.9;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.8s;
}

/* Buttons */
.button {
    display: inline-block;
    background: #2C64B0;
    color: #fff;
    padding: 16px 35px;
    text-decoration: none;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-size: 1.2em;
    font-weight: 600;
    margin: 0 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: none;
}

.button:hover {
    background: #1E3A5F;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.secondary-button {
    background: #A97C3A;
    box-shadow: 0 4px 10px rgba(169, 124, 58, 0.4);
}

.secondary-button:hover {
    background: #8B6B30;
    box-shadow: 0 6px 15px rgba(169, 124, 58, 0.6);
}

/* FIX: Ensure button-small has its blue background */
.button-small {
    display: block;
    margin: 0 auto;
    width: fit-content;
    padding: 12px 25px;
    background: #2C64B0 !important; /* Ensure blue background - FORCED */
    color: #fff !important; /* Ensure white text - FORCED */
    text-decoration: none; /* Remove default underline */
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}
.button-small:hover {
    background: #1E3A5F !important; /* Darker blue on hover - FORCED */
    transform: translateY(-2px);
}


/* Grids for Features, Courses, Projects */
.feature-grid, .course-card-grid, .project-grid, .advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 30px 0;
}

/* Feature Item (for squares) */
.feature-item {
    background: #fdfdfd;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: #A97C3A;
}

.feature-item h3 {
    font-family: 'Poppins', sans-serif;
    color: #2C64B0;
    margin-bottom: 18px;
    font-size: 1.8em;
    font-weight: 600;
    line-height: 1.3;
}

.feature-item p {
    font-size: 1em;
    line-height: 1.7;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* UPDATED: Course Card Styling on Homepage (looks like feature-item from reference screenshot) */
#courses-glance .course-card {
    background: #fdfdfd;
    padding: 40px; /* Consistent padding with feature-item */
    border-radius: 15px;
    /* Styles to match screenshot's gold border and subtle glow */
    border: 2px solid #A97C3A; /* Thicker gold border */
    box-shadow: inset 0 0 0 3px rgba(169, 124, 58, 0.1), 0 6px 20px rgba(0,0,0,0.07); /* Inner glow + outer shadow */
    text-align: center; /* Center the text inside the card */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* To push button to bottom */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#courses-glance .course-card:hover {
    transform: translateY(-8px);
    box-shadow: inset 0 0 0 3px #A97C3A, 0 10px 30px rgba(0,0,0,0.12); /* Maintain inner glow on hover */
    border-color: #A97C3A; /* Keep border gold on hover */
}

#courses-glance .course-card h4, /* Ensure correct styling and alignment for course titles in cards */
#courses-glance .course-card p,
#courses-glance .course-card .button-small {
    text-align: center; /* Ensure content is centered within these cards */
}


#courses-glance .course-card h4,
#workshops-pd .course-card h4 {
    font-family: 'Poppins', sans-serif;
    color: #2C64B0;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 15px;
}
#courses-glance .course-card p,
#workshops-pd .course-card p {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}
#courses-glance .course-card .button-small,
#workshops-pd .course-card .button-small {
    margin-top: auto;
    align-self: center;
    display: block;
}


/* Our Vision Section Styling */
#our-vision {
    background: #fdfdfd;
    padding: 80px 0;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    text-align: center;
}

#our-vision h2 {
    color: #1E3A5F;
    margin-bottom: 30px;
    font-size: 3em;
}

#our-vision p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25em;
    max-width: 900px;
    margin: 0 auto 15px auto;
    line-height: 1.8;
    color: #444;
}
#our-vision p:last-child {
    margin-bottom: 0;
}


/* --- Styling for Single Course Sections on courses.html --- */
.single-course-section {
    background: #fdfdfd;
    padding: 60px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    text-align: left;
    border: 1px solid #e9ecef;
}

.single-course-section h3 {
    font-family: 'Poppins', sans-serif;
    color: #1E3A5F;
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

/* Courses Intro Text (courses.html) */
#courses-intro p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3em;
    font-weight: 500;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #444;
    text-align: center;
}

.single-course-section h4 {
    font-family: 'Poppins', sans-serif;
    color: #2C64B0;
    font-size: 1.8em;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

/* NEW: Styles for course-highlights-list text alignment (Course Details pages) */
.single-course-section .course-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px auto;
    max-width: 800px;
    text-align: center; /* Center the entire list block */
}

.single-course-section .course-highlights-list li {
    font-size: 1.05em;
    margin-bottom: 10px;
    padding-left: 0; /* Remove padding to help with centering if desired */
    position: relative;
    line-height: 1.6;
    color: #333;
    text-align: center; /* Center the text content of the list item */
}

.single-course-section .course-highlights-list li::before {
    content: '✓';
    color: #8BC34A;
    font-weight: bold;
    position: absolute;
    left: -20px; /* Adjust as needed, negative value */
    top: 0;
}


/* NEW: Styles for Curriculum Items (like the feature-item from screenshot) */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 30px 0;
}
.curriculum-item {
    background: #fdfdfd;
    padding: 40px; /* Consistent padding with feature-item */
    border-radius: 15px;
    /* Styles to match screenshot's gold border and subtle glow */
    border: 2px solid #A97C3A; /* Thicker gold border */
    box-shadow: inset 0 0 0 3px rgba(169, 124, 58, 0.1), 0 6px 20px rgba(0,0,0,0.07); /* Inner glow + outer shadow */
    text-align: center; /* Center the text inside the card */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.curriculum-item:hover {
    transform: translateY(-8px);
    box-shadow: inset 0 0 0 3px #A97C3A, 0 10px 30px rgba(0,0,0,0.12); /* Maintain inner glow + stronger outer shadow on hover */
    border-color: #A97C3A; /* Keep border gold on hover */
}

.curriculum-item h4,
.curriculum-item p {
    text-align: center; /* Ensure content inside curriculum item is centered */
}


/* --- Adjustments to existing classes for consistency --- */
/* Ensure course-card-grid for workshops still displays as a grid */
#workshops-pd .course-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 30px 0;
}
/* Ensure workshop cards maintain their styling */
#workshops-pd .course-card {
    background: #fdfdfd;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;

    /* For button placement: */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#workshops-pd .course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: #A97C3A;
}

/* Styling for buttons inside Course Cards on Homepage and Workshops */
/* This is also the rule for button-small where it's used on courses-glance.course-card */
#courses-glance .course-card h4,
#workshops-pd .course-card h4 {
    font-family: 'Poppins', sans-serif;
    color: #2C64B0;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}
#courses-glance .course-card p {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: center;
}
#courses-glance .course-card .button-small,
#workshops-pd .course-card .button-small {
    margin-top: auto;
    align-self: center;
    display: block;
}


/* Testimonials Section */
#testimonials-section {
    background: #f0f8ff;
    padding: 90px 0;
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.05);
}

#testimonials-section h2 {
    color: #1E3A5F;
    margin-bottom: 60px;
}

.testimonial-item {
    background: #ffffff;
    padding: 40px;
    margin-bottom: 30px;
    border-left: 8px solid #A97C3A;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-item::before {
    content: '“';
    font-family: Georgia, serif;
    font-size: 6em;
    color: rgba(169, 124, 58, 0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 0.5;
    z-index: 0;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.15em;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-item cite {
    display: block;
    text-align: right;
    font-weight: 600;
    color: #555;
    font-size: 1.05em;
}

/* Projects Page Specific */
#the-advantage {
    background: #f4f7f9;
    box-shadow: none;
    border-radius: 0;
    padding-top: 60px;
    padding-bottom: 60px;
    margin-bottom: 40px;
}
#the-advantage h2 {
    color: #1E3A5F;
    font-size: 2.8em;
    margin-bottom: 40px;
}
/* Advantage Item headings and text, and border */
.advantage-item {
    text-align: center;
    border: 1px solid #dbe0e5;
    border-radius: 15px;
    padding: 60px 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: #A97C3A;
}

.advantage-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.9em;
    font-weight: 700;
    color: #2C64B0;
    margin-bottom: 15px;
}
.advantage-item p {
    font-size: 0.9em;
    line-height: 1.7;
    color: #444;
}

/* Projects Intro Text Styling */
#project-intro p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15em;
    font-weight: 500;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: center;
}


/* Styling for #cta-projects section (Ready to Build Your Future?) */
#cta-projects {
    text-align: center;
}
#cta-projects h2 {
    font-size: 3.5em;
    margin-bottom: 30px;
}
#cta-projects p {
    font-size: 1.35em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}
#cta-projects .button {
    padding: 12px 30px;
    font-size: 1.1em;
    margin-top: 20px;
    margin-bottom: 0;
}


.project-card .tech-stack, .project-card .impact {
    font-size: 0.95em;
    color: #666;
    margin-top: 8px;
    line-height: 1.5;
}
.project-card img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


/* Contact Page Specific Styling */
#contact-form-section .contact-intro-text {
    color: #1E3A5F;
    font-size: 1.25em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.contact-form {
    background: #f9f9f9;
    padding: 75px; /* INCREASED PADDING by 50% */
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    max-width: 1000px; /* INCREASED MAX-WIDTH to accommodate padding and content */
    margin: 0 auto 50px auto;
    border: 1.5px solid #e0e0e0; /* Slightly thicker border for definition */
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 1.05em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 20px 25px; /* INCREASED PADDING for input fields */
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1.15em; /* INCREASED FONT SIZE for input text */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: #2C64B0;
    box-shadow: 0 0 0 0.3rem rgba(44, 100, 176, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 180px; /* SLIGHTLY INCREASED MIN-HEIGHT for message box */
}

.contact-info {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.contact-info h3 {
    font-family: 'Poppins', sans-serif;
    color: #1E3A5F;
    margin-bottom: 25px;
    font-size: 2.2em;
}

.contact-info .contact-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 20px auto;
    max-width: 400px;
    text-align: left;
}

.contact-info .contact-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.4;
    color: #555;
    padding-left: 20px;
    position: relative;
}

.contact-info .contact-list li strong {
    color: #333;
    font-weight: 600;
}

.contact-info .contact-list li::before {
    content: '•';
    color: #A97C3A;
    position: absolute;
    left: 0;
    font-weight: bold;
}


.contact-info a {
    color: #2C64B0;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
    color: #1E3A5F;
}

.operating-hours {
    font-size: 1.05em;
    color: #555;
    margin-top: 20px;
}

/* Footer */
footer {
    background: #1E3A5F;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 60px;
    font-size: 0.95em;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.1);
}

footer p {
    margin-bottom: 8px;
}

/* Social Links Styling */
footer .social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer .social-links a img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.3s ease, opacity 0.3s ease;
    flex-shrink: 0;
    flex-grow: 0;
}

footer .social-links a img:hover {
    transform: scale(1.15);
    opacity: 0.85;
}


/* Styling for the button container inside course details pages */
.contact-button-details-page {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 0;
}
.contact-button-details-page .button {
    /* No specific changes here, inherits from .button class */
}


/* Responsive Adjustments */
@media (max-width: 992px) {
    /* Header Responsive Adjustments */
    header {
        padding: 1.2rem 0; /* Adjusted header padding */
    }
    .header-logo {
        max-height: 65px; /* Adjusted logo size */
        margin-right: 10px;
    }
    .header-title {
        font-size: 2.2em; /* Adjusted title size */
    }
    header nav li {
        margin-left: 35px; /* Adjusted nav spacing */
    }
    header a { /* Specific to header nav links */
        font-size: 0.95em; /* Adjusted nav link size */
    }

    #hero h2 {
        font-size: 3.5em;
    }
    #hero .tagline {
        font-size: 1.8em;
    }
    section h2 {
        font-size: 2.5em;
    }
    .button {
        padding: 14px 30px;
        font-size: 1.1em;
    }
    .single-course-section h3 {
        font-size: 2.2em;
    }
    .single-course-section .course-intro-para {
        font-size: 1.1em;
    }
    .single-course-section h4 {
        font-size: 1.6em;
    }
    .advantage-item h3 {
        font-size: 1.7em;
    }
    #cta-projects h2 {
        font-size: 3em;
    }
    #cta-projects p {
        font-size: 1.15em;
        margin-bottom: 30px;
    }
    #cta-projects .button {
        padding: 10px 25px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
    }
    .header-logo {
        max-height: 50px; /* Further adjust for mobile */
        margin-right: 0;
        margin-bottom: 10px;
        order: 1;
    }
    .header-title {
        flex-grow: 0;
        font-size: 1.3em; /* Further adjust for mobile */
        margin: 0;
        order: 2;
    }
    header nav {
        margin-left: 0;
        margin-top: 10px;
        order: 3;
    }
    header nav ul {
        flex-direction: column;
        align-items: center;
    }
    header li {
        margin: 5px 0;
    }


    #hero {
        padding: 80px 0;
    }
    #hero h2 {
        font-size: 2.8em;
    }
    #hero .tagline {
        font-size: 1.5em;
    }
    #hero p {
        font-size: 1.1em;
    }
    .button {
        font-size: 1em;
        padding: 12px 25px;
        margin: 10px 5px;
    }
    .button.secondary-button {
        margin-top: 15px;
    }


    section {
        padding: 50px 0;
        margin-bottom: 30px;
    }
    section h2 {
        font-size: 2.2em;
        margin-bottom: 35px;
    }

    .feature-grid, .course-card-grid, .project-grid, .advantage-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px 0;
    }
    .feature-item, .course-card, .project-card, .advantage-item {
        padding: 30px;
    }
    .feature-item h3, .advantage-item h3 {
        font-size: 1.6em;
    }
    .course-card h4 {
        font-size: 1.4em;
    }

    .single-course-section {
        padding: 40px;
    }
    .single-course-section h3 {
        font-size: 2.2em;
    }
    .single-course-section .course-intro-para {
        font-size: 1em;
    }
    .single-course-section h4 {
        font-size: 1.5em;
    }


    .testimonial-item {
        padding: 30px;
        margin-bottom: 25px;
    }
    .testimonial-item p {
        font-size: 1.05em;
    }

    .contact-form {
        padding: 25px; /* Adjust for smaller screens */
        max-width: 90%; /* Adjust max-width for smaller screens */
    }
    .form-group label {
        font-size: 1em;
    }
    .form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group textarea {
        padding: 15px 20px; /* Adjust padding for smaller screens */
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.1em; /* Further adjust for smallest screens */
    }
    .header-logo {
        max-height: 40px; /* Further adjust for smallest screens */
    }
    #hero h2 {
        font-size: 2.2em;
    }
    #hero .tagline {
        font-size: 1.3em;
    }
    .button {
        display: block;
        width: 80%;
        margin: 10px auto;
    }
    .secondary-button {
        margin-top: 10px;
    }

    section {
        padding: 40px 0;
        margin-bottom: 20px;
    }
    section h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .feature-item {
        padding: 20px;
    }
    .feature-item h3 {
        font-size: 1.5em;
    }
    .feature-item p {
        font-size: 0.9em;
    }

    .course-card, .project-card, .advantage-item {
        padding: 25px;
    }
    .single-course-section {
        padding: 30px;
    }
    .single-course-section h3 {
        font-size: 1.8em;
    }
    .single-course-section .course-intro-para {
        font-size: 0.95em;
    }
    .single-course-section h4 {
        font-size: 1.3em;
    }
}