/* ========================================
   GLOBAL STYLES
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0B0F14;
    color: #E6EDF3;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* ========================================
   CONTAINER
======================================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ========================================
   NAVBAR
======================================== */

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 15, 20, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1F2937;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #3B82F6;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: #E6EDF3;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #3B82F6;
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.hero-content {
    max-width: 700px;
}

.hero-subtitle {
    color: #3B82F6;
    font-size: 1rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.1rem;
    color: #8B949E;
    margin-bottom: 35px;
    max-width: 600px;
}

/* ========================================
   BUTTONS
======================================== */

.button-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.3s ease;
    font-weight: 600;
    display: inline-block;
}

.btn-primary {
    background: #3B82F6;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #2563EB;
}

.btn-secondary {
    border: 1px solid #3B82F6;
    color: #3B82F6;
}

.btn-secondary:hover {
    background: #3B82F6;
    color: white;
}

/* ========================================
   SECTION STYLES
======================================== */

section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

/* ========================================
   PROJECT CARDS
======================================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: #121821;
    border: 1px solid #1F2937;
    border-radius: 20px;
    padding: 30px;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #3B82F6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.project-card::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        transparent,
        rgba(59, 130, 246, 0.05),
        transparent
    );
    top: -50%;
    left: -50%;
    transform: rotate(25deg);
}

.project-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.project-card p {
    color: #8B949E;
    margin-bottom: 20px;
}

/* ========================================
   TAGS / SKILLS
======================================== */

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ========================================
   SKILLS SECTION
======================================== */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-box {
    background: #121821;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #1F2937;
}

.skill-box h3 {
    margin-bottom: 20px;
    color: #3B82F6;
}

/* ========================================
   PROCESS SECTION
======================================== */

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.process-card {
    background: #121821;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #1F2937;
}

.process-number {
    width: 60px;
    height: 60px;
    background: #3B82F6;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto auto 20px;
    font-size: 1.4rem;
    font-weight: bold;
}

/* ========================================
   CONTACT SECTION
======================================== */

.contact {
    text-align: center;
}

.contact p {
    color: #8B949E;
    margin-bottom: 30px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-links a {
    color: #3B82F6;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-links a:hover {
    color: white;
}

/* ========================================
   FOOTER
======================================== */

footer {
    padding: 30px 0;
    border-top: 1px solid #1F2937;
    text-align: center;
    color: #8B949E;
    font-size: 0.9rem;
}

/* ========================================
   SCROLLBAR
======================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0B0F14;
}

::-webkit-scrollbar-thumb {
    background: #1F2937;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3B82F6;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 768px) {

    .hero h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .button-group {
        flex-direction: column;
        align-items: flex-start;
    }

    section {
        padding: 70px 0;
    }
}