@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

section {
    opacity: 0; /* Initially hidden */
}

/* Universal Box Sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Typography - Heading Hierarchy */
h1, .h1-like {
    font-size: 2.8rem;  /* Approx 45px */
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-weight: 700;
}

h2, .h2-like {
    font-size: 2.2rem;    /* Approx 35px */
    margin-bottom: 0.75em;
    line-height: 1.25;
    font-weight: 700;
}

h3, .h3-like {
    font-size: 1.7rem;  /* Approx 27px */
    margin-bottom: 1em;
    line-height: 1.3;
    font-weight: 600;
}

h4, .h4-like {
    font-size: 1.3rem;  /* Approx 21px */
    margin-bottom: 1em;
    line-height: 1.35;
    font-weight: 600;
}

/* ========== HERO SECTION ========== */
#hero {
    padding: 60px 0;
    background-color: #f8f9fa;
    color: #333;
}

.hero-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.hero-left {
    flex: 1;
    max-width: 60%;
}

.hero-right {
    flex: 1;
    max-width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    object-position: bottom;
    margin-left: auto;
    display: block;
}

/* Remove any background or shadow effects */
#hero {
    background: none;
    overflow: visible;
}

/* Adjust hero container for the new layout */
.hero-container {
    align-items: flex-end;
    min-height: 600px;
}

/* Ensure the left content is properly aligned */
.hero-left {
    padding-top: 60px;
    padding-bottom: 60px;
}

#hero h1 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

#hero p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-course-tags .tag {
    background-color: #f0f4f8;
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-course-tags .tag:hover {
    background-color: #e0e7f0;
    transform: translateY(-2px);
}

/* Horizontal Form Styles */
#enquiry-form {
    margin-top: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#enquiry-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: left;
    color: #333;
}

.form-group-inline {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group-inline input[type="text"],
.form-group-inline input[type="email"],
.form-group-inline input[type="tel"],
.form-group-inline select {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group-inline input:focus,
.form-group-inline select:focus {
    outline: none;
    border-color: #0072CE;
    box-shadow: 0 0 0 2px rgba(0, 114, 206, 0.2);
}

#enquiry-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    background-color: #D81B21;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#enquiry-form .btn:hover {
    background-color: #b81217;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-left,
    .hero-right {
        max-width: 100%;
    }
    
    .hero-right {
        order: -1;
        margin-bottom: 30px;
    }
    
    #hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .form-group-inline {
        flex-direction: column;
        gap: 10px;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero p {
        font-size: 1rem;
    }
}

#enquiry-form h3, #contact-enquiry-form h3 {
    font-size: 1.8rem; /* Approx 29px */
    text-align: center;
    margin-bottom: 25px;
    /* color: #333; */ 
}

.course-item h3 {
    font-size: 1.5rem; /* Approx 24px */
    margin-bottom: 10px;
    color: #D81B21; /* Primary Red for course titles */
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item h4 {
    font-size: 2rem; /* Prominent stats - Approx 32px */
    margin-bottom: 5px;
    color: #fff; 
}

.stat-item p {
    font-size: 0.9rem; /* Smaller subtext for stats - Approx 14px */
    color: #f0f0f0;
}

#faq summary {
    font-size: 1.2rem; /* FAQ questions */
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0;
}

#testimonials {
    padding: 40px 0;
}

#testimonials h2 {
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testimonial-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-left: 5px solid #0072CE;
}

.testimonial-item p {
    font-style: italic;
}

.testimonial-item h4 {
    text-align: right;
    color: #333;
    margin-top: 15px;
}

#faq .faq-item p {
    font-size: 1rem; /* FAQ answers */
    padding: 10px 0 10px 15px; /* Indent answer slightly */
    margin-left: 10px;
    border-left: 2px solid #0072CE; /* Accent for answer block */
}

#contact-us .contact-info h3 {
    font-size: 1.6rem; /* "Our Office" */
    /* color: #333; */
    margin-bottom: 15px;
}

/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px; /* Base font size */
    margin: 0;
    padding: 0;
    background-color: #f8f9fa; /* Light grey background */
    color: #343a40; /* Dark grey text */
    line-height: 1.6; /* Updated line-height */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #D81B21; /* Primary blue */
}

