/* =========================
GLOBAL RESET
========================= */

*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html{
scroll-behavior:smooth;
}

body{
line-height:1.6;
font-weight:400;
color:#111;
font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,
'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Helvetica Neue',Arial,sans-serif;
}

/* =========================
SIDEBAR
========================= */

.sidebar{
width:260px;
background:linear-gradient(180deg,#0d1b2a,#081521);
min-height:100vh;
padding:20px;
position:fixed;
top:0;
left:0;
overflow-y:auto;
}

.sidebar::-webkit-scrollbar{
width:6px;
}

.sidebar::-webkit-scrollbar-thumb{
background:#4a7dfc;
border-radius:10px;
}

/* Profile */

.profile img{
width:100px;
height:100px;
border-radius:50%;
border:3px solid #fff;
object-fit:cover;
}

.profile h3{
margin-top:10px;
font-size:22px;
font-weight:600;
color:#fff;
}

/* Sidebar Links */

.sidebar .nav-link{
color:#fff;
font-size:18px;
margin:10px 0;
display:flex;
align-items:center;
gap:10px;
transition:.3s;
}

.sidebar .nav-link:hover{
color:#4a7dfc;
transform:translateX(5px);
}

/* Social icons */

.social-icons a{
width:40px;
height:40px;
display:inline-flex;
align-items:center;
justify-content:center;
background:#1f2937;
border-radius:50%;
color:#fff;
margin-right:10px;
transition:.3s;
}

.social-icons a:hover

/* =========================
MOBILE NAVBAR
========================= */

.navbar{
background:#0d1b2a !important;
}

/* =========================
MAIN CONTENT
========================= */

.main-content{
flex:1;
margin-left:260px;
height:100vh;
overflow-y:auto;
background:#fff;
}

@media (max-width:991px){
.main-content{
margin-left:0;
}
}

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

.background{
width:100%;
display:flex;
flex-wrap:wrap;
align-items:center;
justify-content:center;
padding:40px 20px;
}

.background .text-box{
max-width:540px;
min-height:560px;
}

.background .image-box{
width:540px;
height:560px;
}

.background .image-box img{
width:100%;
height:100%;
object-fit:contain;
}

/* Floating animation */

.image-box img{
animation:float3D 6s ease-in-out infinite;
}

@keyframes float3D{
0%{transform:translateY(0)}
50%{transform:translateY(-18px)}
100%{transform:translateY(0)}
}

/* Hero text */

.background .text-box h3{
font-size:60px;
margin-left:25px;
}

.background .text-box p{
font-size:15px;
color:#646464;
margin-top:30px;
padding-left:20px;
}

/* CV Button */

.cv-box{
display:flex;
align-items:center;
margin:60px 0;
padding-left:20px;
}

.name_icon{
height:60px;
width:60px;
border-radius:50%;
background:#3498db;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
}

.cv{
height:60px;
margin-left:25px;
padding:0 30px;
font-weight:600;
font-size:22px;
border:1px solid #3498db;
color:#3498db;
display:flex;
align-items:center;
border-radius:60px;
}

/* =========================
ABOUT
========================= */

.about-section{
padding:60px 40px;
}

.section-header h2{
font-size:32px;
font-weight:700;
margin-bottom:10px;
position:relative;
}

.section-header h2::after{
content:"";
position:absolute;
bottom:-6px;
left:0;
width:60px;
height:3px;
background:#3498db;
}

.section-header p{
margin-top:20px;
color:#555;
}

.about-content{
display:flex;
flex-wrap:wrap;
gap:30px;
}

.about-image img{
width:300px;
height:350px;
border-radius:10px;
object-fit:cover;
box-shadow:0 3px 8px rgba(0,0,0,.24);
}

.about-info{
flex:1;
}

.about-details{
display:flex;
gap:30px;
flex-wrap:wrap;
margin:20px 0;
}

.about-details li{
list-style:none;
margin-bottom:10px;
}

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

.skills-section{
padding:60px 20px;
background:#111;
color:#fff;
text-align:center;
}

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

.skill-card{
background:#1a1a1a;
border:1px solid #00ffff;
border-radius:8px;
padding:30px;
height:120px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
transition:.3s;
}

.skill-card i{
font-size:32px;
color:#00ffff;
margin-bottom:10px;
}

.skill-card:hover{
background:#00ffff;
color:#111;
transform:translateY(-5px);
}

.skill-card:hover i{
color:#111;
}

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

.projects-section{
padding:60px 20px;
background:#f8fafc;
}

.projects-grid{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

@media(max-width:900px){
.projects-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:600px){
.projects-grid{
grid-template-columns:1fr;
}
}

.project-card{
background:#fff;
border-radius:14px;
overflow:hidden;
box-shadow:0 12px 30px rgba(0,0,0,.08);
transition:.4s;
display:flex;
flex-direction:column;
}

.project-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.project-img{
height:200px;
overflow:hidden;
}

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

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

.project-content{
padding:20px;
flex:1;
display:flex;
flex-direction:column;
}

.project-tech{
display:flex;
gap:8px;
flex-wrap:wrap;
margin-bottom:15px;
}

.project-tech span{
font-size:12px;
padding:5px 10px;
background:#eef3ff;
color:#4a7dfc;
border-radius:20px;
}

.project-links{
margin-top:auto;
color:#4a7dfc;
font-weight:600;
}

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

.services-section{
padding:60px 20px;
text-align:center;
}

.services-container{
display:flex;
flex-wrap:wrap;
gap:40px;
justify-content:center;
}

.service-box{
width:200px;
height:200px;
border-radius:50%;
border:4px solid #4a7dfc;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
transition:.3s;
}

.service-box:hover{
background:#0d1b2a;
color:#fff;
transform:translateY(-5px);
}

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

.contact-card{
max-width:1100px;
margin:auto;
display:grid;
grid-template-columns:1fr 1.2fr;
gap:40px;
padding:40px;
border-radius:18px;
box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.contact-item{
display:flex;
align-items:center;
gap:18px;
}

.contact-item i{
width:55px;
height:55px;
background:#eef3ff;
color:#4a7dfc;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
}

.form-row{
display:flex;
gap:15px;
margin-bottom:15px;
}

.contact-form-box input,
.contact-form-box textarea{
width:100%;
padding:14px;
border-radius:10px;
border:1px solid #ccc;
}

.contact-form-box button{
background:#4a7dfc;
color:#fff;
padding:14px 26px;
border:none;
border-radius:10px;
cursor:pointer;
}

.contact-form-box button:hover

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

.footer{
background:#0d1b2a;
color:#ddd;
padding:50px 20px 0;
margin-top:40px;
}

.footer-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
max-width:1200px;
margin:auto;
}

.footer-bottom{
text-align:center;
padding:15px 0;
margin-top:30px;
border-top:1px solid #233044;
}

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

@media(max-width:768px){

.background .text-box h3{
font-size:12vw;
}

.background .image-box{
width:100%;
height:450px;
}

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

.form-row{
flex-direction:column;
}

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

.footer{
background:#0d1b2a;
color:#ddd;
padding:50px 20px 0;
margin-top:40px;
}

.footer-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
max-width:1200px;
margin:auto;
}

.footer-col h3,
.footer-col h4{
color:#fff;
margin-bottom:15px;
font-size:20px;
}

.footer-col p{
color:#ccc;
line-height:1.6;
}

.footer-col ul{
list-style:none;
padding:0;
}

.footer-col ul li{
margin:8px 0;
color:#ccc;
}

.footer-col ul li i{
margin-right:8px;
color:#00b4d8;
}

.footer-col ul li a{
color:#ccc;
text-decoration:none;
transition:.3s;
}

.footer-col ul li a:hover{
color:#00b4d8;
}

/* Social icons */

.footer-social a{
display:inline-block;
margin-right:10px;
color:#ccc;
font-size:18px;
transition:.3s;
}

.footer-social a:hover{
color:#00b4d8;
}

/* Newsletter */

.newsletter-form{
display:flex;
margin-top:10px;
}

.newsletter-form input{
padding:10px;
border:none;
width:100%;
border-radius:5px 0 0 5px;
}

.newsletter-form button{
padding:10px 15px;
border:none;
background:#00b4d8;
color:#fff;
cursor:pointer;
border-radius:0 5px 5px 0;
}

.newsletter-form button:hover{
background:#0096c7;
}

/* Footer bottom */

.footer-bottom{
text-align:center;
padding:15px 0;
margin-top:30px;
border-top:1px solid #233044;
color:#ccc;
font-size:14px;
}
.offcanvas-header{
border-bottom:1px solid rgba(255,255,255,0.1);
}

.offcanvas-header button{
background:none;
border:none;
}