/* Basic Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb; /* Very light gray for background */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 1rem;
    color: #1a2b48; /* Dark Blue */
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #007bff; /* Primary Blue */
}

h3 {
    font-size: 1.5rem;
    color: #0056b3; /* Darker Primary Blue */
}

p {
    margin-bottom: 1rem;
    color: #555;
}

.content-section p {
    text-align: center;
}

a {
    text-decoration: none;
    color: #007bff; /* Primary Blue */
}

a:hover {
    color: #0056b3; /* Darker Primary Blue */
}

.icon-highlight {
    color: #007bff; /* Primary Blue */
    margin-right: 0.5rem;
}

.highlight-text {
    font-weight: 500;
    color: #0056b3; /* Darker Primary Blue */
    background-color: #e7f3ff; /* Light blue highlight */
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    text-align: center; /* Ensure it's centered as it's a standalone impactful statement */
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: #444; /* Slightly darker than normal p for emphasis */
    margin-bottom: 2rem; /* Add some space before the grid */
    max-width: 800px; /* Keep it from being too wide */
    margin-left: auto;
    margin-right: auto;
}

/* Header / Hero Section */
.hero-section {
    background: linear-gradient(135deg, #007bff, #00c6ff); /* Blue to Teal gradient */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.hero-section .tagline {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #eaf6ff; /* Lighter text for tagline */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: #ffc107; /* Yellow Accent for CTA */
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: #e0a800;
    color: #222;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.alt-bg {
    background-color: #ffffff; /* White for alternating sections */
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}

/* Modules Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.module-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.module-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.module-icon {
    font-size: 2.5rem;
    color: #00c6ff; /* Teal */
    margin-bottom: 1rem;
}

.module-item h3 {
    margin-bottom: 0.5rem;
}

/* Who Should Attend Grid */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.audience-item {
    background: #f0f8ff; /* Light blue background for these items */
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #007bff; /* Primary Blue Accent */
}

.audience-icon {
    font-size: 2rem;
    color: #007bff; /* Primary Blue */
    margin-bottom: 0.8rem;
    display: block;
}

/* Registration Form */
#registrationForm {
    max-width: 600px;
    margin: 2rem auto 0;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff; /* Primary Blue */
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.required {
    color: #dc3545; /* Red for required */
}

.form-note {
    font-size: 0.9em;
    color: #666;
    margin-top: -0.8rem;
    margin-bottom: 1rem;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.85em;
    margin-top: 0.25rem;
}

input.error, textarea.error {
    border-color: #dc3545;
}

/* Custom Multiselect Dropdown */
.custom-multiselect {
    position: relative;
}

.select-box {
    position: relative;
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.select-box:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.select-box.open {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.select-box-text {
    color: #555; /* Default text color */
}

.select-box-text.has-selection {
    color: #333; /* Text color when items are selected */
}

.select-box i {
    transition: transform 0.3s ease;
}

.select-box.open i {
    transform: rotate(180deg);
}

.multiselect-options {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    background-color: #fff;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.multiselect-options.show {
    display: block;
}

.multiselect-options label {
    display: block;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: normal; /* Override general form-group label weight */
    margin-bottom: 0; /* Override general form-group label margin */
}

.multiselect-options label:hover {
    background-color: #f0f8ff;
}

.multiselect-options input[type="checkbox"] {
    margin-right: 10px;
    vertical-align: middle;
}

#form-submission-status {
    margin-top: 1rem;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #1a2b48; /* Dark Blue */
    color: #f0f8ff; /* Light text */
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

footer p {
    margin-bottom: 0.5rem;
    color: #bac8d3;
}

footer a {
    color: #00c6ff; /* Teal */
}
footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.4rem;
    }
    .hero-section .tagline {
        font-size: 1.2rem;
    }
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        min-height: auto;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section .tagline {
        font-size: 1.1rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .modules-grid, .audience-grid {
        grid-template-columns: 1fr; /* Stack on smaller screens */
    }
    #registrationForm {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .hero-section .tagline {
        font-size: 1rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
    }
}