
  /* Reset */
  * {
    margin: 0; padding: 0; box-sizing: border-box;
  }

  /*body of the HTML*/
  body {
    font-family: 'Patrick Hand', cursive, sans-serif;
    padding-top: 60px; 
    background-color: #edf6f9;
    color: #333;
  }

  /* Fixed header */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 60px;
    background: #006D77;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  header h1 {
    flex-grow: 1;
    font-size: 1.8rem;
    color: #edf6f9;
  }

  /* Navigation */
  nav {
    position: relative;
  }

  nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
  }

  nav ul li a {
    text-decoration: none;
    color: #edf6f9;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.2s;
  }

  nav ul li a:hover {
    color: #a8dadc;
  }

/*about section*/
.about-section .text {
    flex: 0 0 60%; 
    padding: 20px; 
    box-sizing: border-box;
}

.about-section .image-container {
    flex: 0 0 40%; 
    overflow: hidden;
    position: relative;
    padding: 30px;
    margin: 0;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    width: 100vw; 
    margin: 0;
    padding: 60px 50px; 
    color: #333;
    background-color: #f2f2f2;
    align-items: center; 
    justify-content: space-between; 
    font-size: 18px; 
    line-height: 1.6; 
}

.about-section .text h2 {
    font-size: 36px; 
    margin-bottom: 20px;
}

.about-section .text p {
    font-size: 18px; 
}

.about-section .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.about-section .image-container::before,
.about-section .image-container::after,
.about-section .image-container .corner-top-right,
.about-section .image-container .corner-bottom-left {
  content: '';
  position: absolute;
  border: 3px solid #6C9A8E; 
  z-index: 2;
}


.about-section .image-container::before {
  top: 0;
  left: 0;
  width: 30px;  
  height: 30px; 
  border-right: none;
  border-bottom: none;
}

.about-section .image-container::after {
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-left: none;
  border-top: none;
}

.about-section .image-container .corner-top-right {
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-left: none;
  border-bottom: none;
}

.about-section .image-container .corner-bottom-left {
  bottom: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-right: none;
  border-top: none;
}

.about-section.loaded .image-container img {
    transform: translateY(0);
    opacity: 1;
}

/*projectsection*/
.projects-section {
    width: 100vw;              
    margin: 0;
    padding: 60px 40px;         
    background-color: #B2E0D9;
    font-size: 18px;
    line-height: 1.6;
}

.projects-header {
    width: 100%;                
    text-align: center;        
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 60px;        
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;         
}

/* Individual project cards */
/* Project Cards */
.project-card {
    background: #f1faee;
    border-radius: 0; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex: 1 1 calc(30% - 20px); 
    max-width: 30%;
    text-align: center;
    cursor: pointer; 
}


.project-card:hover {
    transform: translateY(-8px) scale(1.03); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.2); 
    background: #8d99ae; 
}

.project-card img {
    width: 100%;                
   height: 350px;  
    object-fit: cover;
    border-radius: 5px;
}

.project-card h3 {
    margin: 12px 0;
    color: black;
}

/* Modal styles */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;  
    max-height: 50%;   
    width: 90%;
    overflow-y: auto;  
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.modal-content h2 {
    margin-top: 0;
    color: #4a4e69;
    font-weight: bold;      
    text-decoration: underline; 
}

.modal-content a {
    display: inline-block;
    margin-top: 15px;
    color: #4a4e69;
    text-decoration: none;
    font-weight: bold;
}

  /*aintroduction section*/
    .hero-section {
        background-color: #B2E0D9;
        padding: 100px 20px;      
        min-height: 600px;        
        width: 100vw;              
        color: #444;
        display: flex;             
        flex-direction: column;    
        justify-content: center;   
        align-items: center;       
        text-align: center;        
        animation: fadeSlideIn 1.2s ease-in-out both;
    }    

  .hero-content:hover {
    animation: fadeSlideIn 1.2s ease-in-out both;
  }
  .hero-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 1;
    animation: fadeUp 1s ease-out forwards;
    animation-delay: 0.3s;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #444;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
    color: #444;
    margin-bottom: 15px;
  }
  
  .animated-roles .divider {
    color: #999;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.6;
  }
  
  .hero-button {
    display: inline-block;
    background-color: #4a4e69;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .hero-button:hover {
    background-color: #f1faee; 
    color: black;
}

#current-work {
    text-align: center; 
    padding: 40px 0;   
    background-color: #e5e5e5;
  }
  
  #current-work h2 a {
    color: black;
    text-decoration: none;
    font-size: 28px;   
    display: inline-block;
  }

  #current-work h2 a:hover {
    color: #4a4e69;            
    text-decoration: underline; 
    transform: scale(1.05);    
  }

