* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, "Tahoma", sans-serif;
    background: #0b1120;
    color: #e5e7eb;
    line-height: 1.7;
}


/* =========================
   NAVBAR
========================= */

header {
    position: sticky;
    top: 0;
    z-index: 999;

    background: rgba(11, 17, 32, 0.92);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid #1e293b;
}

nav {
    max-width: 1150px;
    margin: auto;

    height: 75px;
    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 25px;
    font-weight: bold;
    color: white;
}

.logo span {
    color: #38bdf8;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;

    transition: 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}


/* =========================
   HERO
========================= */

.hero {
    max-width: 1150px;
    min-height: 90vh;

    margin: auto;
    padding: 80px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 80px;
}

.hero-content {
    max-width: 650px;
}

.welcome {
    color: #38bdf8;

    font-size: 14px;
    font-weight: bold;

    letter-spacing: 4px;
}

.hero h1 {
    font-size: 65px;
    line-height: 1.1;

    margin: 15px 0;
}

.hero h1 span {
    color: #38bdf8;
}

.hero h2 {
    color: #94a3b8;
    font-size: 25px;

    margin-bottom: 20px;
}

.description {
    color: #94a3b8;
    max-width: 600px;
}

.buttons {
    display: flex;
    gap: 15px;

    margin-top: 30px;
}

.btn {
    padding: 13px 27px;

    border-radius: 8px;

    text-decoration: none;
    font-weight: bold;

    transition: 0.3s;
}

.main-btn {
    background: #38bdf8;
    color: #0b1120;
}

.main-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25);
}

.outline-btn {
    border: 1px solid #38bdf8;
    color: #38bdf8;
}

.outline-btn:hover {
    background: #38bdf8;
    color: #0b1120;
}


/* =========================
   PROFILE
========================= */

.profile-area {
    text-align: center;
}

.profile-border {
    width: 320px;
    height: 320px;

    padding: 8px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #38bdf8,
        #818cf8
    );

    box-shadow:
        0 0 50px rgba(56, 189, 248, 0.15);

    margin: auto;
}

.profile-border img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 50%;

    border: 5px solid #0b1120;
}

.profile-name {
    margin-top: 20px;
}

.profile-name h3 {
    font-size: 23px;
}

.profile-name p {
    color: #38bdf8;
}


/* =========================
   SECTIONS
========================= */

.section {
    max-width: 1150px;
    margin: auto;

    padding: 100px 25px;
}

.dark-section {
    max-width: none;

    background: #111827;
    padding-left: max(25px, calc((100% - 1100px) / 2));
    padding-right: max(25px, calc((100% - 1100px) / 2));
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading p {
    color: #38bdf8;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 4px;
}

.section-heading h2 {
    font-size: 40px;

    margin-top: 8px;
}


/* =========================
   ABOUT
========================= */

.about-content {
    display: grid;

    grid-template-columns: 1.4fr 1fr;

    gap: 60px;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    color: #94a3b8;

    margin-bottom: 15px;
}

.about-text strong {
    color: #38bdf8;
}

.about-info {
    background: #111827;

    border: 1px solid #1e293b;

    border-radius: 15px;

    padding: 25px;
}

.info-item {
    padding: 18px 0;

    border-bottom: 1px solid #1e293b;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item span {
    display: block;

    color: #64748b;

    font-size: 13px;
}

.info-item strong {
    color: #e5e7eb;
}


/* =========================
   SKILLS
========================= */

.skills-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.skill-card {
    padding: 30px;

    background: #0b1120;

    border: 1px solid #1e293b;

    border-radius: 15px;

    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-8px);

    border-color: #38bdf8;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.skill-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #172033;

    color: #38bdf8;

    font-weight: bold;

    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 20px;

    margin-bottom: 10px;
}

.skill-card p {
    color: #64748b;
    font-size: 14px;
}


/* =========================
   EDUCATION
========================= */

.education-card {
    display: flex;
    gap: 30px;

    padding: 30px;

    background: #111827;

    border: 1px solid #1e293b;

    border-radius: 15px;
}

.education-year {
    color: #38bdf8;

    font-size: 20px;
    font-weight: bold;

    min-width: 70px;
}

.education-card h3 {
    font-size: 23px;
}

.education-card p {
    color: #94a3b8;
}

.education-detail {
    margin-top: 10px;
}


/* =========================
   PROJECTS
========================= */

.projects-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.project-card {
    padding: 30px;

    background: #0b1120;

    border: 1px solid #1e293b;

    border-radius: 15px;

    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);

    border-color: #38bdf8;
}

.project-number {
    color: #38bdf8;

    font-size: 14px;
    font-weight: bold;

    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 23px;

    margin-bottom: 15px;
}

.project-card p {
    color: #64748b;

    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.project-tags span {
    padding: 5px 12px;

    border-radius: 20px;

    background: #172033;

    color: #38bdf8;

    font-size: 12px;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    text-align: center;
}

.contact-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.contact-card {
    padding: 30px;

    background: #111827;

    border: 1px solid #1e293b;

    border-radius: 15px;
}

.contact-icon {
    width: 55px;
    height: 55px;

    margin: auto;
    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #172033;

    color: #38bdf8;

    font-weight: bold;
}

.contact-card h3 {
    margin-bottom: 5px;
}

.contact-card p {
    color: #64748b;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 40px 25px;

    text-align: center;

    background: #070b14;

    border-top: 1px solid #1e293b;
}

.footer-logo {
    font-size: 25px;
    font-weight: bold;
}

.footer-logo span {
    color: #38bdf8;
}

footer p {
    color: #64748b;
}

.copyright {
    margin-top: 15px;

    font-size: 13px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .hero {
        flex-direction: column-reverse;

        text-align: center;

        padding-top: 60px;
    }

    .buttons {
        justify-content: center;
    }

    .profile-border {
        width: 260px;
        height: 260px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .profile-border {
        width: 220px;
        height: 220px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .education-card {
        flex-direction: column;
        gap: 10px;
    }

    .buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

}