/* General Body Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Header */
header {
    background: #003366;
    color: #ffffff;
    padding-top: 20px;
    min-height: 80px;
    border-bottom: #00509E 3px solid;
}

header #site-title {
    float: left;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    margin-top: 25px; /* Adjust to align with nav if nav margin-top is 25px */
    line-height: 30px;
}

header nav {
    float: right;
    margin-top: 25px;
}

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

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 5px;
}

header a:hover, header nav ul li a.active {
    color: #A0D2DB;
    border-bottom: 2px solid #A0D2DB;
}

/* Hero Section */
#hero {
    background-color: #f8f9fa;
    color: #333;
    padding: 80px 0;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

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

#hero .hero-content {
    max-width: 100%; /* Adjusted from 65% as there's no side image */
}

#hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #003366;
    font-weight: bold;
}

#hero .subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.7;
    color: #555;
}

#hero .cta-button {
    display: inline-block;
    background: #FF8C00;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#hero .cta-button:hover {
    background: #cc7000;
}

/* Introductory Video Section */
#introduction-video {
    padding: 50px 0;
    background-color: #ffffff;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

#introduction-video h2 {
    margin-bottom: 30px;
    color: #003366;
    font-size: 32px;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto 20px auto;
    background-color: #000000;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    overflow: hidden;
}

.video-wrapper video {
    display: block;
    border-radius: 8px; /* Match wrapper if you want video itself to have rounded corners */
}

.video-caption {
    font-size: 16px;
    color: #666;
    font-style: italic;
}

/* Course Highlights Section */
#course-highlights {
    padding: 60px 0;
    background-color: #ffffff;
}

#course-highlights h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #003366;
    font-size: 32px;
}

.highlight-cards {
    display: flex;
    justify-content: space-around; /* Changed from space-between for better centering with 3 cards */
    gap: 20px;
    flex-wrap: wrap;
}

.highlight-cards .card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #00509E;
    padding: 25px;
    border-radius: 8px;
    width: calc(33.333% - 27px); /* Adjusted width slightly to better fit with gap and space-around */
    min-width: 280px; /* Minimum width for cards before they wrap */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px; /* Added for spacing when cards wrap */
}

.highlight-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.highlight-cards .card h3 {
    margin-top: 0;
    color: #003366;
    font-size: 20px;
    margin-bottom: 10px;
}

.highlight-cards .card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* Why This Program Section */
#why-this-program {
    padding: 60px 0;
    background-color: #eef4f7;
}

#why-this-program h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #003366;
    font-size: 32px;
}

#why-this-program p,
#why-this-program ul {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

#why-this-program ul {
    list-style: disc;
    padding-left: 20px; /* Changed from 40px to 20px for better alignment */
}

/* Get Started Section */
#get-started {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

#get-started h2 {
    margin-bottom: 20px;
    color: #003366;
    font-size: 32px;
}

#get-started p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}

.cta-button { /* General CTA styles - can be overridden or extended */
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin-top: 10px; /* Added for spacing if buttons wrap */
}

#get-started .cta-button.secondary {
    background-color: #00509E;
    color: #ffffff;
    margin-right: 15px;
}
#get-started .cta-button.secondary:hover {
    background-color: #003366;
}
#get-started .cta-button.tertiary {
    background-color: transparent;
    color: #FF8C00;
    border: 2px solid #FF8C00;
}
#get-started .cta-button.tertiary:hover {
    background-color: #fff0e0;
    color: #cc7000;
    border-color: #cc7000;
}

/* Lecture Items (from original lectures.html styling, good to have for consistency if needed) */
/* These were the initial styles for lecture items before the more recent specific changes */
.lecture-item {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid #00509E;
    border-radius: 5px;
}

.lecture-item h3 {
    margin-top: 0;
    color: #003366;
}

.lecture-item video { /* General video style within a lecture item */
    max-width: 100%; /* Make video responsive */
    width: 600px; /* Default width, can be overridden by specific wrappers */
    height: auto;
    margin-top: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

/* Quiz Section (from original quiz.html styling, good for consistency) */
/* These were the initial styles for a basic quiz form before the advanced Tailwind version */
#quiz-form .question {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

#quiz-form .question p {
    margin-top: 0;
    font-weight: bold;
}

#quiz-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: normal;
    cursor: pointer;
}

#quiz-form input[type="radio"] {
    margin-right: 8px;
}

#quiz-results {
    padding: 15px;
    background-color: #e6f7ff;
    border: 1px solid #b3e0ff;
    border-radius: 4px;
    margin-top: 20px;
}


/* Footer */
footer {
    background: #333333;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .container {
        width: 90%; /* More space on tablets */
    }
    #hero .hero-content {
        max-width: 100%;
        text-align: center;
    }
    #hero .container {
        flex-direction: column; /* Stack hero content */
    }
    #hero h1 {
        font-size: 38px;
    }
    #hero .subtitle {
        font-size: 18px;
    }
    .highlight-cards .card {
        width: calc(50% - 20px); /* 2 cards per row, adjusted for gap */
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%; /* Even more space on mobiles */
    }
    header #site-title {
        float: none;
        text-align: center;
        margin-bottom: 10px;
        margin-top: 15px;
    }
    header nav {
        float: none;
        text-align: center;
        margin-top: 10px;
    }
    header nav ul li {
        display: block;
        margin: 10px 0;
    }
    header nav ul li a.active {
        border-bottom: none; /* Simpler active state for stacked nav */
        color: #A0D2DB;
    }
    .highlight-cards .card {
        width: 100%; /* 1 card per row */
    }
    #why-this-program p, #why-this-program ul {
        font-size: 16px;
    }
    #get-started .cta-button {
        display: block; /* Stack buttons */
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
        max-width: 300px;
    }
    #get-started .cta-button.secondary {
        margin-right: auto; /* Remove right margin when stacked */
    }
}