/* =========================================
   Project: Goya Labs English Conversation
   Theme: Natural Acquisition (Soft Green)
   File: Econversation.css
   ========================================= */

:root {
    --primary-green: #2E7D32;
    --soft-green: #66BB6A;
    --light-green: #E8F5E9;
    --accent-gold: #FFD700;
    --text-dark: #333333;
    --text-light: #555555;
    --white: #ffffff;
    --bg-offwhite: #f9fdf9;
    --shadow: 0 4px 10px rgba(0,0,0,0.08);
}

body {
    font-family: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-offwhite);
    color: var(--text-dark);
    line-height: 1.7;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    background: var(--white);
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icon {
    width: 30px;
    height: auto;
}

.brand-text {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.brand-text .highlight {
    color: var(--soft-green);
}

.back-btn {
    text-decoration: none;
    color: var(--white);
    background-color: var(--primary-green);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.back-btn:hover {
    background-color: var(--soft-green);
    transform: translateX(-3px);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    /* Softer, more organic green gradient */
    background: linear-gradient(135deg, #66BB6A 0%, #A5D6A7 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 20px 120px;
    border-radius: 0 0 50px 50px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    font-family: 'Zen Maru Gothic', sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-sub {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 500;
}

/* =========================================
   Layout & Sections
   ========================================= */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    color: var(--primary-green);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title.center {
    display: block;
    text-align: center;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.highlight-box {
    background: white;
    border-left: 5px solid var(--soft-green);
    padding: 15px;
    margin-top: 20px;
    box-shadow: var(--shadow);
    border-radius: 0 10px 10px 0;
}

/* =========================================
   Features Grid
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.bg-light {
    background-color: var(--light-green);
    border-radius: 20px;
    margin: 40px 20px;
}

/* =========================================
   GoyaPoints & CTA
   ========================================= */
.gp-section {
    background: #ffffff;
    text-align: center;
}

.gp-header img {
    width: 250px;
    margin-bottom: 10px;
}

.gp-title {
    font-size: 2rem;
    color: #F57F17;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.cta-section {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }
    .navbar .brand-text { display: none; }
}

@media (max-width: 480px) {
    /* Strictly use vw for headers to prevent overflow */
    .hero h1 {
        font-size: 5vw !important; 
        width: 100%;         /* Fill the container width */
        max-width: 95%;      /* Safety buffer */
        margin: 0 auto 15px; /* Auto margins for block centering */
        padding: 0;          /* Remove padding to ensure perfect center */
        text-align: center;  /* CRITICAL: Centers text inside the block */
        white-space: nowrap; 
        display: block;
    }
    .section-title { font-size: 6vw; }
    .gp-title { font-size: 6vw; }

    /* Reduce button size by ~25% & enforce uniformity */
    .back-btn, .lang-btn {
        padding: 5px 10px !important;
        font-size: 0.8rem !important;
    }
}