/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0d1117;
    color: #e6edf3;
    line-height: 1.6;
}

/* HERO */
.hero {
    height: 100vh;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.9)),
                url('https://images.unsplash.com/photo-1518770660439-4636190af475') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-content p {
    margin: 15px 0 25px;
    font-size: 1.2rem;
    color: #9da5b4;
}

.btn {
    background: linear-gradient(135deg, #007bff, #00c6ff);
    padding: 12px 28px;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s ease;
    font-weight: 500;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

/* SECTION */
.section {
    padding: 80px 20px;
    text-align: center;
    max-width: 1100px;
    margin: auto;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section p {
    color: #9da5b4;
    max-width: 700px;
    margin: auto;
}

/* DARK SECTION */
.dark {
    background: #161b22;
    border-radius: 20px;
    margin: 40px auto;
}

/* GRID */
.grid {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.card {
    background: #1c2128;
    padding: 25px;
    border-radius: 15px;
    width: 260px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.card i {
    font-size: 32px;
    margin-bottom: 12px;
    color: #00c6ff;
}

.card h3 {
    margin-bottom: 8px;
}

.card p {
    font-size: 0.95rem;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    border: 1px solid #007bff;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

/* SKILLS */
.skills {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.skills span {
    background: #1c2128;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #30363d;
    transition: 0.3s;
}

.skills span:hover {
    background: #007bff;
    color: white;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, #007bff, #00c6ff);
    padding: 70px 20px;
    text-align: center;
    border-radius: 20px;
    margin: 50px auto;
}

.cta h2 {
    font-size: 2rem;
}

.cta button {
    margin-top: 20px;
    padding: 12px 30px;
    border: none;
    background: white;
    color: #007bff;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.cta button:hover {
    transform: scale(1.05);
    background: #e6edf3;
}

/* BACK */
.back {
    text-align: center;
    margin: 40px;
}

.back a {
    color: #00c6ff;
    text-decoration: none;
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

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