h1 {
    margin-top: -40px;
}

.developments {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px;
}

.developments-hero {
    text-align: center;
    margin-bottom: 80px;
}

.developments-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.developments-hero p {
    color: #bdbdbd;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.project-card {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: 0.3s ease;
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.project-card img {
    height: 320px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-content {
    padding: 24px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.buttons a {
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: white;
    transition: 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.buttons a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.preview-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);

    display: none;

    justify-content: center;
    align-items: flex-start;

    overflow-y: auto;

    padding: 60px 20px;
    z-index: 9999;
}

.preview-content {
    max-width: 1200px;
    width: 100%;
}

.preview-content img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.close-modal {
    position: fixed;
    top: 20px;
    right: 30px;

    font-size: 3rem;
    color: white;
    cursor: pointer;

    z-index: 10000;
}

.intro-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    margin-bottom: 90px;
}

.intro-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
     transition: 0.35s ease;

    box-shadow:
        0 0 20px rgba(120, 80, 255, 0.08);
}

.intro-card:hover {
    transform: translateY(-8px);

    border-color: rgba(180, 140, 255, 0.35);

    box-shadow:
        0 0 25px rgba(140, 100, 255, 0.18),
        0 0 60px rgba(80, 120, 255, 0.12);
}

.intro-card h2 {
    margin-bottom: 18px;
    font-size: 1.6rem;
}

.intro-card p,
.intro-card li {
    color: #d0d0d0;
    line-height: 1.7;
}

.intro-card ul {
    padding-left: 20px;
}

.contact-button {
    display: inline-block;
    margin-top: 24px;

    padding: 12px 24px;

    border-radius: 999px;

    text-decoration: none;
    color: white;

    background: linear-gradient(
        135deg,
        rgba(120, 80, 255, 0.9),
        rgba(80, 140, 255, 0.9)
    );

    transition: 0.3s ease;

    box-shadow:
        0 0 20px rgba(120, 80, 255, 0.25);
}

.contact-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 0 30px rgba(120, 80, 255, 0.4);
}

@media (max-width: 768px) {
    .project-grid,
    .intro-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .developments {
        padding: 80px 16px;
    }

    .developments-hero {
        margin-bottom: 50px;
    }

    .developments-hero h1 {
        font-size: 2.2rem;
    }

    .intro-card {
        padding: 28px;
    }

    .project-card img {
        height: 220px;
    }

    .buttons {
        flex-direction: column;
    }

    .buttons a {
        text-align: center;
    }
}