/* GOOGLE FONT */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{

background:#071120;
color:white;
overflow-x:hidden;

}

/* NAVBAR */

header{

position:fixed;
width:100%;
top:0;
left:0;
padding:20px 8%;
z-index:1000;

background:rgba(8,20,40,.75);

backdrop-filter:blur(20px);

border-bottom:1px solid rgba(255,255,255,.08);

}

nav{

display:flex;
justify-content:space-between;
align-items:center;

}

.logo{

font-size:34px;
font-weight:700;

color:white;

}

.logo span{

color:#29b6ff;

}

nav ul{

display:flex;

gap:35px;

list-style:none;

}

nav ul li a{

color:white;

text-decoration:none;

font-weight:500;

transition:.3s;

}

nav ul li a:hover{

color:#29b6ff;

}

.resume-btn{

background:#29b6ff;

padding:12px 28px;

border-radius:40px;

color:white;

text-decoration:none;

font-weight:600;

transition:.4s;

}

.resume-btn:hover{

transform:translateY(-3px);

box-shadow:0 0 30px #29b6ff;

}

/* HERO */

.hero{

min-height:100vh;

display:flex;

justify-content:space-between;

align-items:center;

padding:140px 8%;

}

.left{

width:55%;

}

.left h4{

font-size:22px;

color:#29b6ff;

margin-bottom:15px;

}

.left h1{

font-size:72px;

line-height:1.1;

margin-bottom:20px;

}

.left h1 span{

color:#29b6ff;

}

.left h3{

font-size:32px;

margin-bottom:25px;

font-weight:600;

}

.left p{

font-size:18px;

line-height:32px;

color:#cfcfcf;

margin-bottom:35px;

max-width:700px;

}

/* BUTTON */

.buttons{

display:flex;

gap:20px;

margin-bottom:40px;

}

.btn1{

background:#29b6ff;

padding:16px 38px;

border-radius:50px;

color:white;

text-decoration:none;

font-weight:600;

transition:.4s;

}

.btn2{

border:2px solid #29b6ff;

padding:16px 38px;

border-radius:50px;

color:white;

text-decoration:none;

font-weight:600;

transition:.4s;

}

.btn1:hover{

transform:translateY(-6px);

box-shadow:0 0 40px #29b6ff;

}

.btn2:hover{

background:#29b6ff;

transform:translateY(-6px);

}

/* TECH STACK */

.tech{

display:flex;

gap:18px;

flex-wrap:wrap;

}

.tech div{

padding:12px 22px;

border-radius:40px;

background:rgba(255,255,255,.08);

border:1px solid rgba(255,255,255,.08);

backdrop-filter:blur(15px);

transition:.4s;

}

.tech div:hover{

background:#29b6ff;

transform:translateY(-8px);

}

/* PROFILE */

.right{

display:flex;

justify-content:center;

align-items:center;

width:40%;

}

