/* Global Styles */
:root {
    --primary-color: #00824a;
    --secondary-color: #f7a800;
    --dark-green: #005c34;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --white: #ffffff;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
}

p {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn.secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn.small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn.primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    color: var(--white);
}

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

.center {
    text-align: center;
    margin: 2rem 0;
}

section {
    padding: 4rem 0;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.logo a {
    display: block;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--dark-gray);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.login-btn a {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.login-btn a:hover {
    background-color: var(--dark-green);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.hero h1, .hero p {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    margin-top: 2rem;
}

.cta-buttons .btn {
    margin: 0 0.5rem 1rem;
}

/* Features Section */
.features {
    background-color: var(--light-gray);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item svg {
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Courses Section */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-image {
    height: 180px;
    overflow: hidden;
}

.course-image img, .course-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-details {
    padding: 1.5rem;
}

.course-details h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.course-details p {
    margin-bottom: 1.5rem;
}

/* Gaming Section */
.gaming {
    background-color: var(--light-gray);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.gaming-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.gaming-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.gaming-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.gaming-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.gaming-links li {
    margin-bottom: 1rem;
}

.gaming-links a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.gaming-links a:hover {
    background-color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* Testimonials Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-card svg {
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0.1;
    width: 60px;
    height: 60px;
}

.testimonial-card p {
    margin: 1.5rem 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

/* Footer Styles */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-column h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-logo {
    margin-top: 1.5rem;
}

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

/* Responsive Design */
@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav {
        margin-top: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .hero {
        padding: 10rem 0 4rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .feature-grid, .course-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-buttons .btn {
        margin: 0 0 1rem;
    }
}
