/* Base Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
}

body {
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* === Full Width Top NavBar (Dark Theme with Pop + Underline Animation) === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #222; /* Dark gray */
  padding: 20px 40px; /* Increased height */
  z-index: 10000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease, transform 0.2s ease;
}

/* Hover underline animation */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #f0f0f0;
  transform: scale(1.08); /* Pop effect */
}

.nav-link:hover::after {
  width: 100%;
}

.separator {
  color: #777;
  font-size: 1rem;
  user-select: none;
}

/* === Adjust padding on hero to make room for taller navbar === */
.hero-header {
  padding: 15rem 1rem 10rem;
}

/* === Hero Header Section === */
.hero-header {
  background: url('https://imgur.com/UUHe1kt.png') no-repeat center center;
  background-size: cover;
  text-align: center;
  padding: 14rem 1rem 10rem; /* Adjusted for navbar height */
  position: relative;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 4.2rem;
  margin-bottom: 0.5rem;
  color: white;
}

.hero-content p {
  font-size: 1.3rem;
  color: white;
}

/* Page Loader Styles */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111; /* Dark background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}

.loader-text {
  font-size: 32px;
  font-weight: bold;
  color: #ff914d;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    text-shadow: 0 0 6px #ff914d, 0 0 12px #ff914d, 0 0 18px #ff914d;
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
    text-shadow: 0 0 12px #ff914d, 0 0 24px #ff914d, 0 0 36px #ff914d;
  }
}

/* 🌟 Micro Animation - Unified Hover Style */
.nav-link,
.contact-button,
.category-button,
.cta-button,
.page-button,
.social-link img {
  transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease;
}

/* Scale and subtle pop on hover */
.nav-link:hover,
.contact-button:hover,
.category-button:hover,
.cta-button:hover,
.page-button:hover,
.social-link img:hover {
  transform: scale(1.05);
}

.category-button {
  cursor: pointer;
}


/* Hide loader when done */
body.loaded #page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


/* Dark Mode override */
body.dark #loading-spinner {
  background: #121212;
}

body.dark .spinner {
  border-color: #444;
  border-top-color: #fff;
}

/* Intro Section */
.intro-section {
  padding: 3rem 1rem;
  background-color: #fff;
}

.intro-container {
  max-width: 900px;
  margin: auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  text-align: justify;
}

/* Intro Text Section */
.intro-text-section {
  background: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.intro-container {
  max-width: 900px;
  margin: auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  text-align: justify;
}

/* Testimonials Section */
.testimonial-section {
  padding: 3rem 1rem;
  max-width: 1100px;
  margin: auto;
}

.testimonial-title {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 2rem;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-carousel-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
 
  gap: 24px;
  padding: 20px 60px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* For iOS bounce */
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.review-carousel-container::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  background: #fff;
  max-width: 480px;
  min-width: 360px;
  height: 300px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.review-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.carousel-nav.left {
  left: 10px;
}

.carousel-nav.right {
  right: 10px;
}

/* What I Do */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #222;
}

.service-card p {
  font-size: 15px;
  color: #555;
}

/* Categorized Work */
.category-section {
  text-align: center;
  padding: 3rem 1rem;
}

.category-description {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
  color: #444;
  font-size: 1rem;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.category-button {
  background: rgba(0, 0, 0, 0.05);
  color: #333;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.category-button:hover,
.category-button.active {
  background-color: #333;
  color: #fff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Playlist container per category */
.category-playlist-wrapper {
  width: 100%;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
}

@media (max-width: 768px) {
  .category-playlist-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

/* Pagination below each playlist */
.category-pagination {
  margin-top: 1rem;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.category-pagination button {
  background: #333;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.category-pagination button:hover:not(:disabled) {
  background: #555;
}

.category-pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Reuse existing styles */
.hidden {
  display: none !important;
}

/* Add spacing below buttons for desktop */
@media (min-width: 769px) {
  .category-grid {
    margin-bottom: 2.5rem;
  }
}

/* Follow Me Section */
.follow-section {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #f9f9f9;
}

.follow-title {
  font-size: 2rem;
  color: #222;
  margin-bottom: 0.5rem;
}

.follow-description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;             /* tighter spacing */
  max-width: 100%;       /* allow all icons in one line */
  margin: 0 auto;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
}

.social-link img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link img:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.contact-button {
  background-color: #2c2c2c;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.contact-button:hover {
  background-color: white;
  color: #2c2c2c;
  transform: scale(1.05);
}

.contact-button img {
  width: 18px;
  height: 18px;
}

/* Email Modal */
#emailModal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

#emailModalContent {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: left;
}

#emailModalContent input,
#emailModalContent textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#emailModalContent button[type="submit"] {
  background-color: #2c2c2c;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  width: 100%;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  color: #666;
  cursor: pointer;
}

.success-message {
  display: none;
  color: green;
  margin-top: 10px;
  font-weight: bold;
}

/* 🛑 Error Message */
.error-message {
  color: red;
  font-size: 0.85rem;
  margin-top: 4px;
  margin-bottom: 10px;
  display: block;
  transition: opacity 0.3s ease;
}

/* ✨ Contact Form Inputs - Modern Style */
#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  color: #333;
}

/* Dark mode input field styles */
body.dark #contactForm input,
body.dark #contactForm textarea {
  background-color: #222;
  color: #fff;
  border: 2px solid #555;
}

/* Focus state */
#contactForm input:focus,
#contactForm textarea:focus {
  border-color: #ffa726;
  box-shadow: 0 0 0 4px rgba(255, 167, 38, 0.2);
  outline: none;
}

