* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background: #0d0d0d;
    color: #fff;
    overflow-x: hidden;
  }
  
  /* index.html */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px;
    font-weight: 600;
  }
  .hamburger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }
  .hamburger img {
    width: 60px;
    height: 70px;
    cursor: pointer;
  }
  .menu {
    font-size: 16px;
    letter-spacing: 2px;
    color: #c4c4c4;
  }
  .menu-text {
    font-family: 'Dyslexie';
    font-weight: 600;
    color: white;
    font-size: 18px;
  }
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: 800;
    color: white;
  }
  .socials {
    display: flex;
    gap: 20px;
    align-items: center;
  } 
  .socials a img {
    height: 30px;
    width: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(1, 0, 0, 0);
    filter: invert(1);
  mix-blend-mode: normal;
  }
  .socials a img:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(252, 248, 248, 0.3);
  }
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0f1113;
    color: white;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
  }
  .menu-overlay.active {
    display: flex;
  }
  .menu-header {
    position: absolute;
    top: 30px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .close-btn {
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
  }
  .menu-items {
    list-style: none;
    padding: 0;
    font-family: "Dyslexie";
  }
.menu-items li {
  list-style: none;
  padding: 10px;
  transition: transform 0.3s ease; 
}
.menu-items li:hover {
  transform: translateX(10px); 
}

  .menu-items a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
  }
  .menu-items li {
    position: relative;
    overflow: hidden;
  }
  .menu-items li a {
    display: inline-block;
    transition: transform 0.3s ease;
    position: relative;
  }
  .menu-items li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 4px;
    background-color: #6c63ff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .menu-items li:hover a {
    transform: translateX(5px); 
  }
  .menu-items li:hover a::after {
    transform: translateX(0);
  }
  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px;
  }
  .content h1 {
    font-size: 50px;
    line-height: 1.2;
    font-weight: 990;
  }
  .content h1 span {
    color: #b983ff;
  }

  .button {
    margin-top: 40px;
    margin-left: 300px;
  }
.btn-primary {
  background-color: #0f86c68b;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: #eccf124d;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(232, 211, 211, 0.2);
}
  .hero-img img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, #49476d9d, #0ccaff); /* gradient border */
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.547);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .hero-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }
  .footer {
    text-align: center;
    padding: 20px;
    background-color: #f0e4e40f;
    color: white;
    font-family: cursive; 
  } 
  .footer .name {
    font-size: 1.5em;
    font-family: "Segoe Script";
    font-style: italic;
  }

  /* about.html */
  
.breadcrumb {
  text-align: center;
  margin-top: 20px;
  font-family: 'Lora', sans-serif;
  font-size: 1rem;
  color: #e8d5d5;
}
.breadcrumb a {
  color: #db0101;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: #e2ed06;
}
.intro-section {
  text-align: center;
  margin-top: -50px;
  padding: 80px 20px 40px 20px;
  background-color: #000000;
}
.name {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  margin-top: -0px;
}
.description {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  text-align: left;
  font-weight: 300;
  color: #dbc9c9;
  max-width: 2000px;
  margin-top: 20px;
}
.description h2 {
  font-size: 2rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff9f9;
}
.description p {
  font-size: 1.1rem;
  text-align: left;
  margin-left: 80px;
  margin-right: 80px;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* academics.html */
.projects-header {
  position: relative;
  background-image: url('images/download.jpeg');
  background-size: cover;
  background-position: center;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}
.projects-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.825); 
  z-index: 1; /
.projects-header .header-content {
  position: relative;
  z-index: 2;
}
}
.projects-header .header-content {
  position: relative;
  z-index: 2;
}
.projects-header .header-content h1 {
  font-size: 4rem;
  font-family: 'Lora', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.academics-section {
  padding: 50px 20px;
  background: #000000;
  text-align: center;
}
.academics-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: #333;
}
.academics-content p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}
.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #dfdf0e;  /* cool highlight color */
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  width: 90%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-item.left {
  left: 0;
  text-align: right;
  position: relative;
  width: 90%;
  right: -90px;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
  position: relative;
  width: 90%;
}

