:root {
    --primary-blue: #2E6DA4; /* Desaturated professional blue from logo */
    --light-blue: #5BC0DE;   /* Lighter accent blue from logo */
    --background-light: #F8F8F8; /* Very light gray for pleasant background */
    --text-dark: #333;
    --text-light: #fff;
    --section-padding: 80px 0;
    --max-width: 1100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    scroll-behavior: smooth;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--text-light);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px; /* Adjust as needed */
    vertical-align: middle;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--light-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url('https://via.placeholder.com/1920x600.png?text=AI+for+AEC+Background') no-repeat center center/cover; /* Placeholder background */
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: var(--section-padding);
    position: relative; /* For countdown */
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.8em;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-dark);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    margin: 0 10px;
}

.btn:hover {
    background-color: var(--light-blue);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

/* Section Styling */
section {
    padding: var(--section-padding);
    background-color: var(--text-light);
    margin-bottom: 30px; /* Space between sections */
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    border-radius: 8px;
}

section:nth-of-type(odd) { /* Apply light background to odd sections after hero */
    background-color: var(--background-light);
    box-shadow: none; /* No shadow on alternate light background sections */
}

h1, h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8em;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h1::after, h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--light-blue);
    margin: 15px auto 0;
    border-radius: 2px;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* About Section (Vision) */
#vision p {
    text-align: center;
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}
#vision .vision-img {
    text-align: center;
    margin-top: 40px;
}
#vision .vision-img img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}


/* Why AI4AEC */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.info-card {
    background-color: var(--text-light); /* Changed to text-light for consistency with section:nth-of-type(even) */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.info-card i {
    font-size: 3.5em;
    color: var(--light-blue);
    margin-bottom: 20px;
}

/* Instructors Section */
.instructor-card {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background-color: var(--background-light);
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.instructor-card.reverse {
    flex-direction: row-reverse;
}

.instructor-card img {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--light-blue);
    box-shadow: 0 0 0 8px rgba(91,192,222,0.3); /* Subtle outer glow */
}

.instructor-card div {
    flex-grow: 1;
}

.instructor-card h4 {
    font-size: 1.8em;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.instructor-card p {
    font-size: 1.1em;
    color: var(--text-dark);
}

.instructor-card p strong {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

/* Offerings and Differentiators */
.offerings-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.offerings-list li {
    background-color: var(--background-light);
    padding: 25px;
    border-left: 6px solid var(--light-blue);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 1.1em;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.offerings-list li:hover {
    transform: translateX(5px);
}

.offerings-list li::before {
    content: '✓'; /* Checkmark icon */
    font-family: 'Font Awesome 5 Free'; /* If using Font Awesome, otherwise use unicode */
    font-weight: 900;
    margin-right: 15px;
    color: var(--primary-blue);
    font-size: 1.4em;
    vertical-align: middle;
}

/* Curriculum Section */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.curriculum-week {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-top: 6px solid var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.curriculum-week:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.curriculum-week h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.6em;
    font-family: 'Montserrat', sans-serif;
}
.curriculum-week p {
    font-size: 1em;
}

/* Quiz Section */
#quiz {
    background-color: var(--primary-blue);
    color: var(--text-light);
    text-align: center;
    border-radius: 8px; /* For sections like quiz, waitlist */
}
#quiz h2 {
    color: var(--text-light);
    margin-bottom: 30px;
}
#quiz h2::after {
    background-color: var(--light-blue);
}
.quiz-container {
    background-color: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 10px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.quiz-question {
    font-size: 1.5em;
    margin-bottom: 25px;
    font-weight: 300;
}
.quiz-options button {
    display: block;
    width: 80%;
    margin: 15px auto;
    padding: 15px 20px;
    border: 2px solid var(--light-blue);
    background-color: transparent;
    color: var(--text-light);
    font-size: 1.1em;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.quiz-options button:hover {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}
.quiz-result {
    font-size: 1.3em;
    margin-top: 30px;
    background-color: rgba(255,255,255,0.15);
    padding: 20px;
    border-radius: 8px;
    display: none; /* Hidden by default */
}
.quiz-result .btn {
    margin-top: 25px;
    background-color: var(--light-blue);
    color: var(--primary-blue);
}
.quiz-result .btn:hover {
     background-color: var(--text-light);
}

/* Success Stories / Spotlights */
.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.spotlight-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    border-top: 5px solid var(--light-blue);
}
.spotlight-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--primary-blue);
}
.spotlight-card h4 {
    font-size: 1.5em;
    color: var(--primary-blue);
    margin-bottom: 10px;
}
.spotlight-card p {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
}
.spotlight-card .challenge, .spotlight-card .aspiration {
    font-size: 0.95em;
    text-align: left;
    margin-bottom: 10px;
}
.spotlight-card .challenge strong, .spotlight-card .aspiration strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 5px;
}

