/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a5276;
    --primary-light: #2980b9;
    --secondary: #2c3e50;
    --accent: #f39c12;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --success: #27ae60;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--gray-100);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

section {
    padding: 5rem 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-secondary {
    background-color: var(--accent);
    color: white;
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--accent);
}

.btn-outline {
    background-color: transparent;
    color: var(--light);
    border: 2px solid var(--light);
}

.btn-outline:hover {
    background-color: var(--light);
    color: var(--primary);
}

.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-600);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    background-color: white;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-link {
    margin: 0 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link a {
    color: var(--dark);
}

.nav-link a:hover {
    color: var(--primary);
}

.nav-link.active a {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(26, 82, 118, 0.8), rgba(26, 82, 118, 0.9)),
                url('/api/placeholder/1920/1080') center/cover no-repeat;
    color: white;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.feature-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background-color: var(--gray-100);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

/* Courses Section */
.courses {
    background-color: var(--gray-100);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.course-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.course-img {
    height: 200px;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-img img {
    transform: scale(1.1);
}

.course-content {
    padding: 1.5rem;
}

.course-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background-color: rgba(26, 82, 118, 0.1);
    color: var(--primary);
}

.course-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.course-info {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.course-info span {
    display: flex;
    align-items: center;
}

.course-info i {
    margin-right: 0.5rem;
    color: var(--primary);
}

/* Certifications Section */
.certifications {
    background-color: white;
}

.cert-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cert-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cert-logo {
    background-color: var(--gray-100);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    transition: var(--transition);
}

.cert-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.cert-logo span {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--primary);
    color: white;
}

.testimonials .section-title h2,
.testimonials .section-title p {
    color: white;
}

.testimonials .section-title h2::after {
    background-color: var(--accent);
}

.testimonial-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 900px;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    min-width: 100%;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    position: relative;
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: rgba(255, 255, 255, 0.2);
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: white;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.8;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.testimonial-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-nav button.active {
    background-color: var(--accent);
    transform: scale(1.2);
}

/* How It Works Section */
.how-it-works {
    background-color: var(--gray-100);
}

.steps {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--gray-300);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 1rem;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0.3;
}

.step-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    background-color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.step-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.step-description {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 1rem;
    min-width: 20px;
}

.contact-form {
    background-color: var(--gray-100);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-family: inherit;
    font-size: inherit;
    background-color: white;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Blog Styles */
.blog-hero {
    background: linear-gradient(rgba(26, 82, 118, 0.8), rgba(26, 82, 118, 0.9)),
                url('/api/placeholder/1920/500') center/cover no-repeat;
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

.blog-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.blog-hero p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.blog-main {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 3rem;
    padding: 4rem 0;
}

/* Blog Card Styles */
.blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.blog-card .btn {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    padding: 0;
}

.blog-card .btn i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.blog-card .btn:hover i {
    transform: translateX(5px);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Featured Post */
.featured-post {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.featured-img {
    height: 400px;
    overflow: hidden;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-content {
    padding: 2rem;
}

.post-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background-color: rgba(26, 82, 118, 0.1);
    color: var(--primary);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.post-meta span {
    display: flex;
    align-items: center;
}

.post-meta i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.featured-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.featured-excerpt {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
}

/* Blog Category Buttons */
.blog-category-btn {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: none;
    background-color: rgba(26, 82, 118, 0.1);
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.blog-category-btn:hover {
    background-color: rgba(26, 82, 118, 0.2);
}

.blog-category-btn.active {
    background-color: var(--primary);
    color: white;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

/* Search Widget */
.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-family: inherit;
    font-size: inherit;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-600);
}

/* Categories Widget */
.category-list {
    list-style: none;
}

.category-item {
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.75rem;
}

.category-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.category-link:hover {
    padding-left: 5px;
}

.category-count {
    display: inline-block;
    background-color: var(--gray-200);
    color: var(--gray-600);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    text-align: center;
    line-height: 25px;
    font-size: 0.8rem;
}

/* Recent Posts Widget */
.recent-post {
    display: flex;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.recent-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.recent-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.recent-post-meta {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* Tags Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background-color: var(--gray-200);
    color: var(--gray-600);
    border-radius: 4px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.tag-link:hover {
    background-color: var(--primary);
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-item {
    display: inline-block;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: white;
    color: var(--dark);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.page-link:hover {
    background-color: var(--primary-light);
    color: white;
}

.page-link.active {
    background-color: var(--primary);
    color: white;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.footer-text {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent);
}

/* Learning Platform Section */
.learning-platform {
    background-color: white;
    padding: 5rem 0;
}

.learning-platform-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.learning-platform-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.learning-platform-image img {
    width: 100%;
    display: block;
}

.learning-platform-text {
    flex: 1;
}

.enrollment-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.enrollment-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.enrollment-feature i {
    color: var(--success);
}

/* Subscribe Section */
.subscribe-section {
    background-color: var(--primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.subscribe-content {
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-title {
    color: white;
    margin-bottom: 1rem;
}

.subscribe-text {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: inherit;
    font-size: inherit;
}

.subscribe-btn {
    padding: 0 1.5rem;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.subscribe-btn:hover {
    background-color: #e67e22;
}

/* Modal Styles */
.course-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    padding: 2rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-600);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .navbar {
        position: relative;
    }
    .hamburger {
        display: block;
        font-size: 1.5rem;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: white;
        flex-direction: column;
        width: 300px;
        padding: 2rem;
        border-radius: 8px;
        box-shadow: var(--shadow);
        transform: translateY(20px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-link {
        margin: 0.75rem 0;
    }
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    .feature-box {
        grid-template-columns: 1fr;
    }
    .steps {
        flex-direction: column;
        gap: 3rem;
    }
    .steps::before {
        display: none;
    }
    .contact-wrapper,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .blog-main {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 10rem 0;
    }
    .hero h1 {
        font-size: 2.25rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .cert-logos {
        gap: 1rem;
    }
    .cert-logo {
        width: 120px;
        height: 120px;
    }
    .blog-hero h1 {
        font-size: 2rem;
    }
    .featured-img {
        height: 300px;
    }
    .featured-title {
        font-size: 1.5rem;
    }
    .subscribe-form {
        flex-direction: column;
    }
    .subscribe-input {
        border-radius: 4px;
        margin-bottom: 1rem;
    }
    .subscribe-btn {
        border-radius: 4px;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .learning-platform-content {
        flex-direction: column;
    }
}
