.menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10000;
  background-color: rgba(45, 45, 45, 0.9);
  border: 2px solid #667eea;
  color: #e9ecef;
  font-size: 1.5rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
}

.menu-toggle.show {
  opacity: 1;
  visibility: visible;
}

.menu-toggle:hover {
  background-color: rgba(102, 126, 234, 0.3);
  transform: scale(1.05);
}

.menu-toggle:active {
  transform: scale(0.95);
}

/* Menu Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9997;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Ensure sidebar doesn't cover content on right */
@media (max-width: 768px) {
  .content-body .sidenav.menu-open {
    z-index: 9998;
  }

  .content-body .content {
    z-index: 1;
    position: relative;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-size: 30px;
  font-family: "Poppins", "Montserrat", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  text-align: center;
  background-color: #000000e5;
  color: white;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: white;
}

/* Menu Toggle Button */
/* .menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10000;
  background-color: rgba(45, 45, 45, 0.9);
  border: 2px solid #667eea;
  color: #e9ecef;
  font-size: 1.5rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
}

.menu-toggle.show {
  opacity: 1;
  visibility: visible;
}

.menu-toggle:hover {
  background-color: rgba(102, 126, 234, 0.3);
  transform: scale(1.05);
}

.menu-toggle:active {
  transform: scale(0.95);
}


.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9997;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
} */

/* Ensure sidebar doesn't cover content on right */
/* @media (max-width: 768px) {
  .content-body .sidenav.menu-open {
    z-index: 9998;
  }

  .content-body .content {
    z-index: 1;
    position: relative;
  }
} */

/* Content Body with Background */
.content-body {
  /* background-image: url("./asx7.jpg"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  flex-grow: 1;
  display: flex;
  flex-direction: row;
}

@media (max-width: 768px) {
  .content-body {
    background-attachment: scroll;
  }
}

/* Main Content Area */
.content-body .content {
  flex-grow: 1;
  overflow: auto;
  padding: 2rem;
}

.content-body .content h2 {
  margin-bottom: 100px;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: #f39f21;
}

.content-body .content img {
  width: 75%;
  max-width: 1200px;
  margin-bottom: 20px;
  cursor: zoom-in;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-body .content img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

/* Video Wrapper */
.video-wrapper {
  width: 75%;
  max-width: 1200px;
  margin: 0 auto 20px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  
  background-color: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

.video-wrapper:hover {
 

  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);

}

.content-body .content .video-content {
  width: 100%;
  height: 380px;
  display: block;
  cursor: pointer;
  border-radius: 12px;
  background-color: #000;
  transition: opacity 0.3s ease, transform 0.3s ease;
  object-fit: cover;
  margin-bottom: 3rem;
}

.content-body .content .video-content[poster] {
  object-fit: cover;
}

/* Video Controls Styling */
.video-content::-webkit-media-controls-panel {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(50, 50, 50, 0.9) 100%
  );
  border-top: 1px solid rgba(102, 126, 234, 0.2);
  padding: 8px;
}

.video-content::-webkit-media-controls-play-button {
  background-color: rgba(102, 126, 234, 0.9);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.video-content::-webkit-media-controls-play-button:hover {
  background-color: #667eea;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.6);
}

.video-content::-webkit-media-controls-current-time-display,
.video-content::-webkit-media-controls-time-remaining-display {
  color: #e9ecef;
  font-weight: 500;
}

.video-content::-webkit-media-controls-volume-slider {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.video-content::-webkit-media-controls-timeline {
  background: linear-gradient(
    90deg,
    rgba(102, 126, 234, 0.3) 0%,
    rgba(118, 75, 162, 0.3) 100%
  );
  border-radius: 3px;
}

.video-content::-webkit-media-controls-timeline::-webkit-slider-thumb {
  background-color: #667eea;
  box-shadow: 0 0 8px rgba(102, 126, 234, 0.6);
}

/* Sidebar Navigation */
.content-body .sidenav {
  flex: 2 0 350px;
  overflow: auto;
  padding: 2rem;
  background-color: #121212;
  border-right: 1px solid #1a1a1a;
  font-family: "Poppins", "Montserrat", sans-serif;
}

.content-body .sidenav h2 {
  margin-bottom: 2rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: "Poppins", sans-serif;
  color: #e9ecef;
  border-bottom: none;
}

.content-body .sidenav h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.content-body .sidenav h2 a:hover {
  color: #667eea;
}

.content-body .ads {
  flex: 0 0 0px;
  overflow: auto;
}

.sidenav-links ul li a {
  display: block;
  text-decoration: none;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 15px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.sidenav-links ul li a:hover {
  background-color: rgba(118, 75, 162, 0.15);
  padding: 20px 25px;
  transform: translateX(10px);
  color: #e9ecef;
}

/* Navigation Links */
.sidenav-links ul {
  list-style: none;
  text-align: left;
}

.sidenav-links ul li {
  margin-bottom: 20px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease, transform 0.3s ease;
  line-height: 1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
}

.close-btn:hover {
  color: #ff4444;
  transform: rotate(90deg);
  background-color: rgba(0, 0, 0, 0.8);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  z-index: 10000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#prev-btn {
  left: 20px;
}

#next-btn {
  right: 20px;
}

.nav-btn:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.3);
  transform: translateY(-50%) scale(1.1);
}

/* Responsive Design */

@media (max-width: 480px) {
  /* Show menu toggle on mobile */
  .menu-toggle {
    display: block;
  }

  /* Sidebar positioning for mobile */
  .content-body .sidenav {
    position: fixed;
    left: -220px;
    top: 0;
    height: 100vh;
    z-index: 9998;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    flex: 0 0 220px;
  }

  .content-body .sidenav.menu-open {
    left: 0;
  }

  .menu-overlay.active {
    display: block !important;
    opacity: 1;
  }

  /* Responsive content sizing */
  .content-body .content {
    padding: 1rem;
  }

  .content-body .content h2 {
    margin-bottom: 50px;
    font-size: 1.8rem;
  }

  .content-body .content h3 {
    font-size: 1.3rem;
    margin-bottom: 30px;
  }

  /* Scale images for mobile */
  .content-body .content img {
    width: 90%;
    max-width: 100%;
    margin-bottom: 15px;
  }

  /* Scale videos for mobile */
  .video-wrapper {
    width: 90%;
    max-width: 100%;
    margin: 0 auto 15px;
  }

  /* Responsive sections */
  .photo-section {
    padding: 2rem 1rem;
    margin: 1rem auto;
    width: 95%;
  }

  .photo-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .intro-section {
    padding: 1.5rem 1rem;
    margin-top: 1.5rem;
  }

  .intro-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .intro-section p {
    font-size: 1rem;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  /* Show menu toggle on tablet */
  .menu-toggle {
    display: block;
  }

  .section-title {
    font-size: 2.2rem;
    color: #808080;
    font-weight: 600;
    text-align: center;
  }

  /* Sidebar positioning for tablet */
  .content-body .sidenav {
    position: fixed;
    left: -220px;
    top: 0;
    height: 100vh;
    z-index: 9998;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    flex: 0 0 220px;
  }

  .content-body .sidenav.menu-open {
    left: 0;
  }

  .menu-overlay.active {
    display: block !important;
    opacity: 1;
  }

  /* Responsive content sizing for tablet */
  .content-body .content {
    padding: 1.5rem;
  }

  .content-body .content h2 {
    margin-bottom: 60px;
    font-size: 2.2rem;
  }

  .content-body .content h3 {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }

  /* Scale images for tablet */
  .content-body .content img {
    width: 85%;
    max-width: 100%;
    margin-bottom: 18px;
  }

  /* Scale videos for tablet */
  .video-wrapper {
    width: 85%;
    max-width: 100%;
    margin: 0 auto 18px;
  }

  /* Responsive sections */
  .photo-section {
    padding: 3rem 1.5rem;
    margin: 2rem auto;
    width: 90%;
    margin-top: 0;
  }

  .photo-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .intro-section {
    padding: 2rem 1.5rem;
    margin-top: 2rem;
  }

  .intro-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .intro-section p {
    font-size: 1.1rem;
  }
}

/* @media (min-width: 769px) and (max-width: 1024px) {
 
} */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(118, 75, 162, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 99999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 30px rgba(118, 75, 162, 0.7);
}

.index-section {
  width: 80%;
  margin: 4rem auto;
  margin-top: 0px;
  padding: 2.5rem;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);

  transition: none !important;
}

.index-section:hover {
  border-color: rgba(255, 255, 255, 0.07) !important;
  background: rgba(255, 255, 255, 0.02) !important;
}


.index-section h2 {
  color: #eee;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}


.index-section p {
  color: #bfc3c9;
  line-height: 1.7;
}


/* Photo Section */
.photo-section {
  background-color: rgba(0, 0, 0, 0.8); /* Dark background for contrast */
  padding: 4rem 2rem;
  margin: 2rem auto;
  width: 90%;
  max-width: 1200px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px); 
  text-align: center;
}

/* Photo Section Header */
.photo-section h2 {
  font-size: 2.8rem;
  color: #e9ecef;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
}

/* Intro Section */
.intro-section {
  background-color: rgba(
    0,
    0,
    0,
    0.7
  ); /* Darker background with transparency */
  padding: 3rem 2rem;
  margin-top: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5); /* Consistent shadow with photo-section */
  backdrop-filter: blur(8px); 
}

/* Intro Section Header */
.intro-section h3 {
  font-size: 2.2rem;
  color: #667eea;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center; 
}

/* Intro Section Paragraph */
.intro-section p {
  color: #ffffff;
  line-height: 1.8;
  font-size: 1.4rem;
  text-align: center;
  letter-spacing: 0.02em;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
}

/* Before and After Headings */
.before-heading,
.after-heading {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  /* text-transform: uppercase; */
  padding-top: 50px;
  margin: 2rem auto;
  color: #ffffff;
  text-align: center;
  position: relative;
  padding: 1.2rem 2.5rem;
  transition: all 0.3s ease;
  clip-path: polygon(
    50% 100%,
    100% 65%,
    75% 65%,
    75% 0%,
    25% 0%,
    25% 65%,
    0% 65%
  );
  display: inline-block;
  width: auto;
  max-width: 400px;
}

.before-heading {
  background: linear-gradient(180deg, #667eea 0%, #4c63d2 100%);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.before-heading:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
  filter: brightness(1.1);
}

.before-heading::before {
  content: "↑";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  animation: slideArrowUp 0.6s ease-in-out infinite;
}

.after-heading {
  background: linear-gradient(180deg, #764ba2 0%, #5a3a7f 100%);
  box-shadow: 0 8px 25px rgba(118, 75, 162, 0.4);
}

.after-heading:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(118, 75, 162, 0.6);
  filter: brightness(1.1);
}

.after-heading::after {
  content: "↑";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  animation: slideArrowUp 0.6s ease-in-out infinite;
}

/* Header Title Styling */
.header-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 3rem 0 2rem 0;
  color: #e9ecef;
  text-align: center;
  position: relative;
  padding-bottom: 1.5rem;
  display: block;
  transition: all 0.3s ease;
}

.header-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f39f21, transparent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header-title:nth-of-type(odd)::after {
  background: linear-gradient(90deg, transparent, #667eea, transparent);
}

.header-title:nth-of-type(even)::after {
  background: linear-gradient(90deg, transparent, #764ba2, transparent);
}

.header-title:hover {
  transform: translateY(-3px);
  letter-spacing: 0.15em;
}

.header-title:hover::after {
  width: 200px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
/* Video Wrapper */
.video-wrapper {
  position: relative;
  width: 75%;
  max-width: 1200px;
  margin: 50px auto;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background-color: #000;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Play Button Overlay */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
}

.play-btn:hover {
  background: rgba(255, 255, 255, 1);
}

.play-btn::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 28px;
  border-style: solid;
  border-width: 18px 0 18px 28px;
  border-color: transparent transparent transparent #333;
}

/* Fullscreen Overlay */
#video-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
  animation: fadeIn 0.3s ease forwards;
}

#video-overlay video {
  width: 90%;
  max-width: 950px;
  max-height: 88vh;
  border-radius: 18px;
  transform: scale(0.85);
  opacity: 0;
  animation: zoomIn 0.35s ease forwards;
}

/* Close Button */
#close-video {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 45px;
  color: white;
  cursor: pointer;
  z-index: 3000;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.65);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Remove box-shadow on hover */
.video-wrapper:hover {
  transform: none;
  box-shadow: none;
}
