/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;

    scroll-padding-top:20px;
}

body{

    font-family:'Poppins',sans-serif;

    background:#f7f9fc;

    color:#111;

    overflow-x:hidden;

    background:linear-gradient(
135deg,
#f8fbff,
#eef6ff,
#f8fbff
);

background-size:300% 300%;

animation:bgMove 12s ease infinite;

}

@keyframes bgMove{

0%{
background-position:0% 50%;
}

50%{
background-position:100% 50%;
}

100%{
background-position:0% 50%;
}


}


/* ==========================
   BACKGROUND
========================== */

.background{

    position:fixed;
    inset:0;
    overflow:hidden;
    z-index:-1;

}

.blob{

    position:absolute;

    border-radius:50%;

    filter:blur(160px);

    opacity:.30;

    animation:float 12s infinite ease-in-out;

}

.blob1{

    width:320px;
    height:320px;

    background:#6aa9ff;

    top:-70px;
    left:-80px;

}

.blob2{

    width:260px;
    height:260px;

    background:#8a6eff;

    right:-80px;
    top:240px;

    animation-delay:2s;

}

.blob3{

    width:300px;
    height:300px;

    background:#56e0ff;

    bottom:-80px;
    left:45%;

    animation-delay:4s;

}

@keyframes float{

0%,100%{

transform:translateY(0px) scale(1);

}

50%{

transform:translateY(-40px) scale(1.15);

}

}


/* ==========================
   CONTAINER
========================== */

.container{

    width:min(430px,100%);
    margin:auto;

    min-height:100vh;

    padding:22px;

}


/* ==========================
   HEADER
========================== */

header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:45px;

}

.back-btn{

width:46px;
height:46px;

border:none;

border-radius:50%;

background:rgba(255,255,255,.55);

backdrop-filter:blur(18px);

box-shadow:0 10px 30px rgba(0,0,0,.08);

cursor:pointer;

transition:.35s;

}

.back-btn:hover{

transform:scale(1.08);

}

.logo{

width:58px;

}


/* ==========================
   HERO
========================== */

.hero{

text-align:center;

animation:fadeUp 1s ease;

padding-top:5px;

}


.photo-area{

position:relative;

width:260px;
height:260px;

margin:auto;

margin-bottom:25px;

}

.photo-area::before{

content:"";

position:absolute;

inset:-20px;

border-radius:50%;

background:radial-gradient(
rgba(37,99,235,.18),
transparent 72%
);

filter:blur(30px);

z-index:-1;

}

.profile{

position:absolute;

inset:10px;

width:calc(100% - 20px);
height:calc(100% - 20px);

border-radius:50%;

object-fit:cover;

object-position:center top;

z-index:5;

}

/* Animated Ring */

.ring{
    position:absolute;
    inset:0;
    padding:6px;
    border-radius:50%;

    background:conic-gradient(
        #3b82f6,
        #22d3ee,
        #8b5cf6,
        #3b82f6
    );

    animation:spin 8s linear infinite;
    z-index:2;
    overflow:hidden;
    padding:10px;

    box-shadow:

    0 0 30px rgba(59,130,246,.35),

    0 0 60px rgba(34,211,238,.25);

    background:white;

padding:5px;

border:4px solid #3b82f6;

}

/*.ring::before{

    content:"";

    position:absolute;

    inset:8px;

    background:transparent;

    border-radius:50%;

    z-index:1;

}*/

@keyframes spin{

to{

transform:rotate(360deg);

}

}


/* ==========================
TEXT
========================== */

.position{

font-size:13px;

letter-spacing:3px;

font-weight:600;

color:#2563eb;

margin-bottom:10px;

text-transform:uppercase;

}

.hero h1{

font-size:58px;

font-weight:800;

line-height:0.9;

margin-bottom:12px;

letter-spacing:-1.5px;

}

.college{

color:#666;

font-size:15px;

}

/* ==========================
   SOCIAL CARD
========================== */

.social-card{

    margin-top:45px;

    display:flex;

    flex-direction:column;

    gap:18px;
    width:100%;

}

.social-card a{

    display:flex;
    min-height:78px;

    align-items:center;

    gap:18px;

    text-decoration:none;

    color:#111;

    padding:18px 22px;

    border-radius:28px;

    background:rgba(255,255,255,.72);
    border:1px solid rgba(255,255,255,.6);
    backdrop-filter:blur(25px);
    -webkit-backdrop-filter:blur(18px);

    box-shadow:
       0 15px 40px rgba(37,99,235,.10);

    transition:
        transform .35s,
        box-shadow .35s,
        background .35s;

    
}

.social-card a:hover{

    transform:translateY(-6px);

    background:white;

    box-shadow:
        0 25px 50px rgba(59,130,246,.18);

}

.social-card i{

    width:60px;
    height:60px;

    border-radius:18px;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:24px;

    color:white;

}

/* Individual icon colors */

