body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('Background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #333;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden; /* Prevents horizontal scroll */
}

/* Top Menu (now consolidated header) */
.top-menu {
    background-color: rgba(90, 90, 90, 0.8); /* More grey, less blue, slightly more opaque */
    color: #fff;
    padding: 8px 20px; /* Reduced height: Adjusted from 10px 20px to 8px 20px */
    border-radius: 0;
    display: flex;
    justify-content: space-between; /* Distribute items horizontally */
    align-items: center; /* Align items vertically */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 101; /* Ensure it stays on top */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Keep shadow */
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

  .page-title {
            color: #004080; /* Dark blue for headings */
            text-align: center;
            margin-bottom: 30px; /* Space below title */
            font-size: 2.5em; /* Larger font for page title */
 }

/* Course Pillars Section */
.course-pillars-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px; /* Space between pillar items */
    margin-top: 30px;
    text-align: center;
}

.course-pillar-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    flex: 1;
    min-width: 280px; /* Minimum width for items before wrapping */
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.course-pillar-item i {
    font-size: 3.5em; /* Larger icon size */
    color: #007bff; /* Blue color for icons */
    margin-bottom: 15px;
}

.course-pillar-item h3 {
    color: #004080; /* Dark blue for headings */
    margin-bottom: 10px;
    font-size: 1.5em;
}

.course-pillar-item p {
    color: #555;
    font-size: 1em;
    line-height: 1.6;
}



.hamburger {
  display: none; /* Hidden on desktop by default */
  background: none;
  border: none;
  font-size: 1.8em;
  color: #fff;
  cursor: pointer;
}

.nav-links {
  display: flex; /* Displayed by default for desktop */
  flex-grow: 1;
  justify-content: center;
}

.top-menu .logo img {
    max-height: 45px; /* Logo height: Adjusted from 50px to 45px */
    height: auto;
    width: auto;
}

.top-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Allow menu items to wrap */
    justify-content: center; /* Center the navigation links within their space */
    gap: 25px; /* Space between menu items */
    flex-grow: 1; /* Allow navigation to take available space */
}

.top-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    font-size: 1.1em;
}

.top-menu ul li a:hover,
.top-menu ul li a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0; /* Ensures horizontal alignment with logo */
    align-items: center; /* Align buttons horizontally */
}

.contact-button,
.contact-button-link .contact-button {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    cursor: pointer;
    align-items: center;
    padding-right: 35px;
}

