﻿/* 🌟 Portfolio Page Enhancement - Yellow Theme */
body {
    background-color: #212529;
    color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 🏠 Header Section */
header {
    background: linear-gradient(135deg, #ffc107, #ffca2c);
    color: #212529 !important;
    padding: 100px 20px;
    border-bottom: 4px solid #fff3cd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeDown 1s ease-in-out;
}

    header h1 {
        font-size: 3rem;
        font-weight: 700;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    header p {
        color: #212529;
        font-size: 1.25rem;
    }

    header .btn-primary {
        background-color: #212529;
        border: none;
        color: #ffc107;
        font-weight: 600;
        padding: 12px 30px;
        border-radius: 30px;
        transition: all 0.3s ease-in-out;
    }

        header .btn-primary:hover {
            background-color: #fff;
            color: #0d6efd;
            transform: scale(1.05);
        }

/* ✨ Section Headings */
section h2, .container h2 {
    color: #ffc107;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

    section h2::after {
        content: "";
        display: block;
        width: 80px;
        height: 3px;
        background-color: #ffc107;
        margin: 10px auto 0;
        border-radius: 5px;
    }

/* 📜 About Section */
/* 🌟 About Paragraph Styling */
section p {
    color: #f8f9fa;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
    background-color: #2b3035;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
}

    /* ✨ Hover Animation */
    section p:hover {
        background-color: #343a40;
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    }

    /* 💫 Add Subtle Glow Border on Hover */
    section p::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 12px;
        padding: 2px;
        background: linear-gradient(135deg, #ffc107, transparent);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.4s ease-in-out;
    }

    section p:hover::before {
        opacity: 1;
    }



/* 🏆 Certification Cards */
.card {
    background-color: #2b3035;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-8px);
        background-color: #343a40;
        box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
    }



/* 🧠 Skill Cards */
.skill-card {
    background: #2b3035;
    border-radius: 10px;
    padding: 25px;
    color: #f8f9fa;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

    .skill-card:hover {
        transform: translateY(-5px);
        background-color: #343a40;
        box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
    }

/* 📋 Skill List */
.list-group-item {
    background-color: transparent;
    color: #f8f9fa;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 🏅 Badges */
.badge-intermediate {
    background-color: #ffc107;
    color: #212529;
}

.badge-beginner {
    background-color: #6c757d;
    color: #fff;
}

/* ✨ Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .card img {
        height: 180px;
    }

    .skill-card {
        padding: 15px;
    }
}
