
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0;
      padding: 0;
      background: #f9f9f9;
      color: #333;
    }
    header {
      background: linear-gradient(135deg, #4a90e2, #0073e6);
      color: white;
      text-align: center;
      padding: 60px 20px;
    }
    header img {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      border: 4px solid white;
      margin-bottom: 20px;
    }
    header h1 {
      margin: 0;
      font-size: 2.5em;
    }
    header p {
      font-size: 1.2em;
      margin-top: 10px;
    }
    section {
      max-width: 900px;
      margin: 40px auto;
      padding: 0 20px;
    }
    h2 {
      color: #0073e6;
      border-bottom: 2px solid #0073e6;
      padding-bottom: 5px;
    }
    .resume-btn {
      display: inline-block;
      background: #0073e6;
      color: white;
      padding: 12px 25px;
      margin-top: 20px;
      text-decoration: none;
      border-radius: 5px;
      transition: background 0.3s ease;
    }
    .resume-btn:hover {
      background: #005bb5;
    }
    .projects {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
    }
    .project-card {
      background: white;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      flex: 1 1 250px;
      padding: 20px;
      text-align: center;
    }
    .project-card img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-radius: 6px;
      margin-bottom: 15px;
    }
    
    
    
/* mission card visibilitiy */
.category-module {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-module.active {
  display: block;
  opacity: 1;
}


.flip-card {
  width: 600px; /* wider than before */
  height: 360px; /* slightly shorter for horizontal feel */
  margin: 20px auto;
  flex-shrink: 0;
  perspective: 1000px; /* optional: improves 3D effect */
}


.flip-card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

.flip-card-front,
.flip-card-back {
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 10px;
  background-color: #fff; /* optional: ensures clean white card */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* optional: adds depth */
}

.flip-card-back {
  background: linear-gradient(to bottom right, #0073e6, #3399ff);
  color: #fff;
  transform: rotateY(180deg);
  overflow-y: auto; /* enables scroll if needed */
  padding: 20px;
  box-sizing: border-box;
}



.flip-card-back video {
  width: 90%;           /* Slightly smaller than full width */
  max-height: 180px;     /* Scales down the video height */
  display: block;
  margin: 10px auto;     /* Centers the video horizontally */
  border-radius: 8px;    /* Optional: soft rounded corners */
    background-color: #000; /* optional: dark base */

}





.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* side by side */
.mission-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px; /* slightly more spacing between cards */
  margin-top: 20px;
}




    
    footer {
      background: #333;
      color: white;
      text-align: center;
      padding: 20px;
      margin-top: 40px;
    }
    footer a {
      color: #4a90e2;
      text-decoration: none;
      margin: 0 10px;
    }
 
.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.category-btn {
  padding: 10px 20px;
  border: none;
  background: #0073e6;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.category-btn:hover,
.category-btn.active {
  background: #005bb5;
}


.category-module {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-module.active {
  display: block;
  opacity: 1;
}


.mission-row {
  display: none;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.mission-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-wrap: break-word;
  word-break: break-word;
}

.mission-row.active {
  display: flex;
}
