body {
    margin: 0;
    padding: 30px;
    font-family: Arial, sans-serif;
    color: #e6eef6;
    background: linear-gradient(#0a1529, #0f1724);
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

h1, h2, h3 {
    margin-top: 0;
}

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

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.logo {
    width: 48px; 
    height: 48px;
    background: #6ee7b7;
    color: #06281c;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
}

.brand h1 {
    margin: 0;
    line-height: 1.2;
}

.brand p {
    margin: 4px 0 0;
    line-height: 1.15;
}

.btn {
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #6ee7b7;
    color: #6ee7b7;
    text-decoration: none;
    white-space: nowrap;
}


.hero {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.hero img {
    width: 250px;
    border-radius: 12px;
}

.hero .intro p {
    line-height: 1.55;
    margin-bottom: 14px;
}

.hero ul {
    margin-top: 10px;
    line-height: 1.55;
}


.section {
    margin: 35px 0;
}


.cards {
    display: flex;
    gap: 12px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    flex: 1;
    line-height: 1.45;
    text-wrap: pretty;
}

.portfolio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.item {
    background: rgba(255, 255, 255, 0.05);
    padding: 14px;
    border-radius: 12px;
    line-height: 1.45;
    text-wrap: pretty;
}

.section#contact p {
    margin-bottom: 8px;
}

#contact .btn {
    margin-top: 28px !important;
    display: inline-block;
}

.footer {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    color: #9ca7b8;
}

@media (max-width: 700px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .cards {
        flex-direction: column;
    }

    .portfolio {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card, .item, .intro p, .section p {
    text-wrap: pretty;
    hanging-punctuation: none;
    orphans: 2;
    widows: 2;
    line-height: 1.5;
}