.social-card a:nth-child(1) i{

background:linear-gradient(135deg,#ff0069,#ff7a00);

}

.social-card a:nth-child(2) i{

background:#25D366;

}

.social-card a:nth-child(3) i{

background:#2563eb;

}

.social-card a:nth-child(4) i{

background:#0A66C2;

}

.social-card span{

font-size:17px;

font-weight:600;

}


/* ==========================
ABOUT
========================== */

.about{

margin-top:40px;

padding:28px;

border-radius:28px;

background:rgba(255,255,255,.60);

backdrop-filter:blur(18px);

-webkit-backdrop-filter:blur(18px);

box-shadow:

0 15px 40px rgba(0,0,0,.08);

animation:fadeUp 1.2s ease;

}

.about h2{

font-size:28px;

margin-bottom:16px;

font-weight:700;

}

.about h2 i{
    color:#2563eb;
    margin-right:8px;
}

.about p{

line-height:1.9;

font-size:15px;

color:#555;

}


/* ==========================
CARD GLOW
========================== */

.social-card a::before{

content:"";

position:absolute;

inset:0;

border-radius:22px;

background:

linear-gradient(

135deg,

rgba(255,255,255,.15),

transparent,

rgba(255,255,255,.10)

);

opacity:0;

transition:.35s;

}

.social-card a:hover::before{

opacity:1;

}


/* ==========================
FADE ANIMATION
========================== */

@keyframes fadeUp{

from{

opacity:0;

transform:

translateY(45px);

}

to{

opacity:1;

transform:

translateY(0);

}

}


/* ==========================
CUSTOM SCROLLBAR
========================== */

::-webkit-scrollbar{

width:8px;

}

::-webkit-scrollbar-track{

background:#eef2f7;

}

::-webkit-scrollbar-thumb{

background:#8bb7ff;

border-radius:20px;

}


/* ==========================
RESPONSIVE
========================== */

@media(max-width:480px){

.container{

padding:18px;

}

.hero h1{

font-size:36px;

}

/*.photo-area{

width:260px;

height:260px;

}*/

.logo{

width:50px;

}

.social-card span{

font-size:15px;

}

.about{

padding:22px;

}

.about h2{

font-size:24px;

}

}


/* ==========================
SMOOTH BUTTON PRESS
========================== */

.back-btn:active,
.social-card a:active{

transform:scale(.96);

transition:.15s;

}


/* ==========================
SMOOTH IMAGE SHADOW
========================== */

/*.profile{

transition:.45s;

    width:100%;
    height:100%;
    border-radius:50%;
    object-fit:cover;

    position:relative;
    z-index:100;

    border:6px solid white;

    display:block;

}*/

.profile:hover{

transform:scale(1.04);

box-shadow:

0 35px 80px rgba(59,130,246,.28);

}


/* ==========================
GLASS SHINE
========================== */

.social-card a{

position:relative;

overflow:hidden;

}

.social-card a::after{

content:"";

position:absolute;

top:-120%;

left:-40%;

width:60%;

height:320%;

background:

rgba(255,255,255,.28);

transform:rotate(25deg);

transition:.7s;

}

.social-card a:hover::after{

left:140%;

}


/* ==========================
END
========================== */

.ripple{
    position:absolute;
    border-radius:50%;
    transform:scale(0);
    background:rgba(255,255,255,.5);
    animation:ripple .6s linear;
    pointer-events:none;
}

@keyframes ripple{
    to{
        transform:scale(4);
        opacity:0;
    }
}

.show{
    animation:fadeUp .8s ease forwards;
}

.arrow{
    margin-left:auto;
    color:#9ca3af;
    font-size:14px;
    transition:.3s ease;
}

.social-card a:hover .arrow{
    transform:translateX(5px);
    color:#2563eb;
}


.skills{

margin-top:35px;

padding:28px;

border-radius:28px;

background:rgba(255,255,255,.65);

backdrop-filter:blur(20px);

}

.skill-list{

display:flex;

flex-wrap:wrap;

gap:12px;

margin-top:18px;

}

.skill-list span{

padding:10px 18px;

border-radius:50px;

background:white;

font-weight:600;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}


/* ==========================
   LOADER
========================== */

#loader{

position:fixed;

inset:0;

background:#f7f9fc;

display:flex;

justify-content:center;

align-items:center;

z-index:99999;

transition:.8s;

}

.loader-content{

text-align:center;

}

.loader-ring{

width:90px;
height:90px;

border-radius:50%;

border:5px solid #dbeafe;

border-top:5px solid #2563eb;

animation:spinLoader 1s linear infinite;

margin:auto;
margin-bottom:25px;

}

.loader-content h1{

font-size:28px;

font-weight:800;

letter-spacing:3px;

margin-bottom:8px;

}

.loader-content p{

color:#666;

font-size:14px;

}

@keyframes spinLoader{

100%{

transform:rotate(360deg);

}

}

.hide-loader{

opacity:0;

visibility:hidden;

pointer-events:none;

}

/* PHOTO GLOW */

/*.photo-glow{

    position:absolute;

    inset:-25px;

    border-radius:50%;

    background:
    radial-gradient(
    circle,
    rgba(59,130,246,.28),
    transparent 70%
    );

    filter:blur(25px);

    animation:pulseGlow 3s ease-in-out infinite;

}*/

@keyframes pulseGlow{

0%,100%{

transform:scale(1);
opacity:.7;

}

50%{

transform:scale(1.12);
opacity:1;

}

}
/*.photo-glow{
    z-index:1;
}*/

body{

background:
radial-gradient(circle at top left,#dbeafe 0%,transparent 40%),

radial-gradient(circle at bottom,#c7f0ff 0%,transparent 35%),

radial-gradient(circle at top right,#ddd6fe 0%,transparent 40%),

#f8fbff;

}
