

/* BACKGROUND GLOW */
.bg{
    position:fixed;
     animation:bgMove 15s ease-in-out infinite alternate;
    width:100%;
    height:100%;
    background:
    radial-gradient(circle at 20% 20%, #6366f1, transparent 40%),
    radial-gradient(circle at 80% 80%, #9333ea, transparent 40%);
    filter:blur(90px);
    z-index:-1;
}

body{
    background:#070a12;
    color:#e5e7eb;
    overflow-x:hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
}

@keyframes bgMove{

0%{
transform:translate(0,0) scale(1);
}

50%{
transform:translate(-30px,20px) scale(1.08);
}

100%{
transform:translate(30px,-20px) scale(1);
}

}


/* ==========================
   HAMBURGER MENU
========================== */

.menu-toggle{
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
}

.menu-toggle:hover{
    color: #6366f1;
}


.active-link{
    color:#6366f1 !important;
}

.active-link::after{
    width:100% !important;
}

.logo{
    font-size:28px;
    font-weight:800;
    text-decoration:none;
    color:#fff;
    letter-spacing:1px;
    transition:.3s;
}

.logo span{
    color:#6366f1;
}

.logo:hover{
    transform:scale(1.03);
}

.nav{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    background:rgba(0,0,0,.35);
    backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(255,255,255,.06);
    z-index:1000;
}

.links{
    display:flex;
    align-items:center;
    gap:35px;
}

.links a{
    text-decoration:none;
    color:#fff;
    font-size:16px;
    font-weight:600;
    position:relative;
    transition:.3s;
}

.links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#6366f1;
    transition:.35s;
}

.links a:hover{
    color:#6366f1;
}

.links a:hover::after{
    width:100%;
}

.nav-btn a{
    text-decoration:none;
    color:#fff;
    padding:12px 22px;
    border-radius:12px;
    background:linear-gradient(135deg,#6366f1,#8b5cf6);
    transition:.35s;
    font-weight:600;
}

.nav-btn a:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(99,102,241,.35);
}


/* ==========================================
                HERO SECTION
========================================== */

.hero{
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:80px;
    padding:140px 8% 80px;
}

.hero-text{
    flex:1;
}

.hero-text h1{
    font-size:64px;
    font-weight:800;
    line-height:1.2;
    color:#fff;
}

.hero-text h1 span{
    color:#6366f1;
}

.hero-text h3{
    font-size:30px;
    color:#cbd5e1;
    margin:18px 0;
    font-weight:600;
}

.hero-text p{
    max-width:600px;
    color:#bfc7d4;
    line-height:1.9;
    font-size:17px;
    margin-bottom:35px;
}

/* BUTTONS */

.buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.buttons a{
    text-decoration:none;
    color:#fff;
    padding:15px 30px;
    border-radius:14px;
    border:1px solid rgba(99,102,241,.35);
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(15px);
    transition:.35s;
    font-weight:600;
}

.buttons a:hover{
    background:#6366f1;
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(99,102,241,.35);
}

.buttons i{
    margin-right:8px;
}

/* IMAGE */

.hero-image{
    width:360px;
    height:360px;
    border-radius:50%;
    padding:6px;
    background:linear-gradient(135deg,#6366f1,#9333ea);
    animation:float 4s ease-in-out infinite;
    box-shadow:0 25px 60px rgba(0,0,0,.45);
}

.hero-image img{
    width:100%;
    height:100%;
    border-radius:50%;
    object-fit:cover;
}

/* FLOAT */

@keyframes float{

0%{
transform:translateY(0);
}

50%{
transform:translateY(-15px);
}

100%{
transform:translateY(0);
}

}

/* SCROLL DOWN */

.scroll-down{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    margin-top:-40px;
    animation:floatMouse 2s infinite;
}

.scroll-down i{
    color:#6366f1;
    font-size:28px;
}

.scroll-down p{
    color:#cbd5e1;
    margin-top:12px;
    font-size:15px;
}

@keyframes floatMouse{

0%{
transform:translateY(0);
}

50%{
transform:translateY(10px);
}

100%{
transform:translateY(0);
}

}

/* RESPONSIVE */

@media(max-width:992px){

.hero{
    flex-direction:column-reverse;
    text-align:center;
    padding:140px 8% 80px;
}

.hero-text{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.hero-text p{
    max-width:100%;
}

.hero-image{
    width:300px;
    height:300px;
}

}

@media(max-width:600px){

.hero{
    gap:40px;
}

.hero-text h1{
    font-size:42px;
}

.hero-text h3{
    font-size:22px;
}

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

.hero-image{
    width:220px;
    height:220px;
}

.buttons{
    width:100%;
    flex-direction:column;
}

.buttons a{
    width:100%;
    text-align:center;
}

}
/* ========================================
   ABOUT SECTION
======================================== */

.section-tag{
    display:inline-block;
    padding:8px 18px;
    border:1px solid rgba(99,102,241,.35);
    border-radius:40px;
    color:#6366f1;
    background:rgba(99,102,241,.08);
    font-size:14px;
    font-weight:600;
    margin-bottom:20px;
}

.section-text{
    max-width:700px;
    margin:20px auto 60px;
    color:#b8c1d1;
    line-height:1.8;
    font-size:17px;
}

.about-section{
    padding:120px 8%;
}

.about-content{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:70px;
    align-items:center;
}

.about-left h2{
    font-size:46px;
    line-height:1.3;
    margin-bottom:25px;
}

.about-left p{
    color:#c4c9d4;
    line-height:1.9;
    margin-bottom:18px;
    font-size:16px;
}

.about-buttons{
    display:flex;
    gap:18px;
    margin-top:35px;
}

.primary-btn,
.secondary-btn{
    text-decoration:none;
    padding:14px 28px;
    border-radius:12px;
    transition:.35s;
    font-weight:600;
}

.primary-btn{
    background:#6366f1;
    color:#fff;
}

.primary-btn:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 30px rgba(99,102,241,.35);
}

.secondary-btn{
    border:1px solid rgba(99,102,241,.4);
    color:#fff;
}

.secondary-btn:hover{
    background:#6366f1;
}

.about-right{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:22px;
}

.about-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(15px);
    padding:30px;
    border-radius:22px;
    transition:.4s;
}

.about-card:hover{
    transform:translateY(-10px);
    border-color:#6366f1;
    box-shadow:0 20px 45px rgba(0,0,0,.35);
}

.about-card i{
    font-size:34px;
    color:#6366f1;
    margin-bottom:18px;
}

.about-card h3{
    margin-bottom:12px;
}

.about-card p{
    color:#bfc7d4;
    line-height:1.7;
}

/* ========================================
   STATS
======================================== */

.stats{
    padding:40px 8% 120px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.stat-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:35px;
    text-align:center;
    backdrop-filter:blur(18px);
    transition:.35s;
}

.stat-card:hover{
    transform:translateY(-8px);
    border-color:#6366f1;
}

.stat-card h2{
    font-size:42px;
    color:#6366f1;
    margin-bottom:10px;
}

.stat-card p{
    color:#c9d1dd;
}

/* ========================================
   RESPONSIVE
======================================== */

@media(max-width:900px){

.about-content{
    grid-template-columns:1fr;
}

.about-left{
    text-align:center;
}

.about-buttons{
    justify-content:center;
}

.about-right{
    grid-template-columns:1fr;
}

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

}

@media(max-width:600px){

.about-left h2{
    font-size:32px;
}

.section-text{
    font-size:15px;
}

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

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

.primary-btn,
.secondary-btn{
    width:100%;
    text-align:center;
}

}

/*=========================================
          SKILLS SECTION
=========================================*/

#skills{
    padding-top:120px;
}

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
    margin-top:60px;
}

