/* ===== GLOBAL ===== */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{
background:#0b1120;
color:#fff;
overflow-x:hidden;
}

section{
position:relative;
}

a{
text-decoration:none;
}

/* ===== NAVBAR ===== */

.custom-nav{
background:rgba(11,17,32,.85);
backdrop-filter:blur(15px);
padding:15px 0;
transition:.3s;
}

.navbar-brand{
font-size:32px;
font-weight:800;
color:#38bdf8 !important;
}

.nav-link{
color:white !important;
font-weight:500;
margin-left:15px;
transition:.3s;
}

.nav-link:hover{
color:#38bdf8 !important;
}

/* ===== HERO ===== */

.hero-section{
background:
linear-gradient(135deg,#020617,#0f172a,#1e293b);
min-height:100vh;
display:flex;
align-items:center;
}

.hero-subtitle{
color:#38bdf8;
font-weight:600;
}

.hero-title{
font-size:70px;
font-weight:800;
line-height:1.1;
}

.typing-text{
font-size:28px;
margin:15px 0;
color:#60a5fa;
}

.hero-description{
color:#cbd5e1;
line-height:1.9;
font-size:18px;
margin-top:20px;
}

.hero-btn{
padding:12px 30px;
border-radius:50px;
font-weight:600;
}

.image-wrapper{
position:relative;
}

.hero-image{
width:100%;
max-width:450px;
border-radius:30px;
box-shadow:0 25px 60px rgba(0,0,0,.4);
animation:float 4s ease-in-out infinite;
}

@keyframes float{
0%{transform:translateY(0);}
50%{transform:translateY(-15px);}
100%{transform:translateY(0);}
}

/* ===== STATS ===== */

.stats{
display:flex;
gap:20px;
margin-top:40px;
flex-wrap:wrap;
}

.stat-box{
background:rgba(255,255,255,.05);
backdrop-filter:blur(12px);
padding:20px;
border-radius:20px;
min-width:120px;
text-align:center;
border:1px solid rgba(255,255,255,.08);
}

.stat-box h3{
color:#38bdf8;
font-weight:700;
}

/* ===== COMMON SECTION ===== */

.section-padding{
padding:110px 0;
}

.section-title{
text-align:center;
margin-bottom:70px;
}

.section-title h2{
font-size:50px;
font-weight:800;
margin-bottom:10px;
}

.section-title p{
color:#94a3b8;
font-size:17px;
}

/* ===== ABOUT ===== */

.about-image{
border-radius:25px;
overflow:hidden;
box-shadow:0 25px 50px rgba(0,0,0,.35);
transition:.4s;
}

.about-image:hover{
transform:scale(1.03);
}

/* ===== SKILLS ===== */

.skills-section{
background:#111827;
}

.skill-item{
margin-bottom:25px;
}

.skill-item span{
display:block;
margin-bottom:10px;
font-weight:600;
}

.progress{
height:14px;
background:#1f2937;
border-radius:50px;
overflow:hidden;
}

.progress-bar{
background:linear-gradient(90deg,#38bdf8,#2563eb);
}

/* ===== TIMELINE ===== */

.timeline{
max-width:900px;
margin:auto;
}

.timeline-item{
background:#111827;
padding:35px;
margin-bottom:30px;
border-radius:20px;
border-left:5px solid #38bdf8;
transition:.4s;
}

.timeline-item:hover{
transform:translateY(-8px);
}

.timeline-item h3{
color:white;
margin-bottom:10px;
}

.timeline-item span{
color:#38bdf8;
font-weight:600;
}

.timeline-item p{
color:#cbd5e1;
margin-top:15px;
}

/* ===== EXPERIENCE ===== */

.experience-section{
background:#0f172a;
}

.experience-card{
background:#111827;
padding:40px;
border-radius:25px;
box-shadow:0 15px 40px rgba(0,0,0,.2);
}

.experience-card h3{
color:white;
}

.experience-card span{
color:#38bdf8;
font-weight:600;
}

.experience-card p{
color:#cbd5e1;
margin-top:15px;
}

/* ===== SERVICES ===== */

.service-card{
background:#111827;
padding:35px;
border-radius:20px;
height:100%;
transition:.4s;
border:1px solid rgba(255,255,255,.05);
}

.service-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(56,189,248,.15);
}

.service-card h4{
margin-bottom:15px;
}

.service-card p{
color:#cbd5e1;
}

/* ===== PROJECTS ===== */

.projects-section{
background:#111827;
}

.project-card{
background:#1f2937;
overflow:hidden;
border-radius:25px;
transition:.4s;
height:100%;
}

.project-card:hover{
transform:translateY(-10px);
}

.project-card img{
width:100%;
height:250px;
object-fit:cover;
}

.project-content{
padding:25px;
}

.project-content p{
color:#cbd5e1;
}

/* ===== CONTACT ===== */

.contact-info{
background:#111827;
padding:35px;
border-radius:25px;
height:100%;
}

.contact-info h4{
margin-top:20px;
}

.contact-info p{
color:#cbd5e1;
}

.form-control{
background:#111827;
border:1px solid #334155;
color:white;
padding:15px;
border-radius:15px;
}

.form-control:focus{
background:#111827;
color:white;
box-shadow:none;
border-color:#38bdf8;
}

.contact-section{
padding:120px 0;
background:linear-gradient(135deg,#020617,#0f172a);
}

.contact-card{
background:rgba(255,255,255,.05);
backdrop-filter:blur(20px);
padding:40px;
border-radius:25px;
height:100%;
border:1px solid rgba(255,255,255,.08);
transition:.4s;
}

.contact-card:hover{
transform:translateY(-8px);
}

.contact-card h3{
font-size:32px;
font-weight:700;
color:#38bdf8;
margin-bottom:20px;
}

.contact-card p{
color:#cbd5e1;
line-height:1.8;
}

.info-box{
display:flex;
align-items:center;
gap:20px;
margin-top:25px;
}

.icon-circle{
width:60px;
height:60px;
border-radius:50%;
background:linear-gradient(135deg,#38bdf8,#2563eb);
display:flex;
align-items:center;
justify-content:center;
color:white;
font-size:20px;
}

.info-box h5{
margin:0;
color:white;
}

.info-box p{
margin:0;
color:#cbd5e1;
}

.contact-form-wrapper{
background:rgba(255,255,255,.05);
backdrop-filter:blur(20px);
padding:40px;
border-radius:25px;
border:1px solid rgba(255,255,255,.08);
}

.contact-form-wrapper .form-control{
background:#111827;
border:1px solid #334155;
color:white;
padding:15px;
border-radius:15px;
margin-bottom:20px;
}

.contact-form-wrapper .form-control:focus{
background:#111827;
color:white;
border-color:#38bdf8;
box-shadow:0 0 20px rgba(56,189,248,.3);
}

.send-btn{
width:100%;
padding:15px;
border:none;
border-radius:15px;
font-weight:600;
font-size:16px;
background:linear-gradient(90deg,#38bdf8,#2563eb);
color:white;
transition:.4s;
}

.send-btn:hover{
transform:translateY(-4px);
box-shadow:0 15px 30px rgba(56,189,248,.3);
}
/* ===== FOOTER ===== */

footer{
padding:50px 0;
background:#020617;
}

footer h4{
font-weight:700;
}

footer p{
color:#94a3b8;
}

/* ===== LOADER ===== */

#loader{
position:fixed;
width:100%;
height:100%;
background:#020617;
display:flex;
justify-content:center;
align-items:center;
z-index:9999;
}

.spinner{
width:60px;
height:60px;
border:5px solid #1e293b;
border-top:5px solid #38bdf8;
border-radius:50%;
animation:spin 1s linear infinite;
}

@keyframes spin{
100%{
transform:rotate(360deg);
}
}

/* ===== MOBILE ===== */

@media(max-width:768px){

.hero-title{
font-size:42px;
}

.typing-text{
font-size:20px;
}

.section-title h2{
font-size:34px;
}

.hero-image{
margin-top:40px;
}

.stats{
justify-content:center;
}

}
