* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #030712;
    color: white;
}

header{
    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    width:92%;
    max-width:1400px;

    padding:10px 22px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:rgba(10,15,30,.55);
    backdrop-filter:blur(25px);
    -webkit-backdrop-filter:blur(25px);

    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.35),
        inset 0 1px rgba(255,255,255,.05);

    transition:.4s ease;

    z-index:1000;
}

nav{
    width:100%;

    display:grid;
    grid-template-columns:auto 1fr auto;

    align-items:center;

    column-gap:55px;
}

ul{
    display:flex;

    justify-content:center;

    align-items:center;

    gap:42px;

    list-style:none;

    margin:0;
    padding:0;
}
nav h2 {
    
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
}

nav ul li {
    cursor: pointer;
    transition: color 0.3s ease;
}

nav ul li:hover {
    color: #38bdf8;
    transform: translateY(-3px);
}
nav ul li a{

    position:relative;
    display:inline-block;

    color:#e2e8f0;

    font-weight:500;

    padding:10px 0;

    transition:.35s;

}

nav ul li a:hover{

    color:#38bdf8;

}

nav ul li a::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:-5px;

    width:0;

    height:2px;

    background:linear-gradient(
        90deg,
        #38bdf8,
        #818cf8
    );

    border-radius:10px;

    transform:translateX(-50%);

    transition:.35s;

}
a{
    text-decoration:none;
    color:inherit;
} 

nav ul li a:hover::after,
nav ul li a.active::after{

    width:100%;

}

nav ul li a.active{

    color:#38bdf8;

}
li {
    font-size: 18px;

}
button {
    background-color: #38bdf8;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #0ea5e9;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(56,189,248,.4);
    letter-spacing:0.5px;
}
.hero{

    display:grid;
    grid-template-columns:1.1fr .9fr;

    align-items:center;

    gap:70px;

    min-height:100vh;

    padding:160px 90px 100px;

    position:relative;

    overflow:hidden;

}
.hero-content {
    max-width: 680px;
}

.hero-content h4 {
    color: #38bdf8;
    font-size: 22px;
    margin-bottom: 15px;
}

.hero-content h1{
    font-size:72px;
    font-weight:800;
    line-height:1.05;
    letter-spacing:-2px;
    margin-bottom:20px;
    padding-top:20px;

    background:linear-gradient(
        90deg,
        #38bdf8,
        #818cf8,
        #38bdf8
    );

    background-size:200%;
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;

    animation:gradientMove 5s linear infinite;

    text-shadow:
    0 0 15px rgba(56,189,248,.35),
    0 0 45px rgba(56,189,248,.25);
}

.hero-content h3 {
    font-size: 30px;
    color: #cbd5e1;
    margin-bottom: 20px;
    min-height: 45px;
}
.typing{
    color:#38bdf8;
    font-weight:600;
}
.hero-content p{

    font-size:20px;

    line-height:1.9;

    color:#cbd5e1;

    max-width:620px;

    margin-top:10px;

    margin-bottom:35px;

}

.hero-buttons {
    display: flex;
    gap:16px;
    margin-top: 30px;
    font-weight:600;
}
@keyframes float {

0% {
    transform: translateY(0);
}

50% {
    transform: translateY(-15px);
}

100% {
    transform: translateY(0);
}

}
.secondary-btn {
    background: transparent;
    border: 2px solid #38bdf8;
    color: #38bdf8;
}

