/* Eleventhor Academy - Main Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Variables */
:root {
    --color-white: #ffffff;
    --color-dark: #2d3436;
    --color-accent: #2ecc71;
    --color-accent-dark: #27ae60;
    --color-gray-light: #f8f9fa;
    --color-gray: #dfe6e9;
    --color-text: #2d3436;
    --font-main: 'Poppins', sans-serif;
    --border-radius: 12px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--color-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-accent);
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--color-text);
    font-weight: 400;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--color-accent);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--color-text);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.8), rgba(45, 52, 54, 0.7));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-gray-light);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    font-weight: 300;
    color: var(--color-text);
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-light {
    background-color: var(--color-gray-light);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-text);
}

.card p {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 20px;
}

.card-link {
    color: var(--color-accent);
    font-weight: 600;
}

.card-link:hover {
    color: var(--color-accent-dark);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-text h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text);
}

.content-text p {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.content-img img {
    width: 100%;
    height: auto;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-text);
}

/* CTA Section */
.cta-section {
    background-color: var(--color-accent);
    color: var(--color-white);
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-date {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-text);
}

.blog-card p {
    font-size: 15px;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-card-link {
    color: var(--color-accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-card-link:hover {
    color: var(--color-accent-dark);
}

/* Blog Article */
.article-header {
    text-align: center;
    padding: 60px 0 40px;
}

.article-title {
    font-size: 42px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    font-size: 16px;
    color: var(--color-accent);
    font-weight: 600;
}

.article-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-text);
}

.article-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-text);
}

.article-content p {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--color-text);
}

.article-content ul,
.article-content ol {
    margin: 20px 0 20px 30px;
    line-height: 1.8;
}

.article-content li {
    font-size: 17px;
    font-weight: 300;
    margin-bottom: 10px;
    color: var(--color-text);
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-form {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-gray);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item-icon {
    font-size: 24px;
    color: var(--color-accent);
    margin-right: 15px;
    min-width: 30px;
}

.contact-item-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
}

.contact-item-text strong {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.map-container {
    margin-top: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-3px);
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 25px 30px;
    margin-bottom: 20px;
}

.faq-question {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 15px;
}

.faq-answer {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-text);
    line-height: 1.7;
}

/* Privacy & Terms */
.legal-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.legal-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-text);
}

.legal-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-text);
}

.legal-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--color-text);
}

.legal-content ul {
    margin: 20px 0 20px 30px;
    line-height: 1.8;
}

.legal-content li {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 10px;
    color: var(--color-text);
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 15px;
    font-weight: 300;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    font-weight: 300;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 20px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner p {
    font-size: 14px;
    font-weight: 300;
    flex: 1;
    min-width: 250px;
}

.cookie-banner a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 15px;
}

.cookie-banner .btn {
    padding: 10px 24px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 38px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav.active {
        max-height: 400px;
    }
    
    .nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 32px;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: stretch;
    }
    
    .cookie-banner .btn {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .card {
        padding: 20px;
    }
    
    .contact-form {
        padding: 25px;
    }
}
