* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease; 
}

body{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* Theme Variable */
:root {
 --bg-primary: #000000;
  --bg-secondary: #111111;
  --bg-tertiary: #222222;
  --text-primary: #ffffff;
  --text-secondary: #e5e5e5;
  --text-muted: #b3b3b3;
  --border-color: rgba(255, 255, 255, 0.1);
  --separation-bg: linear-gradient(90deg, #222, #333, #222);
}

/* Light Theme Variables */
:root.light-theme {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  --text-primary: #000000;
  --text-secondary: #333333;
  --text-muted: #666666;
  --border-color: rgba(0, 0, 0, 0.1);
  --separation-bg: linear-gradient(90deg, #ddd, #ccc, #ddd);
}

body {
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  transition: all 0.3s ease;
}

/* Language button styles - Fixed to match original */
.lang-btn {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Theme toggle button styles */
.nav-buttons .theme-btn {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  background-color: transparent !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

/* Light theme button */
:root.light-theme .nav-buttons .theme-btn {
  color: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.7) !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Icon styles */
.nav-buttons .theme-btn .theme-icon {
  width: 18px !important;
  height: 18px !important;
  filter: none !important;
  opacity: 1 !important;
  transition: all 0.3s ease !important;
}

/* Text */
.nav-buttons .theme-btn .theme-text {
  font-weight: 500 !important;
  color: #ffffff !important;
}

:root.light-theme .nav-buttons .theme-btn .theme-text {
  color: #000000 !important;
}

:root.light-theme .lang-btn {
  border-color: rgba(0, 0, 0, 0.3);
  color: var(--text-primary);
}

/* Hover effects */
.nav-buttons .theme-btn:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-2px) scale(1.05) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
}

:root.light-theme .nav-buttons .theme-btn:hover {
  background-color: rgba(0, 0, 0, 0.15) !important;
  border-color: rgba(0, 0, 0, 0.9) !important;
  color: #000000 !important;
}

.nav-buttons .theme-btn:hover .theme-icon {
  transform: rotate(15deg) scale(1.1) !important;
}


.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.9);
}

/* Force icon visibility with maximum specificity */
#theme-toggle {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 24px !important;
  height: 24px !important;
  cursor: pointer !important;
  margin-right: 15px !important;
  border: none !important;
  background: none !important;
  filter: none !important;
  position: relative !important;
  z-index: 10000 !important;
  /* Add a temporary border to see if element is there */
  border: 1px solid red !important;
}

#theme-toggle:hover {
  transform: scale(1.1) rotate(15deg) !important;
  opacity: 1 !important;
}

/* Ensure nav-buttons container doesn't hide it */
.nav-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  z-index: 9999 !important;
  position: relative !important;
}

/* Remove any conflicting styles */
.theme-icon-only {
  display: none !important; /* Remove this class if it exists */
}

.theme-icon-only:hover {
  transform: scale(1.1) rotate(15deg) !important;
}

/* Simple FAQ heading color fix */
:root.light-theme .faq h2 {
  color: #000000 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
}



/* Content sections theme - Fixed text visibility */
.first {
  padding: 8% 4%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4%;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  width: 100%;
}

/* Additional override for theme button visibility */
button#theme-toggle {
  color: #ffffff !important;
}

:root.light-theme button#theme-toggle {
  color: #000000 !important;
}

button#theme-toggle .theme-text {
  color: inherit !important;
}

button#theme-toggle .theme-icon {
  display: block !important;
  visibility: visible !important;
}

.first span:first-child {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.1;
  color: var(--text-primary);
}

:root.light-theme .first span:first-child {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--text-primary);
}

.first span:last-child {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-muted);
  line-height: 1.4;
}