.secondary-btn:hover {
    background: #38bdf8;
    color: white;
}
.hero-image{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;

    margin-top:-40px;

    transition:transform .5s ease;
}
.image-ring{
    position:relative;
    width:450px;
    height:450px;
    border-radius:50%;
    padding:8px;
    background:conic-gradient(
        from 0deg,
        #38bdf8,
        #818cf8,
        #22c55e,
        #38bdf8
    );
    box-shadow:
        0 0 35px rgba(56,189,248,.6),
        0 0 80px rgba(56,189,248,.35);
        transition: .5s;
}
.image-ring:hover{
    transform:scale(1.04);
    box-shadow:
        0 0 50px rgba(56,189,248,.7),
        0 0 100px rgba(56,189,248,.35);
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

body::before{
    content:"";
    position:fixed;
    top:-200px;
    left:-200px;
    width:500px;
    height:500px;
    background:#38bdf8;
    border-radius:50%;
    filter:blur(180px);
    opacity:.18;
    z-index:-1;
}

body::after{
    content:"";
    position:fixed;
    right:-200px;
    bottom:-200px;
    width:500px;
    height:500px;
    background:#818cf8;
    border-radius:50%;
    filter:blur(180px);
    opacity:.15;
    z-index:-1;
}
/* ===== HERO BACKGROUND ===== */

.hero{
    position: relative;
    overflow: hidden;
}

.hero::before{
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle,#38bdf8 0%,transparent 70%);
    top: -250px;
    right: -250px;
    opacity: .15;
    animation: rotateGlow 12s linear infinite;
}

.hero::after{
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,#818cf8 0%,transparent 70%);
    bottom: -180px;
    left: -180px;
    opacity: .12;
    animation: rotateGlow 15s linear infinite reverse;
}

@keyframes rotateGlow{
    from{
        transform: rotate(0deg);
    }

    to{
        transform: rotate(360deg);
    }
}

@keyframes gradientMove{
    0%{
        background-position:0%;
    }

    100%{
        background-position:200%;
    }
}


.hero-content,
.hero-image{
    position: relative;
    z-index: 2;
}
/* ================= ABOUT SECTION ================= */

.about{
    padding:100px 80px;
    text-align:center;
}

.about h2{
    font-size:48px;
    color:#38bdf8;
    margin-bottom:30px;
}
.about p{
    font-size:18px;
    line-height:1.8;
    color:#94a3b8;
    margin-bottom:20px;
}

.about button{
    margin-top:20px;
}

.about-image{
    flex:1;
    display:flex;
    justify-content:center;
    position:relative;
    z-index:5;
}
.about-image::before{

    content:"";

    position:absolute;

    width:420px;
    height:420px;

    border-radius:50%;

    background:radial-gradient(
        rgba(56,189,248,.22),
        transparent 70%
    );

    filter:blur(45px);

    z-index:-1;

    animation:aboutGlow 5s ease-in-out infinite;

}

.about-image img{
    width:350px;
    height:350px;
    object-fit:cover;
    border-radius:50%;
    border:5px solid #38bdf8;
    box-shadow:0 0 40px rgba(56,189,248,.4);
    display:block;
}


.about-content{
    flex: 1;
}

.about-content h2{
    text-align: left;
}

.about-content p{

    text-align:left;

    font-size:19px;

    line-height:1.9;

    color:#cbd5e1;

    margin-bottom:22px;

}

/* ===== SKILLS SECTION ===== */

.skills{
    padding:100px 80px;
    text-align:center;
}

.skills h2{
    font-size:48px;
    color:#38bdf8;
    margin-bottom:50px;
}

.skills-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}


.skill-card{
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(10px);
    padding:25px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,0.1);
    transition:0.4s;
}


.skill-card:hover{
    transform:translateY(-10px);
    border-color:#38bdf8;
    box-shadow:0 20px 40px rgba(56,189,248,.25);
}

.skill-card h3{
    margin-bottom:15px;
}

.progress{
    width:100%;
    height:12px;
    background:#1f2937;
    border-radius:20px;
    overflow:hidden;
}

.progress-bar{
    height:100%;
    background:#38bdf8;
    color:white;
    text-align:right;
    padding-right:10px;
    line-height:12px;
    font-size:10px;

    animation: skill 2s ease forwards;
}


@keyframes skill{

    from{
        width:0;
    }

}

.html{
    width:95%;
}

.css{
    width:90%;
}

.js{
    width:80%;
}

.wp{
    width:90%;
}
/* ===== SERVICES SECTION ===== */

.services{
    padding:100px 80px;
    text-align:center;
}

.services h2{
    font-size:48px;
    color:#38bdf8;
    margin-bottom:50px;
}

.services-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.service-card{
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(10px);
    padding:35px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.1);
    transition:0.4s;
}

.service-card:hover{
    transform:translateY(-10px);
    border-color:#38bdf8;
    box-shadow:0 20px 40px rgba(56,189,248,.25);
}

.service-card h3{
    font-size:24px;
    margin-bottom:20px;
    color:#38bdf8;
}

.service-card p{
    color:#94a3b8;
    line-height:1.8;
}
/* ===== MOBILE RESPONSIVE ===== */

@media(max-width:768px){

ul{
    display:flex;
    align-items:center;
    justify-content:center;

    gap:38px;

    list-style:none;

    flex:1;
}
.projects{
    padding:70px 20px;
}

.projects h2{
    font-size:38px;
}

.projects-container{
    grid-template-columns:1fr;
}

nav{
    flex-direction:column;
    gap:20px;
}
.hero{
    flex-direction:column;
    text-align:center;
    padding:50px 20px;
}
.hero-content h1{

    font-size:72px;
    font-weight:900;
    line-height:1;
    letter-spacing:-3px;

    margin-bottom:20px;

    background:linear-gradient(
        135deg,
        #ffffff 0%,
        #cbd5e1 35%,
        #38bdf8 70%,
        #818cf8 100%
    );

    background-size:200% 200%;

    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;

    animation:gradientMove 6s ease infinite;

    text-shadow:
        0 0 30px rgba(56,189,248,.20);
}

.hero-content h3{
    font-size:24px;
}

.hero-image img{
    width:280px;
    height:280px;
}

.about,
.skills,
.services,
.contact{
    padding:70px 20px;
}

.contact-container{
    grid-template-columns:1fr;
}


.about h2,
.skills h2,
.services h2{
    font-size:38px;
}

.skills-container,
.services-container{
    grid-template-columns:1fr;
}
}
/* Contact Section */