/* Micro-Learning / Download Section */
#download-resource {
    text-align: center;
    background-color: var(--light-blue);
    color: var(--text-dark);
}
#download-resource h2 {
    color: var(--text-dark);
    margin-bottom: 30px;
}
#download-resource h2::after {
    background-color: var(--primary-blue);
}
#download-resource p {
    font-size: 1.15em;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #444;
}
.download-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}
.download-form input[type="email"] {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 5px;
    font-size: 1em;
    outline: none;
}
.download-form button {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.download-form button:hover {
    background-color: #255C8F; /* Darker primary blue */
}
#download-message {
    margin-top: 20px;
    font-size: 1em;
}
.video-embed {
    margin-top: 40px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.resource-item {
    background-color: var(--text-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border-top: 5px solid var(--primary-blue);
}
.resource-item h3 {
    text-align: center;
    margin-bottom: 25px;
}
.resource-item p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
}


/* Waitlist Section */
#waitlist {
    text-align: center;
    background-color: var(--primary-blue);
    color: var(--text-light);
    border-radius: 8px; /* Already had, ensuring */
}

#waitlist h2 {
    color: var(--text-light);
}
#waitlist h2::after {
    background-color: var(--light-blue);
}

#waitlist p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.waitlist-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 5px;
    background-color: rgba(255,255,255,0.9);
    color: var(--text-dark);
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
}

.waitlist-form input[type="email"]::placeholder {
    color: #888;
}

.waitlist-form input[type="email"]:focus {
    border-color: var(--light-blue);
}

.waitlist-form button {
    width: 100%;
    padding: 12px 20px;
    background-color: var(--light-blue);
    color: var(--primary-blue); /* Changed text color to primary-blue for contrast */
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.waitlist-form button:hover {
    background-color: var(--text-light); /* Changed hover to white for contrast */
    transform: translateY(-2px);
}

#waitlist-message {
    margin-top: 15px;
    font-size: 1em;
    color: var(--text-light);
}

/* Countdown Timer */
.countdown {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.6);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 8px;
    display: flex;
    gap: 25px;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.countdown div {
    text-align: center;
}
.countdown span {
    display: block;
    font-size: 2.2em;
    font-weight: 700;
    line-height: 1;
    color: var(--light-blue);
}
.countdown p {
    font-size: 0.9em;
    margin-top: 5px;
    opacity: 0.8;
    color: var(--text-light);
}

/* FAQ Section */
.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.faq-question {
    background-color: var(--background-light);
    padding: 20px 25px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: 500;
    color: var(--primary-blue);
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.faq-question:hover {
    background-color: #EBF3F8; /* Lighter shade of background-light */
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-question.active i {
    transform: rotate(180deg);
}
.faq-answer {
    background-color: var(--text-light);
    padding: 20px 25px;
    border-radius: 0 0 8px 8px;
    font-size: 1.05em;
    line-height: 1.8;
    display: none; /* Hidden by default */
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    border-top: 1px solid #f0f0f0;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

footer p {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Contact Info */
.contact-details p {
    font-size: 1.2em;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3em;
    }
    .hero p {
        font-size: 1.1em;
    }
    .instructor-card {
        flex-direction: column;
        text-align: center;
    }
    .instructor-card.reverse {
        flex-direction: column;
    }
    .instructor-card img {
        margin-bottom: 25px;
    }
    .countdown {
        gap: 15px;
        padding: 10px 20px;
    }
    .countdown span {
        font-size: 1.8em;
    }
    .countdown p {
        font-size: 0.8em;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
    .nav-links {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-links li {
        margin: 0 15px 10px 15px;
    }
    .hero h1 {
        font-size: 2.5em;
    }
    h1, h2 {
        font-size: 2.2em;
    }
    .info-card {
        padding: 25px;
    }
    .instructor-card {
        padding: 30px;
    }
    .download-form {
        flex-direction: column;
        gap: 10px;
    }
    .download-form input, .download-form button {
        width: 100%;
    }
    .quiz-options button {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1em;
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    .nav-links li {
        margin: 10px 0;
    }
    h1, h2 {
        font-size: 1.8em;
    }
    .quiz-question {
        font-size: 1.2em;
    }
    .countdown {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }
    .countdown div {
        min-width: 70px; /* Ensure boxes don't collapse too much */
    }
    .countdown span {
        font-size: 1.5em;
    }
    .countdown p {
        font-size: 0.7em;
    }
}
