/* Font Import */
/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Source+Sans+Pro:wght@400;600&family=Inter:wght@400;500;600&display=swap');

/* Font loading optimization */
@font-face {
    font-family: 'Source Sans Pro';
    font-display: swap;
    src: local('Source Sans Pro');
}

@font-face {
    font-family: 'Playfair Display';
    font-display: swap;
    src: local('Playfair Display');
}

@font-face {
    font-family: 'Inter';
    font-display: swap;
    src: local('Inter');
}

/* General styles */
body {
    font-family: 'Source Sans Pro', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header */
.site-header {
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin-left: 1.5rem;
}

.nav-list a {
    color: #070722;
    text-decoration: none;
    font-weight: 500;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1;
    list-style-type: none;
    /* Remove bullet points */
    padding: 0;
    /* Remove default padding */
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 0.5rem 1rem;
    display: block;
    text-decoration: none;
    /* Remove underline from links */
    color: #070722;
    /* Maintain consistent text color */
}

.dropdown-menu a:hover {
    background-color: #f0f0f0;
    /* Add hover effect */
}

.sign-in-btn {
    background-color: #070722;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #070722;
    margin: 5px 0;
}

/* Hero Section */
.hero-section {
    background-color: #3498db;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-section h1 {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section h2 {
    font-size: 1.5em;
    color: #ffffff;
    font-weight: 300;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Add top margin to avoid header covering content */
main {
    padding-top: 100px;
    /* Adjust the value based on header height */
}

/* Course Description */
.course-description {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.course-description h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.course-description h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    margin: 20px auto 0;
}

.course-description p {
    font-size: 1.1em;
    margin-bottom: 25px;
}

.course-description p:last-child {
    margin-bottom: 0;
}

.course-description p:first-of-type {
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3e50;
    border-left: 4px solid #3498db;
    padding-left: 20px;
    margin-left: -24px;
}

/* Pricing Table */
.pricing-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 20px;
}

.pricing-title {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #333;
}

.pricing-box {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    width: 230px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-box h2 {
    text-align: center;
    margin-top: 0;
}

.price {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.pricing-box ul {
    list-style-type: none;
    padding: 0;
}

.pricing-box li {
    margin-bottom: 10px;
}

.btn {
    background-color: #d62c1a;
    color: #ffffff;
    border: 2px solid #d62c1a;
    border-radius: 5px;
    padding: 10px 20px;
    text-decoration: none;
    text-align: center;
    display: block;
    margin-top: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
    background-color: #FFFFFF;
    color: #000000;
}

/* Course Details */
.course-details {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.course-details h2,
.course-details h3 {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.course-details h2::after,
.course-details h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    margin: 20px auto 0;
}

.course-details ul,
.course-details ol {
    padding-left: 20px;
}

.course-details li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.featured {
    background-color: #d62c1a;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
}

/* Accreditation */
.accreditation-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    /* Lighter background */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.accreditation-title {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    text-align: center;
    /* Centered */
    font-size: 2.5em;
    /* Increased size */
    margin-bottom: 20px;
    /* Extra space below the title */
}

.logos-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
}

.logo-item {
    text-align: center;
}

.logo-item img {
    max-width: 150px;
    height: auto;
}

.logo-item p {
    margin-top: 10px;
    font-weight: bold;
    color: #2c3e50;
}

.description {
    margin-top: 20px;
    text-align: justify;
    line-height: 1.6;
}

/* Call to Action */
.cta-section {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.cta-title {
    color: #1a1a1a;
    font-size: 28px;
    margin-bottom: 20px;
}

.cta-text {
    color: #333333;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 20px;
    color: #ffffff;
    background-color: #d62c1a;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #a52213;
}

.guarantee {
    margin-top: 20px;
    font-size: 16px;
    color: #1a1a1a;
}

.highlight {
    color: #d62c1a;
    font-weight: bold;
}

/* FAQ */
.faq-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.faq-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    margin: 20px auto 0;
}

.faq-item {
    margin-bottom: 30px;
}

.faq-question {
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    cursor: pointer;
}

.faq-answer {
    font-size: 1.1em;
    padding-left: 20px;
    border-left: 4px solid #3498db;
}

/* License Requirements */
.license-requirements-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.license-requirements-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.license-requirements-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    margin: 20px auto 0;
}

.license-requirements-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 20px;
}

.license-requirements-list {
    list-style-type: none;
    padding-left: 0;
}

.license-requirements-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.license-requirements-list li::before {
    content: "\2713";
    /* Unicode character for checkmark */
    color: #2ecc71;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.license-requirements-list li strong {
    font-weight: 600;
    color: #2c3e50;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 40px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo img {
    max-width: 200px;
    margin-bottom: 20px;
    /* Removed filter to maintain original colors */
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-contact p {
    margin: 5px 0;
    font-size: 1.1em;
}

.footer-contact a {
    color: #4da6ff;
    text-decoration: underline;
    transition: color 0.3s ease;
    font-weight: bold;
}

.footer-contact a:hover {
    color: #ff9900;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.social-links img {
    width: 35px;
    height: 35px;
    /* Removed filter to maintain original colors */
}

.footer-copyright {
    font-size: 1em;
    color: #cccccc;
}

/* Media Queries */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #333333;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 0.5rem 0;
    }

    .nav-list li a {
        color: #ffffff;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        background-color: #4d4d4d;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .course-description,
    .course-details,
    .accreditation-section,
    .cta-section,
    .faq-section,
    .license-requirements-section {
        margin: 30px auto;
        padding: 15px;
    }

    .course-description h2,
    .course-details h2,
    .faq-section h2,
    .license-requirements-section h2 {
        font-size: 1.8em;
        color: #1a1a1a;
    }

    .course-description p,
    .course-details li,
    .faq-question,
    .faq-answer,
    .license-requirements-section p,
    .license-requirements-list li {
        font-size: 1em;
        color: #333333;
    }

    .course-description p:first-of-type {
        font-size: 1.1em;
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        color: #1a1a1a;
    }

    .pricing-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-box {
        width: 90%;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .cta-title {
        font-size: 22px;
        color: #1a1a1a;
    }

    .cta-text {
        font-size: 16px;
        color: #333333;
    }

    .cta-button {
        font-size: 18px;
        background-color: #d62c1a;
        color: #ffffff;
    }

    .footer-content {
        padding: 0 20px;
    }
}

.contact-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
}

.contact-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    margin: 20px auto 0;
}

