@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background: #0b1120;
    color: #fff;
    line-height: 1.6;
}

/* Header */

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(11, 17, 32, 0.9);
    backdrop-filter: blur(10px);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 25px;
}

.logo {
    font-size: 25px;
    font-weight: 700;
}

.logo span {
    color: #00d9ff;
}

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

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

.nav-links a:hover {
    color: #00d9ff;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 25px;
    cursor: pointer;
}

/* Hero */

.hero {
    min-height: 100vh;
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 100px 25px 50px;
}

.hero-content {
    max-width: 650px;
}

.hello {
    color: #00d9ff;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 50px;
    line-height: 1.2;
}

.hero h1 span {
    color: #00d9ff;
}

.hero h2 {
    margin: 15px 0;
    color: #cbd5e1;
}

.description {
    color: #94a3b8;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;

    background: #00d9ff;
    color: #07111f;

    text-decoration: none;
    font-weight: 600;

    border: 2px solid #00d9ff;
    cursor: pointer;

    transition: 0.3s;
}

.btn:hover {
    background: transparent;
    color: #00d9ff;
}

.btn-outline {
    background: transparent;
    color: #00d9ff;
}

.socials {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.socials a {
    color: #fff;
    font-size: 25px;
    transition: 0.3s;
}

.socials a:hover {
    color: #00d9ff;
    transform: translateY(-5px);
}

/* Avatar */

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar {
    width: 330px;
    height: 330px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #00d9ff,
        #6366f1
    );

    box-shadow: 0 0 70px rgba(0, 217, 255, 0.3);

    font-size: 120px;
    color: white;
}

/* Section */

.section {
    max-width: 1200px;
    margin: auto;
    padding: 100px 25px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title p {
    color: #00d9ff;
    font-size: 14px;
    font-weight: 600;
}

.section-title h2 {
    font-size: 40px;
}

.section-title span {
    color: #00d9ff;
}

/* About */

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-avatar {
    width: 280px;
    height: 280px;

    border: 2px solid #00d9ff;
    border-radius: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #00d9ff;
    font-size: 90px;

    background: rgba(0, 217, 255, 0.05);
}

.about-content h3 {
    font-size: 30px;
    margin-bottom: 20px;
}

.about-content p {
    color: #94a3b8;
    margin-bottom: 15px;
}

.info {
    margin-top: 25px;
}

.info strong {
    color: #fff;
}

/* Skills */

.skills-section {
    background: #0f172a;
    max-width: none;
    padding-left: max(25px, calc((100% - 1150px) / 2));
    padding-right: max(25px, calc((100% - 1150px) / 2));
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.skill-card {
    background: #111c32;
    padding: 30px;
    border-radius: 15px;
}

.skill-card > i {
    font-size: 45px;
    color: #00d9ff;
}

.skill-card h3 {
    margin: 15px 0;
}

.progress {
    height: 8px;
    background: #263449;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(
        90deg,
        #00d9ff,
        #6366f1
    );
}

.skill-card > span {
    display: block;
    text-align: right;
    margin-top: 5px;
    color: #00d9ff;
}

/* Projects */

.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background: #111c32;
    border-radius: 15px;
    overflow: hidden;

    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.12);
}

.project-icon {
    height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #0e7490,
        #4338ca
    );

    font-size: 70px;
}

.project-content {
    padding: 25px;
}

.project-content p {
    color: #94a3b8;
    margin: 15px 0;
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tags span {
    padding: 5px 10px;
    background: #1e293b;
    color: #00d9ff;
    border-radius: 5px;
    font-size: 12px;
}

.project-link {
    display: inline-block;
    margin-top: 20px;
    color: #00d9ff;
    text-decoration: none;
}

/* Contact */

.contact-section {
    background: #0f172a;
    max-width: none;

    padding-left: max(25px, calc((100% - 1150px) / 2));
    padding-right: max(25px, calc((100% - 1150px) / 2));
}

.contact-container {
    max-width: 1100px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 30px;
    margin-bottom: 15px;
}

.contact-info > p {
    color: #94a3b8;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    color: #00d9ff;
    font-size: 25px;
    width: 40px;
}

.contact-item h4 {
    font-size: 16px;
}

.contact-item p {
    color: #94a3b8;
}

/* Form */

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input,
form textarea {
    width: 100%;

    padding: 15px 20px;

    background: #111c32;
    border: 1px solid #263449;
    border-radius: 10px;

    color: #fff;
    outline: none;

    font-family: inherit;
}

form input:focus,
form textarea:focus {
    border-color: #00d9ff;
}

form textarea {
    resize: vertical;
}

/* Footer */

footer {
    text-align: center;
    padding: 25px;
    background: #070d18;
    color: #64748b;
}

/* Responsive */

@media (max-width: 900px) {

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 50px;
    }

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

    .hero-buttons,
    .socials {
        justify-content: center;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .projects-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 75px;
        left: -100%;

        width: 100%;

        flex-direction: column;
        text-align: center;

        padding: 25px;

        background: #0b1120;

        transition: 0.3s;
    }

    .nav-links.active {
        left: 0;
    }

    .hero {
        padding-top: 130px;
    }

    .avatar {
        width: 230px;
        height: 230px;
        font-size: 80px;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

    .about-avatar {
        width: 220px;
        height: 220px;
    }
}
