*{
    margin: 0;
}

body{
    font-family: serif;
    color: #1f2937;
    background-color: #f9fafb;
    line-height: 1.5;
}

/* Container*/
.container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation*/
nav{
    position: fixed;
    width: 100%;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    z-index: 50;
}

.nav-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo{
    font-size:23px;
    font-weight: 700;
    color: #4f46e5;
    text-decoration: none;
}

.nav-links{
    display: normal;
}

.nav-links a{
    text-decoration: none;
    margin: 10px;
}

.navlink{
   color: #374151;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;    
}

.navlink:hover{
    color: #4f46e5;
}

.nav-link::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #4f46e5;
    transition: color 0.3s ease;  
}

.nav-link:hover::after{
    width: 100%;
}

.mobile-menu-button{
    display: block;
    color: #374151;
    background:none;
    border: none;
    cursor: pointer;
    display: none;
}

.mobile-menu{
    display: none;
    background-color: white;
    padding: 8px 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-menu a:hover{
    color: #4f46e5;
}

/* Hero Section*/
.hero{
    background: linear-gradient(135deg, #6e7dc4 0%, #764ba2 100%);
    color: white;
    padding-top: 128px;
    padding-bottom: 80px;
}

.hero-content{
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: justify;
    justify-content: space-between;
}

.hero-text{
    margin-bottom: 40px;
    text-align: justify;
}

.hero-title{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-subtitle{
    font-size: 24px;
    margin-bottom: 24px;
    color: #c7d2fe;
}

.hero-description{
    font-size: 18px;
    margin-bottom: 32px;
    color: #e0e7ff;
}

.hero-buttons{
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary{
    background-color: white;
    color: #4f46e5;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    margin-left: -320px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover{
    background-color: #e0e7ff;
}

.btn-secondary{
    border: 2px solid white;
    color: white;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover{
    background-color: white;
    color: #4f46e5;
}

.hero-image{
    position: relative;
    width: 356px;
    height: 356px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*  About Section*/

.section{
    padding: 80px 0;
    background-color: white;
}

.section-title{
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    color: #1f2937;
}

.about-content{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.about-image{
    width: 256px;
    height: 256px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
   margin-right: 40px; 
}

.about-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text{
    max-width: 800px;
    margin-top: 30px;
}

.about-subtitle{
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1f2937;
}

.about-description{
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.625;
}

.about-stats{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.stat-item{
    display: flex;
    align-items: center;
}

.stat-icon{
    background-color: #e0e7ff;
    padding: 8px;
    border-radius: 50%;
    margin-right: 12px;
}

.stat-icon i{
    color: #4f46e5;
}

.stat-label{
    font-weight: 600;
}

.stat-value{
    color: #6b7280;
    font-size: 14px;
}

/* Skills Section */
.skills-section{
    background-color: #f9fafb;
    padding: 80px 0;
}

.skills-container{
    display: flex;
    gap: 48px;
}

.skills-column{
    max-width: 600px;
    margin: 0 auto;
}

.skills-title{
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1f2937;
}

.skill-item{
    margin-bottom: 24px;
}

.skill-header{
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name{
    font-weight: 500;
}

.skill-percent{
    color: #6b7280;
}

.skill-bar{
    height: 10px;
    background-color: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress{
    height: 100%;
    background-color: linear-gradient(90deg, #4f46e5, #7c3aed);
    border-radius: 5px;
    background-color: #4f46e5;
}

.tools-title{
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin: 64px 0 32px;
    color: #1f2937;
}

.tools-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.tool-item{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tool-icon{
    background-color: white;
    padding: 16px;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
}

.tool-icon i{
    font-size: 24px;
}

.tool-name{
    color: #6b7280;
}

/* Projects Section */
.projects-container{
    display: flex;
    gap: 32px;
    max-width: 98%;
}

.project-card{
    width: 400px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.project-image{
    height: 192px;
    overflow: hidden;
}

.project-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content{
    padding: 24px;
}

.project-title{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.project-description{
    color: #6b7280;
    margin-bottom: 16px;
}

.project-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.project-tag{
    background-color: #e0e7ff;
    color: #4f46e5;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 9999px;
}

.project-links{
    display: flex;
    justify-content: space-between;
}

.project-link{
    color: #4f46e5;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3 ease;
}

.project-link:hover{
    color: #3730a3;
}

.project-github{
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3 ease;
}

.project-github:hover{
    color: #4f46e5;
}

.view-all{
    text-align: center;
    margin-top: 48px;
}

.view-all-btn{
    display: inline-block;
    background-color: #4f46e5;
    color: white;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3 ease;
}

.view-all-btn:hover{
    background-color: #4338ca;
}

/* Certificate Section */
.certificates-container{
    display: flex;
    gap: 32px;
}

.certificate-card{
    width: 500px;
    background-color: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.certificate-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.certificate-header{
    align-items: center;
    margin-bottom: 16px;
}

.certificate-avatar{
    width: 480px;
    height: 400px;
    margin-top: -20px;
    margin-right: 16px;
}

.certificate-avatar img{
    width: 100%;
    height: 100%;
}

.testimonial-author{
    font-weight: 600;
}

.testimonial-position{
    color: #6b7280;
    font-size: 14px;
}

.testimonial-text{
    color: #6b7280;
    font-style: italic;
    margin-bottom: 16px;
}

/* Contact Section */
.contact-content{
    display: flex;
    flex-direction: row;
}

.contact-info{
    margin-bottom: 40px;
}

.contact-subtitle{
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1f2937;
}

.contact-details{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item{
    display: flex;
    align-items: center;
}

.contact-icon{
    background-color: #e0e7ff;
    padding: 12px;
    border-radius: 50%;
    margin-right: 16px;
}

.contact-icon i{
    color: #4f46e5;
}

.contact-label{
    font-weight: 500;
}

.contact-value{
    color: #6b7280;
}

.social-title{
    font-size: 20px;
    font-weight: 600;
    margin: 40px 0 16px;
    color: #1f2937;
}

.social-links{
    display: flex;
    gap: 16px;
}

.social-link{
    background-color: #f3f4f6;
    padding: 12px;
    border-radius: 50%;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover{
    background-color: #e0e7ff;
    color: #4f46e5;
}

.contact-form{
    width: 600px;
    margin-left: 80px;
    background-color: #f9fafb;
    padding: 32px;
    padding-right: 52px;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.form-group{
    margin-bottom: 24px;
}

.form-label{
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1f2937;
}

.form-input{
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
}

.form-input:focus{
    border-color: #4f46e5;
    outline: none;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.form-textarea{
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    min-height: 120px;
    resize: vertical;
    transition: all 0.3 ease;
}

.form-textarea:focus{
    border-color: #4f46e5;
    outline: none;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.submit-btn{
    width: 100%;
    background-color: #4f46e5;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover{
    background-color: #4338ca;
}

/* Footer*/
footer{
    background-color: #111827;
    color: white;
    padding: 48px 0;
}

.footer-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer-brand{
    margin-bottom: 32px;
    text-align: center;
}

.footer-logo{
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-tagline{
    color: #9ca3af;
}

.footer-social{
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-social-link{
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social-link:hover{
    color: white;
}

.footer-bottom{
    border-top: 1px solid #1f2937;
    padding-top: 32px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright{
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.footer-links{
    display: flex;
    gap: 24px;
    text-decoration: none;
}

.footer-link{
    color: white;
    text-decoration: none;
}

/* Back to Top Button */
.back-to-top{
    position: fixed;
    bottom: 32px;
    right: 32px;
    background-color: #4f46e5;
    color: white;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.back-to-top.visible{
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover{
    background-color: #4338ca;
}

/* Animation */
.animate-fade-in{
    opacity: 0; 
    animation: fadein 0.5s ease forwards;
}

.animate-fade-in.delay-100{
    animation-delay: 0.1s;
}

.animate-fade-in.delay-200{
    animation-delay: 0.2s;
}

.animate-fade-in.delay-300{
    animation-delay: 0.3s;
}

@keyframes fadein {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0)}
}

/* Responsive Styles */
@media (max-width: 768px){
    nav-links{
        display:flex;
        gap: 32px;
    }

    .mobile-menu-button{
        display: none;
    }

    .hero-content{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hero-text{
        text-align: left;
        margin-bottom: 0;
        width: 50%;
    }

    .hero-buttons{
        justify-content: flex-start;
    }

    .hero-image{
        width: 320px;
        height: 320px;
    }

    .about-content{
        flex-direction: row;
        align-items: flex-start;
    }

    .about-image{
        margin-bottom: 0;
        width: 33.333%;
    }

    .about-text{
        width: 66.666%;
        padding-left: 48px;
    }

    .skills-container{
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-container{
        grid-template-columns: repeat(2, 1fr);
    }

    .certificates-container{
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content{
        flex-direction: row;
    }

    .contact-info{
        width: 50%;
        margin-bottom: 0;
        padding-right: 48px;
    }

    .contact-form{
        width: 50%;
    }

    /* Footer*/
    .footer-container{
        flex-direction: row;
        align-items: flex-start;
    }

    .footer-brand{
        text-align: left;
        margin-bottom: 0;
    }

    .footer-bottom{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .footer-copyright {
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
.projects-container {
    grid-template-columns: repeat(3, 1fr);
}

.testimonials-container {
    grid-template-columns: repeat(3, 1fr);
}
}
/* Custom CSS for animations and effects */
.hero-bg {
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
   
.project-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.nav-link{
    position: relative;
}

.navlink::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #667eea;
    transition: width 0.3s ease;
}

.navlink:hover::after{
    width: 100%;
}

@keyframes fadein{
    from{ opacity:0; transform: translateY(20px);}
    to { opacity:1; transform: translateY(0);}
}

.animate-fade-in{
    animation: fadeIn 1s ease forwards;
}

.delay-100{
    animation-delay: 0.1s;
}

.delay-200{
    animation-delay: 0.2s;
}

.delay-300{
    animation-delay: 0.3s;
}

.skill-bar{
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress{
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    background-color: #4f46e5; /* Example color */
    width: 0; /* Start from zero */
    transition: width 1s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero-image {
  animation: slideIn 2s ease-out forwards;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: bounceIn 3s ease-out forwards;
}

.navigation {
  position: fixed;
  width: 100%;
  top: 0;
  background-color: #fff;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.nav-container {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInDown 0.6s ease-out forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Menu Animation */
.mobile-menu {
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.mobile-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}