@import url(https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;500;700&display=swap);

body {
    margin: 0;
    font-family: "vazirmatn", sans-serif;
    background: #ffffff;
    color: #333;
}

.header { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #5daaff;
    border-bottom: 2px solid #3c8fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logo-area {
    height: 55px;    
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
    margin-left: 12px;
    border-radius: 6px;
}

.lego-text {
    font-size: 26px;
    font-weight: 700px;
    color: #4a8fe7;
}

nav {
    width: 100%;
    max-width: 100;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    margin-left: 12px;
    text-decoration: none;
    color: white;
    font-weight: 500;
}

nav a:hover {
    color: #38f2ff;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #e8f2ff, #ffffff);
    flex-wrap: wrap;
}

.hero-content {
    max-width: 450px;
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 10px;
    color: #3c8fff;
    text-decoration: none;
    border-radius: 18px;
    font-size: 18px;
}

.btn {
    display: inline-block;
    background: #5daaff;
    padding: 12px 28px;
    color: white;
    border-radius: 10px;
    margin-top: 15px;
    font-size: 16px;
    text-decoration: none;
}

.btn:hover {
    background: #3c8fff;
}

.hero-image img {
    text-align: center;
    width: 100%;
    max-width: 360px;
    border-radius: 10px;
    border: 3px solid #e8f2ff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about {
    margin: 20px auto;
    background: #ffffff;
    padding: 20px;
    max-width: 600px;
    border-radius: 15px;
    border: 2px solid #d7e9ff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.about h2 {
    color: #3c8fff;
    margin: 15px;
}

.features {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 26px;
    color: 3c8fff;
    margin-bottom: 30px;
}

.feature-box {
    display: block;    
    background: #ffffff;
    width: 280px;
    padding: 20px;
    margin: 15px auto;
    border-radius: 10px;
    border: 2px solid #d7e9ff;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-box h3 {
    color: #3c8fff;
}

.articles {
    padding: 40px 20px;
    text-align: center;
}

.article-box {
    display: block;
    width: 100%;
    max-width: 260px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    margin: 15px auto;
    border: 2px solid #d7e9ff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.article-box h3 {
    color: #3c8fff;
}

.footer {
    text-align: center;
    padding: 20px;
    background: #5daaff;
    color: white;
    margin-top: 40px;
    border-top: 2px solid #3c8fff;
}

.page-title {
    text-align: center;
    padding: 40px 20px;
}

.page-title h1 {
    color: #4a8fe7;
}

.contact-form {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.form {
    width: 350px;
    background: #ffffff;
    padding: 25px;
    border: 2px solid #e4eeff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.textarea {
    height: 130px;
    resize: none;
}

button {
    width: 100%;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-image img {
        margin-top: 25px;
        width: 80%;
        max-width: 330px;
    }

    .about {
        padding: 25px 20px;
        margin: 30px 10px;
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

html {
    scroll-behavior: smooth;
}

body, html {
    overflow-x: hidden;
}