.contact-intro {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #333;
}

.contact-methods {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.contact-method {
    flex-basis: 45%;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.contact-method h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.3em;
    color: #3498db;
    margin-bottom: 10px;
}

.contact-method p {
    font-size: 1em;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 768px) {
    .contact-section {
        margin: 30px auto;
        padding: 15px;
    }

    .contact-section h2 {
        font-size: 1.8em;
    }

    .contact-intro,
    .contact-method p {
        font-size: 1em;
    }

    .contact-method {
        flex-basis: 100%;
    }
}

/* General styles for the articles section */

.article-section {
    padding: 40px 20px;
    margin: 100px auto;
    max-width: 800px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.article-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.article-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 20px;
}

.article-content {
    display: block;
    /* Remove flexbox as there is no image */
}

.article-text {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
}

/* Mobile styles */
@media (max-width: 768px) {
    .article-content {
        display: block;
        /* Keep simple layout on mobile */
    }
}

/* Styles for the label above the search box */
/* Articles index styles */
.articles-index {
    padding-left: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.articles-index ul {
    list-style-type: none;
    padding: 0;
}

.articles-index li {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.articles-index a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.articles-index a:hover {
    color: #3498db;
}

/* Search field container style */
.search-container {
    margin-bottom: 30px;
    text-align: center;
}

.search-wrapper {
    display: inline-flex;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

#search-input {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 5px 0 0 5px;
    box-sizing: border-box;
}

#search-button {
    padding: 12px 20px;
    background-color: #3498db;
    color: #fff;
    border: 1px solid #3498db;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 1rem;
}

#search-button:hover {
    background-color: #2980b9;
}

.video-container video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}