/* Ensure all sections inherit theme colors */
.first.second {
  direction: rtl;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.first.second > * {
  direction: ltr;
}

.first.third {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.first.animate-on-scroll {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}


html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar  */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background: #e50914;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f40612;
}

/* Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 4%;
  height: 70px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.netflix-logo {
  height: 28px;
  animation: slideDown 0.8s ease;
}
.netflix-logo:hover {
  transform: scale(1.1) rotate(1deg);
  filter: brightness(1.2);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}
.nav-links li {
  animation: slideDown 0.8s ease;
  animation-delay: calc(var(--i) * 0.1s);
  opacity: 0;
  animation-fill-mode: forwards;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  padding: 8px 0;
}
.nav-links a:hover {
  color: #e5e5e5;
  transform: translateY(-2px);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e50914, transparent);
  transform: translateX(-50%);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  animation: slideDown 0.8s ease;
  animation-delay: 0.6s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.btn {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.9);
}

.btn-red-sm {
  background: #e50914;
  border-color: #e50914;
  font-weight: 600;
}
.btn-red-sm:hover {
  background: #f40612;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 25px rgba(229, 9, 20, 0.4);
}

.btn-red {
  background: #e50914;
  border-color: #e50914;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}
.btn-red:hover {
  background: #f40612;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.5);
}

.main {
  position: relative;
   width: 100%;
}
.box {
  /* Background overlay */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://assets.nflxext.com/ffe/siteui/vlv3/9d3533b2-0e2b-40b2-95e0-ecd7979cc88b/a3873901-5b7c-46eb-b9fa-12fea5197bd3/IN-en-20240311-popsignuptwoweeks-perspective_alpha_website_large.jpg");
  background-size: cover;
  background-position: center;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: 120px 4% 80px;
  animation: fadeInUp 1.2s ease;
  position: relative;
  z-index: 10;
  width: 100%;
}
.hero span {
  display: block;
  margin-bottom: 25px;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
  animation-delay: calc(var(--i) * 0.3s);
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero span:nth-child(1) {
  --i: 1;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  max-width: 800px;
  background: linear-gradient(135deg, #fff 0%, #e5e5e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Poppins", sans-serif;
}
.hero span:nth-child(2) {
  --i: 2;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: #e5e5e5;
}
.hero span:nth-child(3) {
  --i: 3;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  margin-bottom: 40px;
  max-width: 600px;
  color: #d0d0d0;
  line-height: 1.4;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  margin: 30px auto 0;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
  animation-delay: 1s;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero-buttons input[type="email"] {
  flex: 2;
  min-width: 200px;
  padding: 16px 20px;
  font-size: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  backdrop-filter: blur(10px);
}
.hero-buttons input[type="email"]:focus {
  outline: none;
  border-color: #e50914;
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
}
.hero-buttons input[type="email"]::placeholder {
  color: #999;
}
.hero-buttons button {
  flex: 1;
  min-width: 120px;
  padding: 16px 20px;
  font-size: 15px;
  border: none;
}

.separation {
  height: 8px;
  background: linear-gradient(90deg, #222, #333, #222);
  position: relative;
  overflow: hidden;
  width: 100%;
}
.separation::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.3), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

/* Feature Sections - Engaging & Animated! */
.first {
  padding: 8% 4%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4%;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}
.first.second {
  direction: rtl; /* Reverse order for alternating sections */
}
.first.second > * {
  direction: ltr; /* Keep content direction normal */
}
.first span:first-child {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #e5e5e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.first span:last-child {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: #b3b3b3;
  line-height: 1.4;
}

/* For 1st TV and vedio */
.secImg {
  position: relative;
  width: 100%;
}
.secImg img {
  position:relative;
  z-index: 10;
  width: 100%;
  max-width: 490px;
}
.secImg:hover {
  transform: scale(1.05) rotate(0.05deg);
}
.secImg video {
  position: absolute;
  width: 73%;
  max-width: 360px;
  top: 15%;
  left: 13%;
}

/*For 2nd TV and vedio */
.imgno3{
  position: relative;
  width: 100%;
}
.imgno3 img{
  position: relative;
  padding-top: 9%;
  height: auto;
  width: 100%;
  max-width: 544px;
  z-index: 10;
}
.imgno3:hover {
  transform: scale(1.05) rotate(0.05deg);
}
.imgno3 video{
  position: absolute;
  height: 51%;
  width: 64%;
  max-width: 350px;
  top: 16%;
  left: 18%;
}

/*Frequent ask question  */

.faq {
  padding: 8% 4%;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.faq h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 60px;
  animation: fadeInUp 1s ease;
  background: linear-gradient(135deg, #fff 0%, #e5e5e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Poppins", sans-serif;
}

.faqbox {
  margin-bottom: 10px;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
  animation-delay: calc(var(--i) * 0.1s);
  opacity: 0;
  animation-fill-mode: forwards;
  border-radius: 8px;
  overflow: hidden;
  position: relative; /* For the subtle border effect */
  border: 1px solid transparent; /* Initial transparent border */
  width: 100%;
}
.faqbox:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(229, 9, 20, 0.3); /* Subtle red border on hover */
}

.faq-header {
  background: #303030;
  padding: 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.faq-header:hover {
  background: #404040;
  transform: translateY(-1px);
}
.faq-header:hover .question {
  color: #e5e5e5; /* Text color change on hover */
}
.faq-header:hover .icon {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)); /* Subtle glow on icon */
  transform: rotate(45deg) scale(1.1); /* Slight rotation and scale on hover */
}

.question {
  font-size: 1.3rem;
  font-family: "Poppins", sans-serif;
}
.icon {
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.faq-plus-icon {
  font-size: 30px;
  margin-left: 10px;
  transition: transform 0.3s ease;
  color: white;
}
.faqbox.open .icon {
  transform: rotate(45deg) scale(1.1);
  filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.5));
  transition: transform 0.4s ease;
}

.answer {
  background: #303030;
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #d0d0d0;
  opacity: 0;
  transform: translateY(10px);
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s 0.1s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: max-height, opacity, transform;
  width: 100%;
}
.faqbox.open .answer {
  padding: 30px;
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s, 0.05s, 0.05s;
}

.answer.show {
  display: block;
}

.faq-cta {
  text-align: center;
  margin-top: 50px;
  animation: fadeInUp 1s ease;
  animation-delay: 0.8s;
  opacity: 0;
  animation-fill-mode: forwards;
  width: 100%;
}
.faq-cta p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Back to Top Button (Circular Progress) - A visual journey! */
.back-to-top-progress {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px; 
  height: 60px;
  border-radius: 50%;
  background: transparent; 
  border: none;
  cursor: pointer;
  display: none; 
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  overflow: visible; 
}
.back-to-top-progress:hover {
  background: linear-gradient(135deg, #f40612, #ff1e2d); /* Hover background for the button itself */
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 30px rgba(229, 9, 20, 0.5);
}
.back-to-top-progress .fas {
  /* Arrow icon */
  color: #fff;
  font-size: 1.2rem;
  position: absolute;
  z-index: 2;
}

.circular-progress {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg); /* Start from top */
}
.circular-progress .circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1); /* Light background for the circle */
  stroke-width: 2; /* Thinner background line */
}
.circular-progress .circle-progress {
  fill: none;
  stroke: #e50914; /* Red progress color */
  stroke-width: 3; /* Thinner red progress line */
  stroke-linecap: round;
  transition: stroke-dasharray 0.3s linear, stroke-dashoffset 0.3s linear; /* Smooth progress fill */
}