.contact{
    padding:80px 10%;
    background:transparent;
    color:white;
}


.contact h2{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
}


.contact-container{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;

}


.contact-info,
.contact-form{

    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.1);
    padding:30px;
    border-radius:20px;

}


.contact-info h3{

    font-size:28px;
    margin-bottom:20px;

}


.contact-info p{

    margin:15px 0;
    color:#cbd5e1;

}

.contact-form input,
.contact-form textarea{

    width:100%;
    padding:15px;
    margin-bottom:15px;
    border:1px solid #334155;
    border-radius:8px;
    outline:none;

}


.contact-form textarea{

    height:120px;
    resize:none;

}


.contact-form button{
    width:100%;
    padding:12px 30px;
    border:none;
    border-radius:30px;
    background:#38bdf8;
    color:#fff;
    cursor:pointer;
    font-weight:600;
}
.contact-info a{
    color:#38bdf8;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.contact-info a:hover{
    color:#ffffff;
}
.contact-form input,
.contact-form textarea{
    background:#0f172a;
    color:#fff;
    border:1px solid #334155;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color:#94a3b8;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:#38bdf8;
}
.contact-form button:hover{
    background:#0ea5e9;
    transform:translateY(-3px);
}
.contact-info,
.contact-form{
    transition:0.3s;
}

.contact-info:hover,
.contact-form:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(56,189,248,.2);
}
/* ===== PROJECTS SECTION ===== */

.projects{
    padding:100px 80px;
    text-align:center;
}

.projects h2{
    font-size:48px;
    color:#38bdf8;
    margin-bottom:50px;
}

.projects-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.project-card{
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(10px);
    border-radius:20px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.1);
    transition:.4s;
    padding:0px;
border-radius:24px;
}

.project-card:hover{

    transform:
        perspective(1000px)
        translateY(-18px)
        rotateX(4deg)
        scale(1.03);

    border-color:#38bdf8;

    box-shadow:
        0 25px 60px rgba(56,189,248,.30),
        0 0 100px rgba(56,189,248,.20);

}

.project-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:.4s;
}
.project-card-content{
    padding:35px;
}

.project-card:hover img{
    transform:scale(1.08);
}

.project-card h3{
    font-size:24px;
    margin:30px 25px 15px;
    color:#38bdf8;
}

.project-card p{
    font-size:19px;
    line-height:1.9;
    color:#cbd5e1;

    max-width:850px;
    margin:25px auto;

    padding:0 25px;
}

.project-card button{
    margin:25px 20px 30px;
}

/* ===== FOOTER ===== */

.footer{
    padding:60px 20px;
    background:#020617;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
}

.footer h2{
    font-size:32px;
    color:#38bdf8;
    margin-bottom:15px;
}

.footer p{
    color:#94a3b8;
    margin-bottom:20px;
    line-height:1.8;
}

.social-icons{
    display:flex;
    justify-content:center;
    gap:20px;
    margin:25px 0;
}

.social-icons a{
    width:50px;
    height:50px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#111827;
    color:#38bdf8;
    border-radius:50%;
    font-size:22px;
    transition:.3s;
}

.social-icons a:hover{
    background:#38bdf8;
    color:#fff;
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(56,189,248,.3);
}

.footer-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
    margin:25px 0;
}

.footer-links a{
    color:#cbd5e1;
    text-decoration:none;
    transition:.3s;
}

.footer-links a:hover{
    color:#38bdf8;
}

.copyright{
    margin-top:30px;
    font-size:15px;
    color:#64748b;
}
/* ===== FOOTER RESPONSIVE ===== */

@media (max-width:768px){

    .footer h2{
        font-size:26px;
    }

    .social-icons{
        gap:15px;
    }

    .social-icons a{
        width:45px;
        height:45px;
        font-size:20px;
    }

    .footer-links{
        flex-direction:column;
        gap:12px;
    }
    .about-container{
    flex-direction: column;
    text-align: center;
}

.about-content h2,
.about-content p{
    text-align: center;
}

.about-image-box img{
    width: 280px;
    height: 280px;
}

}
/* ===== PREMIUM SCROLLBAR ===== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#020617;
}

::-webkit-scrollbar-thumb{

background:linear-gradient(
180deg,
#38bdf8,
#818cf8
);

border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{
    background:#0ea5e9;
}
/* ===== SECTION SCROLL FIX ===== */

