/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 3em;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.2em;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-secondary:hover {
    background-color: #007bff;
    color: #fff;
}

/* Header and Navigation */
header {
    background: linear-gradient(to right, #007bff, #6610f2);
    color: #fff;
    padding-top: 60px; /* To account for fixed nav */
}

nav {
    background-color: #fff;
    color: #333;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

nav h1 {
    margin: 0;
    font-size: 1.8em;
    color: #007bff;
}

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

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

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin-bottom: 5px;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 100px 0;
    color: #fff;
}

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

.hero-content {
    flex: 1;
    min-width: 300px;
    margin-right: 40px;
}

.hero-content h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-align: left;
    color: #fff;
}

.hero-content p {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-features p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.hero-buttons .btn {
    margin-right: 20px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Course Modules Section */
.courses-section {
    background-color: #f9f9f9;
}

.course-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.module-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.module-card:hover {
    transform: translateY(-10px);
}

.module-card .icon {
    font-size: 3em;
    color: #007bff;
    margin-bottom: 20px;
}

.module-card h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
}

.module-card p {
    color: #666;
    line-height: 1.6;
}

.training-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.training-images img {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Why Choose Us Section */
.why-us-section {
    background-color: #fff;
}

.why-us-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.why-us-content {
    flex: 1;
    min-width: 300px;
    margin-right: 40px;
}

.why-us-content h2 {
    text-align: left;
    margin-bottom: 40px;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.reason-item .icon {
    font-size: 2.5em;
    color: #007bff;
    margin-right: 20px;
}

.reason-item h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.reason-item p {
    color: #666;
    line-height: 1.6;
}

.why-us-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.why-us-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Contact Section */
.contact-section {
    background-color: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-form,
.contact-info {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h3,
.contact-info h3 {
    font-size: 2em;
    color: #333;
    margin-bottom: 30px;
}

.contact-form form input,
.contact-form form textarea {
    width: calc(100% - 20px);
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form form button:hover {
    background-color: #0056b3;
}

.contact-info p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-info p span {
    font-weight: bold;
}

.office-hours {
    background-color: #007bff;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.office-hours h3 {
    color: #fff;
    margin-bottom: 15px;
}

.office-hours p {
    color: #fff;
}

/* FAQ Section */
.faq-section {
    background-color: #fff;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: #eee;
    padding: 20px;
    border: none;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e0e0e0;
}

.faq-question .icon {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.faq-question.active .icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.faq-answer.open {
    max-height: 200px; /* Adjust as needed */
    padding: 20px;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3,
.footer-links h4,
.footer-contact h4 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.footer-about p,
.footer-contact p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #0056b3;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #555;
    padding-top: 20px;
}

.footer-bottom p {
    color: #ccc;
}

.footer-bottom a {
    color: #007bff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    h2 {
        font-size: 2.5em;
    }

    .section-description {
        font-size: 1em;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .hero-content h2 {
        text-align: center;
        font-size: 2.8em;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .hero-buttons .btn {
        margin-right: 0;
    }

    .why-us-section .container {
        flex-direction: column;
    }

    .why-us-content {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .why-us-content h2 {
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 70px;
        left: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
    }

    .training-images img {
        width: 100%;
    }
}

