/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 0;
  }
  
  header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  
  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    background-color: #f4f4f4; /* match your site's background */
  }
  
  .landing {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    z-index: 1;
  }

  .cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 122, 204, 0.2);
    transition: all 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: #3a3b3b;
    box-shadow: 0 6px 16px rgba(27, 5, 224, 0.3);
    transform: translateY(-2px);
  }
  
  .branding {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
  }

  .branding h1 {
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
  }
  
  nav {
    display: flex;
    gap: 20px;
  }
  
  nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
  }
  
  nav a:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }
  
  main {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 100px; /* adjust to match your header height */
  }
  
  section {
    min-height: 100vh;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }
  
  section.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .project {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  footer {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    color: #555;
  }

  #contact p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
  }
  
  #contact a {
    color: #333;
    text-decoration: underline;
  }
  
  #contact form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
  }
  
  #contact label {
    font-weight: 600;
    color: #333;
  }
  
  #contact input, 
  #contact textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    resize: vertical;
  }
  
  #contact input:focus,
  #contact textarea:focus {
    outline: none;
    border-color: #007acc;
    box-shadow: 0 0 5px rgba(0, 122, 204, 0.5);
  }
/* projects section */
  .project-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .projects-overview {
    margin-top: 10px;
  }
  
  .accordion-toggle {
    background-color: #fff;
    color: #333;
    font-size: 1.1rem;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 13px;
  }
  
  .accordion-toggle:hover {
    background-color: #f0f0f0;
  }

  .accordion-toggle .arrow {
    font-size: 0.8rem;
    transform: rotate(0deg); /* ↓ down arrow */
    transition: transform 0.3s ease;
  }
  
  .accordion-toggle.open .arrow {
    transform: rotate(180deg); /* Rotate to point down when open */
  }
  
  .project-content {
    display: none;
    padding: 30px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    gap: 50px;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 10px;
  }
  
  .project-content.show {
    display: flex;
  }
  
  .project-media {
    flex: 1 1 45%;
  }
  
  .project-info {
    flex: 1 1 45%;
  }
  
  .project-info p {
    margin-bottom: 10px;
  }
  
  .project-info a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
  }
  
  .project-info a:hover {
    background-color: #555;
  }
  
  .slideshow {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .slide {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 8px;
  }
  
  .slide.active {
    display: block;
  }
  
  .slideshow-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
  }
  
  .slideshow-controls button {
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
  }
  
  #about .about-content {
    display: flex;
    align-items: center;  /* aligns text & image neatly */
    gap: 30px;            /* space between text and image */
  }
  
  #about p {
    flex: 2;
    text-align: justify;
    line-height: 1.6;
    max-width: 900px;     /* keeps text readable */
  }
  
  .about-img {
    width: 350px;         /* fixed neat size */
    height: auto;
    border-radius: 15px;  /* rounded corners */
  }
  
  h4 {
    padding-top: 20px;
  }

  .skills-container-titles {
    display: flex;            /* put lists side by side */
    gap: 30px;
    max-width: 1000px;        /* optional: control width */
    padding-bottom: 10px;
  }

  .skills-container-titles h4:nth-child(3){
    margin-left: 115px;
  }

  .skills-container-lists {
    display: flex;            /* put lists side by side */
    gap: 90px;                /* extra spacing between lists */
    max-width: 1000px;        /* optional: control width */
    padding-left: 30px;
  }
  
  .skills-container ul {
    list-style-type: disc;    /* default bullets */
    padding-left: 20px;       /* spacing before bullets */
  }
  
  .qualifications-container {
    margin-left: 30px;
    margin-top: 10px;
  }
  
  