section{
    scroll-margin-top:100px;
}
/* Active Nav Link */

nav ul li a{
    color:#fff;
    text-decoration:none;
    transition:0.3s;
}

nav ul li a:hover,
nav ul li a.active{
    color:#38bdf8;
}
/* ===== HAMBURGER MENU ===== */

.menu-toggle{
    display:none;
    font-size:28px;
    color:#38bdf8;
    cursor:pointer;
}

/* Mobile */

@media (max-width:768px){

    nav{
        position:relative;
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
    }

    .menu-toggle{
        display:block;
    }

nav ul{
    position:absolute;
    top:75px;
    left:0;
    width:100%;
    background:#020617;

    flex-direction:column;
    align-items:center;
    gap:20px;
    padding:25px 0;

    max-height:0;
    overflow:hidden;

    transition:0.4s ease;
}

nav ul.active{
    max-height:400px;
}

    nav ul.active{
        display:flex;
    }

    header button{
        display:none;
    }
}
/* ===== Scroll Progress Bar ===== */

.scroll-progress{
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg,#38bdf8,#818cf8);
    z-index: 99999;
    transition: width .1s linear;
}
/* ===== Smooth Hover Animation ===== */

.skill-card,
.service-card,
.project-card,
.contact-info,
.contact-form{
    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;
}

.skill-card:hover,
.service-card:hover,
.project-card:hover{
    transform:translateY(-12px) scale(1.02);
}
.hero-buttons button{
    position:relative;
    overflow:hidden;
}

.hero-buttons button::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:100%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.35),
        transparent
    );

    transition:.6s;
}

.hero-buttons button:hover::before{
    left:120%;
}
/* ==========================
   PREMIUM CURSOR
========================== */

body{
    cursor:none;
}

.cursor{
    position:fixed;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#38bdf8;
    pointer-events:none;
    z-index:99999;
    transform:translate(-50%,-50%);
    transition:
    width .25s ease,
    height .25s ease,
    background .25s ease,
    opacity .25s ease;

    box-shadow:
    0 0 15px #38bdf8,
    0 0 35px rgba(56,189,248,.6);

    mix-blend-mode:screen;
}

.cursor.hover{

    width:50px;
    height:50px;

    background:rgba(56,189,248,.15);

    border:2px solid #38bdf8;

}
/* ===== Navbar Scroll Effect ===== */

header.scrolled{

    background:rgba(3,7,18,.88);

    backdrop-filter:blur(30px);

    border-bottom:1px solid rgba(56,189,248,.25);

    box-shadow:
        0 10px 40px rgba(0,0,0,.45);

}
/* ===== Premium Loader ===== */

.loader{
    position:fixed;
    inset:0;
    background:#030712;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:999999;
    transition:opacity .8s ease,visibility .8s ease;
}

.loader.hide{
    opacity:0;
    visibility:hidden;
}

.loader-circle{
    width:90px;
    height:90px;
    border:6px solid rgba(255,255,255,.15);
    border-top:6px solid #38bdf8;
    border-radius:50%;
    animation:loaderSpin 1s linear infinite;
}

.loader h2{
    margin-top:25px;
    color:#38bdf8;
    letter-spacing:4px;
    font-size:28px;
}

@keyframes loaderSpin{
    to{
        transform:rotate(360deg);
    }
}
/* ===== Stats Section ===== */

.stats{
    padding:100px 80px;
}

.stats-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    text-align:center;
}

.stat-box{
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(10px);
    padding:35px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.1);
    transition:.4s;
}

.stat-box:hover{
    transform:translateY(-10px);
    border-color:#38bdf8;
    box-shadow:0 20px 40px rgba(56,189,248,.25);
}

.stat-box h2{
    font-size:48px;
    color:#38bdf8;
    margin-bottom:10px;
}

.stat-box p{
    color:#94a3b8;
}
/* ===== Back To Top Button ===== */

.back-to-top{
    position:fixed;
    right:30px;
    bottom:30px;
    width:55px;
    height:55px;
    border-radius:50%;
    border:none;
    background:#38bdf8;
    color:#fff;
    font-size:20px;
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transform:translateY(20px);
    transition:.35s;
    z-index:999;
    box-shadow:0 10px 25px rgba(56,189,248,.35);
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.back-to-top:hover{
    transform:translateY(-6px);
    background:#0ea5e9;
    box-shadow:0 10px 25px rgba(56,189,248,.4);
}
/* ===== HERO BADGE ===== */

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 18px;
    margin-bottom:25px;

    background:rgba(56,189,248,.12);
    border:1px solid rgba(56,189,248,.35);
    border-radius:50px;

    color:#38bdf8;
    font-size:15px;
    font-weight:600;

    backdrop-filter:blur(10px);
}

