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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #ffffff;
    color: #111827;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: auto;
}

/* NAVBAR */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 15, 25, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    color: #ffffff;
}

.logo span {
    color: #38bdf8;
}

.nav-menu {
    display: flex;
    gap: 26px;
}

.nav-menu a {
    color: #d1d5db;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #38bdf8;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 25px;
}

/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 80% 20%, rgba(14,165,233,0.15), transparent 35%),
        #080d17;
    color: white;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    align-items: center;
    gap: 80px;
}

.hero-label,
.section-label {
    color: #38bdf8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    margin-bottom: 15px;
}

.hero h2 {
    font-size: clamp(20px, 3vw, 30px);
    color: #94a3b8;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 700px;
    color: #cbd5e1;
    font-size: 17px;
}

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

.btn {
    display: inline-flex;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: #0ea5e9;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.btn-secondary {
    border: 1px solid #475569;
    color: white;
}

.btn-secondary:hover {
    border-color: #38bdf8;
    color: #38bdf8;
}

.hero-social {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    color: #94a3b8;
    font-size: 14px;
}

.hero-social a:hover {
    color: #38bdf8;
}

.hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.profile-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    font-weight: 800;
    background: linear-gradient(135deg, #0ea5e9, #1e293b);
    border: 5px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 80px rgba(14,165,233,0.25);
}

.status {
    margin-top: 25px;
    color: #94a3b8;
    font-size: 13px;
}

.status span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 8px;
}

/* SECTION */

.section {
    padding: 100px 0;
}

.section-dark {
    background: #080d17;
    color: white;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-heading p:not(.section-label) {
    color: #64748b;
}

.section-dark .section-heading p:not(.section-label) {
    color: #94a3b8;
}

/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 70px;
}

.about-grid p {
    margin-bottom: 20px;
    color: #475569;
}

.about-info {
    border-left: 2px solid #e2e8f0;
    padding-left: 30px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item span {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 5px;
}

.info-item strong {
    font-size: 16px;
}

/* SKILLS */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-card {
    padding: 30px;
    background: #111827;
    border: 1px solid #1e293b;
    border-radius: 12px;
    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: #0ea5e9;
}

.skill-icon {
    font-size: 30px;
    margin-bottom: 18px;
}

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

.skill-card p {
    color: #94a3b8;
    font-size: 14px;
}

/* EXPERIENCE */

.timeline {
    max-width: 850px;
    border-left: 2px solid #e2e8f0;
    padding-left: 35px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: -44px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: #0ea5e9;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #0ea5e9;
}

.timeline-category,
.project-category {
    color: #0284c7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.timeline-content h3 {
    margin: 5px 0 10px;
    font-size: 22px;
}

.timeline-content p {
    color: #64748b;
}

/* PROJECTS */

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

.project-card {
    background: #111827;
    border: 1px solid #1e293b;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #0ea5e9;
}

.project-image {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #38bdf8;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 4px;
}

.project-content {
    padding: 28px;
}

.project-content h3 {
    margin: 8px 0 12px;
    font-size: 23px;
}

.project-content p {
    color: #94a3b8;
    font-size: 14px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.project-tags span {
    padding: 5px 10px;
    background: #1e293b;
    color: #cbd5e1;
    border-radius: 5px;
    font-size: 11px;
}

/* CERTIFICATES */

.certificate-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    max-width: 800px;
}

.certificate-icon {
    font-size: 45px;
}

.certificate-card span {
    color: #0284c7;
    font-size: 12px;
    font-weight: 700;
}

.certificate-card h3 {
    font-size: 22px;
    margin: 4px 0;
}

.certificate-card p {
    color: #64748b;
}

.certificate-note {
    margin-top: 20px;
    color: #64748b;
    font-size: 14px;
}

/* CV */

.cv-section {
    padding: 80px 0;
    background: #0ea5e9;
    color: white;
}

.cv-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cv-container .section-label {
    color: white;
}

.cv-container h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.cv-container p:not(.section-label) {
    max-width: 600px;
    opacity: 0.9;
}

/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px;
    background: #111827;
    border: 1px solid #1e293b;
    border-radius: 10px;
    transition: 0.3s;
}

.contact-card:hover {
    border-color: #0ea5e9;
    transform: translateY(-4px);
}

.contact-card > span {
    font-size: 28px;
}

.contact-card small {
    display: block;
    color: #64748b;
}

.contact-card strong {
    color: white;
}

/* FOOTER */

.footer {
    padding: 25px 0;
    background: #050912;
    color: #64748b;
    font-size: 13px;
}

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

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

/* MOBILE */

@media (max-width: 900px) {

    .nav-menu {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        background: #080d17;
        padding: 25px;
        border-top: 1px solid #1e293b;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

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

    .hero {
        padding: 120px 0 80px;
    }

    .hero-card {
        display: none;
    }

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

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

@media (max-width: 600px) {

    .section {
        padding: 75px 0;
    }

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

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

    .cv-container {
        flex-direction: column;
        align-items: flex-start;
    }

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

}
