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

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



body {
    background-color: #1f242d;

}
a{
    color: #fff;
    text-decoration: none;
}
.navbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 25px 9%;
    background-color: slateblue;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.navbar .logo {
    font-size: 30px;
    font-weight: 700;
}

.navbar ul{
    display: flex;
}
.navbar ul li {
    list-style: none;
    margin-left: 35px;

}
.navbar ul li a {
    font-size: 20px;
    font-weight: 500;
    transition: .5s;
}
.navbar ul li:hover a
.navbar ul li.active a{
    color: #7cf03d
}

.home {
    display: flex;
    align-items: center;
    height: 100vh;
    padding: 60px 9% 0;
    color: rgb(255, 255, 255);
}

.home-info{
    flex: 1;
}
.home-info h1 {
    font-size: 55px;
    margin-top: -10px;
}
.home-info p{
    font-size: 16px;
    margin: 10px 0 25px;
}
.home-info .btn-sci {
    display: flex;
    align-items: center;
}

.home-img {
    display: flex;
    justify-content: center;
    align-items: center; /* Vertically center the image */
    margin-left: 20px; /* Add space between image and text */
}



.home-img .img-img img {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff; /* optional, white border */
    box-shadow: 0 0 10px rgba(0,0,0,0.2); /* optional, shadow */
}



.btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: #7cf03d;
    border: 2px solid #7cf03d ;
    border-radius: 40px;
    box-shadow: 0 0 10 px #7cf03d;

    font-size:16px;
    color: #1f242d;
    font-weight: 600;
    transition: .5s;

}
.btn:hover {
    background-color: transparent;
    color: #7cf03d;
    box-shadow: none;
}

.hidden {
    display: none;
}






.about-section {
    padding: 100px 9%;
    color: #fff;
    background-color: #1f242d;
}


.about-section h2 {
    text-align: left;
    font-size: 30px;
    margin-bottom: 30px;
}

.about-content {
    display: grip;
    gap: 40px;
    align-items: left;
    justify-content: space-between;
}

.about-text {
    background: #2c313c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: auto;
    line-height: 1.8;
    font-size: 20px;
    color: #f6f1f1;
}







.certificates-section {
    padding: 100px 9%;
    color: #fff;
    background-color: #1f242d;
}

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

.certificate-card {
    background-color: #323946;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.certificate-card:hover {
    transform: scale(1.03);
}

.certificate-card h3 {
    color: #7cf03d;
    margin-bottom: 10px;
}

.certificate-card p {
    font-size: 15px;
}








.project-section {
    padding: 50px 10%; 
    color: white;
    border-radius: 12px;
    margin-top: 100px; 
}

.project-list {
    display:contents;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    gap: 25px;
    
}

.project-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;;
}

.project-card:hover {
    transform: translateY(10px);

}
.project-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #7cf03d;
}
.project-card p {
    margin: 8px 0;         
    padding: 0;
    text-indent: 0;        
  }
.project-card .project-tech {
    display: block;
    width: 100%;
    text-align: left;
    margin-top: 12px;
    font-weight: 600;      
           
  }

  .project-card:nth-child(2) {
    margin-top: 40px;  
}









.skills-section {
    
    padding: 50px 9%;
    color: white;
    border-radius: 12px;
    margin-top: 100px;
    
}

.skills-list {
    display:flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 20px;
}
.skills-list ul {
    list-style: none;
    padding-left: 0;
  }
  
  .skills-list li {
    margin-bottom: 6px;
  }
  

.skill-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #7cf03d;
}



.achievements-section {

    
    padding: 50px 9%;
    color: white;
    border-radius: 12px;
    margin-top: 100px;
}

.achievements-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ffffff;
}

.achievement-list {
    display:flex;
    justify-content:center;
    flex-wrap: wrap;
    gap: 30px;
}

.achievement-card {
    background-color:rgba(255, 255, 255, 0.1); ;
    border-radius: 15px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
}

.achievement-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color:#7cf03d;
}

.achievement-card p {
    font-size: 1rem;
    color: #ffffff;
}


.video-cv-section {
    font-size: 20px;
    background: #2c313c;          /* Dark background */
    padding: 50px 9%;
    color: white;
    border-radius: 12px;
    margin-top: 100px;
    text-align: center;
}

.video-cv-section h2 {
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: bold;
}

/* Container for video */
.video-container {
    position: relative;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Video element styles */
.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Paragraph under video */
.video-cv-section p {
    margin-top: 15px;        /* Adjust spacing under video */
    font-size: 1.1rem;
    line-height: 1.6;
    color: #dddddd;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
