/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* BODY */

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7fb;
    color: #333;
    line-height: 1.6;
}


/* HEADER */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background: #0f172a;
    color: white;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #38bdf8;
}


/* HERO SECTION */

.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    padding: 20px;
}

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

.hero p {
    max-width: 650px;
    font-size: 18px;
}

.btn {
    margin-top: 25px;
    padding: 12px 30px;
    background: #38bdf8;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.btn:hover {
    background: #0ea5e9;
}


/* FEATURES SECTION */

.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 80px 40px;
    flex-wrap: wrap;
}

.feature-card {
    background: white;
    padding: 35px;
    width: 260px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #2563eb;
}


/* TECHNOLOGY SECTION */

.tech {
    text-align: center;
    padding: 60px;
    background: #ffffff;
}

.tech h2 {
    margin-bottom: 20px;
}

.tech-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.tech-box {
    background: #2563eb;
    color: white;
    padding: 12px 22px;
    border-radius: 20px;
    font-size: 14px;
}


/* ABOUT SECTION */

.about-section {
    text-align: center;
    padding: 80px;
    max-width: 800px;
    margin: auto;
}

.about-section h1 {
    margin-bottom: 20px;
    color: #1e3a8a;
}


/* SKILLS SECTION */

.skills {
    text-align: center;
    padding: 60px;
    background: #f9fafc;
}

.skills h2 {
    margin-bottom: 20px;
}

.skills-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.skill {
    background: #2563eb;
    color: white;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 14px;
}


/* CONTACT SECTION */

.contact-section {
    text-align: center;
    padding: 80px;
}

.contact-section h1 {
    margin-bottom: 10px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 350px;
    margin: 30px auto;
}

input,
textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

textarea {
    resize: none;
}

button {
    padding: 12px;
    border: none;
    background: #2563eb;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

button:hover {
    background: #1d4ed8;
}


/* CONTACT INFO */

.contact-info {
    text-align: center;
    padding: 40px;
    max-width: 700px;
    margin: auto;
}

/* TEXT HIGHLIGHT */

.hero .highlight {
    color: #facc15;
    font-weight: 600;
}


/* FOOTER */

footer {
    text-align: center;
    padding: 20px;
    background: #0f172a;
    color: white;
    margin-top: 40px;
}


/* RESPONSIVE DESIGN */

@media(max-width:768px) {

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

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

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

    .hero p {
        font-size: 16px;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }

    .skills-container {
        flex-direction: column;
        align-items: center;
    }

    form {
        width: 90%;
    }

}