/* Submit Button Matching Style */
#contactForm button[type="submit"] {
  background-color: #ffa726;
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#contactForm button[type="submit"]:hover {
  background-color: #ff9800;
  transform: translateY(-2px);
}

/* Featured Work */
.featured-nav-section {
  padding: 3rem 1rem;
  text-align: center;
}

.playlist-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.playlist-link {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.playlist-link:hover {
  color: #f0f0f0;
}

.playlist-link.active::after,
.playlist-link:hover::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
}

.separator {
  color: #999;
  user-select: none;
}

.video-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
  transition: opacity 0.3s ease;
  min-height: 720px; /* Prevent layout shift by reserving height for ~3 rows */
  opacity: 1;
}

.video-thumb-grid.fade-out {
  opacity: 0;
}

.thumb-card {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.thumb-card:hover {
  transform: scale(1.03);
}

.thumb-card img {
  width: 100%;
  display: block;
}

.video-title {
  padding: 10px;
  font-size: 14px;
  background-color: #fefefe;
  color: #333;
  text-align: left;
}

/* Pagination Buttons */
.playlist-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 2rem;
}

.page-button {
  background: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-button:hover:not(:disabled) {
  background-color: #555;
  transform: scale(1.05);
}

.page-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 28px;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
}

/* ✨ NEW: Floating Side Buttons for Pagination */
.playlist-slider-wrapper {
  position: relative;
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

.page-nav-button:hover {
  background-color: #555;
  transform: translateY(-50%) scale(1.1);
}

.page-nav-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-nav-button.left {
  left: -22px;
}

.page-nav-button.right {
  right: -22px;
}

/* About Me Section */
.about-section {
  padding: 3rem 1rem;
  max-width: 1000px;
  margin: auto;
}
.about-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #333;
}
/* Flex layout for text + image */
.about-content {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
}
/* Image style */
.about-photo {
  max-width: 300px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}
/* Text style */
.about-text {
  flex: 1;
  text-align: justify;
}
.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1rem;
}
/* Responsive stack on small screens */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .about-photo {
    max-width: 100%;
    height: auto;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #222;
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(100%);
}

/* Show + smooth bounce */
.scroll-to-top.show {
  opacity: 1;
  pointer-events: auto;
  animation: bounceIn 0.7s ease-out;
  transform: translateY(0);
}

/* Refined bounce animation */
@keyframes bounceIn {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  50% {
    transform: translateY(-10px);
    opacity: 1;
  }
  70% {
    transform: translateY(5px);
  }
  90% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0);
  }
}

/* 🌟 Floating CTA */
.floating-contact-btns {
  position: fixed;
  bottom: 140px; /* above scroll-to-top and dark mode toggle */
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating-contact-btns .contact-button {
  background-color: #2c2c2c;
  color: white;
  padding: 10px 16px;
  border-radius: 30px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1;
}

.floating-contact-btns .contact-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 0;
}

.floating-contact-btns .contact-button:hover::before {
  animation: shimmer 2s infinite;
  opacity: 1;
}