/* Enhanced Footer - Elegant & Interactive! */
footer {
  padding: 8% 4% 30px;
  background: linear-gradient(135deg, #000 0%, #111 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
}
footer::before {
  /* Top border shimmer */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.3), transparent);
  animation: shimmer 4s ease-in-out infinite;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
}

.footer-contact {
  margin-bottom: 40px;
  animation: fadeInUp 1s ease;
  transform: translateY(20px);
  opacity: 0;
  animation-fill-mode: forwards;
  width: 100%;
}
.footer-contact p {
  color: #b3b3b3;
  font-family: "Roboto", sans-serif;
}
.footer-contact a {
  color: #e50914;
  text-decoration: none;
  position: relative;
  font-weight: 600;
}
.footer-contact a:hover {
  color: #f40612;
  transform: translateY(-1px);
  text-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  width: 100%;
}
.footer-column {
  animation: fadeInUp 1s ease;
  animation-delay: calc(var(--i) * 0.15s);
  opacity: 0;
  animation-fill-mode: forwards;
  transform: translateY(30px);
  padding: 20px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01); /* Very subtle initial background */
}
.footer-column:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.03); /* Subtle background on hover */
}
.footer-column h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: "Roboto", sans-serif;
  position: relative;
}
.footer-column:hover h4 {
  color: #e50914;
  transform: translateX(5px);
}
.footer-column ul {
  list-style: none;
}
.footer-column li {
  margin-bottom: 12px;
}
.footer-column li:hover {
  transform: translateX(3px); /* Reduced transform distance */
}
.footer-column a {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: "Poppins", sans-serif;
  position: relative;
  display: inline-block;
}
.footer-column a::after {
  /* Red underline effect */
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #e50914, #f40612);
}
.footer-column a:hover::after {
  width: 100%;
}
.footer-column a:hover {
  color: #fff;
  transform: translateX(5px); 
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 1s ease;
  animation-delay: 0.8s;
  opacity: 0;
  animation-fill-mode: forwards;
  position: relative;
  margin-bottom: 80px; 
  width: 100%;
}
.footer-bottom p {
  color: #b3b3b3;
  font-size: 0.9rem;
  font-family: "Roboto", sans-serif;
}

.social-links {
  display: flex;
  gap: 20px;
}
.social-links a {
  color: #b3b3b3;
  font-size: 1.8rem;
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}
.social-links a:hover {
  color: #e50914;
  transform: translateY(-5px) scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px rgba(229, 9, 20, 0.3);
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}