.skill-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;
    padding:35px 25px;
    text-align:center;
    backdrop-filter:blur(15px);
    transition:.4s ease;
    cursor:pointer;
}

.skill-card:hover{
    transform:translateY(-12px);
    border-color:#6366f1;
    box-shadow:0 20px 45px rgba(0,0,0,.35);
}

.skill-card i{
    font-size:55px;
    color:#6366f1;
    margin-bottom:20px;
    transition:.4s;
}

.skill-card:hover i{
    transform:scale(1.15) rotate(5deg);
}

.skill-card h3{
    font-size:22px;
    margin-bottom:10px;
    color:#fff;
}

.skill-card p{
    color:#bfc7d4;
    line-height:1.7;
}


/*=========================================
            SERVICES
=========================================*/

.services{
    padding-top:120px;
}

.services-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:60px;

}

.service-card{

    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    border-radius:24px;
    padding:40px 30px;
    text-align:center;
    transition:.4s;

}

.service-card:hover{

    transform:translateY(-12px);
    border-color:#6366f1;
    box-shadow:0 20px 45px rgba(0,0,0,.35);

}

.service-card i{

    width:80px;
    height:80px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 25px;
    background:rgba(99,102,241,.12);
    color:#6366f1;
    font-size:34px;
    transition:.4s;

}