.contact-button:hover {
    background: linear-gradient(to right, #0056b3, #003d99);
    transform: translateY(-2px);
}

/* Container for main content */
.container {
    max-width: 1000px;
    /* Adjusted margin-top for the new single fixed header */
    margin: 90px auto 50px auto; /* Estimated height for the new fixed header + some spacing */
    padding: 20px;
    background-color: rgba(240, 240, 240, 0.98); /* Lighter grey background */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.module {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 8px;
    background-color: #f5f5f5; /* Light grey background for modules */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.module h2 {
    color: #004080; /* Dark blue for headings */
    text-align: center;
    margin-bottom: 25px;
    font-size: 2em;
}

/* Hero Module */
.hero-module {
    background-color: transparent; /* Remove background for hero to show background image */
    box-shadow: none; /* Remove shadow for hero */
    text-align: center;
    padding: 60px 20px; /* More padding for hero */
}

.hero {
    color: #004080; /* Dark blue for hero text */
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.hero p.lead {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.cta-button {
    display: inline-block;
    background-color: #007bff; /* Blue */
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #0056b3; /* Darker blue */
    transform: translateY(-2px);
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 20px auto 30px;
  max-width: 700px;
  text-align: left;
}
.hero-bullets li {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #004080;
}

/* Icons Module */
.icon-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 30px;
    max-width: 1200px; /* Keep within page bounds */
    margin: 0 auto;
    padding: 0 20px;
}

.icon-item {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.icon-item i {
    font-size: 3em;
    color: #007bff;
    margin-bottom: 10px;
}


.icon-item p {
    flex-grow: 1;
    font-size: 1em;
    color: #333;
}

.icon-item h3 {
    font-size: 1.2em;
    color: #004080;
    margin-bottom: 10px;
    min-height: 48px; /* Force consistent spacing for headers */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


/* Testimonials Module */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjusted min-width for mobile */
    gap: 30px;
}

.testimonial-item {
    background-color: #e8e8e8; /* Light grey for testimonials */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Added transition */
}

.testimonial-item:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

.testimonial-item .quote {
    font-style: italic;
    margin-bottom: 15px;
    color: #333;
}

.testimonial-item .author {
    font-weight: bold;
    color: #004080;
    text-align: right;
}

/* Courses Module */
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap; /* MOBILE: Allow filters to wrap */
}

.filter-controls label {
    font-weight: bold;
    color: #004080;
    align-self: center; /* Align label vertically with select */
}

.filter-controls select {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    background-color: #f9f9f9;
}

.course-list {
    list-style: none;
    padding: 0;
}

.course-list li {
    background-color: #f0f0f0; /* Light grey for course list items */
    border: 1px solid #d0e8f7;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start; /* Changed from center to flex-start for Courses page */
    gap: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-list li i {
    font-size: 1.8em;
    color: #007bff;
    min-width: 30px; /* Ensure icon doesn't shrink */
    text-align: center;
}

/* New style for the group containing title, status, and description for Courses page */
.course-list li .course-text-group {
    display: flex;
    flex-direction: row; /* For desktop: title/status and description side-by-side */
    flex-grow: 1; /* Allow this group to take available width */
    gap: 20px; /* Space between title/status column and description column */
    align-items: flex-start; /* Align content at the top within this group */
}

/* New style for the title and status block for Courses page */
.course-list li .course-title-status {
    display: flex;
    flex-direction: column; /* Stack title and status vertically */
    flex-shrink: 0; /* Prevent from shrinking */
    min-width: 200px; /* Example: ensure enough space for title/status */
    max-width: 250px;
}

/* Adjustments for link within the new structure for Courses page */
.course-list li .course-title-status a {
    text-decoration: none;
    color: #004080;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px; /* Add some space between title and status */
}

/* Adjustments for status within the new structure for Courses page */
.course-list li .course-title-status .status {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    white-space: nowrap;
    align-self: flex-start; /* Align status to the left */
}

/* Style for the description paragraph for Courses page */
.course-list li .description {
    margin: 0; /* Remove default paragraph margin */
    color: #555;
    flex-grow: 1; /* Allow description to take up remaining space */
}


.course-list li .status {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em; /* Slightly larger font */
    font-weight: bold; /* Bolder text */
    white-space: nowrap; /* Prevent text wrapping */
}

.course-list li .status-pending {
    background-color: #ffc107; /* Orange for pending */
    color: #333;
}

.course-list li .status-coming-soon {
    background-color: #e9ecef; /* Light grey for coming soon */
    color: #6c757d;
}

/* TDLR Status Section */
.tdlr-status-section {
    background-color: #fff3cd; /* Light yellow background */
    border: 1px solid #ffeeba;
    color: #856404; /* Darker yellow text */
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}
.tdlr-status-section h2 {
    color: #856404; /* Match text color */
    text-align: center;
    margin-bottom: 15px;
}
.tdlr-status-section p {
    margin-bottom: 10px;
}
.tdlr-status-section a {
    color: #007bff; /* Blue link */
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #004080; /* Dark blue */
    color: #fff;
    padding: 40px 20px 20px;
    font-size: 0.9em;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap; /* Allow sections to wrap */
    justify-content: space-around;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center; /* Default for mobile, will adjust for larger screens */
}

.footer-section {
    flex: 1;
    min-width: 250px; /* Minimum width before wrapping */
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff; /* Brighter white on hover */
}

.footer-section p {
    margin-bottom: 8px;
}

.footer-section i {
    margin-right: 8px;
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Chatbot Specific Styles */
.chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 520px; /* Adjusted height to a more balanced value */
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Ensures content inside is clipped if it overflows */
    z-index: 1000;
    transform: translateY(100%); /* Start hidden below the screen */
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    pointer-events: none; /* Disable interaction when hidden */
}

.chat-container.active {
    transform: translateY(0); /* Slide up when active */
    opacity: 1;
    pointer-events: auto; /* Enable interaction when active */
}

.chat-header {
    background-color: #007bff; /* Blue header */
    color: white;
    padding: 10px 15px;
    font-size: 1em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    flex-shrink: 0; /* Ensures header doesn't shrink */
    height: 45px; /* Fixed height for the header */
}

.chat-header .close-button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    line-height: 1; /* Adjust line height for better centering */
}

.chat-messages {
    flex-grow: 1; /* Allows messages to take up available space */
    padding: 15px;
    overflow-y: auto; /* Enables scrolling for messages */
    background-color: #f7f9fc; /* Light background for messages */
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Explicitly calculate height to ensure space for other elements */
    height: calc(100% - 45px - 150px); /* 100% - header height - question options height */
    box-sizing: border-box; /* Include padding in height calculation */
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
    word-wrap: break-word;
}

.user-message {
    background-color: #007bff; /* Blue for user messages */
    color: white;
    align-self: flex-end; /* Pushes user messages to the right */
    text-align: right;
    margin-left: auto;
}

.bot-message {
    background-color: #f0f0f0; /* Light grey for bot messages */
    text-align: left;
    margin-right: auto; /* Pushes bot messages to the left */
    color: #555;
}

/* Styles for question bubbles */
.question-options {
    padding: 15px;
    display: flex;
    flex-wrap: wrap; /* Allows buttons to wrap to next line */
    gap: 8px; /* Space between buttons */
    border-top: 1px solid #eee;
    justify-content: center; /* Center the buttons horizontally */
    background-color: #fcfcfc;
    padding-bottom: 15px;
    flex-shrink: 0; /* Prevents this section from shrinking */
    height: 150px; /* Fixed height for options to guarantee visibility */
    box-sizing: border-box; /* Include padding in the height calculation */
    overflow-y: auto; /* Add scrolling if buttons exceed fixed height */
}

.question-button {
    padding: 10px 15px;
    background-color: #007bff; /* Blue button background */
    color: white;
    border: none;
    border-radius: 20px; /* More rounded for "bubble" effect */
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.2s ease; /* Smooth hover effect */
    white-space: nowrap; /* Prevent text wrapping within a button */
    flex-shrink: 0; /* Prevent buttons from shrinking too much */
}

.question-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.question-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Hidden chat input area */
.chat-input-area {
    display: none; /* Explicitly hide the input area */
}

/* Cookie Banner Styles */
.popup-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.popup-banner p {
    margin: 0 0 10px 0;
    font-size: 0.9em;
    text-align: center;
}

.popup-banner a {
    color: #87ceeb; /* Light blue link */
    text-decoration: underline;
}

.popup-banner button {
    background-color: #28a745; /* Green */
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.popup-banner button:hover {
    background-color: #218838; /* Darker green */
}

/* FIREWORKS STYLES (Keep as is unless specified) */
.fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000; /* Ensure it's above other content but below chatbot */
    pointer-events: none; /* Allows clicks to pass through */
    /* Remove background here if it's meant to be transparent initially */
}


/* === Media Queries for Mobile Responsiveness === */

/* Tablets and larger phones (768px and below) */
@media (max-width: 768px) {
    .top-menu {
        flex-direction: column; /* Stack header items vertically on mobile */
        padding: 10px 15px; /* Adjust padding */
        max-height: unset; /* Allow full height */
        align-items: flex-start;
        /* Ensure the logo and hamburger remain visible at the top initially */
        display: flex; /* Keep flex to manage internal layout */
        position: relative; /* Allow children to flow within */
    }

    /* Create a row for the logo and hamburger button when collapsed */
    .top-menu > .logo {
        display: flex; /* Ensure logo is flexible */
        align-items: center; /* Vertically align logo */
        margin-right: auto; /* Push logo to the left */
        margin-bottom: 0; /* Remove bottom margin for the logo on mobile */
        width: auto; /* Let content dictate width */
    }

    .hamburger {
        display: block;
        margin-left: auto; /* Push hamburger to the right */
        margin-bottom: 0; /* Align with logo */
    }

    .contact-buttons {
        display: none; /* Hide contact buttons by default on mobile */
        margin-bottom: 0;
        width: auto;
    }

    .nav-links {
        display: none; /* Hide navigation links by default on mobile */
        width: 100%;
        order: 3; /* Push nav-links below other items */
    }

    .nav-links.active {
        display: block; /* Show navigation links when active */
    }

    /* When .top-menu has 'menu-active' class (i.e., nav is open) */
    .top-menu.menu-active {
        flex-direction: column;
        align-items: center; /* Center items when the menu is active */
    }
    .top-menu.menu-active .logo,
    .top-menu.menu-active .contact-buttons {
        display: none;
    }
    .top-menu.menu-active .hamburger {
        align-self: flex-end; /* Push hamburger to the right when menu is active */
        width: 100%; /* Take full width to position itself */
        text-align: right; /* Align icon to the right */
        padding-right: 15px; /* Add some padding */
        margin-left: 0; /* Remove auto-margin */
    }

    .top-menu.menu-active .nav-links {
        width: 100%;
        text-align: center;
    }


    /* Adjust container margin for new stacked header height */
    .container {
        margin-top: 170px; /* Estimated height for stacked header on mobile, adjusted for less tall header */
        padding: 15px; /* Slightly less padding */
    }

    /* Hero Section */
    .hero h1 {
        font-size: 2.2em; /* Smaller on mobile */
    }
    .hero p.lead {
        font-size: 1.1em; /* Smaller lead text */
    }
    .cta-button {
        padding: 12px 25px; /* Slightly smaller button */
        font-size: 1em;
    }

    /* Icons Module - flex-wrap already applied, good. */
    .icon-item {
        min-width: 120px; /* Ensure items don't get too small */
        margin: 15px 5px; /* Adjust horizontal margin when wrapped */
    }

    .icon-row {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }

    /* Course Filters */
    .filter-controls {
        flex-direction: column; /* Stack filters vertically */
        align-items: center;
        gap: 15px; /* Adjust gap */
    }
    .filter-controls select {
        width: 90%; /* Make select boxes wider on small screens */
    }

    /* Course List Items for Courses page */
    .course-list li {
        flex-direction: column; /* Stack all items vertically on small screens */
        align-items: center; /* Center items when stacked */
        gap: 10px;
    }

    .course-list li i {
        margin-bottom: 10px; /* Add space below icon when stacked */
    }

    .course-list li .course-text-group {
        flex-direction: column; /* Stack title/status and description */
        align-items: center; /* Center content when stacked */
        width: 100%; /* Full width when stacked */
        gap: 10px;
    }

    .course-list li .course-title-status {
        width: 100%; /* Full width when stacked */
        align-items: center; /* Center title/status content when stacked */
    }

    .course-list li .course-title-status a,
    .course-list li .course-title-status .status {
        text-align: center; /* Center text for title and status */
        align-self: center; /* Ensure status is centered */
    }

    .course-list li .description {
        width: 100%; /* Full width for description */
        text-align: center; /* Center description text */
    }

    /* Footer */
    .footer-content {
        flex-direction: column; /* Stack footer sections vertically */
        align-items: center;
    }

    .footer-section {
        width: 90%; /* Make sections wider on mobile */
        min-width: unset; /* Remove min-width override */
    }
    .footer-section ul {
        text-align: center; /* Center footer links */
    }
    .footer-section p {
        text-align: center; /* Center footer text */
    }
}

/* Smaller mobile phones (480px and below) */
@media (max-width: 480px) {
    /* Adjust container margin for very small screens */
    .container {
        margin-top: 150px; /* Further adjusted for very small screens */
    }

    .contact-button, .contact-button-link .contact-button {
        width: 95%; /* Almost full width for buttons */
        font-size: 0.9em;
    }

    /* Inside @media (max-width: 480px) in styles.css */
    .contact-buttons {
        gap: 8px; /* Reduce the space between buttons to prevent overflow */
        justify-content: space-around; /* Distribute items more evenly */
    }
    .icon-row {
        grid-template-columns: 1fr; /* Stack vertically on phones */
    }

    .top-menu ul {
        gap: 3px;
    }
    .top-menu ul li a {
        font-size: 0.9em;
    }

    .module h2 {
        font-size: 1.8em;
    }

    .hero h1 {
        font-size: 1.8em;
    }
    .hero p.lead {
        font-size: 1em;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    /* Chatbot adjustments for very small screens */
    .chat-container {
        width: 95%; /* Take up almost full width */
        right: 2.5%;
        left: 2.5%;
        height: 85vh; /* Adjusted height relative to viewport for more space */
        bottom: 5px; /* Closer to bottom */
    }
    .chat-messages {
        padding: 10px;
    }
    .message {
        max-width: 98%; /* Allow messages to take more width */
        padding: 8px 12px;
        font-size: 0.9em;
    }
    .question-options {
        padding: 8px;
        gap: 3px; /* Reduce gap between buttons */
    }
    .question-button {
        padding: 6px 10px; /* Smaller button padding */
        font-size: 0.8em; /* Smaller font size */
    }

    .popup-banner {
        padding: 10px 15px;
    }
    .popup-banner p {
        font-size: 0.8em;
    }
    .popup-banner button {
        padding: 6px 15px;
        font-size: 0.9em;
    }
}

/* General Link Styling (outside specific sections) */
a {
    color: #007bff; /* Standard link blue */
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0056b3; /* Darker blue on hover */
    text-decoration: underline;
}

/* Example of Course Description Page specific styling (assuming TXTowingCourse.html uses this) */
.course-description {
    display: flex;
    align-items: flex-start; /* Align items to top */
    gap: 30px;
    margin-top: 30px;
    background-color: #f5f5f5; /* Light grey background */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.course-description img {
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.course-description .text-content {
    flex-grow: 1;
}

.course-description h1 {
    color: #004080;
    font-size: 2.2em;
    margin-bottom: 15px;
}

.course-description p {
    margin-bottom: 15px;
}

.course-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.course-highlights li {
    background-color: #e9f7ef; /* Light green for highlights */
    border-left: 5px solid #28a745;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-highlights li i {
    color: #28a745;
    font-size: 1.2em;
}

.course-price-box {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

.course-price-box .price {
    font-size: 2em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 10px;
}

.course-price-box .price small {
    font-size: 0.6em;
    font-weight: normal;
    color: #555;
}

.enroll-button {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.enroll-button:hover {
    background-color: #218838;
}

/* Biography Section (for About Us page, similar flex stacking) */
.biography-section {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 30px;
    background-color: #f5f5f5; /* Light grey background */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.bio-image {
    flex-shrink: 0; /* Prevent image container from shrinking */
    text-align: center;
}

.bio-image img {
    width: 250px; /* Fixed width for desktop */
    height: auto;
    border-radius: 50%; /* Circular image */
    object-fit: cover;
    border: 5px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.bio-content {
    flex-grow: 1;
}

.bio-content h2 {
    color: #004080;
    font-size: 2em;
    margin-bottom: 10px;
}

.bio-content h3 {
    color: #555;
    font-size: 1.2em;
    margin-bottom: 15px;
    font-style: italic;
}

.bio-content p {
    margin-bottom: 15px;
}

/* Core Values Section */
.values-section {
    margin-top: 30px;
}

.values-section h2 {
    text-align: center;
    color: #004080;
    margin-bottom: 25px;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
}

.values-list li {
    background-color: #f4f8ff; /* Light blue */
    border: 1px solid #cce5ff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    min-width: 280px; /* Allow items to stack nicely */
    max-width: 350px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.values-list li i {
    font-size: 2.5em;
    color: #007bff;
    margin-bottom: 10px;
}

.values-list li h3 {
    color: #004080;
    margin-bottom: 10px;
}

/* Media Queries for course-description and biography-section */
@media (max-width: 768px) {
    .course-description,
    .biography-section {
        flex-direction: column; /* Stack image and text/content */
        align-items: center;
        padding: 15px;
    }

    .course-description img {
        width: 90%; /* Make image wider */
        max-width: 400px; /* Limit max width */
        margin-bottom: 20px; /* Add space below image */
    }

    .course-description .text-content {
        width: 100%; /* Full width for text content */
        text-align: center; /* Center text if desired */
    }

    .course-highlights li {
        align-items: flex-start; /* Ensure bullet point aligns to top of text */
        text-align: left; /* Keep list item text left-aligned */
    }

    .bio-image {
        width: 100%; /* Full width for image container */
    }
    .bio-image img {
        width: 200px; /* Adjust image size within container */
        height: 200px; /* Keep height same for circular */
        margin-bottom: 20px;
    }
    .bio-content {
        width: 100%; /* Full width for text content */
        text-align: center; /* Center text if desired */
    }
}

/* Media query for smaller screens on course pillars */
@media (max-width: 768px) {
    .course-pillars-section {
        flex-direction: column; /* Stack items vertically */
        align-items: center;
    }

    .course-pillar-item {
        width: 90%; /* Wider items on mobile */
        max-width: 400px; /* Limit max width */
    }
}