@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #030027;
    color: #ffffff;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 5% 50px;
    min-height: 100vh;
}

.about-heading {
    position: relative;
    display: inline-block;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.2;
}

.about-heading::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #030027;   
    animation: Animation 1s ease forwards;
    animation-delay: .6s; 
}

.about-heading span {
    color: #69a0b8;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
}

.about-image {
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    border-radius: 10px;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #030027;   
    animation: Animation 1s ease forwards;
    animation-delay: .8s; 
    z-index: 2;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #69a0b8;
}

.about-content {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #030027;   
    animation: Animation 1s ease forwards;
    animation-delay: 1s; 
}

.about-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Skills Section */
.skills {
    padding: 50px 5%;
    position: relative;
}

.skills-heading {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    color: #69a0b8;
    margin-bottom: 30px;
}

.skills-heading::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #030027;   
    animation: Animation 1s ease forwards;
    animation-delay: 1.2s; 
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.skills-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #030027;   
    animation: Animation 1s ease forwards;
    animation-delay: 1.4s; 
    z-index: 1;
}

.skill-box {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #69a0b8;
    border-radius: 8px;
    padding: 20px;
    width: calc(25% - 20px);
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.5s;
    z-index: 2;
}

.skill-box:hover {
    transform: translateY(-10px);
    background: rgba(105, 160, 184, 0.1);
}

.skill-box i {
    font-size: 40px;
    color: #69a0b8;
    margin-bottom: 15px;
}

.skill-box h3 {
    font-size: 18px;
    font-weight: 600;
}

/* Experience Section */
.experience {
    padding: 50px 5%;
    position: relative;
}

.experience-heading {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    color: #69a0b8;
    margin-bottom: 30px;
}

.experience-heading::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #030027;   
    animation: Animation 1s ease forwards;
    animation-delay: 1.6s; 
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #69a0b8;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-box {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    width: calc(50% - 40px);
    margin-bottom: 30px;
    z-index: 1;
}

.timeline-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #030027;   
    animation: Animation 1s ease forwards;
    animation-delay: 1.8s; 
    z-index: 2;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.timeline-box::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #030027;
    border: 4px solid #69a0b8;
    border-radius: 50%;
    top: 20px;
    z-index: 1;
}

.left::after {
    right: -50px;
}

.right::after {
    left: -50px;
}

.timeline-content {
    position: relative;
    z-index: 1;
}

.timeline-date {
    display: inline-block;
    color: #69a0b8;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 16px;
}

/* Project Grid Container */

.projects {
    padding: 50px 5%;
    position: relative;
}

.projects-heading {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    color: #69a0b8;
    margin-bottom: 30px;
}

.projects-heading::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #030027;   
    animation: Animation 1s ease forwards;
    animation-delay: 1.6s; 
}
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Individual Project Card */
  .project-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  
  /* Project Image */
  .project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }
  
  /* Project Content */
  .project-content {
    padding: 20px;
  }
  
  .project-title {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    color: #333;
  }
  
  .project-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  
  /* Project Links/Buttons */
.project-links {
    position: relative;
    display: flex;
    justify-content: start;
    gap: 10px;
    z-index: 2;
  }
  
  .project-button {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 120px;
    border: 2px solid #69a0b8;
    background: #69a0b8;
    border-radius: 10px;
    font-size: 15px;
    color: #030027;
    text-decoration: none;
    font-weight: 600;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
  }
  
  .project-button:hover {
    
    color: #69a0b8;
  } 

  .project-button:nth-child(2) {
    background: transparent;
    color: #69a0b8;
}

.project-button:nth-child(2):hover {
    color: #030027;
}

.project-button:nth-child(2)::before {
    background: #69a0b8;
}

.project-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: .5s;
}

.project-button:hover::before {
    width: 100%;
}
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .projects-container {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
    }
  }
  
  @media (max-width: 480px) {
    .projects-container {
      grid-template-columns: 1fr;
    }
  }

/* Call to Action */
.cta {
    padding: 80px 5%;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #030027;   
    animation: Animation 1s ease forwards;
    animation-delay: 2s; 
    z-index: 1;
}

.cta-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-content p {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.btn-box {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 2;
}

.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 150px;
    border: 2px solid #69a0b8;
    background: #69a0b8;
    border-radius: 8px;
    font-size: 19px;
    color: #030027;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.btn-box a:hover {
    color: #69a0b8;
}

.btn-box a:nth-child(2) {
    background: transparent;
    color: #69a0b8;
}

.btn-box a:nth-child(2):hover {
    color: #030027;
}

.btn-box a:nth-child(2)::before {
    background: #69a0b8;
}

.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #030027;
    z-index: -1;
    transition: .5s;
}

.btn-box a:hover::before {
    width: 100%;
}


/* Responsive Design */
@media (max-width: 991px) {
    .about-container {
        flex-direction: column;
        align-items: center;
    }
    
    .about-image {
        max-width: 100%;
    }
    
    .skill-box {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .about-heading {
        font-size: 40px;
    }
    
    .skill-box {
        width: calc(50% - 20px);
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-box {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .left {
        left: 0;
    }
    
    .right {
        left: 0;
    }
    
    .left::after, .right::after {
        left: 15px;
    }
    
    .btn-box {
        flex-direction: column;
        align-items: center;
    }
    
    .footer {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 500px) {
    .header {
        padding: 15px 5%;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .navbar a {
        font-size: 15px;
        margin-left: 15px;
    }
    
    .about {
        padding: 100px 5% 30px;
    }
    
    .about-heading {
        font-size: 32px;
    }
    
    .skill-box {
        width: 100%;
    }
}

/* Logo Animation */
@keyframes Animation {
    100% {
        width: 0;
    }
}