/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --primary-color: #4caf8f;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --white: #ffffff;
    --text-color: #333333;
    --light-gray: #e9e9e9;
    --footer-bg: #222222;
}

body {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

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

ul {
    list-style-type: none;
    padding-left: 20px;
    margin: 15px 0;
}

li {
    position: relative;
    padding-left: 5px;
    margin-bottom: 8px;
    line-height: 1.5;
}

li:before {
    content: "•";
    position: absolute;
    left: -15px;
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background-color: #3d9a7e;
}

.btn-submit {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 40px;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    float: right;
}

.btn-submit:hover {
    background-color: #3d9a7e;
}

/* Header and Navigation */
header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

.menu a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 500px;
    background-image: url('/imgs/1.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 60px 0;
    text-align: center;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text {
    color: var(--white);
}

.hero-text h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-text p {
    margin-bottom: 30px;
    font-size: 18px;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: var(--white);
}

.feature-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.feature-text p {
    margin-bottom: 15px;
}

.feature-image {
    flex: 1;
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* On-Demand Section */
.on-demand {
    padding: 60px 0;
    background-color: var(--light-color);
    text-align: center;
}

.on-demand h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
}

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

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    text-align: left;
}

.checkmark {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    margin-right: 15px;
    position: relative;
}

.checkmark:after {
    content: '';
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) rotate(45deg);
}

/* Customize Section */
.customize {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.customize h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.category-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 200px;
}

.category-btn:hover {
    background-color: #3d9a7e;
    transform: translateY(-3px);
}

/* Expert Materials Section */
.expert-materials {
    padding: 60px 0;
    background-color: var(--light-color);
    text-align: center;
}

.expert-materials h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
}

.materials {
    max-width: 600px;
    margin: 0 auto;
}

.material-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    text-align: left;
}

/* Contact Form Section */
.contact-form {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.contact-form h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
}

form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 16px;
}

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

.form-submit {
    margin-top: 30px;
    overflow: hidden; /* For float clearing */
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .feature-block, 
    .feature-block.reverse {
        flex-direction: column;
    }
    
    .hero-text h1 {
        font-size: 30px;
    }
    
    .category-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .menu {
        gap: 15px;
    }
    
    .hero-text h1 {
        font-size: 26px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .feature-text h2 {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .menu {
        display: none;
    }
    
    .hero {
        min-height: 400px;
        padding: 40px 0;
    }
    
    .hero-text h1 {
        font-size: 22px;
    }
    
    .features, 
    .on-demand, 
    .customize, 
    .expert-materials, 
    .contact-form {
        padding: 40px 0;
    }
    
    .form-submit {
        text-align: center;
    }
    
    .btn-submit {
        float: none;
    }
}