a:hover {
    color: #0072CE; /* Darker blue on hover */
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background-color: #ffffff; /* White header background */
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;/* ========== HERO SECTION ========== */
    #hero {
        padding: 60px 0; /* Adjust padding as needed */
        background-color: #f8f9fa; /* Or any light background color if not using a full-width image */
        color: #333; /* Change text color for better contrast if needed */
        text-align: left; /* Reset text-align if it was centered by previous full-bg image styles */
    }
    
    /* Remove old hero background image styles if they exist */
    #hero::before {
        content: none; /* Remove the overlay */
    }
    
    .hero-container {
        display: flex;
        align-items: center;
        gap: 40px; /* Space between left and right columns */
    }
    
    .hero-left {
        flex: 1; /* Takes up available space */
        max-width: 60%; /* Adjust as needed, e.g., 50% or 60% */
    }
    
    .hero-right {
        flex: 1; /* Takes up available space */
        max-width: 40%; /* Adjust as needed, e.g., 50% or 40% */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hero-right img {
        max-width: 100%;
        height: auto;
        border-radius: 8px; /* Optional: adds rounded corners to the image */
        box-shadow: 0 8px 16px rgba(0,0,0,0.1); /* Optional: adds a subtle shadow */
    }
    
    #hero h1 {
        font-size: 2.8rem; /* Adjust as needed */
        color: #333; /* Ensure good contrast */
        margin-bottom: 20px;
    }
    
    #hero p {
        font-size: 1.1rem;
        color: #555; /* Ensure good contrast */
        margin-bottom: 30px;
    }
    
    .hero-course-tags {
        margin-bottom: 30px;
    }
    
    /* Horizontal Form Styles */
    .horizontal-form h3 {
        font-size: 1.5rem; /* Adjust as needed */
        margin-bottom: 20px;
        text-align: left; /* Override centered form heading if any */
    }
    
    .form-group-inline {
        display: flex;
        gap: 15px; /* Space between inline form elements */
        margin-bottom: 15px;
    }
    
    .form-group-inline input[type="text"],
    .form-group-inline input[type="email"],
    .form-group-inline input[type="tel"],
    .form-group-inline select {
        flex: 1; /* Makes input fields share space equally */
        width: auto; /* Override default width if necessary */
    }
    
    .horizontal-form .btn {
        width: 100%; /* Make button full width of its container */
        padding: 12px;
        font-size: 1.1rem;
    }
    
    /* Ensure the hero section text color is not white if it was set for the background image */
    #hero .hero-left h1,
    #hero .hero-left p {
        color: #333; /* Or a dark color of your choice */
    }
    
    /* If you had specific styles for #hero .container that set z-index, remove or adjust them */
    #hero .container {
        position: static; /* Or remove z-index if it was set */
        z-index: auto;
    }
    
    /* Remove or adjust any previous #hero background-size, background-position styles */
    
    /* You might need to adjust the #enquiry-form specific styles if they conflict */
    #enquiry-form {
        background-color: transparent; /* Remove background if it was set for the overlay version */
        padding: 0; /* Remove padding if it was set for the overlay version */
        border-radius: 0; /* Remove border-radius if it was set */
        box-shadow: none; /* Remove box-shadow if it was set */
    }
    
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-block; /* To allow proper sizing of the image link if needed */
}

#header-logo {
    height: 50px; /* Adjust as needed */
    width: auto;
    vertical-align: middle; /* Aligns image nicely if there's text next to it or within the line */
}

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

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-size: 1rem;
    color: #333; /* Dark grey for nav links */
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: #D81B21; /* Primary blue for active/hover nav link */
}


/* Featured Course Spotlight Section - Modern Design */
#featured-course-spotlight {
    padding: 50px 0 60px;
    background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

#featured-course-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D81B21 0%, #0072CE 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-subtitle {
    display: inline-block;
    color: #D81B21;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    color: #002244;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.section-main-heading {
    color: #D81B21;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 30px;
    max-width: 800px;
    text-align: center;
    line-height: 1.4;
    padding: 0 20px;
}