.hero-badge i{
    color:#22c55e;
    font-size:10px;
    animation:pulse 1.5s infinite;
}

@keyframes pulse{

    0%{
        transform:scale(1);
        opacity:1;
    }

    50%{
        transform:scale(1.4);
        opacity:.5;
    }

    100%{
        transform:scale(1);
        opacity:1;
    }

}
/* ===== STATS SECTION ===== */

.stats{
    padding:80px 80px;
}

.stats-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.stat-box{
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:35px;
    text-align:center;
    transition:.4s;
}

.stat-box:hover{
    transform:translateY(-10px);
    border-color:#38bdf8;
    box-shadow:0 20px 40px rgba(56,189,248,.25);
}

.stat-box h2{
    font-size:48px;
    color:#38bdf8;
    margin-bottom:10px;
    font-weight:700;
}

.stat-box p{
    color:#94a3b8;
    font-size:17px;
}
/* ===== SERVICE ICONS ===== */

.service-card i{
    font-size:32px;
    color:#38bdf8;
    display:block;
    margin-bottom:20px;
    transition:.4s;
}

.service-card:hover i{
    transform:rotate(10deg) scale(1.2);
    color:#ffffff;
}
/* ===== ABOUT FLEX LAYOUT ===== */

.about-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
}

.about-content{

    flex:1;

    max-width:650px;

}

.about-image{
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img{
    width:390px;
    height:390px;

    object-fit:cover;
    object-position:center top;

    border-radius:50%;

    border:6px solid rgba(56,189,248,.25);

    box-shadow:
        0 0 40px rgba(56,189,248,.35),
        0 0 90px rgba(56,189,248,.18);

    transition:.45s ease;

    display:block;
}

.about-image img:hover{

    transform:scale(1.05) rotate(-2deg);

    box-shadow:
        0 0 60px rgba(56,189,248,.55),
        0 0 120px rgba(56,189,248,.25);

}

@media(max-width:768px){

.about-container{
    flex-direction: column;
    text-align: center;
}

.about-image img{
    width:260px;
    height:260px;
}

}
.about-highlights{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-top:40px;
}

.highlight-box{

    background:rgba(255,255,255,.06);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    padding:30px 20px;

    text-align:center;

    transition:.4s ease;

    cursor:pointer;

}
.highlight-box:hover{

    transform:translateY(-10px) scale(1.03);

    border-color:#38bdf8;

    box-shadow:
        0 20px 45px rgba(56,189,248,.25),
        0 0 60px rgba(56,189,248,.15);

}
.highlight-box h3{

    font-size:42px;

    font-weight:800;

    color:#38bdf8;

    margin-bottom:10px;

}
.highlight-box p{

    margin:0;

    color:#cbd5e1;

    font-size:16px;

    line-height:1.6;

}
/* ===== PREMIUM HERO BADGES ===== */

.hero-image{
    position:relative;
}


.floating-card{

    position:absolute;
    z-index:10;

    background:rgba(255,255,255,.08);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,.15);
    padding:15px 25px;
    border-radius:15px;
    color:white;
    font-size:14px;
    font-weight:600;
    box-shadow:0 20px 40px rgba(0,0,0,.3);

    animation:floatCard 4s ease-in-out infinite;

}

.card-one{
    top:70px;
    right:-75px;
    color:#38bdf8;
}

.card-two{
    top:205px;
    right:-75px;
    color:#818cf8;
}

.card-three{
    top:340px;
    left:auto;
    right:-75px;
    bottom:auto;
    color:#22c55e;
}

@keyframes floatCard{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-15px);
    }

    100%{
        transform:translateY(0);
    }

}
/* ===== PREMIUM LOGO ===== */


.logo:hover{

    transform:scale(1.05);
    letter-spacing:5px;

}

.logo span{

    color:#38bdf8;

}


/* ===== PREMIUM NAV LINKS ===== */

nav ul li a{

    font-weight:500;
    position:relative;

}


nav ul li a::before{

    content:"";
    position:absolute;
    bottom:-8px;
    left:50%;

    width:0;
    height:2px;

    background:#38bdf8;

    transition:.4s;

    transform:translateX(-50%);

}


nav ul li a:hover::before,
nav ul li a.active::before{

    width:100%;

}


/* ===== NAVBAR BUTTON ===== */

