/* ========== GLOBAL RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* ========== BODY ========== */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

/* ========== NAVBAR ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: rgba(15, 23, 42, 0.9);
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1e293b;
    z-index: 1000;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #38bdf8;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #e2e8f0;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

/* ========== HERO SECTION ========== */
.hero {
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero span {
    color: #38bdf8;
}

.hero p {
    font-size: 18px;
    color: #94a3b8;
}

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    background: #38bdf8;
    color: #0f172a;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #0ea5e9;
    transform: scale(1.05);
}

/* ========== SECTIONS ========== */
.section {
    padding: 80px 20px;
    text-align: center;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #38bdf8;
}

/* ========== PROJECT GRID ========== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding: 0 40px;
}

/* PROJECT CARDS */
.card {
    background: #1e293b;
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;
    border: 1px solid #334155;
}

.card:hover {
    transform: translateY(-8px);
    border-color: #38bdf8;
}

/* ========== CONTACT LINKS ========== */
#contact a {
    color: #38bdf8;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

/* ========== FOOTER ========== */
footer {
    text-align: center;
    padding: 25px;
    background: #0b1220;
    border-top: 1px solid #1e293b;
    margin-top: 50px;
    color: #94a3b8;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {

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

    .hero h1 {
        font-size: 32px;
    }

    .grid {
        padding: 0 20px;
    }
}