/*
Theme Name: Edumodern
Theme URI: https://mythova.com/
Author: Your Name
Author URI: https://mythova.com/
Description: A custom theme converted from a static HTML template.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive-layout, custom-menu, featured-images
Text Domain: edumodern
*/

/* You can add your actual CSS styles below this comment block */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Header */
.top-header {
    background: #2c3e50;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left span {
    margin-right: 30px;
}

.header-left i {
    margin-right: 8px;
    color: #2dd4bf;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.apply-btn {
    background: #2dd4bf;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.apply-btn:hover {
    background: #14b8a6;
}

/* Main Header */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #2dd4bf;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions i {
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #2dd4bf;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1e293b;
}

.highlight {
    color: #ef4444;
}

.hero-text p {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-btn {
    background: #2dd4bf;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: #14b8a6;
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Stats Section */
.stats-section {
    background: #2dd4bf;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.stat-icon {
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 10px;
    font-size: 24px;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-content p {
    font-size: 14px;
    opacity: 0.9;
}

/* Courses Section */
.courses-section {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

.course-price {
    color: #2dd4bf;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.course-instructor {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
}

.course-btn {
    background: #2dd4bf;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
    width: 100%;
}

.course-btn:hover {
    background: #14b8a6;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-num {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.page-num.active,
.page-num:hover {
    background: #2dd4bf;
    color: white;
    border-color: #2dd4bf;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    background: #2dd4bf;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

.achievement-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.achievement-item {
    text-align: center;
}

.achievement-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #2dd4bf;
    margin-bottom: 10px;
}

.achievement-item p {
    color: #64748b;
    font-weight: 500;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1e293b;
}

.about-text p {
    color: #64748b;
    line-height: 1.7;
    font-size: 16px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: white;
}

.why-choose-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1e293b;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.skills-section h3,
.mission h3,
.vision h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1e293b;
}

.skills-section ul {
    list-style: none;
}

.skills-section li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
}

.skills-section li:before {
    content: "✓";
    color: #2dd4bf;
    font-weight: bold;
    margin-right: 10px;
}

.mission,
.vision {
    margin-bottom: 30px;
}

.mission p,
.vision p {
    color: #64748b;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #f8fafc;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1e293b;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stars {
    color: #fbbf24;
    margin-bottom: 20px;
}

.testimonial-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-weight: 600;
    color: #1e293b;
}

.testimonial-author span {
    color: #64748b;
    font-size: 14px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    background: #334155;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #2dd4bf;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #2dd4bf;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-header .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-left {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .main-header .container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievement-stats {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}