.profile-card{

width:380px;

height:380px;

border-radius:50%;

background:linear-gradient(135deg,#29b6ff,#005bea);

display:flex;

justify-content:center;

align-items:center;

box-shadow:0 0 80px rgba(41,182,255,.5);

animation:float 4s ease-in-out infinite;

}

.profile-card img{

width:340px;

height:340px;

border-radius:50%;

object-fit:cover;

border:8px solid white;

}

/* FLOATING BG */

.bg-animation span{

position:fixed;

display:block;

border-radius:50%;

background:rgba(41,182,255,.08);

animation:move 25s linear infinite;

bottom:-150px;

}

.bg-animation span:nth-child(1){

left:10%;
width:120px;
height:120px;

}

.bg-animation span:nth-child(2){

left:80%;
width:170px;
height:170px;

animation-delay:4s;

}

.bg-animation span:nth-child(3){

left:45%;
width:80px;
height:80px;

animation-delay:7s;

}

.bg-animation span:nth-child(4){

left:65%;
width:220px;
height:220px;

animation-delay:2s;

}

.bg-animation span:nth-child(5){

left:30%;
width:140px;
height:140px;

animation-delay:9s;

}

/* ANIMATION */

@keyframes float{

0%{

transform:translateY(0px);

}

50%{

transform:translateY(-18px);

}

100%{

transform:translateY(0px);

}

}

@keyframes move{

0%{

transform:translateY(0) rotate(0);

opacity:1;

}

100%{

transform:translateY(-1200px) rotate(720deg);

opacity:0;

}

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

.about{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    padding:100px 8%;
    background:#08111f;
    flex-wrap:wrap;
}

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

.about-left img{
    width:350px;
    height:350px;
    object-fit:cover;
    border-radius:20px;
    border:5px solid #29b6ff;
    box-shadow:0 0 40px rgba(41,182,255,.5);
}

.about-right{
    flex:1;
}

.about-right h5{
    color:#29b6ff;
    font-size:18px;
    margin-bottom:10px;
}

.about-right h2{
    font-size:42px;
    margin-bottom:20px;
}

.about-right p{
    color:#cfcfcf;
    line-height:1.8;
    font-size:18px;
    margin-bottom:30px;
}

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

.box{
    background:#101c2f;
    padding:25px;
    border-radius:15px;
    text-align:center;
    transition:.3s;
}

.box:hover{
    transform:translateY(-8px);
    box-shadow:0 0 25px rgba(41,182,255,.3);
}

.box h1{
    color:#29b6ff;
    font-size:32px;
}

.box span{
    color:#ddd;
}
/* ================= PROJECTS ================= */

.projects{
    padding:120px 8%;
}

.projects h5{
    color:#29b6ff;
    font-size:20px;
    margin-bottom:10px;
}

.projects h2{
    font-size:48px;
    margin-bottom:60px;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.project-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:30px;
    transition:.4s;
    backdrop-filter:blur(12px);

    min-height: 360px;
    display: flex;
    flex-direction: column;
}

.project-card:hover{
    transform:translateY(-12px);
    box-shadow:0 0 35px rgba(41,182,255,.35);
    border-color:#29b6ff;
}

.project-card h3{
    color:#29b6ff;
    font-size:24px;
    margin-bottom:18px;
}

.project-card p{
    color:#d6d6d6;
    line-height:28px;
    margin-bottom:15px;
}

.project-card a{
    display:inline-block;
    margin-top:10px;
    text-decoration:none;
    color:white;
    background:#29b6ff;
    padding:12px 24px;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.project-card a:hover{
    box-shadow:0 0 25px #29b6ff;
    transform:translateY(-3px);
}

.profile-card .buttons{
     margin-top: auto;
}
/* ================= CERTIFICATES ================= */

.certificates{
    padding:120px 8%;
}

.certificates h5{
    color:#29b6ff;
    font-size:20px;
    margin-bottom:10px;
}

.certificates h2{
    font-size:48px;
    margin-bottom:60px;
}

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

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

.certificate-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 30px rgba(41,182,255,.35);
    border-color:#29b6ff;
}

.certificate-card h3{
    color:#29b6ff;
    margin-bottom:15px;
    font-size:22px;
}

.certificate-card p{
    color:#d6d6d6;
    margin-bottom:12px;
}

.certificate-card span{
    display:inline-block;
    margin-top:10px;
    background:#29b6ff;
    color:#fff;
    padding:8px 18px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
}
/* ================= CONTACT ================= */

.contact{
    padding:120px 8%;
    text-align:center;
}

.contact h5{
    color:#29b6ff;
    font-size:18px;
    margin-bottom:10px;
}

.contact h2{
    font-size:48px;
    margin-bottom:50px;
}

.contact-box{
    max-width:700px;
    margin:auto;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:40px;
    backdrop-filter:blur(15px);
    transition:.4s;
}

.contact-box:hover{
    transform:translateY(-8px);
    box-shadow:0 0 30px rgba(41,182,255,.35);
    border-color:#29b6ff;
}

.contact-box p{
    color:#29b6ff;
    font-size:20px;
    font-weight:600;
    margin-top:20px;
}

.contact-box a{
    display:block;
    color:#fff;
    text-decoration:none;
    margin-top:8px;
    margin-bottom:20px;
    font-size:18px;
    transition:.3s;
    word-break:break-word;
}

.contact-box a:hover{
    color:#29b6ff;
}
/*================ SKILLS ================*/

.skills{
    padding:120px 8%;
}

.skills h5{
    color:#29b6ff;
    font-size:20px;
    margin-bottom:10px;
}

.skills h2{
    font-size:48px;
    margin-bottom:60px;
    color:#fff;
}

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

.skill-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:30px;
    backdrop-filter:blur(10px);
    transition:.4s;
    
    min-height:220px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

.skill-card:hover{
    transform:translateY(-10px);
    border-color:#29b6ff;
    box-shadow:0 0 25px rgba(41,182,255,.35);
}

.skill-card h3{
    color:#29b6ff;
    margin-bottom:15px;
    font-size:24px;
}

.skill-card p{
    color:#d9d9d9;
    line-height:1.8;
}

.footer{
    margin-top:80px;
    padding:30px;
    text-align:center;
    color:#bfbfbf;
    border-top:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.02);
}
/* ============================= */
/* MOBILE RESPONSIVE (0 - 768px) */
/* ============================= */

@media screen and (max-width: 768px) {

    /* Navbar */
    .navbar {
      padding: 15px 20px;
    }
  
    .logo {
      font-size: 2rem;
    }
  
    .nav-links {
      display: none; /* Use hamburger menu later */
    }
  
    /* Hero Section */
    .hero {
      display: flex;
      flex-direction: column-reverse;
      align-items: center;
      text-align: center;
      padding: 40px 20px;
      gap: 30px;
    }
  
    .hero-content {
      width: 100%;
    }
  
    .hero-content h1 {
      font-size: 3rem;
      line-height: 1.1;
    }
  
    .hero-content h2 {
      font-size: 2rem;
    }
  
    .hero-content p {
      font-size: 1rem;
      line-height: 1.8;
    }
  
    /* Profile Image */
    .hero-image {
      width: 260px;
      height: 260px;
    }
  
    .hero-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  
    /* Buttons */
    .hero-buttons {
      display: flex;
      flex-direction: column;
      gap: 15px;
      width: 100%;
    }
  
    .hero-buttons a,
    .hero-buttons button {
      width: 100%;
    }
  
    /* About Section */
    .about {
      flex-direction: column;
      text-align: center;
      padding: 50px 20px;
    }
  
    /* Skills */
    .skills-grid {
      grid-template-columns: 1fr;
    }
  
    /* Projects */
    .projects-grid {
      grid-template-columns: 1fr;
    }
  
    /* Certificates */
    .certificate-grid {
      grid-template-columns: 1fr;
    }
  
    /* Contact */
    .contact-container {
      flex-direction: column;
    }
  
    /* Footer */
    footer {
      text-align: center;
    }
  }
  .menu-btn{
    display:none;
    font-size:30px;
    cursor:pointer;
    color:white;
}
     @media (max-width:768px){

        .menu-btn{
            display:block;
            font-size:30px;
            color:#fff;
            cursor:pointer;
        }
    
        #menu{
                display:none;
                position:fixed;
                top:70px;
                left:0;
                width:100%;
                height:calc(100vh - 70px);
                background:#08111f;
                z-index:999;
                list-style:none;
                margin:0;
                padding-top:40px;
                text-align:center;
            }
    
        #menu.active{
            display:block;
        }
    
        #menu li{
            margin:18px 0;
        }
    
        #menu li a{
            color:white;
            text-decoration:none;
            font-size:18px;
            font-weight:500;
        }
    
        .resume-btn{
            display:none;
        }
    }
    