/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

p {
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.primary-btn {
    background-color: #4ba2ff;
    color: white;
}

.primary-btn:hover {
    background-color: #3884d8;
}

/* Header */
.header {
    background-color: #4ba2ff;
    padding: 20px 0;
    color: white;
    text-align: center;
}

.header-logo {
    font-size: 24px;
    margin: 0;
    letter-spacing: 1px;
}

/* Hero section */
.hero {
    background-color: #333;
    color: white;
    padding: 80px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./imgs/1.png');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.hero-text {
    margin-bottom: 30px;
    font-size: 16px;
}

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

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

/* Courses section */
.courses {
    padding: 80px 0;
    background-color: #4ba2ff;
    color: white;
    text-align: center;
}

.courses-intro {
    max-width: 800px;
    margin: 0 auto 40px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.course-card {
    background-color: white;
    color: #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.course-card h3 {
    padding: 15px 15px 5px;
    font-size: 18px;
}

.course-card p {
    padding: 0 15px 15px;
    font-size: 14px;
}

/* Investment ways section */
.investment-ways {
    padding: 80px 0;
    text-align: center;
}

.investment-ways p {
    max-width: 800px;
    margin: 0 auto;
}

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

.services-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.services-grid.reverse {
    flex-direction: row-reverse;
}

.service-item {
    flex: 1;
}

.service-image {
    flex: 1;
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Signup section */
.signup {
    padding: 80px 0;
    text-align: center;
}

.signup p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.signup-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.signup-form input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.signup-form button {
    margin-top: 10px;
}

/* Footer */
.footer {
    background-color: #4ba2ff;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info {
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 12px;
    font-weight: bold;
}

/* Responsive styles */
@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-content,
    .services-grid,
    .services-grid.reverse {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}