/*
Theme Name: EnglishTalky
Theme URI: https://englishtalky.com
Author: EnglishTalky Team
Author URI: https://englishtalky.com
Description: A modern WordPress theme for EnglishTalky - Practice English Speaking Online Free
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: englishtalky
Tags: education, language-learning, responsive, modern
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
}

.site-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #207dfe;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: #207dfe;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #207dfe;
    padding: 5px;
}

.mobile-nav {
    display: none;
}

/* Button Styles */
.btn {
    background: #207dfe;
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #1a6ad6;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #207dfe;
    border: 2px solid #207dfe;
}

.btn-outline:hover {
    background: #207dfe;
    color: white;
}

.btn-white {
    background: white;
    color: #207dfe;
}

.btn-white:hover {
    background: #f0f0f0;
}

/* Hero Section */
.hero {
    background: #e5f7ff;
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #0e2075;
}

.hero-text .subtitle {
    font-size: 20px;
    color: #207dfe;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-text .description {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f9f9f9;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-label {
    color: #207dfe;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-text h2 {
    font-size: 36px;
    color: #0e2075;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text .description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-text h5 {
    font-size: 20px;
    color: #0e2075;
    margin-bottom: 15px;
    margin-top: 30px;
}

.expertise-list {
    list-style: none;
    margin-bottom: 30px;
}

.expertise-list li {
    padding: 8px 0;
    font-size: 16px;
    color: #333;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #0e2075;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card, .feature-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover, .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h5, .feature-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0e2075;
}

.feature-card p, .feature-box p {
    font-size: 16px;
    color: #666;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: #f9f9f9;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    background: white;
}

.step img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.step h4 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #0e2075;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #207dfe 0%, #0e2075 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: white;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

/* Mission Section */
.mission {
    padding: 80px 0;
    background: white;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-text h2 {
    font-size: 36px;
    color: #0e2075;
    margin-bottom: 20px;
}

.mission-text p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

.mission-image {
    background: #e5f7ff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.mission-image img {
    max-width: 100%;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 24px;
    color: #0e2075;
    margin-bottom: 15px;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #207dfe 0%, #0e2075 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    border-radius: 8px;
    margin: 80px 0;
}

.cta h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background: #0e2075;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.site-footer a,
.site-footer a:visited {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.site-footer a:hover {
    opacity: 0.8;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 10px;
    transition: background 0.3s, transform 0.3s;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Privacy Policy Sections */
.policy-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.policy-section h2 {
    font-size: 28px;
    color: #0e2075;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #e5f7ff;
    color: #207dfe;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
}

/* Community Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #207dfe;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content,
    .step,
    .about-content,
    .mission-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text .subtitle {
        font-size: 16px;
    }

    .hero-text .description {
        font-size: 18px;
    }

    .about-text h2,
    .mission-text h2,
    .section-title {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 16px;
    }

    .logo-text {
        font-size: 18px;
    }

    .site-logo img {
        width: 45px;
        height: 45px;
    }

    .about-image {
        order: -1;
    }

    .hero-image img {
        max-height: 350px;
    }

    .main-navigation ul {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 20px;
    }

    .mobile-nav.active {
        display: block;
    }

    .mobile-nav ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
        list-style: none;
    }

    .mobile-nav a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        display: block;
        padding: 10px 0;
    }

    .mobile-nav .btn {
        display: block;
        text-align: center;
    }

    .cta h2 {
        font-size: 28px;
    }

    .stat-number {
        font-size: 36px;
    }

    .policy-section h2 {
        font-size: 22px;
        flex-direction: column;
        text-align: center;
    }
}