/* =========================
   GLOBAL STYLING
========================= */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8f9fa, #e6f0ff);
    color: #212529;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    transition: all 0.4s ease;
}

/* Smooth fade animation */
section {
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

    section:nth-child(even) {
        animation-delay: 0.2s;
    }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   HEADINGS
========================= */

h2 {
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
}

    h2::after {
        content: "";
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, #0d6efd, #6610f2);
        position: absolute;
        left: 0;
        bottom: -8px;
        border-radius: 10px;
    }

/* =========================
   HERO SECTION
========================= */
section.text-center h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #000; 
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

section.text-center p.lead {
    font-size: 1.25rem;
    color: #6c757d; 
}

/* =========================
   PROFILE IMAGE
========================= */

.profile-img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.2);
    transition: all 0.4s ease;
}


/* =========================
   PROJECT CARDS (Glass Effect)
========================= */

.card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}

    .card img {
        height: 200px;
        object-fit: cover;
    }

/* =========================
   BUTTONS (Gradient Glow)
========================= */

.btn-outline-primary {
    border: 2px solid #0d6efd;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background: linear-gradient(90deg, #0d6efd, #6610f2);
        color: white;
        border-color: transparent;
        box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
    }

/* =========================
   SKILLS SECTION 
========================= */

.skill-card {
    border-radius: 16px;
    padding: 25px;
    background: white;
    transition: all 0.3s ease;
}


/* =========================
   DARK MODE (Premium)
========================= */

body.dark-mode {
    background: linear-gradient(135deg, #0f0f15, #1c1c2e);
    color: #f8f9fa;
}

    body.dark-mode .card,
    body.dark-mode .skill-card {
        background: rgba(30, 30, 40, 0.8);
        color: #f8f9fa;
    }

    body.dark-mode section.text-center p.lead {
        color: #adb5bd;
    }

    body.dark-mode section.text-center h1 {
        -webkit-background-clip: text;
        -webkit-text-fill-color: white;
    }