.section-description {
    color: #555;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
    text-align: center;
    padding: 0 20px;
    font-weight: 500;
}

/* Combined Featured Card */
.featured-combined-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
}

.combined-content {
    padding: 30px;
}

.combined-content h3 {
    color: #002244;
    font-size: 1.8rem;
    margin: 0 0 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f4ff;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.benefit-item {
    background: #f8f9ff;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid #D81B21;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.benefit-title {
    color: #002244;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.benefit-desc {
    color: #4a5568;
    line-height: 1.5;
    font-size: 1rem;
}

.featured-course-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.featured-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.course-badge {
    background: linear-gradient(90deg, #D81B21 0%, #b01217 100%);
    color: white;
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.badge-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.badge-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.course-content-wrapper {
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
    padding: 25px;
}

.course-highlights h3 {
    color: #002244;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 15px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    border-left: 3px solid #D81B21;
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(216, 27, 33, 0.03) 0%, rgba(0, 114, 206, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.highlight-item:hover::before {
    opacity: 1;
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    background: #f0f4ff;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D81B21;
    position: relative;
    z-index: 1;
    transition: all 0.25s ease;
    margin-top: 2px;
}

.highlight-item:hover .highlight-icon {
    background: #D81B21;
    color: white;
    transform: rotate(3deg) scale(1.05);
}

.highlight-item h4 {
    color: #002244;
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.highlight-item p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
}

.course-highlights h3 {
    color: #002244;
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}

.course-highlights h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #D81B21 0%, #0072CE 100%);
    border-radius: 2px;
}

/* Course Details Grid */
.course-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .course-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Course Details Section */
.course-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-card {
    background: #f8f9ff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e0e7ff;
}

.detail-card h4 {
    color: #002244;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e7ff;
    font-weight: 700;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-list li {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-weight: 600;
    color: #003366;
    font-size: 0.95rem;
}

.detail-list span:not(.detail-label) {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* CTA Section */
.course-cta {
    background: linear-gradient(135deg, #0072CE 0%, #005aa3 100%);
    border-radius: 10px;
    padding: 20px;
    color: white;
    margin-top: auto;
}

.cta-content h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.cta-content p {
    opacity: 0.9;
    margin-bottom: 20px;
    font-size: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-link, .website-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s ease;
}

.contact-link:hover, .website-link:hover {
    opacity: 0.9;
    text-decoration: underline;
}

.contact-link i, .website-link i {
    font-size: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: white;
    color: #0072CE;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-decoration: none;
}

.btn-primary:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .course-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .combined-list {
        grid-template-columns: 1fr;
    }
    
    .course-content-wrapper {
        padding: 20px;
    }
    
    .detail-card, .course-cta {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .combined-content h3 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .benefit-item {
        padding: 18px 20px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-description {
        font-size: 1rem;
        text-align: left;
        padding: 0 10px;
    }
    
    .combined-content {
        padding: 20px 15px;
    }
    
    .combined-content h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .combined-list li {
        padding: 10px 12px 10px 35px;
        font-size: 0.95rem;
    }
    
    .featured-card h3 {
        font-size: 1.3rem;
    }
    
    .featured-list li {
        font-size: 0.95rem;
        padding-left: 25px;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-icon {
        margin: 0 auto 10px;
    }
}

/* .featured-course-content-wrapper: This div wraps the main content of the featured course section. 
   No specific styles applied directly to this wrapper as its child .featured-course-details manages its own layout. */

/* .featured-course-details: This div contains all the textual details of the featured course. 
   It's a block element and will naturally take up available width. */

.featured-course-details {
    padding-left: 15px;
    padding-right: 15px;
}

.featured-course-details h3 {
    font-size: 2rem; /* Main course title */
    color: #D81B21; /* Primary Red */
    margin-bottom: 15px; /* Reduced margin */
    line-height: 1.3;
}

.featured-course-details h4 {
    font-size: 1.3rem; /* Slightly reduced size */
    color: #0072CE; /* Primary Blue */
    margin-top: 20px; /* Reduced margin */
    margin-bottom: 10px; /* Reduced margin */
    border-bottom: 1px solid #e0e0e0; /* Thinner border */
    padding-bottom: 6px; /* Reduced padding */
}

.course-info-split {
    display: flex;
    gap: 25px; /* Gap between the two columns */
    margin-bottom: 20px;
}

.course-benefits-column {
    flex: 1;
    min-width: 0;
    padding-left: 15px; /* Added left padding */
}

.course-summary-column {
    flex: 1;
    min-width: 0;
    padding-right: 15px; /* Added right padding */
}

.course-benefits-column h4,
.course-summary-column h4 {
    margin-top: 0; /* Remove top margin as it's the first element in the column */
}

.featured-course-details .course-start-date {
    font-size: 1.25rem; 
    font-weight: 700; /* Bolder */
    color: #ffffff;
    background-color: #005DAA; /* Slightly darker blue for more contrast */
    padding: 10px 20px; 
    border-radius: 6px;
    text-align: center;
    margin: 15px auto 25px auto; 
    display: inline-block; /* Allows centering with text-align on parent if needed, or auto margins */
    max-width: fit-content;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    border: 2px solid #004C8C;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px; /* Reduced margin */
}

.benefits-list li {
    padding: 6px 0; /* Reduced padding */
    border-bottom: 1px dashed #eee;
    font-size: 0.95rem; /* Slightly reduced font size */
    position: relative;
    padding-left: 22px; /* Slightly reduced left padding */
}

.benefits-list li::before {
    content: "\2713"; /* Checkmark */
    color: #28a745; /* Green for checkmarks */
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 6px; /* Adjusted top position */
}

.benefits-list li:last-child {
    border-bottom: none;
}

.course-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* Slightly smaller minmax */
    gap: 15px; /* Reduced gap */
    margin-bottom: 15px; /* Reduced margin */
}

.summary-item {
    background-color: #ffffff;
    padding: 12px; /* Reduced padding */
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.summary-item p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.summary-item p strong {
    color: #333;
}

.license-info {
    font-weight: 700; /* Bolder */
    color: #D81B21;
    text-align: center;
    font-size: 1.2rem; 
    padding: 12px 15px;
    background-color: #ffe8e9;
    border: 2px dashed #D81B21; /* Dashed border for emphasis */
    border-radius: 6px;
    margin: 25px auto; /* Centered with auto margins */
    display: block;
    max-width: fit-content;
}

/* Styles for the new .admissions-contact-cta section */
.admissions-contact-cta {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0; /* Separator line */
}

.admissions-contact-cta .contact-numbers,
.admissions-contact-cta .website-link {
    margin: 8px 0;
    font-size: 1rem;
}

.admissions-contact-cta .contact-numbers strong {
    color: #333;
}

.admissions-contact-cta .btn-ea-enquire {
    margin-top: 10px; /* Reduced top margin as supporting text will be above */
    padding: 14px 30px; /* Increased padding */
    font-size: 1.2rem; /* Increased font size */
    font-weight: 700;
    background-color: #D81B21;
    color: #fff;
    border: none;
    border-radius: 50px; /* Pill shape */
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
    position: relative; /* For pseudo-element positioning */
}

.admissions-contact-cta .btn-ea-enquire::after {
    content: ' \00BB'; /* Right-pointing double angle quotation mark */
    font-weight: bold;
    margin-left: 5px;
    transition: transform 0.2s ease-out;
}

.admissions-contact-cta .btn-ea-enquire:hover::after {
    transform: translateX(3px);
}

.admissions-contact-cta .btn-ea-enquire:hover {
    background-color: #b01217; /* Darker Red */
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.cta-supporting-text {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px; /* Space before the button */
    text-align: center;
}

/* Old .admissions-details styles are no longer needed as the class was replaced or structure changed. */

/* Responsive adjustments for featured course */
@media (max-width: 992px) {
    /* Adjustments for smaller screens if necessary */
}

@media (max-width: 768px) {
    .course-info-split {
        flex-direction: column; /* Stack columns on smaller screens */
        gap: 20px; /* Adjust gap for stacked layout */
    }

    #featured-course-spotlight h2 {
        font-size: 2rem;
    }
    .featured-course-details h3 {
        font-size: 1.7rem;
    }
    .featured-course-details h4 {
        font-size: 1.2rem;
    }
    .benefits-list li,
    .summary-item p,
    .admissions-details p {
        font-size: 0.9rem;
    }
    .license-info {
        font-size: 1rem;
    }
}


/* Hamburger Menu Button (Hidden by default on desktop) */
.hamburger {
    display: none;
    /* Add other base hamburger styles here if they are missing elsewhere (e.g., size, background, cursor) */
    /* For now, focusing on visibility. Assuming other styles exist or will be added. */
    cursor: pointer; /* Good to have for usability */
    padding: 10px;
    background-color: transparent;
    border: none;
    z-index: 1001; /* Ensure it's above other header content if overlapping */
}

/* Styles for the hamburger icon lines (inner spans) would go here too */
.hamburger-box {
    width: 30px; /* Example size */
    height: 24px; /* Example size */
    display: inline-block;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 100%;
    height: 3px; /* Example thickness */
    background-color: #333; /* Icon color */
    position: absolute;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before {
    content: '';
    top: -10px; /* Spacing for top bar */
}

.hamburger-inner::after {
    content: '';
    bottom: -10px; /* Spacing for bottom bar */
}

/* Active state for hamburger (X icon) */
.hamburger.is-active .hamburger-inner {
    background-color: transparent; /* Middle line disappears */
}

.hamburger.is-active .hamburger-inner::before {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.is-active .hamburger-inner::after {
    transform: translateY(-10px) rotate(-45deg);
}


/* Hero Section */
#hero {
    /* Light blue background, similar to reference, now used as overlay */
    background-image: linear-gradient(rgba(224, 242, 255, 0.85), rgba(224, 242, 255, 0.85)), url('https://images.pexels.com/photos/3184418/pexels-photo-3184418.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&dpr=2');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    position: relative; /* For positioning tags if needed */
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-left {
    flex: 1.2; /* Give more space to the left side */
    color: #333; /* Darker text for readability on light background */
    padding-right: 20px;
}

.hero-left h2 {
    font-size: 2.8rem;
    color: #003366; /* Dark blue heading */
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-left p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-course-tags a {
    text-decoration: none;
    color: inherit; /* Inherit color from parent, or set explicitly if .tag has its own color */
}

.hero-course-tags a .tag {
    display: inline-block;
}

.hero-course-tags .tag {
    background-color: #ffffff;
    color: #D81B21; /* Primary blue */
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #D81B21;
}

.hero-right {
    flex: 0.8;
 
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
   
}

.hero-right h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #fff;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 0.95rem;
    background-color: #fff; /* White input background */
    color: #333;
}

.form-group input::placeholder {
    color: #888;
}

.form-group.terms-group {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.form-group.terms-group input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #D81B21; /* Coral accent for checkbox */
}

.form-group.terms-group label {
    color: #f0f0f0; /* Lighter text for terms */
}

.btn-submit {
    background-color: #D81B21; /* Red button - new primary color */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
    width: 100%;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #7324bf; /* Darker purple on hover */
}

/* Course Item Details */
.course-details {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #555;
}

.course-details p {
    margin-bottom: 5px;
}

.course-details strong {
    color: #333;
}

.btn-know-more {
    display: inline-block;
    background-color: #D81B21; /* Coral accent color */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-know-more:hover {
    background-color: #e65c50; /* Darker coral on hover */
    color: #ffffff;
    transform: translateY(-2px);
}

/* Stats Bar Section */
#stats-bar {
    background-color: #0072CE; /* Blue background for stats bar */
    padding: 40px 0;
    color: #fff;
    margin-bottom: 60px; /* Add space below stats bar */
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
}

.stat-item {
    flex-basis: 200px; /* Ensure items have enough space */
    margin: 10px;
}

/* About Us Section */
#about-us {
    padding: 60px 0;
    /* background-color: #ffffff; */ /* White background - Removed as per user request */
}

#about-us h2 {
    text-align: center;
    font-size: 2.5rem; /* Consistent with other section headings */
    color: #343a40; /* Dark Grey */
    margin-bottom: 40px;
}

.about-us-content {
    display: flex;
    align-items: center; /* Vertically align items if they have different heights */
    gap: 40px; /* Space between text and image */
}

.about-us-text {
    flex: 1; /* Takes up available space */
    line-height: 1.7; /* Improved readability */
}

.about-us-text p {
    margin-bottom: 20px;
    font-size: 1.1rem; /* Slightly larger than base for emphasis */
    color: #555;
}

.about-us-image {
    flex: 1;
    text-align: center; /* Center the image if it's smaller than the container */
}

.about-us-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Soft rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Responsive adjustments for About Us section */
@media (max-width: 768px) {
    .about-us-content {
        flex-direction: column; /* Stack text and image on mobile */
        gap: 30px;
    }

    #about-us h2 {
        font-size: 2rem; /* Adjust heading size for mobile */
    }

    .about-us-text p {
        font-size: 1rem;
    }
}

/* FAQ Section */
#faq {
    padding: 40px 0;
    background-color: #f8f9fa; /* Light grey background for the whole FAQ section */
}

#faq h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #003366; /* Dark blue heading */
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid #dee2e6; /* Subtler border */
    border-radius: 5px;
    background-color: #ffffff; /* White background for each item */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Subtle shadow like Zell */
}

.faq-item summary {
    font-weight: bold;
    color: #D81B21; /* Primary blue for question */
    cursor: pointer;
    padding: 15px 20px; /* Increased padding */
    display: block;
    position: relative;
    outline: none;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid transparent; /* Prepare for border on open */
}

.faq-item summary:hover {
    background-color: #f1f3f5; /* Light hover for summary */
}

.faq-item summary::marker,
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after { /* Custom marker */
    content: '+';
    font-size: 1.6rem; /* Slightly larger icon */
    font-weight: normal; /* Ensure plus/minus are not bolded if summary is */
    color: #D81B21;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease-in-out, content 0s; /* Immediate content change */
}

.faq-item details[open] > summary {
    background-color: #e0f2ff; /* Light blue when open */
    color: #0072CE; /* Darker blue text for open question */
    border-bottom: 1px solid #cce7ff; /* Border to separate from answer */
}

.faq-item details[open] > summary::after {
    content: '−'; /* Minus sign for open state */
    transform: translateY(-50%); /* Reset rotation if any was previously used */
    color: #0072CE;
}

.faq-item p { /* Answer content */
    padding: 15px 20px;
    margin: 0;
    color: #343a40; /* Darker text for answer */
    line-height: 1.7;
    background-color: #ffffff; /* Ensure answer area is white */
}

.stat-item h4 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: bold;
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
    color: #e0e0e0; /* Lighter text for sub-text */
}

/* Courses Section */
#courses {
    padding: 50px 0;
    text-align: center;
}

#courses h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    display: inline-block;
}

#courses h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #D81B21; /* Accent color - Coral */
    margin: 10px auto 0;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.course-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.course-item h3 {
    font-size: 1.5rem;
    color: #D81B21; /* Primary blue for course titles */
    margin-bottom: 10px;
}

/* Contact Us Section */
#contact-us {
    padding: 40px 0;
    /* background-color: #ffffff; */ /* White background for contact section - Removed */
    text-align: center; /* Center align content for this section */
}

#contact-us h2 {
    font-size: 2.2rem;
    color: #003366; /* Dark blue heading, consistent with FAQ */
    margin-bottom: 30px;
}

