
/*=================================
Google Font
=================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/*=================================
Global
=================================*/

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

body {
    font-family: 'Poppins', sans-serif;
    background: #050505;
    color: #F5F5F5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/*=================================
Hero Section
=================================*/

.projects-hero {
    padding: 160px 0 90px;
    text-align: center;

    background:
        radial-gradient(
            circle at top,
            rgba(212, 175, 55, 0.28) 0%,
            transparent 60%
        ),
        #050505;
}

.projects-hero h5 {
    color: #D4AF37;
    letter-spacing: 3px;
    font-size: 18px;
    margin-bottom: 15px;
}

.projects-hero h1 {
    color: #F5F5F5;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.projects-hero span {
    color: #F5D76E;
}

.projects-hero p {
    max-width: 760px;
    margin: auto;
    color: #b8b8b8;
    line-height: 1.8;
    font-size: 17px;
}


/*=================================
Hero Stats
=================================*/

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.stat-box {
    background: #111111;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 18px;
    padding: 35px 25px;
    transition: 0.35s;

    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.06);
}

.stat-box:hover {
    transform: translateY(-10px);
    border-color: #D4AF37;

    box-shadow:
        0 20px 45px rgba(212, 175, 55, 0.20);
}

.stat-box h3 {
    color: #D4AF37;
    font-size: 42px;
    margin-bottom: 10px;
}

.stat-box p {
    color: #d4d4d4;
}


/*=================================
Section
=================================*/

.projects {
    padding: 100px 0;
    background: #050505;
}


/*=================================
Section Title
=================================*/

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h5 {
    color: #D4AF37;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title h2 {
    color: #F5F5F5;
    font-size: 42px;
    margin-bottom: 15px;
}

.section-title p {
    color: #b8b8b8;
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
}


/*=================================
Projects Grid
=================================*/

.projects-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(340px, 1fr)
    );

    gap: 35px;
}


/*=================================
Project Card
=================================*/

.project-card {
    background: #111111;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;

    box-shadow:
        0 12px 35px rgba(212, 175, 55, 0.06);
}

.project-card:hover {
    transform: translateY(-15px);

    border-color: #D4AF37;

    box-shadow:
        0 20px 45px rgba(212, 175, 55, 0.25);
}


/*=================================
Gold Glow Overlay
=================================*/

.project-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.14),
            transparent
        );

    opacity: 0;
    transition: 0.4s;

    pointer-events: none;
}

.project-card:hover::before {
    opacity: 1;
}


/*=================================
Project Image
=================================*/

.project-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.08);
}


/*=================================
Project Content
=================================*/

.project-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.project-content h3 {
    color: #F5F5F5;
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.project-content p {
    color: #b8b8b8;
    line-height: 1.8;
    margin-bottom: 22px;
}


/*=================================
Tech Stack
=================================*/

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tech-stack span {
    padding: 8px 15px;

    border-radius: 50px;

    background: #050505;

    color: #D4AF37;

    border: 1px solid rgba(212, 175, 55, 0.30);

    font-size: 14px;

    transition: 0.3s;
}

.tech-stack span:hover {
    background: #D4AF37;
    color: #050505;
}


/*=================================
Buttons
=================================*/

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

.project-buttons .btn {
    flex: 1;

    text-align: center;

    padding: 13px;

    border-radius: 10px;

    background: #D4AF37;

    color: #050505;

    font-weight: 600;

    transition: 0.3s;

    border: 1px solid #D4AF37;
}

.project-buttons .btn:hover {
    background: #F5D76E;

    border-color: #F5D76E;

    transform: translateY(-3px);
}

.project-buttons .btn-outline {
    flex: 1;

    text-align: center;

    padding: 13px;

    border: 2px solid #D4AF37;

    border-radius: 10px;

    background: transparent;

    color: #D4AF37;

    font-weight: 600;

    transition: 0.3s;
}

.project-buttons .btn-outline:hover {
    background: #D4AF37;

    border-color: #D4AF37;

    color: #050505;
}


/*=================================
Download CV Section
=================================*/

.download-cv {
    padding: 100px 20px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #111111,
            #050505
        );

    border-top: 1px solid rgba(212, 175, 55, 0.18);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.download-cv h2 {
    color: #F5F5F5;
    font-size: 42px;
    margin-bottom: 18px;
}

.download-cv p {
    max-width: 700px;

    margin: 0 auto 35px;

    color: #b8b8b8;

    line-height: 1.8;
}

.download-cv .btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 15px 35px;

    background: #D4AF37;

    color: #050505;

    border-radius: 50px;

    font-weight: 600;

    transition: 0.35s;

    border: 1px solid #D4AF37;
}

.download-cv .btn:hover {
    background: #F5D76E;

    transform: translateY(-6px);

    box-shadow:
        0 20px 35px rgba(212, 175, 55, 0.25);
}


/*=================================
Footer
=================================*/

.footer {
    background: #020202;

    padding: 70px 20px;

    text-align: center;

    border-top: 1px solid rgba(212, 175, 55, 0.18);
}

.footer h3 {
    color: #F5F5F5;

    font-size: 30px;

    margin-bottom: 12px;
}

.footer p {
    color: #b8b8b8;

    line-height: 1.8;
}

.footer-social {
    display: flex;

    justify-content: center;

    gap: 18px;

    margin: 30px 0;
}

.footer-social a {
    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #111111;

    color: #F5F5F5;

    border: 1px solid rgba(212, 175, 55, 0.18);

    font-size: 22px;

    transition: 0.35s;
}

.footer-social a:hover {
    background: #D4AF37;

    color: #050505;

    transform: translateY(-8px);
}

.copyright {
    margin-top: 20px;

    color: #777777;
}


/*=================================
Smooth Animation
=================================*/

.project-card {
    animation: fadeUp 0.7s ease;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*=================================
Scrollbar
=================================*/

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

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 30px;
}

::-webkit-scrollbar-thumb:hover {
    background: #F5D76E;
}


/*=================================
Responsive
=================================*/

@media (max-width: 992px) {

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

    .projects-hero h1 {
        font-size: 48px;
    }
}


@media (max-width: 768px) {

    .projects-hero {
        padding: 130px 0 70px;
    }

    .projects-hero h1 {
        font-size: 38px;
    }

    .section-title h2 {
        font-size: 32px;
    }

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

    .project-buttons {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 480px) {

    .projects-hero h1 {
        font-size: 30px;
    }

    .projects-hero p {
        font-size: 15px;
    }

    .download-cv h2 {
        font-size: 30px;
    }
}


/*=================================
Mobile Hero
=================================*/

@media (max-width: 768px) {

    .projects-hero {
        padding: 110px 20px 60px;
        display: flex;
        flex-direction: column;
    }

    /* Hero image sab se upar */
    .projects-hero img {
        order: -1;
        width: 180px;
        height: 180px;
        object-fit: cover;
        margin: 0 auto 30px;
        border-radius: 50%;
    }

    .projects-hero h5 {
        font-size: 15px;
    }

    .projects-hero h1 {
        font-size: 38px;
    }

    .projects-hero p {
        font-size: 15px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}