.nav-btn{

    display:flex;
    align-items:center;
    justify-content:center;

    padding:10px 22px;

    border-radius:14px;
    margin-left:20px;

    font-size:15px;
    font-weight:600;

    color:#fff;

    background:linear-gradient(
        135deg,
        #38bdf8,
        #818cf8
    );

    box-shadow:
        0 10px 30px rgba(56,189,248,.35);

    transition:all .35s ease;

    overflow:hidden;
    position:relative;

}

.nav-btn:hover{

    transform:translateY(-4px);

    box-shadow:
        0 18px 40px rgba(56,189,248,.45);

}

.nav-btn::before{

    content:"";

    position:absolute;

    top:0;
    left:-120%;

    width:100%;
    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.35),
        transparent
    );

    transition:.6s;

}

.nav-btn:hover::before{

    left:120%;

}


header button:hover{

    box-shadow:
    0 0 25px rgba(56,189,248,.6);

}
/* ===== PREMIUM ABOUT ===== */


.about-content strong{

    color:#38bdf8;

}


.about-content h2{

    font-size:52px;
    margin-bottom:25px;

    background:linear-gradient(
        90deg,
        #38bdf8,
        #818cf8
    );

    background-clip:text;
    -webkit-background-clip:text;
    color:transparent;

}


.about-content p{

    font-size:19px;
    line-height:1.9;

}


.about button{

    margin-top:35px;

    padding:14px 35px;

    border-radius:30px;

}
/* ===== PREMIUM SKILLS ===== */


.skill-card{

    text-align:center;

}


.skill-card i{

    font-size:40px;

    color:#38bdf8;

    margin-bottom:20px;

    transition:.4s;

}


.skill-card:hover i{

    transform:scale(1.2)
    rotate(10deg);

}


.skill-card p{

    color:#94a3b8;

    line-height:1.7;

    margin-top:15px;

}


.skill-card h3{

    color:white;

    font-size:22px;

}
/* ===== PREMIUM SERVICES ===== */


.service-card{

    position:relative;

    overflow:hidden;

}


.service-card::before{

    content:"";

    position:absolute;

    width:120px;
    height:120px;

    background:#38bdf8;

    filter:blur(80px);

    top:-50px;

    right:-50px;

    opacity:.25;

}



.service-card i{

    font-size:42px;

    color:#38bdf8;

    margin-bottom:20px;

}


.service-card h3{

    margin-bottom:15px;

}


.service-card p{

    font-size:16px;

}
/* ===== PREMIUM PROJECTS ===== */



.project-image{

    position:relative;

    overflow:hidden;

    background:#0f172a;

    padding-top:42px;

    border-bottom:1px solid rgba(255,255,255,.08);

}
.project-image::before{

    content:"";

    position:absolute;

    top:14px;
    left:18px;

    width:12px;
    height:12px;

    border-radius:50%;

    background:#ff5f57;

    box-shadow:
        20px 0 #febc2e,
        40px 0 #28c840;

    z-index:5;

}


.project-content{

padding:25px;

}


.project-content h3{

font-size:25px;

color:#38bdf8;

margin-bottom:15px;
font-size:42px;
font-weight:800;
line-height:1.2;
margin-bottom:18px;

background:linear-gradient(
90deg,
#ffffff,
#38bdf8,
#818cf8
);

-webkit-background-clip:text;
background-clip:text;
color:transparent;
}


.project-content p{

color:#94a3b8;

line-height:1.8;

}



.tech-stack{

display:flex;

gap:10px;

flex-wrap:wrap;

margin:20px 0;

}


.tech-stack span{

background:rgba(56,189,248,.12);

border:1px solid rgba(56,189,248,.3);

padding:7px 15px;

border-radius:20px;

font-size:13px;

color:#38bdf8;

}



.project-content button{

border-radius:30px;

padding:12px 30px;

}
/* ===== PREMIUM CONTACT ===== */


.contact h2{

font-size:52px;

background:linear-gradient(
90deg,
#38bdf8,
#818cf8
);

-webkit-background-clip:text;
background-clip:text;

color:transparent;

}



.contact-info h3{

font-size:32px;

color:white;

margin-bottom:20px;

}



.contact-item{

display:flex;

align-items:center;

gap:15px;

margin:25px 0;

}



.contact-item i{

font-size:22px;

color:#38bdf8;

}



.contact-item a{

color:#cbd5e1;

}



.contact-form button{

border-radius:30px;

font-weight:600;

}


.contact-form input,
.contact-form textarea{

font-size:16px;


}
/* ===== FINAL MOBILE NAV FIX ===== */

@media(max-width:768px){

header{
    padding:20px;
}

nav h2,
.logo{
    font-size:22px;
}


nav ul{
    width:100%;
    left:0;
}


nav ul li{
    font-size:16px;
}


}
/* ===== MOBILE PROJECT FIX ===== */

