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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

nav {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 998;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0 2rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

nav a:hover,
nav a.active {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page {
  display: none;
  animation: fadeIn 0.5s ease;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.95;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.section-title {
  font-size: 2.5rem;
  color: #1a1a2e;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #667eea, #764ba2);
  border-radius: 2px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card h3 {
  color: #667eea;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card ul {
  list-style-position: inside;
  color: #555;
}

.card ul li {
  margin: 0.5rem 0;
  padding-left: 0.5rem;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin: 0.25rem;
  font-weight: 500;
}

.highlight-box {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-box {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #667eea;
}

.stat-label {
  color: #666;
  margin-top: 0.5rem;
}

.timeline {
  position: relative;
  padding-left: 3rem;
  margin: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #667eea, #764ba2);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -3.75rem;
  top: 1.5rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #667eea;
  border: 4px solid #f8f9fa;
}

.timeline-item h4 {
  color: #667eea;
  margin-bottom: 0.5rem;
}

.project-section {
  margin: 3rem 0;
}

footer {
  background: #1a1a2e;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  nav ul {
    gap: 1rem;
  }

  .timeline {
    padding-left: 2rem;
  }
}

.intern-img, .gallery-item img {
    max-width:100%;
}

.intro-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    /*margin: 3rem 0;*/
}
.intro-bg {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.intro-bg .container {
    padding:0px;
}

.intro-text{
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
}

.intro-text h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 1rem;
}

.intro-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
/* ====== Mobile Toggle Button ====== */
    .menu-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      cursor: pointer;
      padding-left:15px;
    }

    .menu-toggle span {
      width: 25px;
      height: 3px;
      background-color: #fff;
      border-radius: 2px;
    }

    /* ====== Push Menu Styles ====== */
    .mobile-nav {
      position: fixed;
      top: 0;
      left: -250px;
      width: 250px;
      height: 100vh;
      background: #fff;
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
      transition: left 0.3s ease;
      padding: 2rem 1rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      z-index: 999;
    }

    .mobile-nav.open {
      left: 0;
    }

    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      display: none;
      z-index: 998;
    }

    .overlay.show {
      display: block;
    }

    
@media (max-width: 968px) {
    .intro-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .intro-image {
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }
}
/* ====== Responsive ====== */
    @media (max-width: 768px) {
      nav ul {
        display: none;
      }
      .menu-toggle {
        display: flex;
      }
    }
    
.internship-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    margin: 1.5rem auto;
    display: block;
}

.internship-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.internship-gallery img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.internship-gallery img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.swimming-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem 1rem 1rem;
    font-size: 0.9rem;
}

.resume-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.resume-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.5) !important;
}