/* Contact section */
#contact {
    text-align: center;      
    padding: 60px 0;        
    background-color: #f5f5f5; 
  }
  
  .contact-icons {
    display: flex;
    justify-content: center;  
    align-items: center;      
    gap: 40px;               
    margin-top: 20px;
    flex-wrap: wrap;          
  }
  
  #contact h2 {
    font-size: 2.5rem;       
    margin-bottom: 20px;
    color: #333;            
  }

  .contact-icons a {
    color: #333;             
    font-size: 50px;         
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  /* Hover effect */
  .contact-icons a:hover {
    color: #6C9A8E;           
    transform: scale(1.2);    
  }
  
  /* interest section*/
  #interests-section {
    background-color: #e5e5e5;
    padding: 80px 20px;
    text-align: center;
    color: #333;
  }
  
  .section-header {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
  }
  
  .carousel-container {
    max-width: 1000px; 
    width: 90%;        
    margin: auto;
    position: relative;
    overflow: hidden;
}
  
  .card-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%; 
  }
  
  .interest-card {
    flex: 0 0 100%;      
    margin: 0;           
    padding: 40px 30px;
    border-radius: 8px;
    background-color: #f1faee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box; 
  }

  .interest-card p {
    font-size: 1.2rem; 
}
  
  .interest-card h3 {
    margin-bottom: 15px;
    font-size: 30px;
    color: #4a4e69;
  }
  
  .nav-buttons {
    margin-top: 30px;
  }
  
  .nav-buttons button {
    background-color: #4a4e69;
    color: #fff;
    border: none;
    padding: 10px 18px;
    margin: 0 8px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .nav-buttons button:hover {
    background-color: #f1faee; 
    color: black;
  }
  
  /* education section*/
.education-section {
    width: 100vw;
    padding: 80px 40px;
    background-color: #edf6f9;
    color: #333;
  }
  
  .education-header {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 60px;
    color: black;
  }
  
  .education-container {
    width: 100%;               
    max-width: 1200px;          
    margin: 0 auto;            
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between; 
    align-items: stretch;           
  }
  
  .education-card {
    flex: 1 1 300px;            
    background: #f1faee;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
  }
  
  .education-card h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #006D77;
  }
  
  .education-card:hover {
    transform: translateY(-10px) scale(1.03);
    background-color: #B2E0D9;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  /* work expereience section*/
.workexperience-section {
    width: 100vw;
    padding: 80px 40px;
    background-color: #B2E0D9;
    color: #333;
  }
  
  .workexperience-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 60px;
    color: black;
  }
  
  .workexperience-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  
  .timeline {
    flex: 1 1 250px;
    padding: 30px 20px;
    border-radius: 8px;
    color: #edf6f9;
    min-width: 250px;
  }
  
  .timeline ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .timeline li {
    padding: 15px 10px;
    margin-bottom: 15px;
    background-color: #4a4e69;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-align: center;
  }
  
  .timeline li:hover,
  .timeline li.active {
    background-color: #f1faee;
    color: #333;
    transform: scale(1.05);
  }
  
  /* expereience details */
  .experience-details {
    flex: 2 1 500px;
    background-color: #f1faee;
    border-radius: 8px;
    padding: 30px 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
  }
  
  .experience-details.active {
    display: block;
  }
  
  .experience-details h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #006D77;
  }
  
  .experience-details p {
    font-size: 1rem;
    line-height: 1.6;
  }
  

  @keyframes fadeSlideIn {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  

  /* For responsiveness */
@media (max-width: 1200px) {
    .about-section, .education {
      padding: 60px 30px;
    }
  
    .projects-section, .workexperience {
      padding: 60px 30px;
    }
  
    .education-card {
      flex: 1 1 45%; 
    }
  
    .project-card {
      flex: 1 1 45%;
      max-width: 45%;
    }
  
    .workexperience-container {
      flex-direction: column;
      gap: 30px;
    }
  
    .timeline {
      flex: 1 1 100%;
      display: flex;
      justify-content: space-around;
      margin-bottom: 20px;
    }
  
    .experience-details {
      flex: 1 1 100%;
    }
  }
  
  @media (max-width: 768px) {
    header h1 {
      font-size: 1.5rem;
    }
  
    nav ul {
      flex-direction: column;
      gap: 15px;
    }
  
    .about-section, .education {
      flex-direction: column;
      padding: 40px 20px;
      text-align: center;
    }
  
    .about-section .text, .about-section .image-container {
      flex: 1 1 100%;
      width: 100%;
      padding: 15px;
    }
  
    .hero-section, .interests-section {
      padding: 80px 15px;
    }
  
    .carousel-container {
      width: 100%;
    }
  
    .interest-card h3 {
      font-size: 24px;
    }
  
    .interest-card p {
      font-size: 1rem;
    }
  
    .nav-buttons button {
      padding: 8px 15px;
      font-size: 0.9rem;
    }
  
    .education-container {
      flex-direction: column;
      gap: 20px;
    }
  
    .education-card {
      flex: 1 1 100%;
    }
  
    .projects-container {
      flex-direction: column;
      gap: 20px;
    }
  
    .project-card {
      flex: 1 1 100%;
      max-width: 100%;
    }
  
    .timeline {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 10px;
    }
  
    .timeline li {
      flex: 1 1 45%;
      font-size: 0.9rem;
      padding: 10px;
    }
  
    .experience-details {
      flex: 1 1 100%;
    }
  
    #contact h2 {
      font-size: 2rem;
    }
  
    .contact-icons a {
      font-size: 40px;
    }
  }
  
  @media (max-width: 480px) {
    header h1 {
      font-size: 1.3rem;
    }
  
    nav ul {
      gap: 10px;
    }
  
    .hero-content h1 {
      font-size: 2rem;
    }
  
    .hero-content h2 {
      font-size: 1.2rem;
    }
  
    .hero-content p {
      font-size: 1rem;
    }
  
    .education-card h3, .project-card h3 {
      font-size: 1.2rem;
    }
  
    .interest-card h3 {
      font-size: 20px;
    }
  
    .interest-card p {
      font-size: 0.95rem;
    }
  
    .timeline li {
      flex: 1 1 100%;
      font-size: 0.85rem;
    }
  }
  
  
  /* Mobile menu */
  @media (max-width: 768px) {
  
    nav {
      display: none;
    }

  }
  