/* ========== HAMBURGER MENU STYLES ========== */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(-100%);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 80px 20px 20px;
  text-align: center;
}

.mobile-nav-links {
  list-style: none;
  margin-bottom: 40px;
}

.mobile-nav-links li {
  margin: 20px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  transition-delay: calc(var(--i) * 0.1s);
}

.mobile-nav-overlay.active .mobile-nav-links li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-links li:nth-child(1) { --i: 1; }
.mobile-nav-links li:nth-child(2) { --i: 2; }
.mobile-nav-links li:nth-child(3) { --i: 3; }
.mobile-nav-links li:nth-child(4) { --i: 4; }
.mobile-nav-links li:nth-child(5) { --i: 5; }

.mobile-nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 600;
  padding: 15px 25px;
  display: block;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-nav-links a:hover {
  background: rgba(229, 9, 20, 0.2);
  color: #e50914;
  transform: scale(1.05);
}

.mobile-nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.mobile-nav-links a:hover::before {
  left: 100%;
}

.mobile-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  transition-delay: 0.6s;
}

.mobile-nav-overlay.active .mobile-nav-buttons {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-buttons button,
.mobile-nav-buttons a {
  min-width: 150px;
  text-align: center;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

#mobile-lang-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  cursor: pointer;
}

#mobile-lang-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

/* Mobile Responsiveness - Adapting to all screens! */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 4%;
    height: 60px;
  }
  .netflix-logo {
    height: 24px;
  }
  .nav-links {
    display: none;
  }
  
  /* Show hamburger menu on mobile */
  .hamburger-menu {
    display: flex !important;
  }
  
  /* Hide desktop nav buttons on mobile */
  .desktop-nav-buttons {
    display: none;
  }
  .hero {
    padding: 80px 15px 60px;
    min-height: 90vh;
  }
  
  .hero span:nth-child(1) {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-top: 10px;
    margin-bottom: 20px;
  }
  
  .hero span:nth-child(2) {
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin-bottom: 15px;
  }
  
  .hero span:nth-child(3) {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    margin-bottom: 30px;
    padding: 0 10px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
    padding: 0 15px;
  }
  
  .hero-buttons input[type="email"] {
    width: 100%;
    padding: 18px 20px;
    font-size: 16px;
    border-radius: 8px;
    min-height: 56px;
  }
  
  .hero-buttons .btn-red {
    width: 100%;
    padding: 18px 20px;
    font-size: 16px;
    border-radius: 8px;
    min-height: 56px;
    font-weight: 700;
  }
  .first {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 20px;
    gap: 30px;
  }
  
  /* Optimize images for mobile */
  .secImg {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .secImg img {
    width: 100% !important;
    max-width: 400px;
    height: auto;
    object-fit: contain;
  }
  
  .secImg video {
    width: 100% !important;
    max-width: 300px;
    height: auto;
  }
  
  .imgno3 img {
    width: 100% !important;
    max-width: 350px;
    height: auto;
  }
  
  .imgno3 video {
    width: 100% !important;
    max-width: 250px;
    height: auto;
  }
  
  /* Improve text spacing on mobile */
  .first span:first-child {
    font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
    margin-bottom: 15px;
    line-height: 1.2;
  }
  
  .first span:last-child {
    font-size: clamp(1rem, 4vw, 1.2rem) !important;
    padding: 0 10px;
    line-height: 1.4;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Enhanced FAQ section for mobile */
  .faq {
    padding: 40px 15px !important;
  }
  
  .faq h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .faqbox {
    margin-bottom: 15px !important;
    border-radius: 8px !important;
  }
  
  .faq-header {
    padding: 20px 15px !important;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .faq-header .question {
    font-size: clamp(1rem, 4vw, 1.2rem) !important;
    line-height: 1.3;
    padding-right: 15px;
  }
  
  .faq-plus-icon {
    font-size: 1.8rem !important;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }
  
  .faq-header:hover .faq-plus-icon {
    background: rgba(229, 9, 20, 0.2);
    transform: scale(1.1);
  }
  
  .answer {
    padding: 20px 15px !important;
    font-size: clamp(0.95rem, 3.5vw, 1.1rem) !important;
    line-height: 1.5 !important;
  }
  
  .faq p {
    font-size: clamp(1rem, 4vw, 1.2rem) !important;
    text-align: center;
    padding: 0 15px;
    margin-top: 30px !important;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    margin-bottom: 100px; /* More margin for mobile */
  }
  
  /* Responsive adjustments for videos */
  .secImg video {
    width: 70%;
    top: 15%;
    left: 15%;
  }
  
  .imgno3 video {
    width: 60%;
    height: 50%;
    top: 15%;
    left: 20%;
  }
}

/* Touch-friendly improvements for smaller screens */
@media (max-width: 480px) {
  .navbar {
    padding: 8px 15px;
    height: 65px;
  }
  
  .hamburger-menu {
    width: 32px;
    height: 26px;
  }
  
  .hero {
    padding: 70px 10px 50px;
  }
  
  .hero-buttons {
    padding: 0 10px;
  }
  
  .hero-buttons input[type="email"],
  .hero-buttons .btn-red {
    padding: 20px;
    font-size: 17px;
    min-height: 60px;
  }
  
  .first {
    padding: 50px 15px;
  }
  
  .mobile-nav-links a {
    font-size: 1.6rem;
    padding: 18px 30px;
    margin: 8px 0;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }
  
  .footer-column a {
    font-size: 0.95rem;
    padding: 12px 0;
  }
  
  /* Better touch targets */
  .btn, .btn-red, .btn-red-sm {
    min-height: 48px;
    padding: 12px 20px;
    font-size: 16px;
  }
  
  /* Back to top button */
  .back-to-top-progress {
    width: 50px !important;
    height: 50px !important;
    bottom: 80px !important;
    right: 15px !important;
  }
  
  .hero {
    padding: 100px 4% 60px;
  }
  
  .first {
    padding: 12% 4%;
  }
  
  .faq {
    padding: 12% 4%;
  }
  
  footer {
    padding: 12% 4% 30px;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar background in light theme */
:root.light-theme .navbar {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

:root.light-theme .navbar.scrolled {
  background: #ffffff !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}


/* Navbar links in light theme */
:root.light-theme .navbar .nav-links a {
  color: #000000 !important;
}

:root.light-theme .navbar .nav-links a:hover {
  color: #333333 !important;
}

/* Navbar buttons in light theme */
:root.light-theme .navbar .btn {
  color: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.7) !important;
}

:root.light-theme .navbar .btn:hover {
  background: rgba(0, 0, 0, 0.1) !important;
  border-color: rgba(0, 0, 0, 0.9) !important;
}

:root.light-theme .navbar .btn-red-sm {
  background: #e50914 !important;
  border-color: #e50914 !important;
  color: #ffffff !important;
}

:root.light-theme .navbar .btn-red-sm:hover {
  background: #f40612 !important;
}

/* Theme toggle and language button in light mode */
:root.light-theme .navbar #theme-toggle {
  border: 1px solid rgba(0, 0, 0, 0.7) !important;
}

:root.light-theme .navbar #lang-toggle {
  background: transparent !important;
  color: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.7) !important;
}

:root.light-theme .navbar #lang-toggle:hover {
  background: rgba(0, 0, 0, 0.1) !important;
  border-color: rgba(0, 0, 0, 0.9) !important;
}

/* Footer background in light theme */
:root.light-theme footer {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  color: #000000 !important;
}

:root.light-theme .faq-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

:root.light-theme footer::before {
  background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.3), transparent) !important;
}