.service-card:hover i{

    background:#6366f1;
    color:#fff;
    transform:rotate(10deg) scale(1.08);

}

.service-card h3{

    font-size:24px;
    margin-bottom:15px;
    color:#fff;

}

.service-card p{

    color:#bcc5d3;
    line-height:1.9;

}


/*=========================================
      COMMON CARD EFFECT
=========================================*/

.skill-card,
.service-card,
.about-card,
.project-card,
.contact-card{

    position:relative;
    overflow:hidden;

}

.skill-card::before,
.service-card::before,
.about-card::before,
.project-card::before,
.contact-card::before{

    content:"";
    position:absolute;
    width:180px;
    height:180px;
    background:rgba(99,102,241,.08);
    border-radius:50%;
    top:-80px;
    right:-80px;
    transition:.5s;

}

.skill-card:hover::before,
.service-card:hover::before,
.about-card:hover::before,
.project-card:hover::before,
.contact-card:hover::before{

    transform:scale(1.4);

}


/*=========================================
        SECTION TITLE
=========================================*/

.section h2{

    font-size:42px;
    margin-top:12px;
    margin-bottom:18px;

}


/*=========================================
        RESPONSIVE
=========================================*/

@media(max-width:900px){

.skills-grid{

grid-template-columns:repeat(2,1fr);

}

.services-grid{

grid-template-columns:1fr;

}

}

@media(max-width:650px){

.skills-grid{

grid-template-columns:1fr;

}

.skill-card{

padding:30px 20px;

}

.service-card{

padding:35px 22px;

}

.section h2{

font-size:32px;

}

}

/*=========================================
            PROJECTS SECTION
=========================================*/

.projects{
    padding:120px 8%;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:35px;
    margin-top:60px;
}

.project-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    overflow:hidden;
    backdrop-filter:blur(16px);
    transition:.45s ease;
}

.project-card:hover{
    transform:translateY(-12px);
    border-color:#6366f1;
    box-shadow:0 25px 50px rgba(0,0,0,.35);
}

/* Image */

.project-image{
    height:230px;
    overflow:hidden;
}

.project-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s;
}

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

/* Content */

.project-content{
    padding:28px;
}

.project-content h3{
    font-size:26px;
    margin-bottom:15px;
    color:#fff;
}

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

/* Tags */

.tech-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:28px;
}

.tech-tags span{
    background:rgba(99,102,241,.12);
    color:#6366f1;
    border:1px solid rgba(99,102,241,.25);
    padding:8px 16px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

/* Buttons */

.proj-links{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
}

.proj-links a{
    flex:1;
    text-align:center;
    text-decoration:none;
    padding:13px;
    border-radius:12px;
    transition:.35s;
    font-weight:600;
}

.proj-links a:first-child{
    border:1px solid rgba(255,255,255,.12);
    color:#fff;
}

.proj-links a:first-child:hover{
    background:#fff;
    color:#111827;
}

.live{
    background:#6366f1;
    color:#fff !important;
}

.live:hover{
    background:#4f46e5;
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(99,102,241,.35);
}

/* Floating Glow */

.project-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        135deg,
        transparent,
        rgba(99,102,241,.05),
        transparent
    );
    opacity:0;
    transition:.4s;
    pointer-events:none;
}

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

