
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #0f172a;
    color: white;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 8%;
    background: #111c32;
}

.logo {
    font-size: 27px;
    font-weight: bold;
}

.logo span,
.hero h1 span,
.page-section h1 span {
    color: #38bdf8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links .active {
    color: #38bdf8;
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 10%;
    gap: 40px;
}

.hero-content {
    max-width: 600px;
}

.subtitle {
    color: #38bdf8;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 27px;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.description {
    color: #94a3b8;
    line-height: 1.8;
    margin: 20px 0 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 25px;
    background: #38bdf8;
    color: #0f172a;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    border: 1px solid #38bdf8;
    color: #38bdf8;
}

.hero-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #38bdf8;
}

.skills,
.page-section {
    padding: 70px 10%;
    text-align: center;
}

.skills {
    background: #111c32;
}

.skills h2,
.page-section h1 {
    font-size: 36px;
}

.skill-container,
.about-grid,
.project-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 35px;
}

.skill-card,
.about-card,
.project-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 25px;
}

.skill-card:hover,
.about-card:hover,
.project-card:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

.about-card {
    flex: 1 1 220px;
}

.about-card h2 {
    color: #38bdf8;
    margin-bottom: 15px;
}

.about-card p {
    color: #cbd5e1;
    margin: 10px 0;
}

.project-card {
    flex: 1 1 250px;
    max-width: 350px;
    padding: 0;
    overflow: hidden;
    text-align: left;
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

.project-info h2 {
    color: #38bdf8;
    margin-bottom: 10px;
}

.project-info p {
    color: #cbd5e1;
    margin: 8px 0;
}

.contact-form {
    max-width: 600px;
    margin: 35px auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 18px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    color: white;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #38bdf8;
}

.contact-form button {
    width: 100%;
}

.success-message {
    color: #4ade80;
    margin-bottom: 20px;
}

footer {
    padding: 22px;
    text-align: center;
    background: #111c32;
    color: #94a3b8;
}

@media(max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        width: 220px;
        height: 220px;
    }
}