/* styles.css */

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #007bff;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    background-color: #003366; /* Dark blue for authority */
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    transition: max-height 0.3s ease-in-out;
}

nav ul li a {
    color: white;
    font-weight: bold;
    cursor: pointer; /* For schedule links */
}

/* Hero Section */
.hero {
    background-color: #007bff; /* Blue tone */
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.cta-button {
    background-color: #fff;
    color: #007bff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #f0f0f0;
}

.cta-button.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Main Content Sections */
.section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #003366;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card h3 {
    margin-bottom: 1rem;
    color: #007bff;
}

/* Podcast Section Styles */
.podcast-card {
    cursor: pointer;
}

.podcast-description {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.podcast-description.active {
    display: block;
}

audio {
    width: 100%;
    margin-top: 1rem;
}

/* Quiz Styles */
.quiz-form {
    max-width: 700px;
    margin: 0 auto;
}

.quiz-question {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quiz-question label {
    display: block;
    margin: 0.5rem 0;
}

/* Accordion Styles */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-toggle {
    width: 100%;
    padding: 1rem;
    background: #007bff;
    color: white;
    border: none;
    text-align: left;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.accordion-toggle:hover {
    background: #0056b3;
}

.accordion-content {
    display: none;
    padding: 1rem;
    background: white;
}

.accordion-content.show {
    display: block;
}

/* Calendly Section Styles */
.calendly-section {
    background-color: #e9ecef;
    text-align: center;
}

/* Footer */
footer {
    background-color: #003366;
    color: white;
    padding: 2rem;
    text-align: center;
}

footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

footer ul li a {
    color: white;
    cursor: pointer;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #007bff;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,123,255,0.4);
    cursor: pointer;
    font-weight: bold;
    z-index: 1000;
    transition: transform 0.3s;
}

.floating-cta:hover {
    transform: scale(1.1);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 2.5rem 1.5rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .hamburger {
        display: block;
        margin-left: auto;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 1rem;
        max-height: 0;
        overflow: hidden;
    }

    nav ul.active {
        display: flex;
        max-height: 500px; /* Adjust based on menu items */
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .card {
        max-width: 100%;
    }

    .quiz-form, .accordion {
        padding: 0 1rem;
    }

    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    footer ul {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }

    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    form input, form textarea, form button {
        font-size: 0.9rem;
    }

    .accordion-toggle {
        font-size: 0.95rem;
    }
}