@media(max-width:768px){

.project-card{

    padding:10px;

}

.project-content{

    padding:20px;

}


.tech-stack{

    justify-content:center;

}

}
@media(max-width:768px){

.about-highlights{

    grid-template-columns:1fr;

}

}
@media(max-width:768px){

.contact-container{

    gap:25px;

}


.contact h2{

    font-size:38px;

}

}
.secondary-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

.secondary-btn i{
    font-size:16px;
}
/* ===== PROJECT BADGE ===== */

.project-badge{
    position:absolute;
    top:20px;
    left:20px;
    background:#38bdf8;
    color:#fff;
    padding:8px 16px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    z-index:2;
    box-shadow:0 10px 25px rgba(56,189,248,.35);
}

/* Required */
.project-card{
    position:relative;
}

/* ===== TECH STACK ===== */

.project-tech{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    padding:20px;
    padding-top:10px;
}

.project-tech span{
    background:rgba(56,189,248,.12);
    color:#38bdf8;
    border:1px solid rgba(56,189,248,.25);
    padding:8px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

/* ===== BUTTONS ===== */

.project-buttons{
    display:flex;
    gap:20px;
    padding:0 20px 30px;
}

.project-buttons button{

    width:160px;
    height:50px;

    border-radius:14px;

    font-weight:600;

    transition:.35s ease;

}
.project-buttons button:hover{

    transform:translateY(-4px);

    box-shadow:
        0 15px 35px rgba(56,189,248,.35);

}
.project-card{
    overflow:hidden;
}

.project-card::before{

    content:"";
    position:absolute;

    top:0;
    left:-120%;

    width:60%;
    height:100%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );

    transform:skewX(-25deg);

    transition:.8s;
}

.project-card:hover::before{
    left:150%;
}
/* ===== PROJECT IMAGE OVERLAY ===== */

.project-image{
    position:relative;
    overflow:hidden;
}

.project-image img{

    width:100%;
    height:420px;

    object-fit:cover;
    object-position:top;

    display:block;

    border-radius:0 0 18px 18px;

    transition:
        transform .6s ease,
        filter .6s ease;

}
.project-image{

    border-bottom:1px solid rgba(255,255,255,.08);

    background:#030712;

}

.project-overlay{

    position:absolute;
    inset:0;

    background:rgba(3,7,18,.72);

    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;

    opacity:0;

    transition:.4s;
}

.project-overlay a{

    width:60px;
    height:60px;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#38bdf8;
    color:#fff;

    font-size:22px;

    transform:translateY(30px);

    transition:.35s;
}

.project-overlay a:hover{

    background:#fff;
    color:#38bdf8;

    transform:scale(1.1);

}

.project-image:hover img{

    transform:scale(1.06);

    filter:
        brightness(1.08)
        contrast(1.05);

}

.project-image:hover .project-overlay{

    opacity:1;

}

.project-image:hover .project-overlay a{

    transform:translateY(0);

}
/* ===== TECH STACK ===== */

.tech-stack{
    padding:100px 80px;
    text-align:center;
}

.tech-stack h2{
    font-size:48px;
    color:#38bdf8;
    margin-bottom:50px;
}

.tech-container{

    display:grid;

    grid-template-columns:repeat(6,1fr);

    gap:25px;

    margin-top:40px;

}

.tech-card{

    background:rgba(255,255,255,.05);
    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    padding:35px;

    transition:.4s;
}

.tech-card:hover{

    transform:translateY(-12px);

    border-color:#38bdf8;

    box-shadow:0 20px 40px rgba(56,189,248,.25);

}

.tech-card i{

    font-size:55px;

    color:#38bdf8;

    margin-bottom:20px;

    transition:.4s;

}

.tech-card:hover i{

    transform:rotate(10deg) scale(1.15);

}

.tech-card span{

    display:block;

    font-size:18px;

    font-weight:600;

}

/* ===== FINAL PREMIUM LOGO ===== */

.logo{
    display:flex;
    align-items:center;
    gap:14px;

    flex-shrink:0;

    margin-right:55px;

    cursor:pointer;

    transition:.35s ease;
}

.logo:hover{
    transform:translateY(-2px);
}

.logo-text span{

    color:#38bdf8;

}

.logo-text small{

    display:block;

    color:#94a3b8;

    font-size:12px;

    margin-top:3px;

    letter-spacing:1px;

    text-transform:uppercase;

}
.logo-image{
    width:60px;
    height:60px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;

    background:transparent;

    border:none;
    border-radius:0;

    box-shadow:none;

    animation:logoFloat 4s ease-in-out infinite;
} 

