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

body {
    font-family: "Poppins", sans-serif;
    background: #0f172a;
    color: #f8fafc;
    line-height: 1.6;
}

/* Container */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

/* Header */

header {
    background: #020617;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
}

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

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

/* Hero Section */

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    max-width: 500px;
}

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

.highlight {
    color: #38bdf8;
}

.hero-buttons {
    margin-top: 20px;
}

.hero-image img {
    width: 220px;
    border-radius: 50%;
    border: 4px solid #38bdf8;
}

/* Buttons */

.btn {
    display: inline-block;
    background: #2563eb;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    margin-right: 10px;
    transition: 0.3s;
}

.btn:hover {
    background: #1d4ed8;
}

.btn.secondary {
    background: #1e293b;
}

.btn.secondary:hover {
    background: #334155;
}

/* Stats */

.stats {
    background: #020617;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat {
    flex: 1;
}

.stat h3 {
    font-size: 34px;
    color: #38bdf8;
}

/* Sections */

.section {
    text-align: center;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

/* About */

.about-text {
    max-width: 700px;
    margin: auto;
}

/* Skills */

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

.card {
    background: #1e293b;
    padding: 20px 30px;
    border-radius: 8px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    background: #334155;
}

/* Projects */

.projects-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.project-card {
    background: #1e293b;
    padding: 25px;
    border-radius: 10px;
    width: 320px;
    text-align: left;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
    background: #334155;
}

.project-card h3 {
    margin-bottom: 10px;
}

.project-card ul {
    padding-left: 18px;
    margin-bottom: 15px;
}

/* Project Links */

.project-links {
    margin-top: 10px;
}

.project-links a {
    display: inline-block;
    text-decoration: none;
    color: white;
    background: #2563eb;
    padding: 8px 14px;
    border-radius: 5px;
    margin-right: 8px;
    font-size: 14px;
    transition: 0.3s;
}

.project-links a:hover {
    background: #1d4ed8;
}

/* Timeline */

#journey {
    margin: 0 60px;
}

.timeline {
    max-width: 900px;
    margin: auto;
    text-align: left;
}

.timeline-item {
    background: #1e293b;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Contact Form */

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

input,
textarea {
    padding: 12px;
    border-radius: 6px;
    border: none;
}

/* Footer */

footer {
    background: #020617;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    margin-left: 15px;
    text-decoration: none;
    color: white;
}

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

/* Responsive */

@media (max-width: 900px) {

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

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

    .stats-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-container {
        flex-direction: column;
        gap: 15px;
    }

}