/* Responsive */

@media(max-width:900px){

.projects-grid{

grid-template-columns:1fr;

}

}

@media(max-width:600px){

.project-content{

padding:22px;

}

.project-content h3{

font-size:22px;

}

.proj-links{

flex-direction:column;

}

.proj-links a{

width:100%;

}

}

/* ==================================================
   CONTACT SECTION
================================================== */

.contact-section{
    padding:120px 8%;
}

.contact-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:60px;
}

.contact-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    backdrop-filter:blur(16px);
    padding:40px 30px;
    text-align:center;
    transition:.4s;
}

.contact-card:hover{
    transform:translateY(-12px);
    border-color:#6366f1;
    box-shadow:0 20px 45px rgba(0,0,0,.35);
}

.contact-card i{
    width:80px;
    height:80px;
    border-radius:50%;
    background:rgba(99,102,241,.12);
    color:#6366f1;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    margin:0 auto 25px;
}

.contact-card h3{
    font-size:24px;
    margin-bottom:10px;
}

.contact-card p{
    color:#bcc5d3;
    margin-bottom:25px;
}

.contact-card a{
    display:inline-block;
    text-decoration:none;
    color:#fff;
    background:#6366f1;
    padding:12px 24px;
    border-radius:12px;
    transition:.35s;
}

.contact-card a:hover{
    background:#4f46e5;
    transform:translateY(-3px);
}

/* ==================================================
   FOOTER
================================================== */

.footer{
    margin-top:80px;
    padding:70px 8% 30px;
    background:rgba(255,255,255,.03);
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
}

.footer-content{
    max-width:900px;
    margin:auto;
}

.footer h2{
    font-size:36px;
    color:#fff;
    margin-bottom:15px;
}

.footer h2 span{
    color:#6366f1;
}

.footer p{
    color:#bcc5d3;
    line-height:1.8;
    max-width:650px;
    margin:0 auto 30px;
}

.footer-links{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
    margin:35px 0;
}

.footer-links a{
    text-decoration:none;
    color:#d4d8e2;
    transition:.3s;
}

.footer-links a:hover{
    color:#6366f1;
}

.socials{
    display:flex;
    justify-content:center;
    gap:18px;
    margin:35px 0;
}

.socials a{
    width:55px;
    height:55px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(255,255,255,.05);
    color:#fff;
    border:1px solid rgba(255,255,255,.08);
    transition:.35s;
    font-size:20px;
}

.socials a:hover{
    background:#6366f1;
    transform:translateY(-8px) scale(1.08);
}

.copyright{
    margin-top:35px;
    color:#8b93a7;
    font-size:14px;
}

/* ==================================================
   SCROLL DOWN
================================================== */

.scroll-down{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    margin-top:-40px;
    margin-bottom:80px;
    animation:floatMouse 2s infinite;
}

.scroll-down i{
    color:#6366f1;
    font-size:28px;
}

.scroll-down p{
    margin-top:12px;
    color:#bfc7d4;
}

@keyframes floatMouse{

0%{
transform:translateY(0);
}

50%{
transform:translateY(10px);
}

100%{
transform:translateY(0);
}

}

/* ==================================================
   SCROLLBAR
================================================== */

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

::-webkit-scrollbar-track{
    background:#070a12;
}

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

::-webkit-scrollbar-thumb:hover{
    background:#7c7fff;
}

/* ==================================================
   SMOOTH SCROLL
================================================== */

html{
    scroll-behavior:smooth;
}

/* ==================================================
   SECTION SPACING
================================================== */

.section{
    padding:120px 8%;
}

.section h2{
    font-size:48px;
    margin-bottom:20px;
}

.section-text{
    max-width:760px;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media(max-width:900px){

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

.footer-links{
    gap:18px;
}

.section h2{
    font-size:38px;
}

}

@media(max-width:600px){

.section{
    padding:90px 6%;
}

.section h2{
    font-size:30px;
}

.footer h2{
    font-size:28px;
}

.socials a{
    width:48px;
    height:48px;
}

.footer-links{
    flex-direction:column;
    gap:15px;
}

}