/* =========================================
   GLOBAL STYLES
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b1120;
    color: #e5e7eb;
    line-height: 1.7;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-label {
    color: #38bdf8;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #f8fafc;
    margin-bottom: 50px;
    line-height: 1.2;
}


/* =========================================
   NAVIGATION
========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(11, 17, 32, 0.9);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.navbar {
    width: min(1150px, 92%);
    height: 75px;
    margin: 0 auto;

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

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f8fafc;
}

.logo span {
    color: #38bdf8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #cbd5e1;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

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

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: #f8fafc;
    font-size: 1.7rem;
    cursor: pointer;
}


/* =========================================
   HERO SECTION
========================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 120px 8% 80px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(14, 165, 233, 0.12),
            transparent 35%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(59, 130, 246, 0.08),
            transparent 35%
        ),
        #0b1120;
}

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

.hero-greeting {
    color: #38bdf8;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    color: #f8fafc;
    margin-bottom: 20px;
    letter-spacing: -3px;
}

.hero h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 700px;
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 35px;
}


/* =========================================
   BUTTONS
========================================= */

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

.btn {
    display: inline-block;

    padding: 12px 26px;

    border-radius: 8px;

    background: #38bdf8;
    color: #07111f;

    font-weight: 700;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25);
}

.btn-secondary {
    background: transparent;
    color: #e2e8f0;
    border: 1px solid #334155;
}

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


/* =========================================
   SOCIAL LINKS
========================================= */

.social-links {
    display: flex;
    gap: 25px;
    margin-top: 30px;
}

.social-links a {
    color: #94a3b8;
    font-weight: 600;
    transition: 0.3s ease;
}

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


/* =========================================
   ABOUT
========================================= */

.about {
    background: #0f172a;
}

.about-content {
    max-width: 850px;
}

.about-text p {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 20px;
}


/* =========================================
   SKILLS
========================================= */

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

.skill-category {
    padding: 30px;

    background: #111c30;

    border: 1px solid #1e293b;
    border-radius: 12px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-6px);
    border-color: #38bdf8;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25);
}

.skill-category h3 {
    color: #f8fafc;
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.skill-category ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-category li {
    background: #1e293b;
    color: #cbd5e1;

    padding: 5px 10px;

    border-radius: 5px;

    font-size: 0.85rem;
}


/* =========================================
   EXPERIENCE
========================================= */

.experience {
    background: #0b1120;
}

.experience-item {
    position: relative;

    padding: 35px;
    margin-bottom: 30px;

    background: #111827;

    border-left: 3px solid #38bdf8;
    border-radius: 0 10px 10px 0;

    transition: transform 0.3s ease;
}

.experience-item:hover {
    transform: translateX(6px);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 20px;
}

.experience-header h3 {
    color: #f8fafc;
    font-size: 1.4rem;
}

.company-name {
    color: #38bdf8;
    font-weight: 600;
}

.experience-date {
    color: #64748b;
    white-space: nowrap;
}

.experience-details {
    padding-left: 20px;
    list-style: disc;
}

.experience-details li {
    color: #94a3b8;
    margin-bottom: 10px;
}


/* =========================================
   PROJECTS
========================================= */

.projects {
    background: #0f172a;
}

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

.project-card {
    height: 100%;

    background: #111c30;

    border: 1px solid #1e293b;
    border-radius: 12px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #38bdf8;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3);
}

.project-content {
    padding: 30px;
}

.project-type {
    color: #38bdf8;
    font-size: 0.8rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;

    margin-bottom: 15px;
}

.project-card h3 {
    color: #f8fafc;
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.project-card p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-bottom: 25px;
}

.project-technologies li {
    color: #cbd5e1;
    background: #1e293b;

    padding: 4px 9px;

    border-radius: 5px;

    font-size: 0.78rem;
}

.project-links a {
    color: #38bdf8;
    font-weight: 600;

    transition: 0.3s ease;
}

.project-links a:hover {
    color: #7dd3fc;
}


/* =========================================
   CERTIFICATIONS
========================================= */

.certifications {
    background: #0b1120;
}

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

.certification-card {
    padding: 30px;

    background: #111827;

    border: 1px solid #1e293b;
    border-radius: 10px;

    transition: 0.3s ease;
}

.certification-card:hover {
    border-color: #38bdf8;
    transform: translateY(-5px);
}

.certification-card h3 {
    color: #f8fafc;
    margin-bottom: 10px;
}

.certification-card p {
    color: #94a3b8;
    margin-bottom: 15px;
}

.certification-card a {
    color: #38bdf8;
    font-weight: 600;
}


/* =========================================
   EDUCATION
========================================= */

.education {
    background: #0f172a;
}

.education-item {
    padding: 35px;

    background: #111c30;

    border-radius: 10px;

    border: 1px solid #1e293b;
}

.education-item h3 {
    color: #f8fafc;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.education-institution {
    color: #38bdf8;
    font-weight: 600;
}

.education-date {
    color: #64748b;
}


/* =========================================
   CONTACT
========================================= */

.contact {
    background:
        radial-gradient(
            circle at center,
            rgba(14, 165, 233, 0.08),
            transparent 45%
        ),
        #0b1120;

    text-align: center;
}

.contact .section-title {
    margin-bottom: 20px;
}

.contact-description {
    max-width: 650px;
    margin: 0 auto 35px;

    color: #94a3b8;
    font-size: 1.05rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-links a {
    padding: 11px 22px;

    border: 1px solid #334155;
    border-radius: 7px;

    color: #cbd5e1;

    transition: 0.3s ease;
}

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


/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 30px 0;

    background: #070c16;

    border-top: 1px solid #1e293b;

    text-align: center;
}

.footer p {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 5px;
}


/* =========================================
   SCROLLBAR
========================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0b1120;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #38bdf8;
}


/* =========================================
   SELECTION
========================================= */

::selection {
    background: #38bdf8;
    color: #07111f;
}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 900px) {

    .nav-links {
        position: absolute;

        top: 75px;
        left: 0;

        width: 100%;

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

        padding: 25px;

        background: #0b1120;

        border-bottom: 1px solid #1e293b;

        display: none;
    }

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

    .menu-toggle {
        display: block;
    }

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

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


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .section {
        padding: 75px 0;
    }

    .hero {
        padding: 120px 7% 70px;
    }

    .hero h1 {
        font-size: 3.2rem;
        letter-spacing: -2px;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

    .experience-header {
        flex-direction: column;
        gap: 5px;
    }

    .experience-date {
        white-space: normal;
    }

    .experience-item {
        padding: 25px;
    }

    .project-content {
        padding: 25px;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-links a {
        width: 200px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 2.7rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .social-links {
        gap: 15px;
    }
}
/* =========================================
   SCROLL REVEAL
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   ACTIVE NAVIGATION
========================================= */

.nav-links a.active {
    color: #38bdf8;
}


/* =========================================
   SCROLLED NAVBAR
========================================= */

.header.scrolled {
    background: rgba(7, 12, 22, 0.96);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}