/* Footer contact section in light theme */
:root.light-theme footer .footer-contact p {
  color: #666666 !important;
}

:root.light-theme footer .footer-contact a {
  color: #e50914 !important;
}

:root.light-theme footer .footer-contact a:hover {
  color: #f40612 !important;
  text-shadow: 0 0 10px rgba(229, 9, 20, 0.3) !important;
}

/* Footer columns in light theme */
:root.light-theme footer .footer-column {
  background: rgba(0, 0, 0, 0.02) !important;
}

:root.light-theme footer .footer-column:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

:root.light-theme footer .footer-column h4 {
  color: #000000 !important;
}

:root.light-theme footer .footer-column:hover h4 {
  color: #e50914 !important;
}

:root.light-theme footer .footer-column a {
  color: #666666 !important;
}

:root.light-theme footer .footer-column a:hover {
  color: #000000 !important;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.2) !important;
}

/* Footer bottom section in light theme */
:root.light-theme footer .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

:root.light-theme footer .footer-bottom p {
  color: #666666 !important;
}

/* Social links in light theme */
:root.light-theme footer .social-links a {
  color: #666666 !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

:root.light-theme footer .social-links a:hover {
  color: #e50914 !important;
  background: rgba(229, 9, 20, 0.1) !important;
  box-shadow: 0 10px 25px rgba(229, 9, 20, 0.2) !important;
}

:root.light-theme .back-to-top-progress .fas {
  color: #000000 !important;
}

