.navigation {
    margin: 20px auto 0;
    width: 50%;
    height: 80px;
    background: linear-gradient(rgb(42, 42, 42), rgb(14, 14, 14));
    border-radius: 10px 10px 50px 50px;
    position: sticky;
    top: 20px;
    z-index: 10;
    box-shadow: 15px 15px 50px 11px #000000;
    transition: border-radius 0.3s ease;
}

.navigation.scrolled {
    border-radius: 24px;
}

.navigation nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.navigation nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navigation nav a {
    margin: 0;
    color: #ffffff;
    font-size: 1.5rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
    background: linear-gradient(#575757, rgb(45, 45, 45));
    min-height: 100vh;
    margin: 0;
}

.hero {
    width: 100%;
    overflow: hidden;
    margin-top: -100px;
    position: relative;
    top: 0;
}

.hero img {
    width: 100%;
    height: 1000px;
    object-fit: cover;
    display: block;
    max-width: none;
}

.hero-curve {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 120px;
    z-index: 5;
    pointer-events: none;
    
}
.hero-curve path {
    fill: #575757;
}

.About-me-Title {
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3rem;
    color: aliceblue;
    margin: 0 auto 1rem;
    max-width: 900px;
}

.About_Me {
    width: min(90%, 1000px);
    margin: 0 auto 2rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.About_Me p {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.8;
    text-align: center;
    color: #f4f4f4;
}

.Projects-title {
    text-align: center;
    color: #f4f4f4;
    margin-top: 2rem;
    font-size: 2.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.Card_Holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.Card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
    width: min(280px, 100%);
    padding: 1.8rem;
    color: #ffffff;
    transition: transform 0.3s ease, background 0.3s ease;
}

.Card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.12);
}

.Card h3 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
}

.Card p {
    margin: 0;
    line-height: 1.7;
    color: #dcdcdc;
}

.Contact-section {
    max-width: 1100px;
    margin: 0 auto 4rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 32px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
}

.Contact-section h2 {
    text-align: center;
    color: #f4f4f4;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.Contact-section p {
    text-align: center;
    color: #dcdcdc;
    max-width: 820px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.Contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 1.8rem;
    text-align: center;
}

.contact-card h3 {
    margin: 0 0 0.75rem;
    color: #ffffff;
}

.contact-card p {
    margin: 0;
    color: #dcdcdc;
    line-height: 1.7;
}

.contact-card a {
    color: #f2f2f2;
    text-decoration: none;
}

@media (max-width: 900px) {
    .Contact-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .Contact-cards {
        grid-template-columns: 1fr;
    }

    .Contact-section {
        padding: 2rem 1rem;
    }
}

