:root {
    --bg-main: #06141B;
    --bg-secondary: #11212D;
    --card-bg: #253745;
    --border-color: #4A5C6A;
    --text-muted: #9BA8AB;
    --highlight: #CCD0CF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: var(--bg-main);
    color: var(--highlight);
    line-height: 1.6;
}

.header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;


    padding: 20px 60px;

    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.header nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.header nav a {
    color: var(--highlight);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

.header nav a:hover {
    color: var(--text-muted);
}

.hero {
    height: 90vh;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(to right,
            #06141B,
            #11212D,
            #253745);

    text-align: center;
    padding: 0 20px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;

    padding: 14px 34px;

    background: var(--highlight);
    color: var(--bg-main);

    text-decoration: none;
    border-radius: 6px;

    font-weight: bold;
    border: 2px solid var(--highlight);

    transition: all 0.3s ease;
}

.btn:hover {
    background: transparent;
    color: var(--highlight);
    transform: scale(1.05);
}

section {
    padding: 80px 60px;
}

section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 30px;

    border-radius: 10px;
    border: 1px solid var(--border-color);

    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);

    transition: transform 0.3s;
}

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

.card h3 {
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
}

.why {
    background: var(--bg-secondary);
    text-align: center;
}

.why-list p {
    margin: 15px 0;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.project {
    background: var(--card-bg);

    height: 200px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
    border: 1px solid var(--border-color);

    font-weight: bold;
    color: var(--highlight);

    transition: transform 0.3s;
}

.project:hover {
    transform: scale(1.05);
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.step {
    text-align: center;
    max-width: 150px;
}

.step span {
    display: inline-block;

    background: var(--highlight);
    color: var(--bg-main);

    width: 45px;
    height: 45px;

    line-height: 45px;

    border-radius: 50%;
    margin-bottom: 12px;

    font-weight: bold;
}

.step p {
    color: var(--text-muted);
}

.cta {
    background: var(--bg-secondary);
    color: var(--highlight);

    text-align: center;

    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.cta p {
    color: var(--text-muted);
    margin: 15px 0 30px;
}


.contact {
    text-align: center;
}

.contact p {
    margin: 10px 0;
    color: var(--text-muted);
}

.footer {
    background: var(--bg-secondary);
    color: var(--text-muted);

    text-align: center;
    padding: 25px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {

    .header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    section {
        padding: 60px 25px;
    }

    .steps {
        justify-content: center;
    }

}

.project {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    position: absolute;
    inset: 0;

    background: rgba(6, 20, 27, 0.9);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    opacity: 0;
    transition: 0.3s;
}

.project:hover .project-info {
    opacity: 1;
}

.project-info h3 {
    margin-bottom: 10px;
}

.project-info p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.project-info a {
    color: var(--highlight);
    text-decoration: none;
    border: 1px solid var(--highlight);
    padding: 6px 15px;
    border-radius: 4px;
}