.contact-details-container {
    display: flex;
    justify-content: center; /* Center the contact info block */
    align-items: flex-start;
    flex-wrap: wrap; /* Allow wrapping if map is added and space is tight */
    text-align: left; /* Align text to left within the info block */
}

.contact-info {
    background-color: #f8f9fa; /* Light grey background for the info box */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 500px; /* Max width for the info box */
    /* width: 100%; Removed to allow flex-basis to work */
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #D81B21; /* Primary blue for subheading */
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1rem;
    line-height: 1.7;
    color: #343a40; /* Dark grey text */
    margin-bottom: 15px;
}

.contact-info p strong {
    color: #0072CE; /* Darker blue for "Phone:" and "Email:" */
}

.contact-info a {
    color: #D81B21; /* Primary blue for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #0072CE; /* Darker blue on hover */
    text-decoration: underline;
}

/* Styles for an optional map, if added later */
/* .contact-map {
    flex-basis: 50%;
    min-width: 300px;
    padding-left: 20px;
}

.contact-map iframe {
    border-radius: 8px;
} */

.course-item p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: #343a40; /* Dark grey footer */
    color: #f8f9fa; /* Light text for footer */
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */

@media (max-width: 768px) {
    nav ul#nav-links {
        display: none; /* Hide nav links by default on mobile */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        background-color: #fff; /* Background for mobile menu */
        padding: 0;
        margin: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    nav ul#nav-links.nav-active {
        display: flex; /* Show when active */
    }

    nav ul#nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee; /* Separator for links */
    }

    nav ul#nav-links li:last-child {
        border-bottom: none;
    }

    nav ul#nav-links li a {
        padding: 15px;
        display: block;
        width: 100%;
    }

    .hamburger {
        display: block; /* Show hamburger on mobile */
        position: absolute; /* Position it within the header */
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    header .container {
        position: relative; /* Needed for absolute positioning of hamburger */
    }

    /* Adjust hero section form for mobile if needed */
    .hero-container {
        flex-direction: column;
    }

    .hero-left,
    .hero-right {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    /* Contact Us section responsive adjustments */
    .contact-details-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form-wrapper {
        width: 100%; /* Stack them on mobile */
        margin-bottom: 20px;
    }

    .contact-info {
        margin-right: 0; /* Remove right margin on mobile */
    }

    /* Stats bar mobile adjustments */
    .stats-container {
        justify-content: center; /* Center items on mobile */
    }

    .stat-item {
        flex-basis: 80%; /* Encourage single column by taking more width */
        margin: 2px auto; /* Minimal top/bottom margin, auto for horizontal centering */
    }
}
@media (max-width: 992px) { /* Adjusted breakpoint for hero layout */
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-left {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .hero-course-tags {
        justify-content: center;
    }

    .hero-right {
        width: 100%;
        max-width: 500px; /* Limit form width on smaller screens */
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 15px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero-left h2 {
        font-size: 2.2rem;
    }

    .hero-left p {
        font-size: 1rem;
    }

    #courses h2 {
        font-size: 2rem;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        flex-direction: column;
    }

    .stat-item {
        margin-bottom: 20px;
    }
}
/* Adjustments for Contact Us Section for two-column layout */
#contact-us .contact-details-container {
    display: flex;
    justify-content: space-between; /* Puts space between items */
    align-items: flex-start;
    gap: 30px; /* Adds space between the two columns */
    /* text-align: left; /* This was in my plan, but contact-info already has it. */
}

#contact-us .contact-info,
#contact-us .contact-form-wrapper {
    flex-basis: calc(50% - 15px); /* Each takes up roughly half the space, accounting for gap */
    max-width: calc(50% - 15px);
}

/* The existing .contact-info styles should mostly work, 
   but ensure its width property isn't overriding the flex-basis.
   If .contact-info has 'width: 100%;', you might need to remove or adjust it. */

#contact-us .contact-form-wrapper {
    background-color: #f8f9fa; /* Light grey background, similar to contact-info */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#contact-us .contact-form-wrapper h3 {
    font-size: 1.8rem;
    color: #D81B21; /* Primary blue for subheading */
    margin-bottom: 20px;
    text-align: center; /* Center form title */
}

/* The form elements (.form-group, .btn-submit, input, select, label) 
   should inherit styles from the hero section's form if styled globally. 
   If not, you might need to add specific styles for them here, like:
   #contact-us .contact-form-wrapper .form-group { margin-bottom: 15px; }
   #contact-us .contact-form-wrapper input[type="text"], ... { width: 100%; padding: 10px; ... }
*/

/* Responsive adjustments for the two-column layout */
@media (max-width: 768px) {
    #contact-us .contact-details-container {
        flex-direction: column; /* Stack columns on smaller screens */
        gap: 30px;
    }

    #contact-us .contact-info,
    #contact-us .contact-form-wrapper {
        flex-basis: 100%; /* Full width when stacked */
        max-width: 100%;
    }
}