.logo-image img{
    width:100%;
    height:100%;

    object-fit:contain;

    background:transparent;

    border:none;
    border-radius:0;

    box-shadow:none;
}
@keyframes logoFloat{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-6px);
    }

    100%{
        transform:translateY(0);
    }

}

.logo:hover .logo-image img{
    transform:rotate(8deg) scale(1.1);
}


.logo-text h3{
    font-size:22px;
    font-weight:800;
    letter-spacing:2px;
    color:#fff;
    transition:.3s;
}

.hero::before,
.hero::after{
    animation:floatGlow 10s ease-in-out infinite;
}

@keyframes floatGlow{

0%{
transform:translateY(0) rotate(0deg);
}

50%{
transform:translateY(-40px) rotate(180deg);
}

100%{
transform:translateY(0) rotate(360deg);
}

}
button{
position:relative;
overflow:hidden;
}

button::after{

content:"";

position:absolute;

top:-100%;
left:-100%;

width:200%;
height:200%;

background:linear-gradient(
120deg,
transparent,
rgba(255,255,255,.35),
transparent
);

transform:rotate(25deg);

transition:.7s;

}

button:hover::after{

left:100%;
top:100%;

}
@media(max-width:992px){

.tech-container{

grid-template-columns:repeat(3,1fr);

}

}

@media(max-width:768px){

.tech-container{

grid-template-columns:repeat(2,1fr);

}

}
.section-title{

    margin-bottom:15px;

}

.section-title span{

    display:block;

    color:#38bdf8;

    font-size:18px;

    font-weight:600;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:10px;

}

.section-title h2{

    margin:0;

}

.section-title p{

    margin-top:20px;

}
.image-ring img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    border-radius:50%;
    display:block;
    border:6px solid #030712;
}
/* ===== HERO PARTICLES ===== */

.hero-particles{
    position:absolute;
    inset:0;
    overflow:hidden;
    pointer-events:none;
}
/* ===== GLOBAL BACKGROUND PARTICLES ===== */

.background-particles{
    position:fixed;
    inset:0;
    overflow:hidden;
    pointer-events:none;
    z-index:-1;
}

.background-particles span{
    position:absolute;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#38bdf8;
    opacity:.25;
    animation:globalParticle 18s linear infinite;
}

.background-particles span:nth-child(1){left:5%;animation-delay:0s;}
.background-particles span:nth-child(2){left:15%;animation-delay:3s;}
.background-particles span:nth-child(3){left:30%;animation-delay:6s;}
.background-particles span:nth-child(4){left:45%;animation-delay:2s;}
.background-particles span:nth-child(5){left:60%;animation-delay:8s;}
.background-particles span:nth-child(6){left:75%;animation-delay:5s;}
.background-particles span:nth-child(7){left:90%;animation-delay:10s;}
.background-particles span:nth-child(8){left:98%;animation-delay:12s;}

@keyframes globalParticle{

    0%{
        transform:translateY(110vh) scale(0);
        opacity:0;
    }

    20%{
        opacity:.3;
    }

    100%{
        transform:translateY(-150px) scale(2);
        opacity:0;
    }

}
.hero-particles span{
    position:absolute;
    width:10px;
    height:10px;
    background:#38bdf8;
    border-radius:50%;
    opacity:.35;
    animation:particleFloat 12s linear infinite;
}

.hero-particles span:nth-child(1){
    left:10%;
    animation-delay:0s;
}

.hero-particles span:nth-child(2){
    left:30%;
    animation-delay:2s;
}

.hero-particles span:nth-child(3){
    left:55%;
    animation-delay:5s;
}

.hero-particles span:nth-child(4){
    left:75%;
    animation-delay:7s;
}

.hero-particles span:nth-child(5){
    left:90%;
    animation-delay:10s;
}

@keyframes particleFloat{

    0%{
        transform:translateY(100vh) scale(0);
    }

    100%{
        transform:translateY(-100px) scale(1.8);
    }

}
/* ===== HERO IMAGE 3D EFFECT ===== */

.hero-image:hover{

    transform:
        perspective(1000px)
        rotateY(-8deg)
        rotateX(5deg)
        scale(1.03);

}
/* ============================= */
/* PREMIUM SECTION HEADINGS */
/* ============================= */

section h2{

    position:relative;
    display:inline-block;

    font-size:48px;
    font-weight:800;

    margin-bottom:70px;

    background:linear-gradient(
        90deg,
        #ffffff,
        #38bdf8,
        #818cf8
    );

    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;

}
@keyframes aboutGlow{

    0%{
        transform:scale(1);
        opacity:.55;
    }

    50%{
        transform:scale(1.12);
        opacity:.9;
    }

    100%{
        transform:scale(1);
        opacity:.55;
    }

}