.timeline-dot {
  position: absolute;
  top: 25px;
  width: 20px;
  height: 20px;
  background: #dfdf0e;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 3px #dfdf0e;
}

.timeline-item.left .timeline-dot {
  right: -10px;
}

.timeline-item.right .timeline-dot {
  left: -10px;
}

.timeline-content {
  background: #f9f9f9;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  max-width: 90%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  gap: 15px;
}


.timeline-content h3 {
  margin-top: 0;
  color: #473d3d;
}

.timeline-content p {
  margin: 8px 0;
  color: #666;
  font-style: normal;
}
.timeline-img {
  width: 150px;
  height: 180px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.text-content {
  flex: 1;
}

@media screen and (max-width: 768px) {
  .timeline::before {
    left: 8px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 30px;
    padding-right: 15px;
  }
  .timeline-item.left,
  .timeline-item.right {
    left: 0;
    text-align: left;
  }
  .timeline-item .timeline-dot {
    left: 0 !important;
    right: auto !important;
  }
  .timeline-content {
    max-width: 100%;
  }
}


/* projects */
.projects-section {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.project-card {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  width: 350px;
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.6);
}
.project-image {
  width: 100%;
  height: 250px;
  object-fit: fill;
}
.project-info {
  padding: 2rem;
}
.project-info h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.5rem;
}
.project-info .tags {
  font-size: 0.9rem;
  color: #9f7aea; 
  margin-bottom: 0.5rem;
}
.project-info .desc {
  font-size: 0.9rem;
  color: #cccccc;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 50rem; 
}

/* skills.html */
.skill {
  position: relative;
}
.skill img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 7%;
}
.skill img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  opacity: 10%; 
}
.skills-section {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  font-family: 'Poppins', sans-serif;
}
.skills-section h2 {
  font-size: 3rem;
  margin-top: 10px;
}
.skills-section p {
  font-size: 1.2rem;
  align-items: center;
  margin-top: 5%;
  margin-bottom: 12%;
}
.skill-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: left;
  overflow-x: auto;
  padding-bottom: 10px;

}
.badge {
  background-color: #d65b2265;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}
.badge:hover {
  transform: translateX(10px);
  box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
  background-color: #1597cf;
}

/* contact.html */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(to right, #89040c63, #0b0000);
  font-family: 'Poppins', sans-serif;
}
.glass-card {
  background: rgba(255, 255, 255, 0.459);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 40px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 8px 32px rgba(243, 219, 3, 0.475);
  text-align: center;
  color: rgb(0, 0, 0);
}
.glass-card h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.glass-card p {
  font-size: 1rem;
  margin-bottom: 25px;
  opacity: 0.8;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 8px;
  background: rgba(15, 0, 0, 0.455);
  color: rgb(255, 255, 255);
  font-size: 1rem;
  outline: none;
}
.contact-form textarea {
  resize: none;
}
.contact-form button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(to right, #070127, #005eff);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(246, 243, 243, 0.3);
}
.menu-links {
  list-style: none;
  padding: 0;
  text-align: center;
  margin: 100px 0 0;
  }
  .menu-links li {
    margin: 10px 0;
  }
  .menu-links a {
    font-size: 2.5rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
  }
  .menu-links a:hover {
    color: #c084fc; 
  }
  .social-icons img {
    height: 24px;
    margin-left: 20px;
  }
  .location {
    position: absolute;
    bottom: 40px;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 2px;
    opacity: 0.8;
  }
  .menu {
    display: none;
  }
  .menu.active {
    display: flex;
  }
  .about-me {
    margin-top: 1000px;
  }





  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      padding: 20px;
    }
  
    .logo {
      position: relative;
      left: auto;
      transform: none;
      font-size: 20px;
    }
  
    .hero {
      flex-direction: column;
      padding: 50px 20px;
    }
  
    .button {
      margin-left: 0;
      text-align: center;
    }
  
    .hero-img img {
      width: 200px;
      height: 200px;
    }
  
    .projects-section, .skills-section {
      flex-direction: column;
      align-items: center;
    }
  
    .projects-grid {
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
    }
  
    .contact-section {
      flex-direction: column;
    }
  }
  
  .projects-section {
    padding: 5% 2%;
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Ensures smaller grids on mobile */
  }
  @media (max-width: 768px) {
    .content h1 {
      font-size: 30px;
    }
  
    .btn-primary {
      font-size: 14px;
    }
  
    .description p {
      font-size: 1rem;
    }
  }
  .btn-primary {
    width: 100%;
    padding: 15px;
  }
  
  .hero-img img {
    width: 100%;
    height: auto;
  }
  
  header {
    width: 0%;
    padding: 2px;
    background-color: #333333;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: relative;
  }
  
  nav .logo h1 {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
  }
  
  nav .nav-links {
    display: flex;
    list-style: none;
  }
  
  nav .nav-links li {
    margin-left: 30px;
  }
  
  nav .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
  }
  
  nav .nav-links a:hover {
    color: #0f0f0f;
    transition: color 0.3s ease;
  }
  
  /* Mobile Navigation Styles */
  @media (max-width: 768px) {
    nav {
      flex-direction: column;
      align-items: flex-start;
    }
  
    nav .logo h1 {
      font-size: 20px;
    }
  
    nav .nav-links {
      display: none;
      width: 100%;
      flex-direction: column;
      padding: 10px 0;
      text-align: left;
    }
  
    nav .nav-links.active {
      display: flex;
    }
  
    nav .nav-links li {
      margin-left: 0;
      padding: 10px 20px;
      width: 100%;
    }
  
    nav .menu-icon {
      display: block;
      font-size: 30px;
      color: #fff;
      cursor: pointer;
    }
  }
  


