/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #f4f4f4;
    color: #333;
}

h1, h2 {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section {
    padding: 60px 20px;
    max-width: 1700px;
    margin: auto;
}

/* Navbar styles */
nav {
    position: fixed;
    display: flex;
    justify-content: flex-end; /* Align items to the right */
    align-items: center;
    top: 0;
    width: 100%;
    background: #333;
    color: white;
    padding: 10px 30px;
    z-index: 900;
}

nav ul {
    display: flex;            /* Use flexbox for the list */
    align-items: center;     /* Center items vertically */
    list-style: none;        /* Remove bullet points */
    padding: 0;              /* Remove default padding */
    margin: 0;               /* Remove default margin */
    margin-inline-end: 50px;
}

nav ul li {
    margin: 0 15px;         /* Space between each nav item */
}

nav a {
    color: white;            /* Text color */
    font-size: 16px;        /* Font size */
    text-decoration: none;   /* Remove underline from links */
    transition: color 0.3s;  /* Smooth transition */
}
.project {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
  }
  
  .project-media {
    flex: 1;
    text-align: center;
  }
  
  .project-media img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .project-details {
    flex: 2;
    padding-left: 1.5rem;
  }
  
  .project-details h3 {
    margin-bottom: 0.5rem;
    color: #333;
  }
  
  .project-details p {
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  .project-details ul {
    list-style: none;
    padding: 0;
  }
  
  .project-details ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
  }
  
  .project-details ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
  }


#certifications {
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.certification {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.certification-media {
  flex: 1;
  text-align: center;
}

.certification-logo {
  max-width: 100%;
  height: auto;
  width: 350px; /* Set a default width */
  margin: 0 auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .certification-logo {
    width: 150px; /* Adjust size for smaller screens */
  }
}
.certification-details {
  flex: 3;
  padding-left: 20px;
}

.certification-details h3 {
  margin-bottom: 0.5rem;
  color: #333;
}

.certification-details p {
  margin-bottom: 0;
  line-height: 1.6;
  color: #666;
}





/* About Section Styles */
#about {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 60px 20px;
    background: #6de2da;
}

.about-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    flex-direction: row;
}

.about-photo {
  flex: 1;
  text-align: center;
  padding-right: 0;
  position: relative;
  bottom: 40%;
  animation: fadeInLeft 1s ease-out;
  justify-content: center;
  align-items: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.resume-btn {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #ff6f61;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
}

.resume-btn:hover {
    background-color: #e85a4f;
}

.about-info {
    flex: 2;
    max-width: 700px;
}

.about-info h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.about-info p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.about-info h3 {
    font-size: 1.4rem;
    color: #333;
    margin-top: 30px;
    margin-bottom: 10px;
}

.about-info ul {
    list-style: none;
    padding-left: 0;
}

.about-info ul li {
    font-size: 1.1rem;
    color: #666;
}

.about-info .highlight {
    color: #ff6f61;
}
.timeline {
    position: relative;
    padding-left: 40px;
    margin-top: 40px;
  }
  
  .timeline-line {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 2px;
    height: 100%;
    background: #ff6f61;
    z-index: 0;
  }
  
  .timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
  }
  
  .timeline-marker {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6f61;
    margin-left: -30px;
    z-index: 2;
  }
  
  .timeline-box {
    margin-left: 20px;
    background-color: #f9f9f9;
    border-left: 3px solid #ff6f61;
    border-radius: 8px;
    padding: 15px 20px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    max-width: 600px;
  }
  
  .timeline-box:hover {
    background-color: #ffeae6;
  }
  
  .timeline-box.active {
    background-color: #e0f7fa;
  }
  
  .timeline-year {
    font-size: 1.1rem;
    font-weight: bold;
  }
  
  .timeline-content {
    margin-top: 10px;
    display: none;
    font-size: 1rem;
  }
  
  .timeline-box.active .timeline-content {
    display: block;
  }
  
/* Animation */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Optional: Add hover effect on links */

.skills-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(#000011, #000022);
    padding: 100px 20px;
    color: #fff;
    text-align: center;
  }
  
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
  }
  
  .skills-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  
  .skills-group h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #00ffff;
  }
  
  .skills-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .skill-tag {
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    font-size: 1rem;
    color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
  }
  
  .skill-tag:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
  }
  
  .rocket-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
  }
  
  .rocket {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 200px;
    background: url('rocket.svg') no-repeat center/contain;
    animation: launchRocket 10s ease-in-out infinite;
  }
  
  .stars::before {
    content: '';
    position: absolute;
    width: 2000px;
    height: 2000px;
    background: radial-gradient(white 1px, transparent 1px);
    background-size: 30px 30px;
    animation: starScroll 60s linear infinite;
    opacity: 0.3;
  }
  
  @keyframes launchRocket {
    0% { bottom: -100px; opacity: 0; }
    50% { opacity: 1; }
    100% { bottom: 120%; opacity: 0; }
  }
  
  @keyframes starScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-1000px); }
  }
  
  @keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
  }
  
  .tech-group:nth-of-type(1) { animation-delay: 0.2s; }
  .tech-group:nth-of-type(2) { animation-delay: 0.4s; }
  .tech-group:nth-of-type(3) { animation-delay: 0.6s; }
  .tech-group:nth-of-type(4) { animation-delay: 0.8s; }
  .tech-group:nth-of-type(5) { animation-delay: 1s; }
  .soft-group { animation-delay: 1.2s; }
  
  @media screen and (max-width: 768px) {
    .skills-row {
      justify-content: center;
    }
    .rocket {
      width: 70px;
      height: 140px;
    }
  }
  

nav a:hover {
    color: #00bcd4;
}

.social-icons {
    display: flex;
}

.social-icons a {
    margin-left: 10px;
    font-size: 18px;
    color: white;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #00bcd4;
}

/* Hero Section */
#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(85vh); /* Adjust height by subtracting navbar height */
    text-align: center;
    background: linear-gradient(135deg, #00bcd4, #8e44ad);
    color: white;
}

.highlight {
    color: #ff6f61;
}

/* Footer styles */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

footer .social-icons {
    margin-top: 10px;
}

footer .social-icons a {
    margin-left: 10px;
    font-size: 20px;
    color: white;
    transition: color 0.3s;
}

footer .social-icons a:hover {
    color: #00bcd4;
}
/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #951515;
    color: white;
    border: none;
    padding: 10px;
    font-size: 18px;
    border-radius: 80%;
    cursor: pointer;
    display: 300px;
    transition: background-color 0.3s;
}

.scroll-to-top:hover {
    background-color: #00bcd4;
}

#contact {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 8px;
}

#contact h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#contact p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-details p {
  margin: 10px 0;
  font-size: 1.1rem;
}

.contact-details a {
  color: #ffdd57;
  text-decoration: none;
  font-weight: bold;
}

.contact-details a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #ffdd57;
}

.connect-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #ffdd57;
  color: #333;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.connect-btn:hover {
  background: #ffc107;
  transform: translateY(-3px);
}