/*==================================================
                PORTFOLIO HERO
==================================================*/

.portfolio-hero{
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 180px 8% 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-hero::before{
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: rgba(37,99,235,.08);
    border-radius: 50%;
    top: -120px;
    left: -120px;
    filter: blur(90px);
}

.portfolio-hero::after{
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(124,58,237,.08);
    border-radius: 50%;
    bottom: -120px;
    right: -120px;
    filter: blur(90px);
}

.portfolio-hero-container{
    max-width: 1100px;
    margin: auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

/*==================================================
                SECTION TAG
==================================================*/

.section-tag{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(37,99,235,.15);
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 28px;
    box-shadow: 0 15px 35px rgba(0,0,0,.05);
}

.section-tag i{
    font-size: 18px;
}

/*==================================================
                HERO CONTENT
==================================================*/

.portfolio-hero h1{
    font-size: 72px;
    font-weight: 800;
    color: #111827;
    line-height: 1.15;
    margin-bottom: 30px;
}

.portfolio-hero h1 span{
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-hero p{
    max-width: 760px;
    margin: auto;
    color: #64748b;
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 45px;
}

/*==================================================
                BUTTONS
==================================================*/

.portfolio-buttons{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: .35s;
}

.primary-btn{
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    color: #fff;
    box-shadow: 0 18px 40px rgba(37,99,235,.25);
}

.primary-btn:hover{
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(37,99,235,.35);
}

.secondary-btn{
    background: #fff;
    color: #111827;
    border: 1px solid rgba(0,0,0,.08);
}

.secondary-btn:hover{
    transform: translateY(-6px);
    border-color: #2563eb;
    color: #2563eb;
}

/*==================================================
                PORTFOLIO INTRO
==================================================*/

.portfolio-intro{
    padding: 120px 8%;
  
}

.portfolio-container{
    max-width: 1300px;
    margin: auto;
}

.section-heading{
    text-align: center;
    margin-bottom: 40px;
}

.section-heading span{
    color: #2563eb;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-heading h2{
    font-size: 52px;
    color: #111827;
    margin-top: 15px;
    line-height: 1.2;
}

.section-heading h2 span{
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-heading p{
    max-width: 700px;
    margin: 20px auto 0;
    color: #64748b;
    line-height: 1.8;
    font-size: 17px;
}

.portfolio-intro p{
    max-width: 950px;
    margin: 20px auto;
    text-align: center;
    color: #64748b;
    font-size: 17px;
    line-height: 1.9;
}
/*==================================================
            FEATURED PROJECTS
==================================================*/

.featured-projects{
    padding:120px 8%;
    position:relative;
    overflow:hidden;
}

.featured-projects::before{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    border-radius:50%;
    background:rgba(37,99,235,.08);
    filter:blur(100px);
    top:-100px;
    left:-120px;
}

.featured-projects::after{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    border-radius:50%;
    background:rgba(124,58,237,.08);
    filter:blur(100px);
    bottom:-120px;
    right:-120px;
}

/*==================================================
                PROJECT GRID
==================================================*/

.projects-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
    margin-top:70px;
}

/*==================================================
                PROJECT CARD
==================================================*/

.project-card{
    position:relative;
    background:#fff;
    border-radius:30px;
    overflow:hidden;
    transition:.45s;
    box-shadow:0 20px 45px rgba(15,23,42,.08);
}

.project-card:hover{
    transform:translateY(-12px);
    box-shadow:0 35px 70px rgba(37,99,235,.15);
}

/*==================================================
                PROJECT IMAGE
==================================================*/

.project-image{
    position:relative;
    overflow:hidden;
    height:300px;
}

.project-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s;
}

.project-card:hover img{
    transform:scale(1.08);
}

/*==================================================
                OVERLAY
==================================================*/

.project-overlay{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(
        rgba(37,99,235,.15),
        rgba(37,99,235,.85)
    );
    opacity:0;
    transition:.45s;
}

.project-card:hover .project-overlay{
    opacity:1;
}

.project-btn{
    padding:15px 28px;
    border-radius:50px;
    background:#fff;
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:10px;
    transition:.35s;
}

.project-btn:hover{
    transform:scale(1.05);
}

/*==================================================
                PROJECT CONTENT
==================================================*/

.project-content{
    padding:35px;
}

.project-category{
    display:inline-block;
    padding:8px 18px;
    border-radius:30px;
    background:#eef4ff;
    color:#2563eb;
    font-size:14px;
    font-weight:600;
    margin-bottom:18px;
}

.project-content h3{
    font-size:30px;
    color:#111827;
    margin-bottom:18px;
}

.project-content p{
    color:#64748b;
    line-height:1.9;
    font-size:16px;
    margin-bottom:28px;
}

/*==================================================
                TECHNOLOGY TAGS
==================================================*/

.project-tech{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:30px;
}

.project-tech span{
    padding:10px 18px;
    border-radius:30px;
    background:#f5f7fb;
    color:#475569;
    font-size:14px;
    font-weight:600;
    transition:.35s;
}

.project-tech span:hover{
    background:#2563eb;
    color:#fff;
}

/*==================================================
                PROJECT LINKS
==================================================*/

.project-links{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
}

.project-links a{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    padding:15px;
    text-decoration:none;
    border-radius:15px;
    font-weight:600;
    transition:.35s;
}

.project-links a:first-child{
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
}

.project-links a:last-child{
    border:1px solid #dbe3ef;
    color:#111827;
    background:#fff;
}

.project-links a:hover{
    transform:translateY(-5px);
}

/*==================================================
                CARD SHINE EFFECT
==================================================*/

.project-card::before{
    content:"";
    position:absolute;
    top:-150%;
    left:-50%;
    width:70px;
    height:300%;
    background:linear-gradient(
        transparent,
        rgba(255,255,255,.7),
        transparent
    );
    transform:rotate(25deg);
    transition:.8s;
    z-index:5;
}

.project-card:hover::before{
    left:160%;
}

/*==================================================
                FLOAT ANIMATION
==================================================*/

.project-card{
    animation:projectFloat 7s ease-in-out infinite;
}

.project-card:nth-child(2){
    animation-delay:.3s;
}

.project-card:nth-child(3){
    animation-delay:.6s;
}

.project-card:nth-child(4){
    animation-delay:.9s;
}

@keyframes projectFloat{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

}
/*==================================================
                PORTFOLIO CTA
==================================================*/

.portfolio-cta{
    position:relative;
    padding:140px 8%;
    overflow:hidden;
}

.cta-box{
    position:relative;
    max-width:1200px;
    margin:auto;
    text-align:center;
    padding:90px 70px;
    border-radius:35px;
    overflow:hidden;
    background:linear-gradient(
        135deg,
        #2563eb,
        #4f46e5,
        #7c3aed
    );
    color:#fff;
    box-shadow:0 35px 80px rgba(37,99,235,.25);
}

.cta-box::before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    top:-180px;
    left:-120px;
    filter:blur(70px);
}

.cta-box::after{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    bottom:-150px;
    right:-100px;
    filter:blur(70px);
}

.cta-box span{
    display:inline-block;
    padding:12px 24px;
    border-radius:50px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(12px);
    font-weight:600;
    margin-bottom:25px;
}

.cta-box h2{
    font-size:58px;
    line-height:1.2;
    margin-bottom:25px;
    font-weight:800;
}

.cta-box p{
    max-width:760px;
    margin:auto;
    margin-bottom:45px;
    font-size:18px;
    line-height:1.9;
    color:rgba(255,255,255,.9);
}

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.cta-buttons .primary-btn{
    background:#fff;
    color:#2563eb;
}

.cta-buttons .primary-btn:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.cta-buttons .secondary-btn{
    background:transparent;
    color:#fff;
    border:2px solid rgba(255,255,255,.35);
}

.cta-buttons .secondary-btn:hover{
    background:rgba(255,255,255,.15);
    border-color:#fff;
}

/*==================================================
                RESPONSIVE
==================================================*/

@media(max-width:1100px){

.projects-grid{
    grid-template-columns:1fr;
}

.portfolio-hero h1{
    font-size:58px;
}

.section-heading h2{
    font-size:44px;
}

.cta-box h2{
    font-size:46px;
}

}

@media(max-width:768px){

.portfolio-hero{
    padding:150px 20px 90px;
}

.portfolio-hero h1{
    font-size:42px;
}

.portfolio-hero p{
    font-size:16px;
}

.section-heading h2{
    font-size:34px;
}

.project-image{
    height:240px;
}

.project-content{
    padding:28px;
}

.project-content h3{
    font-size:24px;
}

.project-links{
    flex-direction:column;
}

.project-links a{
    width:100%;
}

.cta-box{
    padding:60px 30px;
}

.cta-box h2{
    font-size:36px;
}

.cta-box p{
    font-size:16px;
}

.cta-buttons{
    flex-direction:column;
}

.cta-buttons a{
    width:100%;
    justify-content:center;
}

}

@media(max-width:480px){

.portfolio-hero h1{
    font-size:32px;
}

.section-heading h2{
    font-size:28px;
}

.project-image{
    height:210px;
}

.project-content{
    padding:22px;
}

.project-content h3{
    font-size:22px;
}

.project-content p{
    font-size:15px;
}

.project-tech span{
    font-size:13px;
}

.cta-box{
    padding:45px 20px;
    border-radius:25px;
}

.cta-box h2{
    font-size:28px;
}

.cta-box span{
    font-size:14px;
}

}

/*==================================================
                SMOOTH ANIMATIONS
==================================================*/

html{
    scroll-behavior:smooth;
}

img{
    max-width:100%;
    display:block;
}

*{
    box-sizing:border-box;
}

.project-card,
.primary-btn,
.secondary-btn{
    transition:all .35s ease;
}

.cta-box{
    animation:ctaFloat 8s ease-in-out infinite;
}

@keyframes ctaFloat{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

}
/*==================================================
        PREMIUM PORTFOLIO EFFECTS
==================================================*/

/* Glass Effect */

.project-card{
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.6);
    position:relative;
    overflow:hidden;
}