.beliefs-section {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #111;
  color: #fff;
  font-family: 'Lora', serif;
}

.beliefs-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.beliefs-section p {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 2.5rem;
}

/* === Slideshow Styling === */
.slideshow-container {
  position: relative;
  width: 90%;
  max-width: 400px;
  height: 500px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  background-color: #111;
}

.slideshow-image {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain; /* shows full image */
  transition: left 1s ease-in-out, opacity 0.5s ease-in-out;
  opacity: 0;
  z-index: 0;
}

.slideshow-image.active {
  left: 0;
  opacity: 1;
  z-index: 1;
}

.slideshow-image.previous {
  left: -100%;
  z-index: 0;
}

/* === Certificate Gallery === */
.certificates-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #0e0e0e;
  color: #fff;
}

.certificates-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: 1px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 10px;
}

.gallery a {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.gallery img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* === Lightbox Overlay === */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.95) 70%);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  animation: fadeIn 0.3s ease-in-out;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(255,255,255,0.3);
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Zoom-in animation */
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply animation when element has class 'animate' */
.gallery a.animate {
  animation: zoomIn 0.6s ease forwards;
}

/* Glow pulse on hover */
.gallery a:hover {
  box-shadow: 0 0 20px 4px rgba(255, 255, 255, 0.7);
  animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
  from {
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.5);
  }
  to {
    box-shadow: 0 0 25px 6px rgba(255, 255, 255, 0.9);
  }
}

.torch-container {
  position: relative;
  width: 200px;        /* adjust size */
  margin: 0 auto 30px; /* center and add bottom space */

}

.torch {
  display: block;
  width: 100%;
  filter: brightness(1.1);
  z-index: 10;
  position: relative;
}

/* The light falling on gallery */
.spotlight {
  position: absolute;
  top: 100%;  /* right below the torch */
  left: 50%;
  transform: translateX(-50%);
  width: 300px;  /* size of spotlight */
  height: 150px;
  background: radial-gradient(ellipse at center, rgba(255, 245, 200, 0.8) 0%, transparent 80%);
  filter: blur(20px);
  pointer-events: none; /* so it doesn’t block clicks */
  z-index: 5;
}

/* Flickering animation for the torch glow */
@keyframes flicker {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(255, 200, 50, 0.8));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(255, 220, 80, 1));
  }
}

.torch-row {
  display: flex;
  justify-content: center;  /* centers the torches horizontally */
  gap: 20px;               /* space between torches */
  margin-bottom: 10px;     /* spacing below the row */
}

