/* General Styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0b1120;
    color: #ffffff;
}

:root {
    --main-color: #00d9ff;
    --background: #0b1120;
    --card-color: #151f32;
    --text-color: #cbd5e1;
}


/* Navigation */

header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(10px);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 27px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--main-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--main-color);
}

.menu-btn {
    display: none;
    font-size: 25px;
    cursor: pointer;
}


/* Home */

.home {
    min-height: 100vh;
    padding: 120px 10% 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.home-content {
    max-width: 650px;
}

.welcome {
    color: var(--main-color);
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 20px;
}

.home h1 {
    font-size: 52px;
    margin-bottom: 10px;
}

.home h1 span {
    color: var(--main-color);
}

.home h2 {
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 20px;
}

.home-description {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
}

.home-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--main-color);
    color: #07111d;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--main-color);
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--main-color);
    color: var(--main-color);
}

.social-icons {
    margin-top: 35px;
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--main-color);
    font-size: 25px;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.home-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 5px solid var(--main-color);
    box-shadow: 0 0 35px rgba(0, 217, 255, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 110px;
    color: var(--main-color);
}


/* Common Sections */

.section {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    font-size: 38px;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--main-color);
}


/* About */

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.about-image {
    min-width: 220px;
    height: 220px;
    border-radius: 20px;
    background: var(--card-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
    color: var(--main-color);
}

.about-content {
    max-width: 600px;
}

.about-content h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--main-color);
}

.about-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-content .btn {
    margin-top: 15px;
}


/* Skills */

.skills {
    background: #0e1729;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.skill-card {
    padding: 35px 20px;
    background: var(--card-color);
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-10px);
    border: 1px solid var(--main-color);
}

.skill-card i {
    font-size: 40px;
    color: var(--main-color);
    margin-bottom: 20px;
}

.skill-card h3 {
    margin-bottom: 15px;
}

.skill-card p {
    color: var(--text-color);
    font-size: 13px;
    line-height: 1.7;
}


/* Projects */

.projects-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.project-card {
    padding: 30px;
    background: var(--card-color);
    border-radius: 15px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--main-color);
}

.project-icon {
    font-size: 35px;
    color: var(--main-color);
    margin-bottom: 20px;
}

.project-card h3 {
    margin-bottom: 15px;
}

.project-card p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-card span {
    color: var(--main-color);
    font-size: 13px;
}


/* Education */

.education {
    background: #0e1729;
}

.education-container {
    display: flex;
    justify-content: center;
}

.education-card {
    width: 500px;
    padding: 40px;
    background: var(--card-color);
    border-left: 4px solid var(--main-color);
    border-radius: 10px;
}

.education-card i {
    font-size: 40px;
    color: var(--main-color);
    margin-bottom: 20px;
}

.education-card h3 {
    margin-bottom: 10px;
}

.education-card h4 {
    color: var(--main-color);
    margin-bottom: 15px;
}

.education-card p {
    color: var(--text-color);
    margin-bottom: 15px;
}

.education-card span {
    font-size: 13px;
}


/* Contact */

.contact-description {
    text-align: center;
    color: var(--text-color);
    margin: -30px auto 40px;
    max-width: 600px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contact-card {
    padding: 30px;
    text-align: center;
    background: var(--card-color);
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.contact-card:hover {
    transform: translateY(-8px);
}

.contact-card i {
    font-size: 35px;
    color: var(--main-color);
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-color);
    margin-top: 10px;
}


/* Footer */

footer {
    background: #070d18;
    padding: 25px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    color: var(--text-color);
    font-size: 13px;
}

footer a {
    color: var(--main-color);
    font-size: 22px;
}


/* Responsive Design */

@media(max-width: 900px) {

    .home {
        flex-direction: column-reverse;
        text-align: center;
    }

    .social-icons,
    .home-buttons {
        justify-content: center;
    }

    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

}

@media(max-width: 768px) {

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 75px;
        left: -100%;
        width: 100%;
        background: #0b1120;
        flex-direction: column;
        text-align: center;
        padding: 30px;
        transition: 0.3s;
    }

    .nav-links.active {
        left: 0;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .home h1 {
        font-size: 38px;
    }

    .home h2 {
        font-size: 18px;
    }

    .profile-circle {
        width: 200px;
        height: 200px;
        font-size: 75px;
    }

    .section-title {
        font-size: 30px;
    }

}

@media(max-width: 480px) {

    .skills-container {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 75px 7%;
    }

    .home {
        padding-left: 7%;
        padding-right: 7%;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

}