@keyframes shimmer {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

.floating-contact-btns .contact-button img {
  width: 18px;
  height: 18px;
  z-index: 1;
}

@media (max-width: 500px) {
  .floating-contact-btns {
    right: 10px;
    bottom: 160px;
  }
}

/* Navigation Link */
.nav-link {
  position: relative;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link.active {
  color: #ffa726;
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffa726;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.resume-download {
  text-align: center;
  margin-top: 2rem;
}

.resume-btn {
  display: inline-block;
  background-color: #ffa726;
  color: #111;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.resume-btn:hover {
  background-color: #ff9800;
  transform: translateY(-2px);
}

/* Page Not Found */
.not-found-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  padding: 2rem;
  background-color: #121212;
  color: #fff;
}

.not-found-container h1 {
  font-size: 6rem;
  margin-bottom: 1rem;
  color: #ffa726;
}

.not-found-container p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.not-found-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.not-found-btn {
  background-color: #ffa726;
  color: #121212;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.not-found-btn:hover {
  background-color: #ff9800;
  transform: scale(1.05);
}

.not-found-btn.alt {
  background-color: #2c2c2c;
  color: white;
}

.not-found-btn.alt:hover {
  background-color: #444;
}


/* Section Wrapper */
section {
  padding: 3rem 1rem;
  max-width: 1100px;
  margin: auto;
}

/* Section Titles */
h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #333;
}

/* 🌟 Sticky Section Titles with Frosted Glass Effect */
.sticky-title {
  position: -webkit-sticky;
  position: sticky;
  top: 60px; /* Adjust based on your navbar height */
  background: rgba(255, 255, 255, 0.6); /* Light frosted glass */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 20px;
  background: #ffa726;
  color: #000;
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 10000;
  font-weight: 600;
  transition: top 0.3s ease;
  text-decoration: none;
}

.skip-to-content:focus {
  top: 20px;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Dark mode variation */
body.dark .sticky-title {
  background: rgba(20, 20, 20, 0.6);
  color: #fff;
}

/* Floating Dark Mode Toggle Button */
.dark-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #222;
  color: #fff;
  border: none;
  padding: 12px 14px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

.dark-toggle:hover {
  background: #444;
  transform: scale(1.1);
}

/* Dark Mode Styling */
body.dark {
  background-color: #121212;
  color: #f0f0f0;
}

/* Navbar Styles in Dark Mode */
body.dark .navbar {
  background-color: #111;
  border-bottom: 1px solid #333;
}

body.dark .nav-link {
  color: #f0f0f0;
}

body.dark .nav-link:hover {
  color: #fff;
}

body.dark .nav-link::after {
  background-color: #f0f0f0;
}

body.dark .separator {
  color: #666;
}

/* Hero Header */
body.dark .hero-header {
  color: #f0f0f0;
}

body.dark .hero-content h1,
body.dark .hero-content p {
  color: #f0f0f0;
}

/* Toggle color swap */
body.dark .dark-toggle {
  background: #eee;
  color: #121212;
}

/* Section Backgrounds */
body.dark .follow-section,
body.dark .category-section,
body.dark .testimonial-section,
body.dark .intro-section {
  background-color: #1e1e1e;
}

/* Headings & Descriptions */
body.dark h2,
body.dark p,
body.dark .follow-title,
body.dark .follow-description {
  color: #f0f0f0;
}

/* Social Icons background tweak */
body.dark .social-link img {
  background-color: #333;
}

/* Fix for dark mode boxes */
body.dark .services div,
body.dark .service-card {
  background-color: #1e1e1e;
  color: #f0f0f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Optional: subtitle readability */
body.dark .service-card p,
body.dark .services div {
  color: #ccc;
}

body.dark .services div strong,
body.dark .service-card h3 {
  color: #e0e0e0;
}

body.dark .playlist-link {
  color: #fff;
}

body.dark .playlist-link:hover {
  color: #f0f0f0;
}

.playlist-link.active::after,
.playlist-link:hover::after {
  background: currentColor;
}

/* ✅ Dark Mode fix for thumbnail text */
body.dark .video-title {
  background-color: #1e1e1e;
  color: #eee;
}

body.dark .category-button {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

body.dark .category-button:hover,
body.dark .category-button.active {
  background-color: #888;
}

body.dark .about-section h2,
body.dark .about-section p {
  color: #f0f0f0;
}

body.dark .follow-section,
body.dark .category-section,
body.dark .testimonial-section {
  background-color: #121212 !important;
}

body.dark .nav-link.active {
  color: #ffa726 !important;
  font-weight: 600;
}

body.dark .nav-link.active::after {
  background-color: #ffa726 !important;
}

/* Remove dark mode override so text stays dark */
body.dark #emailModalContent {
  background-color: #fff; /* Keep it white even in dark mode */
  color: #222;            /* Keep text dark */
}

body.dark #emailModalContent h3 {
  color: #ffa726;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #222;
  color: #eee;
  font-size: 14px;
}

.footer-credit {
  font-size: 13px;
  color: #888;
  margin-top: 0.5rem;
}

.footer-logo {
  max-width: 80px; /* Smaller size */
  height: auto; /* Maintain aspect ratio */
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Prevent text cursor and selection on non-interactive sections */
h2,
.services div,
.service-card,
.services-grid,
.what-i-do-section,
.why-choose-section {
  cursor: default;
  user-select: none;
}

/* ♿ Keyboard Focus Outline for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #ffa726; /* Matches your warm orange */
  outline-offset: 4px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 600px) {
  .review-card {
    max-width: 90vw;
    min-width: 85vw;
    height: 280px;
  }

  .service-card {
    width: 100%;
  }

  header h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }
}
/* === Responsive Portfolio CSS === */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
  }

  .navbar {
    padding: 16px 20px;
  }

  .hero-header {
    padding: 10rem 1rem 6rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  .video-thumb-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-width: 90vw;
    height: auto;
  }

  .category-grid {
    flex-direction: column;
    gap: 16px;
  }

  .social-icons {
    gap: 10px;
  }

  .contact-buttons {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.5rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .video-title {
    font-size: 13px;
  }

  .category-button {
    padding: 10px 16px;
    font-size: 13px;
  }

  .dark-toggle {
    padding: 10px 12px;
    font-size: 16px;
  }
  
/* 🍔 Responsive Navbar with Hamburger Menu */
/* Base nav styling */
.navbar {
  background: #111;
  color: white;
  padding: 1rem;
  position: fixed;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hide links on mobile by default */
.nav-links-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Hamburger button base (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 22px;
  right: 20px;
  z-index: 10001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Animate to "X" when open */
.navbar.open .hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.navbar.open .hamburger span:nth-child(2) {
  opacity: 0;
}
.navbar.open .hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links-wrapper {
    display: none;
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  /* Show links when menu is open */
  .navbar.open .nav-links-wrapper {
    display: flex;
  }

  .separator {
    display: none;
  }
}

/* ✅ Hide hamburger completely on wider screens */
@media (min-width: 769px) {
  .hamburger {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
    height: 0;
    width: 0;
    overflow: hidden;
  }
}

  footer {
    font-size: 14px;
  }
}

/* ✨ Orange Hover for CTA-Style Buttons Only */
.contact-button:hover,
.category-button:hover,
.cta-button:hover,
.page-button:hover {
  background-color: #ffa726 !important;
  color: #111 !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-button:hover img,
.cta-button:hover img {
  filter: none; /* keeps icons visible */
}

/* 🌙 Featured Work Tabs Hover - Dark Mode Orange Style */
body.dark .playlist-link:hover,
body.dark .playlist-link.active {
  color: #ffa726 !important;
}

body.dark .playlist-link::after,
body.dark .playlist-link:hover::after,
body.dark .playlist-link.active::after {
  background-color: #ffa726 !important;
}

/* 🧱 Utility Container (optional) */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ✨ Responsive Upgrade for Wide Screens */
@media (min-width: 1600px) {
  .container,
  .category-section,
  .featured-nav-section,
  .testimonial-section,
  .about-section,
  .follow-section,
  .contact-section {
    max-width: 1400px;
  }

  .video-thumb-grid {
    max-width: 1400px;
  }
}

/* 🖥️ Widescreen Support for Ultra-Wide Monitors */
@media (min-width: 1600px) {
  section {
    max-width: 1400px;
    margin: 0 auto;
  }

  .hero-header .hero-content,
  .about-content,
  .testimonial-section > p,
  .category-description {
    max-width: 1200px;
    margin: 0 auto;
  }

  .hero-content,
  .about-content {
    padding: 0 40px;
  }
}

@media (min-width: 1600px) {
  .intro-container {
    max-width: 1200px;
  }
}

@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .hero-header {
    min-height: 100vh;
    padding: 7rem 1rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .intro-section {
    margin-top: 0;
    padding-top: 2rem;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .hero-header {
    min-height: 80vh;
    padding: 10rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .intro-section {
    margin-top: 0;
    padding-top: 3rem;
  }
}
