/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* Header Section */
header {
    background: #4CAF50;
    color: #fff;
    padding: 10px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

.dropdown {
    position: relative;
}

.menu-icon {
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 30px;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
    min-width: 150px;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu li a:hover {
    background-color: #f4f4f4;
    color: #4CAF50;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 20px;
    background: #f1f1f1;
}

.hero h2 {
    margin-bottom: 10px;
    font-size: 36px;
}

.hero p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #666;
}

.hero .btn {
    display: inline-block;
    background: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.hero .btn:hover {
    background: #45a049;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background: #333;
    color: #fff;
}

/* Courses Section */
.courses {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
}

.courses h2 {
    margin-bottom: 30px;
    font-size: 28px;
    color: #4CAF50;
}

/* Course Grid Layout */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
    padding: 0 10px;
}

/* Individual Course Card */
.course-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Course Card Content */
.course-card h3 {
    background: #4CAF50;
    color: #fff;
    padding: 15px;
    margin: 0;
    text-align: center;
    font-size: 20px;
}

.course-card p {
    padding: 20px;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    text-align: justify;
}

/* Contact Section */
.contact {
    padding: 50px 20px;
    background: #f4f4f4;
    text-align: center;
}

.contact h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #4CAF50;
}

/* Contact Form Styling */
.contact form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.contact form input:focus,
.contact form textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

.contact form button {
    width: 100%;
    background: #4CAF50;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact form button:hover {
    background: #45a049;
}

/* Textarea Styling */
.contact form textarea {
    height: 120px;
    resize: none; /* Prevent resizing */
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact form {
        padding: 15px;
    }

    .contact h2 {
        font-size: 24px;
    }
}
/* Hero Section Styling */
.hero {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(to right, #4CAF50, #45a049);
    color: #fff;
}

.hero h2 {
    margin-bottom: 10px;
    font-size: 36px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Course Details Section */
.course-details {
    padding: 50px 20px;
    background: #f4f4f4;
    text-align: center;
}

.course-details h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Content Card */
.content-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.content-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #4CAF50;
}

.content-card p {
    font-size: 16px;
    color: #666;
    text-align: justify;
}

/* Call-to-Action Section */
.call-to-action {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
}

.call-to-action h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #4CAF50;
}

.call-to-action p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #666;
}

.call-to-action .btn {
    background: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background 0.3s;
}

.call-to-action .btn:hover {
    background: #45a049;
}

/* Back Link */
.back-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    margin-top: 10px;
}

.back-link:hover {
    text-decoration: underline;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.module-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

.module-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.module-card a {
    text-decoration: none;
    color: #007bff;
}

.module-card a:hover {
    text-decoration: underline;
}

.module-card p {
    font-size: 0.9em;
    color: #555;
}

/* Header Styling */
/* Header Styling */
header {
    background-color: #007bff;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.5em; /* Reduce the font size here */
    margin: 0;
}

header .back-link {
    color: white;
    text-decoration: none;
    font-size: 1em;
    background: #0056b3;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

header .back-link


header .back-link {
    color: white;
    text-decoration: none;
    font-size: 1em;
    background: #0056b3;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

header .back-link:hover {
    background: #003f7f;
}

/* Section Content */
.module-content {
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.module-content h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.module-content ul {
    list-style: disc;
    padding-left: 20px;
    margin: 10px 0;
}

.module-content ul li {
    margin-bottom: 10px;
    font-size: 1em;
    color: #555;
}

/* Call-to-Action Section */
.call-to-action {
    text-align: center;
    margin: 40px auto;
    padding: 20px;
    max-width: 600px;
    background: #007bff;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.call-to-action h2 {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.call-to-action p {
    font-size: 1em;
    margin-bottom: 20px;
}

.call-to-action .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: white;
    background: #0056b3;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.call-to-action .btn:hover {
    background: #003f7f;
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 15px;
    margin-top: 40px;
    background-color: #f1f1f1;
    color: #555;
    font-size: 0.9em;
    border-top: 1px solid #ddd;
}

/* Expandable Topic Content */
.topic-content {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
    padding: 10px 15px;
    display: none; /* Default hidden */
}

.topic-content p {
    font-size: 1em;
    color: #555;
}

.topic-content ul {
    margin: 10px 0;
    padding-left: 20px;
    list-style: circle;
}

.topic-content ul li {
    margin-bottom: 5px;
    font-size: 0.9em;
}