/* Gradient Border */

.project-card::after{
    content:"";
    position:absolute;
    inset:0;
    padding:1px;
    border-radius:30px;
    background:linear-gradient(
        135deg,
        rgba(37,99,235,.35),
        rgba(124,58,237,.25),
        rgba(37,99,235,.35)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
            mask-composite:exclude;
    pointer-events:none;
}

/* Image Overlay */

.project-image::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(17,24,39,.75),
        transparent 60%
    );
    z-index:1;
}

.project-image img{
    transition:transform .8s ease;
}

.project-card:hover .project-image img{
    transform:scale(1.12);
}

/* Floating Tech Tags */

.project-tech span{
    transition:.35s;
}

.project-tech span:hover{
    transform:translateY(-4px);
}

/* Button Hover */

.project-links a i{
    transition:.35s;
}

.project-links a:hover i{
    transform:translateX(6px);
}

/* Shadow Glow */

.project-card:hover{
    box-shadow:
        0 20px 50px rgba(37,99,235,.18),
        0 0 40px rgba(37,99,235,.08);
}

/*==================================================
            HEADING ANIMATION
==================================================*/

.section-heading h2,
.portfolio-hero h1{

    animation:fadeUp 1s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

.section-heading p,
.portfolio-hero p{

    animation:fadeUp 1.3s ease;

}

/*==================================================
            BUTTON RIPPLE
==================================================*/

.primary-btn,
.secondary-btn{

    position:relative;
    overflow:hidden;

}

.primary-btn::before,
.secondary-btn::before{

    content:"";
    position:absolute;
    width:0;
    height:0;
    background:rgba(255,255,255,.25);
    border-radius:50%;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    transition:.6s;

}

.primary-btn:hover::before,
.secondary-btn:hover::before{

    width:320px;
    height:320px;

}

/*==================================================
        PROJECT CARD FLOAT
==================================================*/

.project-card:nth-child(1){

    animation-delay:0s;

}

.project-card:nth-child(2){

    animation-delay:.3s;

}

.project-card:nth-child(3){

    animation-delay:.6s;

}

.project-card:nth-child(4){

    animation-delay:.9s;

}

/*==================================================
        SCROLL REVEAL
==================================================*/

.reveal{

    opacity:0;
    transform:translateY(60px);
    transition:1s;

}

.reveal.active{

    opacity:1;
    transform:translateY(0);

}

/*==================================================
            IMAGE RADIUS EFFECT
==================================================*/

.project-image{

    border-radius:28px 28px 0 0;

}

/*==================================================
        PREMIUM BACKGROUND
==================================================*/

body{

    background:
    radial-gradient(circle at top left,
    rgba(37,99,235,.05),
    transparent 35%),

    radial-gradient(circle at bottom right,
    rgba(124,58,237,.05),
    transparent 35%),

    #ffffff;

}
/*==================================================
        PREMIUM MOUSE PARALLAX SUPPORT
==================================================*/

.project-card{
    transform-style:preserve-3d;
    will-change:transform;
}

.project-content{
    position:relative;
    z-index:5;
}

/*==================================================
            GLOWING BORDER
==================================================*/

.project-card:hover{

    border-color:rgba(37,99,235,.25);

    box-shadow:
    0 25px 70px rgba(37,99,235,.18),
    0 0 40px rgba(124,58,237,.08);

}

/*==================================================
                IMAGE SHINE
==================================================*/

.project-image{

    position:relative;
    overflow:hidden;

}

.project-image::after{

    content:"";

    position:absolute;

    top:-120%;

    left:-50%;

    width:70px;

    height:260%;

    background:

    linear-gradient(
        transparent,
        rgba(255,255,255,.7),
        transparent
    );

    transform:rotate(25deg);

    transition:.8s;

}

.project-card:hover .project-image::after{

    left:170%;

}

/*==================================================
            CARD NUMBER
==================================================*/

.project-card{

    counter-increment:portfolio;

}

.project-card::before{

    content:"0" counter(portfolio);

    position:absolute;

    top:20px;

    right:25px;

    font-size:70px;

    font-weight:800;

    color:rgba(255,255,255,.15);

    z-index:2;

    pointer-events:none;

}

/*==================================================
        PROJECT TITLE EFFECT
==================================================*/

.project-content h3{

    transition:.35s;

}

.project-card:hover h3{

    color:#2563eb;

}

/*==================================================
        ICON ANIMATION
==================================================*/

.project-links a i{

    transition:.35s;

}

.project-links a:hover i{

    transform:translateX(8px);

}

/*==================================================
        HERO BACKGROUND ANIMATION
==================================================*/

.portfolio-hero::before{

    animation:blob1 12s linear infinite alternate;

}

.portfolio-hero::after{

    animation:blob2 15s linear infinite alternate;

}

@keyframes blob1{

    from{

        transform:translate(0,0);

    }

    to{

        transform:translate(80px,50px);

    }

}

@keyframes blob2{

    from{

        transform:translate(0,0);

    }

    to{

        transform:translate(-80px,-50px);

    }

}

/*==================================================
            BUTTON EFFECT
==================================================*/

.primary-btn,
.secondary-btn{

    position:relative;

    overflow:hidden;

}

.primary-btn:active,
.secondary-btn:active{

    transform:scale(.96);

}

/*==================================================
            SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#eef3ff;

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(
        #2563eb,
        #7c3aed
    );

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#2563eb;

}

/*==================================================
        TEXT SELECTION
==================================================*/

::selection{

    background:#2563eb;

    color:#fff;

}

/*==================================================
        SECTION SPACING
==================================================*/

.portfolio-hero,
.portfolio-intro,
.featured-projects,
.portfolio-cta{

    position:relative;

    z-index:2;

}

/*==================================================
            FADE ANIMATION
==================================================*/

@keyframes fadeScale{

    from{

        opacity:0;
        transform:scale(.95);

    }

    to{

        opacity:1;
        transform:scale(1);

    }

}

.project-card{

    animation:fadeScale .8s ease both;

}

/*==================================================
        PREMIUM HOVER TRANSITIONS
==================================================*/

a,
button{

    transition:.35s ease;

}

.project-tech span,
.project-category{

    transition:.35s ease;

}

/*==================================================
                END
==================================================*/
/*====================================
        RESPONSIVE DESIGN
====================================*/

/* Laptop */

@media (max-width:1200px){

.section-heading h2{
    font-size:42px;
}

.portfolio-hero h1{
    font-size:56px;
}

.projects-grid{
    grid-template-columns:1fr;
    gap:35px;
}

.project-image{
    height:320px;
}

.cta-box h2{
    font-size:46px;
}

}


/* Tablet */

@media (max-width:992px){

.portfolio-hero{
    padding:140px 5% 90px;
}

.portfolio-hero h1{
    font-size:48px;
}

.portfolio-hero p{
    font-size:17px;
}

.section-heading h2{
    font-size:38px;
}

.project-content{
    padding:28px;
}

.project-content h3{
    font-size:26px;
}

.project-links{
    flex-direction:column;
}

.project-links a{
    width:100%;
}

.cta-box{
    padding:70px 40px;
}

.cta-box h2{
    font-size:40px;
}

}


/* Mobile */

@media (max-width:768px){

section{
    padding:80px 20px;
}

.portfolio-hero{
    padding:130px 20px 70px;
    text-align:center;
}

.portfolio-hero h1{
    font-size:38px;
    line-height:1.2;
}

.portfolio-hero p{
    font-size:16px;
}

.section-heading{
    text-align:center;
}

.section-heading h2{
    font-size:32px;
}

.section-heading p{
    font-size:16px;
}

.projects-grid{
    grid-template-columns:1fr;
    gap:30px;
}

.project-card{
    border-radius:20px;
}

.project-image{
    height:230px;
}

.project-content{
    padding:22px;
}

.project-content h3{
    font-size:22px;
}

.project-content p{
    font-size:15px;
    line-height:1.8;
}

.project-tech{
    gap:10px;
}

.project-tech span{
    padding:8px 14px;
    font-size:13px;
}

.project-links{
    gap:12px;
}

.project-links a{
    width:100%;
}

.cta-box{
    padding:50px 25px;
    border-radius:25px;
}

.cta-box h2{
    font-size:32px;
}

.cta-box p{
    font-size:15px;
}

.cta-buttons{
    flex-direction:column;
}

.cta-buttons a{
    width:100%;
    justify-content:center;
}

}


/* Small Mobile */

@media (max-width:480px){

.portfolio-hero h1{
    font-size:30px;
}

.section-heading h2{
    font-size:26px;
}

.project-image{
    height:190px;
}

.project-content{
    padding:18px;
}

.project-content h3{
    font-size:20px;
}

.project-content p{
    font-size:14px;
}

.project-tech span{
    font-size:12px;
    padding:7px 12px;
}

.project-category{
    font-size:12px;
    padding:6px 12px;
}

.cta-box{
    padding:40px 18px;
}

.cta-box h2{
    font-size:26px;
}

.cta-box p{
    font-size:14px;
}

.primary-btn,
.secondary-btn{
    width:100%;
    text-align:center;
}

}


/* Extra Small Devices */

@media (max-width:360px){

.portfolio-hero h1{
    font-size:26px;
}

.section-heading h2{
    font-size:22px;
}

.project-content h3{
    font-size:18px;
}

.project-links a{
    font-size:14px;
    padding:12px;
}

.project-tech{
    justify-content:center;
}

}