/* 🌐 Global Styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #f8f8f8;
  overflow-x: hidden;
  padding-top: 80px; /* Space for fixed navbar */
}

/* 🔷 Navbar Styling */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Space out items */
  padding: 10px 5%;
  background-color: #e6f4f1;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.nav-logo img {
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.nav-logo:hover img {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 600;
}

.nav-link {
  color: #0f172a;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: #0077b6;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: #0077b6;
  transform: translateY(-3px);
}

.user-type {
  background-color: #38bdf8;
  color: white;
  border-radius: 40px;
  padding: 8px 12px;
  font-size: 12px;
  /* position: absolute; */
  /* top: -5px;
  right: -12px; */
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

/* .nav-item:hover .badge {
  transform: scale(1.2);
} */


/* 🔽 Dropdown */
.dropdown {
  position: relative;
}



.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border-radius: 6px;
  min-width: 160px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.3s;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

.login-btn-liquid {
  position: relative;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  border: none;
  border-radius: 50px;
  background: linear-gradient(90deg, #A1ECFF, #D9B4FF, #F7B0E6);
  background-size: 200% auto;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(161, 236, 255, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease-in-out;
  z-index: 1;
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 10px rgba(161, 236, 255, 0.4), 0 0 0 rgba(217, 180, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(161, 236, 255, 0.6), 0 0 10px rgba(247, 176, 230, 0.3);
  }
  100% {
    box-shadow: 0 0 10px rgba(161, 236, 255, 0.4), 0 0 0 rgba(217, 180, 255, 0.2);
  }
}

.login-btn-liquid:hover {
  background-position: right center;
  transform: translateY(-3px) scale(1.05);
}

/* Menu Toggle for Mobile */
.menu-toggle {
  display: none; /* Hidden by default */
  flex-direction: column;
  cursor: pointer;
  gap: 6px; /* Space between bars */
  /* Explicitly set width, but let height be determined by children + gap */
  width: 30px; 
  justify-content: center; /* Center spans vertically */
  align-items: center; /* Center spans horizontally */
}

.menu-toggle span {
  width: 30px;
  height: 4px;
  background: #0f172a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Open/Close Menu Toggle Animation */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}


/* 🚀 Hero Video Section */
.hero-video {
  position: relative;
  width: 100%;
  height: 87vh;
  overflow: hidden;
  background-color: #000;
}

.hero-full-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* 🎥 Background Video Section */
.plans-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.plans-video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

/* ✅ Plans Section */
/* Main Plans Section (for main.html with video background) */
.plans-section {
  position: relative;
  padding: 60px 20px;
  z-index: 1;
  color: white;
}

.plans-heading {
  text-align: center;
  margin-bottom: 60px;
}

.plans-heading h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.plans-heading .subheading {
  font-size: 18px;
  font-weight: 500;
  color: #ffffffcc;
}

.plans-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.plan-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 40px 30px;
  width: 340px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.plan-card h3 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #ffffff;
  text-align: center;
  width: 100%;
}

.plan-point {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  padding-left: 28px;
  width: 100%;
  color: #ffffff;
  word-wrap: break-word;
  box-sizing: border-box;
  min-height: fit-content;
}

.plan-point::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #00ff9f;
  font-size: 18px;
  font-weight: bold;
}

.enroll-btn {
  margin-top: auto;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.enroll-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

/* ✅ Responsive Design */
@media (max-width: 768px) {
  .hero-video {
    height: calc(100vh - 80px);
  }
  .hero-full-video {
    object-fit: cover;
    object-position: center;
  }
  
  /* Plans Section Mobile Improvements */
  .plans-section {
    padding: 40px 15px;
  }
  
  .plans-heading {
    margin-bottom: 40px;
  }
  
  .plans-heading h2 {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .plans-heading .subheading {
    font-size: 16px;
    line-height: 1.4;
  }
  
  .plans-row {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
  }

  .plan-card {
    width: 100%;
    max-width: 95%;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  }

  .plan-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .plan-point {
    font-size: 15px;
    margin-bottom: 12px;
    padding-left: 25px;
    line-height: 1.4;
  }

  .plan-point::before {
    font-size: 16px;
    top: 1px;
  }

  .enroll-btn {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 35px;
    margin-top: 20px;
  }
}

/* Only for "Why Choose" Section Below */
.why-section {
  padding: 60px 20px;
  background-color: #dbeafe; /* calm soft light-blue */
}

.why-section h2 {
  font-size: 35px;
  text-align: center;
  margin-bottom: 60px;
  color: #000; /* Main heading black */
}

.feature-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.feature-block.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
  padding-left: 25px; /* slight left padding for better alignment */
  transition: transform 0.3s ease;
}

.feature-text h3 {
  font-size: 25px;
  margin-bottom: 15px;
  color: #000; /* dark black heading */
}

.feature-text p {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 550; /* slightly bold */
}

.feature-text:hover {
  transform: translateY(-5px); /* hover lift effect */
}

.feature-image {
  flex: 1;
  text-align: center;
}

.feature-image img {
  max-width: 100%;
  max-height: 260px;
  border-radius: 10px;
  object-fit: cover;
}

/* Gradient Background Animation */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Responsive for mobile devices */
@media (max-width: 768px) {
  .feature-block,
  .feature-block.reverse {
    flex-direction: column;
    text-align: center;
  }

  .feature-text {
    padding-left: 0;
  }
}

/* Testimonials Section Styling */
.testimonial-section {
  background: linear-gradient(to right, #e3f2fd, #ffffff); /* Light blueish gradient */
  padding: 80px 20px;
  text-align: center;
}

.testimonial-heading {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #0d47a1; /* Deep blue */
}

.testimonial-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonial-box {
  background-color: #fefefe; /* very light box bg */
  border-left: 5px solid #42a5f5; /* blue accent on left */
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  padding: 25px 20px;
  flex: 1 1 300px;
  max-width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
  background-color: #f1f8ff; /* subtle hover background */
}

.testimonial-text {
  font-size: 18px;
  font-weight: 700; /* uniform weight */
  color: #37474f;
  line-height: 1.7;
  margin-bottom: 15px;
}

.testimonial-user {
  font-size: 16px;
  font-weight: 600;
  color: #1565c0; /* distinctive blue for name */
  margin-top: 10px;
  letter-spacing: 0.5px;
}

/* ====== Footer Section Styling ====== */
.footer {
  background-color: #d0efff;
  color: #0a1734;
  padding: 60px 20px 30px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

/* 🔹 Sections */
.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  max-width: 280px;
  margin-bottom: 10px;
}

.footer-tagline {
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 10px;
  text-align: center;
}

.footer-contact {
  margin-top: 15px;
  text-align: center;
}

.contact-info {
  color: #64748b;
  font-size: 0.85rem;
  margin: 5px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.contact-info i {
  font-size: 0.9rem;
  color: #0077b6;
  width: 16px;
  text-align: center;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin: 25px 0 15px;
}

/* 🔹 Buttons */
.footer-btn {
  display: block;
  margin: 6px 0;
  padding: 10px 20px;
  background: linear-gradient(90deg, #38bdf8, #3b82f6);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  max-width: 200px;
}

.footer-btn:hover {
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
}

/* 🔹 Copyright */
.footer .copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #5c6e85;
}

/* 🔹 Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 30px;
  }

  .footer-btn {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Specific Navbar Responsiveness */
/* Adjusted breakpoint for initial navbar changes, to give more room before full collapse */
@media (max-width: 850px) { /* Common breakpoint for medium tablets */
  .navbar {
    padding: 10px 3%; /* Slightly reduce horizontal padding */
  }
  .nav-links {
    gap: 15px; /* Reduce gap between links */
  }
  .login-btn-liquid {
    padding: 10px 20px; /* Smaller button */
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 20px;
    justify-content: space-between; /* Ensure space between items */
    flex-wrap: nowrap; /* Prevent wrapping before menu toggle */
  }

  .nav-links {
    /* Hide nav links on smaller screens and only show when active */
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #e6f4f1;
    position: absolute;
    top: 80px; /* Below the fixed navbar */
    left: 0;
    width: 100%;
    padding: 15px;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
  }

  .nav-links.active {
    display: flex; /* Show when active */
  }

  .nav-links .nav-link,
  .nav-links .dropdown {
    width: 100%; /* Full width for menu items */
    text-align: left;
    padding: 10px 0; /* Add vertical padding */
  }

  .nav-links .dropdown-content {
    position: static; /* Remove absolute positioning */
    transform: none; /* Remove transform */
    width: 100%;
    box-shadow: none; /* No shadow for dropdown in mobile */
    background-color: transparent; /* Transparent background */
    border-radius: 0;
    padding-left: 20px; /* Indent dropdown items */
  }

  .nav-links .dropdown-content a {
    padding: 8px 0;
  }

  .menu-toggle {
    display: flex; /* Show the menu toggle button */
    order: 3; /* Ensure it appears after login/signup if they are on same line */
    margin-left: 15px; /* Space from the login/signup button */
  }

  .login-signup {
    order: 2; /* Ensure it's between logo and menu toggle if needed */
    margin-left: auto; /* Push login/signup to the right */
  }
  .nav-logo {
    order: 1;
  }

  /* Plan section responsiveness (already good) */
  .plan-card {
    width: 100%;
    max-width: 90%; /* Adjust max-width if needed */
    padding: 25px 15px; /* Reduce padding inside the card for smaller screens */
  }

  .plan-point {
    font-size: 14px; /* Slightly reduce font size for better fit */
    padding-left: 25px; /* Adjust padding to ensure checkmark is visible */
    margin-bottom: 10px; /* Reduce bottom margin */
    line-height: 1.4; /* Adjust line height for better text wrapping */
  }

  .plan-point::before {
    font-size: 16px; /* Keep checkmark slightly larger if desired */
    top: 2px; /* Adjust vertical alignment of checkmark */
  }

  .plans-heading h2 {
    font-size: 24px;
  }

  .plans-heading .subheading {
    font-size: 14px;
  }
}

/* Targeting specific small screen sizes for fine-tuning */
@media (max-width: 480px) { /* General for most small phones */
  .navbar {
    padding: 10px 10px;
  }
  .nav-logo img {
    height: 48px; /* Slightly smaller logo */
  }
  .login-btn-liquid {
    padding: 7px 16px; /* Smaller button */
    font-size: 12px;
  }
  .menu-toggle {
    /* Removed explicit height from here! */
    width: 28px; /* Keeping this for the container's flexible width */
    gap: 4px; /* Reduced gap */
    margin-left: 8px; /* Reduced margin to keep it on screen */
  }
  .menu-toggle span {
    width: 28px; /* Control span width */
    height: 3px; /* Control span thickness */
  }
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg); /* Adjusted transform for smaller size */
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg); /* Adjusted transform for smaller size */
  }
  
  /* Plans Section for Small Phones */
  .plans-section {
    padding: 30px 10px;
  }
  
  .plans-heading h2 {
    font-size: 24px;
    margin-bottom: 6px;
  }
  
  .plans-heading .subheading {
    font-size: 14px;
    line-height: 1.3;
  }
  
  .plans-row {
    gap: 20px;
    margin-bottom: 25px;
  }
  
  .plan-card {
    max-width: 98%;
    padding: 25px 25px;
    border-radius: 18px;
  }
  
  .plan-card h3 {
    font-size: 20px;
    margin-bottom: 18px;
  }
  
  .plan-point {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 22px;
  }
  
  .plan-point::before {
    font-size: 15px;
  }
  
  .enroll-btn {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 30px;
    margin-top: 18px;
  }
}

@media (max-width: 425px) {
  .hero-video {
    height: calc(100vh - 80px);
  }
  .hero-full-video {
    object-fit: cover;
    object-position: center;
  }
  .plan-card {
    padding: 20px 20px; /* Further reduce padding for very small screens */
  }
  .plan-point {
    font-size: 13px; /* Further reduce font size */
    padding-left: 22px; /* Adjust checkmark padding */
  }
  .plan-point::before {
    font-size: 15px;
  }
  .navbar .nav-logo img {
    height: 45px; /* Even smaller logo */
  }
  .login-btn-liquid {
    padding: 6px 14px; /* Smaller button */
    font-size: 11px;
  }
  .menu-toggle {
    /* Removed explicit height from here! */
    width: 25px;
    gap: 3px;
    margin-left: 6px;
  }
  .menu-toggle span {
    width: 25px;
    height: 3px;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg); /* Adjusted transform */
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg); /* Adjusted transform */
  }
}

@media (max-width: 375px) {
  .navbar {
    padding: 10px 8px; /* Even tighter padding */
  }
  .navbar .nav-logo img {
    height: 40px; /* Smaller logo */
  }
  .login-btn-liquid {
    padding: 5px 12px; /* Smaller button */
    font-size: 10px; /* Smallest font size for button */
  }
  .menu-toggle {
    /* Removed explicit height from here! */
    width: 22px;
    gap: 3px;
    margin-left: 5px;
  }
  .menu-toggle span {
    width: 22px;
    height: 2px; /* Thinner bars */
  }
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
  
  /* Plans Section for Very Small Phones */
  .plans-section {
    padding: 25px 8px;
  }
  
  .plans-heading h2 {
    font-size: 22px;
    margin-bottom: 5px;
  }
  
  .plans-heading .subheading {
    font-size: 13px;
    line-height: 1.2;
  }
  
  .plans-row {
    gap: 18px;
    margin-bottom: 20px;
  }
  
  .plan-card {
    max-width: 99%;
    padding: 22px 22px;
    border-radius: 16px;
  }
  
  .plan-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
    line-height: 1.2;
  }
  
  .plan-point {
    font-size: 13px;
    margin-bottom: 8px;
    padding-left: 20px;
    line-height: 1.3;
  }
  
  .plan-point::before {
    font-size: 14px;
    top: 0px;
  }
  
  .enroll-btn {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 25px;
    margin-top: 15px;
  }
}

@media (max-width: 320px) {
  .navbar {
    padding: 10px 5px; /* Absolute minimal padding */
  }
  .nav-logo img {
    height: 35px; /* Smallest logo size */
  }
  .login-btn-liquid {
    padding: 4px 8px; /* Smallest button size */
    font-size: 9px; /* Absolute smallest font size for button */
    white-space: nowrap; /* Ensure button text does not wrap */
  }
  .menu-toggle {
    /* Removed explicit height from here! */
    width: 20px;
    gap: 2px; /* Smallest gap */
    margin-left: 4px; /* Minimal margin */
  }
  .menu-toggle span {
    width: 20px;
    height: 2px;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg); /* Adjusted transform for tight fit */
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg); /* Adjusted transform for tight fit */
  }
  .plans-heading h2 {
    font-size: 20px;
  }
  .plans-heading .subheading {
    font-size: 12px;
  }
  .plan-card h3 {
    font-size: 18px;
  }
  .plan-point {
    font-size: 10px;
    padding-left: 16px;
  }
  .plan-point::before {
    font-size: 12px;
  }
}







/* ====== Login Page Styles (Centered, No Image) ====== */
.login-section {
  padding: 20px;
  background-color: #f8f8f8;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  max-width: 100%;
}

.login-card {
  padding: 50px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  max-width: 100%;
}

.login-card h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
  color: #0f172a;
}

.login-subtext {
  text-align: center;
  font-size: 15px;
  color: #64748b;
  margin-bottom: 25px;
}

/* ====== Signup Page Styles (Full-width with Image) ====== */
.signup-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.signup-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  box-sizing: border-box;
}

.signup-card {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.signup-hero {
  flex: 1;
  position: relative;
  display: flex;
  background: linear-gradient(135deg, #e6f4f1, #d0efff);
}

.signup-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signup-quote {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
}

/* ====== Common Form Styles ====== */
.login-form,
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.form-group input {
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.form-group input:focus {
  border-color: #0077b6;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
  outline: none;
}

.forgot-link {
  font-size: 12px;
  color: #0077b6;
  text-decoration: none;
  align-self: flex-end;
  margin-top: 3px;
}

.auth-btn {
  padding: 12px;
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.3);
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 8px 0;
  color: #64748b;
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
  margin: 0 8px;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-btn {
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  width: 100%;
  box-sizing: border-box;
}

.social-btn img {
  width: 18px;
  height: 18px;
}

.auth-switch {
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

.auth-switch a {
  color: #0077b6;
  text-decoration: none;
  font-weight: 600;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-check label {
  font-size: 12px;
  color: #64748b;
}

/* ====== Responsive Adjustments ====== */
@media (max-width: 768px) {
  /* Signup page adjustments */
  .signup-section {
    padding: 40px 15px;
  }
  
  .signup-container {
    flex-direction: column;
    margin: 0 10px;
  }
  
  .signup-card {
    padding: 40px 30px;
  }
  
  .signup-hero {
    min-height: 250px;
  }
  
  /* Login page adjustments */
  .login-section {
    padding: 40px 15px;
  }
  .login-container {
    margin: 0 10px;
  }
  .login-card {
    padding: 40px 30px;
  }
}

@media (max-width: 576px) {
  .signup-section {
    padding: 30px 10px;
  }
  
  .signup-container {
    margin: 0 5px;
    border-radius: 12px;
  }
  
  .login-container,
  .signup-card {
    padding: 25px 20px;
  }
  
  .login-card h2,
  .signup-card h2 {
    font-size: 24px;
  }
  
  .form-group input {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .auth-btn {
    padding: 10px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .signup-section {
    padding: 20px 5px;
  }
  
  .signup-container {
    margin: 0 2px;
    border-radius: 8px;
  }
  
  .signup-card {
    padding: 20px 15px;
  }
  
  .signup-card h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  
  .auth-subtext {
    font-size: 13px;
    margin-bottom: 20px;
  }
  
  .form-group {
    gap: 4px;
  }
  
  .form-group label {
    font-size: 12px;
  }
  
  .form-group input {
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 6px;
  }
  
  .auth-btn {
    padding: 8px;
    font-size: 13px;
    border-radius: 6px;
  }
  
  .social-btn {
    padding: 8px;
    font-size: 13px;
  }
  
  .auth-switch {
    font-size: 12px;
  }
  
  .form-check label {
    font-size: 11px;
  }
}

@media (max-width: 375px) {
  .signup-section {
    padding: 15px 2px;
  }
  
  .signup-container {
    margin: 0 1px;
  }
  
  .signup-card {
    padding: 15px 10px;
  }
  
  .signup-card h2 {
    font-size: 20px;
  }
  
  .form-group input {
    padding: 7px 8px;
    font-size: 12px;
  }
  
  .auth-btn {
    padding: 7px;
    font-size: 12px;
  }
  
  .social-btn {
    padding: 7px;
    font-size: 12px;
  }
  
  .social-btn img {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 320px) {
  .signup-section {
    padding: 10px 1px;
  }
  
  .signup-container {
    margin: 0;
    border-radius: 6px;
  }
  
  .signup-card {
    padding: 12px 8px;
  }
  
  .signup-card h2 {
    font-size: 18px;
  }
  
  .auth-subtext {
    font-size: 12px;
  }
  
  .form-group input {
    padding: 6px 7px;
    font-size: 11px;
  }
  
  .auth-btn {
    padding: 6px;
    font-size: 11px;
  }
  
  .social-btn {
    padding: 6px;
    font-size: 11px;
  }
  
  .social-btn img {
    width: 14px;
    height: 14px;
  }
  
  .auth-switch {
    font-size: 11px;
  }
  
  .form-check label {
    font-size: 10px;
  }
}

/* ===== Invite a Friend Button ===== */
.invite-friend-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 5000;
  background: linear-gradient(90deg, #10b981, #38bdf8);
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 14px 28px 14px 20px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(16,185,129,0.18);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  outline: none;
}
.invite-friend-btn:hover {
  transform: scale(1.07) translateY(-2px);
  box-shadow: 0 10px 32px rgba(56,189,248,0.22);
  background: linear-gradient(90deg, #38bdf8, #10b981);
}
@media (max-width: 600px) {
  .invite-friend-btn {
    bottom: 16px;
    right: 10px;
    padding: 10px 16px 10px 12px;
    font-size: 15px;
  }
}

.logout-btn {
  width: 100%;
  margin-top: 18px;
  padding: 10px 0;
  background: linear-gradient(90deg, #ef4444, #f87171);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.logout-btn:hover {
  background: linear-gradient(90deg, #b91c1c, #ef4444);
  transform: translateY(-2px) scale(1.03);
}

/* ===== Start Learning Button ===== */
.start-learning-btn {
  display: inline-block;
  background: linear-gradient(90deg, #38bdf8, #10b981);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 32px;
  border: none;
  border-radius: 28px;
  box-shadow: 0 4px 18px rgba(56,189,248,0.13);
  text-decoration: none;
  transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
  margin-top: 18px;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-align: center;
}
.start-learning-btn:hover {
  background: linear-gradient(90deg, #10b981, #38bdf8);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px rgba(16,185,129,0.18);
  color: #fff;
}
@media (max-width: 480px) {
  .start-learning-btn {
    font-size: 15px;
    padding: 10px 18px;
  }
}

/* ===== Commission Page Styles ===== */
/* Commission Page Specific Styles */
.commission-page {
  background-color: #000;
  overflow-x: hidden;
}

.commission-page .navbar {
  background-color: #e6f4f1;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  padding: 10px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.commission-page .nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 600;
}

.commission-page .nav-link {
  color: #0f172a;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.commission-page .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: #0077b6;
  transition: width 0.3s ease;
}

.commission-page .nav-link:hover::after {
  width: 100%;
}

.commission-page .nav-link:hover,
.commission-page .nav-link.active {
  color: #0077b6;
  transform: translateY(-3px);
}

.commission-page .nav-logo img {
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.commission-page .nav-logo:hover img {
  transform: scale(1.1);
}

.commission-page .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border-radius: 6px;
  min-width: 160px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.commission-page .dropdown:hover .dropdown-content {
  display: block;
}

.commission-page .dropdown-content a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.3s;
}

.commission-page .dropdown-content a:hover {
  background-color: #f0f0f0;
}

.commission-page .menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  width: 30px;
  justify-content: center;
  align-items: center;
}

.commission-page .menu-toggle span {
  width: 30px;
  height: 4px;
  background: #0f172a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Commission Page Menu Toggle Animation */
.commission-page .menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.commission-page .menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.commission-page .menu-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.commission-page .footer {
  background-color: #d0efff;
  color: #0a1734;
  padding: 60px 20px 30px;
  font-family: 'Poppins', sans-serif;
}

.commission-page .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.commission-page .footer-section {
  flex: 1;
  min-width: 250px;
}

.commission-page .footer-logo {
  max-width: 280px;
  margin-bottom: 10px;
}

.commission-page .footer-tagline {
  font-size: 16px;
  font-weight: 600;
  color: #0a1734;
}

.commission-page .footer-title {
  font-size: 18px;
  font-weight: 700;
  margin: 25px 0 15px;
}

.commission-page .footer-btn {
  display: block;
  margin: 6px 0;
  padding: 10px 20px;
  background: linear-gradient(90deg, #38bdf8, #3b82f6);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  max-width: 200px;
}

.commission-page .footer-btn:hover {
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
}

.commission-page .copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #5c6e85;
}

/* First Video Full Width */
.video-section {
  width: 100%;
  height: auto;
}

.video-section video {
  width: 100%;
  height: 100vh;
  display: block;
  object-fit: cover;
  background: black; 
  object-position: center center;
}

/* Commission Section */
.commission-section {
  position: relative;
  min-height: 100vh;
  padding: 80px 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
}

/* Background Video Container */
.bg-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.2);
  pointer-events: none;
}

.commission-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  z-index: 1;
  justify-content: center;
  align-items: stretch;
}

.commission-grid > * {
  flex: 1 1 250px;
  max-width: 300px;
  box-sizing: border-box;
}

.commission-box {
  background: rgba(0, 102, 204, 0.247);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.commission-box:hover {
  transform: translateY(-5px);
}

.commission-box h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
  color: #e5f4ff;
}

.commission-box p {
  line-height: 1.4;
  margin-bottom: 8px;
}

.commission-box p strong {
  display: block;
  margin-top: 5px;
  font-weight: bold;
}

.commission-box em {
  margin-top: auto;
  font-style: normal;
  color: #e0f0ff;
  font-weight: 500;
}

/* Commission Page Responsive Design */
@media (max-width: 768px) {
  .commission-page .navbar {
    padding: 10px 20px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .commission-page .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #e6f4f1;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 10px;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
  }

  .commission-page .nav-links.active {
    display: flex;
  }

  .commission-page .nav-links .nav-link,
  .commission-page .nav-links .dropdown {
    width: 100%;
    text-align: left;
    padding: 6px 0;
  }

  .commission-page .nav-links .dropdown-content {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    background-color: transparent;
    border-radius: 0;
    padding-left: 20px;
  }

  .commission-page .nav-links .dropdown-content a {
    padding: 4px 0;
  }

  .commission-page .menu-toggle {
    display: flex;
    order: 3;
    margin-left: 15px;
  }

  .commission-page .nav-logo {
    order: 1;
  }

  .commission-page .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .commission-page .footer-section {
    margin-bottom: 30px;
  }

  .commission-page .footer-btn {
    margin-left: auto;
    margin-right: auto;
  }

  .commission-grid {
    grid-template-columns: 1fr;
  }
  
  .video-section video {
    height: 50vh;
    min-height: 200px;
    max-height: 50vh;
  }
}

@media (max-width: 480px) {
  .commission-page .navbar {
    padding: 10px 10px;
  }
  
  .commission-page .nav-logo img {
    height: 48px;
  }
  
  .commission-page .menu-toggle {
    width: 28px;
    gap: 4px;
    margin-left: 8px;
  }
  
  .commission-page .menu-toggle span {
    width: 28px;
    height: 3px;
  }
  
  .commission-page .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .commission-page .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .video-section video {
    height: 35vh;
    min-height: 120px;
    max-height: 35vh;
  }
}

@media (max-width: 375px) {
  .commission-page .navbar {
    padding: 10px 8px;
  }
  
  .commission-page .nav-logo img {
    height: 40px;
  }
  
  .commission-page .menu-toggle {
    width: 22px;
    gap: 3px;
    margin-left: 5px;
  }
  
  .commission-page .menu-toggle span {
    width: 22px;
    height: 2px;
  }
  
  .commission-page .menu-toggle.active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }
  
  .commission-page .menu-toggle.active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
  
  .video-section video {
    height: 28vh;
    min-height: 90px;
    max-height: 28vh;
  }
}

@media (max-width: 320px) {
  .commission-page .navbar {
    padding: 10px 5px;
  }
  
  .commission-page .nav-logo img {
    height: 35px;
  }
  
  .commission-page .menu-toggle {
    width: 20px;
    gap: 2px;
    margin-left: 4px;
  }
  
  .commission-page .menu-toggle span {
    width: 20px;
    height: 2px;
  }
  
  .commission-page .menu-toggle.active span:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
  }
  
  .commission-page .menu-toggle.active span:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg);
  }
  
  .video-section video {
    height: 22vh;
    min-height: 60px;
    max-height: 22vh;
  }
}

/* ===== Payment Page Styles ===== */
/* Payment Page Specific Styles */
.payment-page {
  font-family: 'Poppins', sans-serif;
  background: #f8f8f8;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
}

.payment-outer {
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  padding: 40px 0px;
  box-sizing: border-box;
  padding-top: 100px; /* Space for navbar */
  padding-bottom: 60px; /* Space for footer */
}

.payment-section {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 44px 32px 32px 32px;
  border: 1px solid #e6f4f1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-sizing: border-box;
}

.payment-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.payment-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 0;
  flex-wrap: wrap;
  transition: all 0.3s;
}

.row-title {
  width: 100%;
  text-align: center;
  font-size: 1.18rem;
  font-weight: 600;
  color: #0077b6;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.method-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #e6f4f1;
  border-radius: 10px;
  padding: 16px 18px;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s;
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

.method-box.selected {
  border: 2px solid #0077b6;
  box-shadow: 0 2px 10px rgba(0,119,182,0.08);
  background: #d9f6ff;
}

.method-box[disabled], .method-box[style*='cursor:default'] {
  cursor: default;
  opacity: 0.95;
}

.method-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
}

.method-info {
  flex: 1;
}

.method-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #0f172a;
}

.method-desc {
  font-size: 0.97rem;
  color: #555;
}

.card-form {
  margin-top: 18px;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 18px 14px 10px 14px;
  box-shadow: 0 2px 8px rgba(0,119,182,0.04);
  border: 1px solid #e2e8f0;
  animation: fadeIn 0.3s;
  width: 550px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.payment-page .form-group {
  margin-bottom: 14px;
}

.payment-page .form-group label {
  display: block;
  font-size: 0.97rem;
  color: #0f172a;
  margin-bottom: 4px;
  font-weight: 500;
}

.payment-page .form-group input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #b2d8e6;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border 0.2s;
  box-sizing: border-box;
}

.payment-page .form-group input:focus {
  border: 1.5px solid #0077b6;
  outline: none;
}

.pay-btn {
  width: 100%;
  padding: 11px 0;
  background: linear-gradient(90deg, #28a745, #0077b6);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(40,167,69,0.08);
  transition: background 0.2s, transform 0.2s;
}

.pay-btn:hover {
  background: linear-gradient(90deg, #0077b6, #28a745);
  transform: translateY(-2px) scale(1.03);
}

.whatsapp-box {
  text-align: center;
  margin-top: 38px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 25px;
  padding: 10px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 8px;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
}

.plan-select-section {
  background: #f6fcff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,119,182,0.04);
  padding: 18px 18px 10px 18px;
  margin: 0 auto 24px auto;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.plan-select-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0077b6;
  margin-bottom: 10px;
  text-align: left;
  letter-spacing: 0.5px;
}

.plan-select-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.plan-radio {
  width: 250px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border-radius: 8px;
  padding: 10px 10px;
  border: 1.5px solid #e2e8f0;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s;
  margin-bottom: 0;
}

.plan-radio input[type="radio"] {
  accent-color: #0077b6;
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.plan-radio .plan-name {
  flex: 1;
  color: #0f172a;
  font-weight: 600;
}

.plan-radio .plan-price {
  color: #28a745;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 10px;
}

.payment-referral-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

.payment-referral-group label {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.payment-referral-group input {
  width: 250px;
  margin: 0 auto;
  text-align: center;
  padding: 10px 18px;
  font-size: 17px;
  border: 1.5px solid #e0e7ef;
  border-radius: 12px;
  background: linear-gradient(90deg, #f8fafc 60%, #e0f7fa 100%);
  box-shadow: 0 2px 12px rgba(56,189,248,0.07);
  transition: border 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}

.payment-referral-group input:focus {
  border: 1.5px solid #38bdf8;
  box-shadow: 0 4px 18px rgba(56,189,248,0.18);
  background: #f0faff;
}

/* Payment Page Responsive Design */
@media (max-width: 900px) {
  .payment-outer {
    padding-top: 80px;
    padding-bottom: 40px;
  }
  .payment-section {
    padding: 28px 2vw 18px 2vw;
  }
  .payment-row {
    gap: 12px;
  }
  .method-box {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .payment-outer {
    padding-top: 70px;
    padding-bottom: 20px;
  }
  .payment-section {
    padding: 30px 0 8px 0;
    border-radius: 0;
    box-shadow: none;
  }
  .payment-title {
    font-size: 1.3rem;
  }
  .row-title {
    font-size: 1rem;
  }
  .card-form {
    width: 100%;
    max-width: 90vw;
    box-sizing: border-box;
    padding: 10px 2vw 8px 2vw;
  }
  .payment-row {
    max-width: 420px;
    margin: 0 auto 12px auto;
    background: #f6fcff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,119,182,0.07);
    padding: 10px 8px 10px 8px;
    gap: 10px;
  }
  .method-box {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    padding: 12px 4px;
    font-size: 0.97rem;
  }
  .plan-select-section {
    max-width: 98vw;
    padding: 10px 2vw 6px 2vw;
  }
}

@media (max-width: 500px) {
  .payment-outer {
    padding-top: 60px;
    padding-bottom: 10px;
  }
  .payment-section {
    padding: 30px 8px 10px 8px;
  }
  .payment-row {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    max-width: 98vw;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0,119,182,0.08);
    padding: 6px 2vw 6px 2vw;
    background: #fafdff;
  }
  .method-box {
    width: 80vw;
    min-width: 0;
    max-width: 100vw;
    padding: 10px 2vw;
    font-size: 0.95rem;
  }
  .card-form {
    width: 85%;
    max-width: 75vw;
    box-sizing: border-box;
    padding: 20px 20px;
  }
  .payment-page .form-group input {
    font-size: 0.95rem;
    padding: 7px 7px;
  }
  .pay-btn {
    font-size: 0.97rem;
    padding: 8px 0;
  }
  .plan-radio {
    font-size: 0.97rem;
    padding: 8px 8px;
  }
  .plan-radio .plan-price {
    font-size: 0.97rem;
  }
}

@media (max-width: 480px) {
  .payment-referral-group input {
    max-width: 98vw;
    font-size: 15px;
    padding: 10px 8px;
  }
}

@media (max-width: 400px) {
  .payment-title {
    font-size: 1.1rem;
  }
  .row-title {
    font-size: 0.9rem;
  }
  .method-title {
    font-size: 0.97rem;
  }
  .method-desc {
    font-size: 0.9rem;
  }
  .card-form {
    width: 85%;
    max-width: 75vw;
    box-sizing: border-box;
    padding: 20px 20px;
  }
}

@media (max-width: 375px) {
  .payment-title {
    font-size: 1rem;
  }
  .row-title {
    font-size: 0.9rem;
  }
  .method-title {
    font-size: 0.93rem;
  }
  .method-desc {
    font-size: 0.87rem;
  }
  .method-box {
    padding: 8px 1vw;
    font-size: 0.9rem;
  }
  .card-form {
    width: 85%;
    max-width: 75vw;
    box-sizing: border-box;
    padding: 20px 20px;
  }
  .payment-row {
    max-width: 99vw;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,119,182,0.10);
    padding: 10px 3vw 10px 3vw;
  }
  .plan-select-section {
    max-width: 99vw;
    padding: 4px 0 2px 0;
  }
  .plan-radio {
    font-size: 0.93rem;
    padding: 6px 4px;
  }
  .plan-radio .plan-price {
    font-size: 0.93rem;
  }
}




.courses-section {
  padding: 60px 20px;
  background: #f8f8f8;
}

.courses-heading {
  text-align: center;
  margin-bottom: 40px;
}

.plan-courses-block {
  margin-bottom: 50px;
}

.plan-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 18px 0;
  margin-top: 50px;
  text-align: center;
}

.courses-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.course-box {
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-family: sans-serif;
  margin: 20px auto;
}

.thumbnail {
  width: 100%;
  height: 150px;
  background-color: #eee;
  border-radius: 5px;
  margin-bottom: 10px;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}

.course-title {
  font-size: 18px;
  margin: 10px 0;
}

.course-description {
  max-height: 60px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.course-description.expanded {
  max-height: 500px;
}

.see-more-btn {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  padding: 0;
  font-size: 14px;
  margin-top: 5px;
}

.start-learning-btn {
  display: block;
  margin-top: 10px;
  padding: 8px 15px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  background: linear-gradient(45deg, #28a745, #218838);
  color: white;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.start-learning-btn:hover {
  background: linear-gradient(45deg, #218838, #1e7e34);
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}




@media (max-width: 900px) {
  .courses-row {
      flex-direction: column;
      align-items: center;
      gap: 18px;
  }

  .plan-title {
      font-size: 1.3rem;
      text-align: center;
  }
}

@media (max-width: 576px) {
  .courses-section {
      padding: 20px 2px;
  }

  .plan-title {
      font-size: 1.1rem;
  }
}

/* User Dashboard specific styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #f8f8f8;
  overflow-x: hidden;
  padding-top: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 40px 20px;
}

/* User Dashboard Plans Section (different from main.html) */
.user-dashboard .plans-section {
  background: #f8f8f8;
  color: #0f172a;
}

.user-dashboard .plans-heading {
  text-align: center;
  margin-bottom: 40px;
}

.user-dashboard .plans-heading h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.user-dashboard .plans-heading .subheading {
  font-size: 1.1rem;
  color: #64748b;
}

.user-dashboard .plans-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.user-dashboard .plan-card {
  background: #e6f4f1;
  border-radius: 16px;
  padding: 40px 30px;
  width: 260px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.user-dashboard .plan-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0f172a;
  text-align: center;
  width: 100%;
}

.user-dashboard .plan-point {
  color: #0f172a;
}

.testimonial-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonial-box {
  background-color: #fefefe;
  border-left: 5px solid #42a5f5;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  padding: 25px 20px;
  flex: 1 1 300px;
  max-width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
  background-color: #f1f8ff;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
}

.reward-amount {
  font-size: 1.2rem;
  font-weight: 700;
}

.reward-earned {
  color: #10b981;
}

.reward-conditions {
  color: #f59e0b;
}

.reward-inprogress {
  color: #ef4444;
}

.reward-status {
  float: right;
  font-size: 1rem;
  font-weight: 600;
}

.progress-bar {
  margin: 10px 0;
  background: #e2e8f0;
  border-radius: 4px;
  height: 8px;
  width: 100%;
}

.progress-fill-earned {
  height: 8px;
  background: linear-gradient(90deg, #38bdf8, #10b981);
  border-radius: 4px;
  width: 100%;
}

.progress-fill-conditions {
  height: 8px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 4px;
  width: 100%;
}

.progress-fill-inprogress-50 {
  height: 8px;
  background: linear-gradient(90deg, #ef4444, #fca5a5);
  border-radius: 4px;
  width: 50%;
}

.progress-fill-inprogress-30 {
  height: 8px;
  background: linear-gradient(90deg, #ef4444, #fca5a5);
  border-radius: 4px;
  width: 30%;
}

.progress-fill-inprogress-15 {
  height: 8px;
  background: linear-gradient(90deg, #ef4444, #fca5a5);
  border-radius: 4px;
  width: 15%;
}

.reward-conditions-row {
  margin-top: 10px;
}

.reward-conditions-met {
  color: #10b981;
}

.reward-conditions-pending {
  color: #ef4444;
}

.reward-conditions-advance {
  color: #10b981;
}

.reward-conditions-pro {
  color: #ef4444;
}

@media (max-width: 850px) {
  .navbar {
      padding: 10px 3%;
  }

  .nav-links {
      gap: 15px;
  }

  .login-btn-liquid {
      padding: 10px 20px;
      font-size: 15px;
  }
}

@media (max-width: 768px) {
  .navbar {
      flex-wrap: wrap;
      padding: 10px 16px;
  }

  .user-avatar {
      order: 1;
      width: 44px;
      height: 44px;
      font-size: 1.25rem;
      margin-left: 10px;
  }

  .nav-logo {
      order: 2;
  }

  .user-type {
      order: 3;
  }

  .menu-toggle {
      order: 4;
  }

  .user-type {
      font-size: 12px;
      padding: 6px 12px;
      margin-left: 10px;
  }
}

@media (max-width: 900px) {
  .testimonial-container {
      flex-direction: column;
      align-items: center;
      gap: 18px;
  }

  .testimonial-box {
      width: 100%;
      max-width: 95%;
      min-width: 0;
      box-sizing: border-box;
      padding: 18px 8px;
  }
}

@media (max-width: 576px) {
  .user-avatar {
      width: 36px;
      height: 36px;
  }

  .container {
      padding: 10px 2px;
  }

  .plan-card {
      padding: 10px 10px;
  }

  .testimonial-box {
      padding: 10px 2px;
  }

  .stat-number {
      font-size: 2rem;
  }

  .reward-amount {
      font-size: 1rem;
  }
}

@media (max-width: 800px) {
  .testimonial-box {
      padding: 10px 4px;
      min-height: unset !important;
      height: auto !important;
      max-width: 100% !important;
      flex: none !important;
  }

  .testimonial-box h3 {
      font-size: 1.05rem;
      margin-bottom: 6px;
  }

  .reward-amount {
      font-size: 0.92rem;
      margin-bottom: 4px;
  }

  .progress-bar {
      margin: 4px 0;
      height: 5px;
  }

  .reward-conditions-row {
      margin-top: 4px;
  }
}

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-30 {
  margin-bottom: 30px;
}

.bg-white {
  background: #fff;
}

.br-20 {
  border-radius: 20px;
}

.shadow-lg {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.p-40-20 {
  padding: 40px 20px;
}

.p-40-30 {
  padding: 40px 30px;
}

.color-primary {
  color: #0f172a;
}

.color-secondary {
  color: #64748b;
}

.testimonial-gap {
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-box-earned {
  border-left: 5px solid #10b981;
  background: #ecfdf5;
}

.testimonial-box-conditions {
  border-left: 5px solid #f59e0b;
  background: #fffbeb;
}

.testimonial-box-inprogress {
  border-left: 5px solid #ef4444;
  background: #fef2f2;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
  margin-left: 18px;
  border: #0f172a solid 2px;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  z-index: 10;
}
.user-panel {
  display: none;
  position: absolute;
  top: 110%;
  left: 30%;
  transform: translateX(-50%);
  min-width: 140px;
  max-width: 200px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
  padding: 20px 22px 16px 22px;
  z-index: 2000;
  font-size: 15px;
  color: #222;
  animation: fadeInPanel 0.2s;
}
.user-panel::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 10px;
  background: transparent;
  pointer-events: none;
  z-index: 2;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 10px solid #fff;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.08));
}
.user-panel.active {
  display: block;
}
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.user-panel .user-name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 2px;
}
.user-panel .user-email {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
}
.user-panel .ref-label {
  font-size: 13px;
  color: #888;
  margin-bottom: 2px;
}
.user-panel .ref-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-panel .ref-code {
  font-family: monospace;
  font-size: 15px;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 2px 8px;
  color: #0072ff;
  font-weight: 600;
}
.user-panel .copy-btn {
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.user-panel .copy-btn:active {
  background: #0072ff;
}
@media (max-width: 768px) {
  .user-panel {
      /* display: flex; */
      /* justify-content: center; */
      /* align-items: center; */
      position: fixed;
      left: 50%;
      right: auto;
      top: 70px;
      transform: translateX(-50%);
      width: auto;
      min-width: 200px;
      max-width: 95vw;
      z-index: 3000;
      padding: 14px 10px 10px 10px;
      font-size: 14px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  }
  .user-panel .user-name {
      font-size: 15px;
  }
  .user-panel .ref-code {
      font-size: 13px;
  }
}
@media (max-width: 400px) {
  .user-panel {
      min-width: 140px;
      max-width: 98vw;
      padding: 12px 8px 10px 8px;
      font-size: 12px;
  }
  .user-panel .user-name {
      font-size: 13px;
  }
  .user-panel .ref-code {
      font-size: 11px;
  }
}

.user-type {
  background-color: #38bdf8;
  color: white;
  border-radius: 40px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  margin-left: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .navbar {
      flex-direction: row !important;
      align-items: center !important;
      flex-wrap: wrap;
      padding: 8px 4px;
  }

  .nav-logo {
      margin-bottom: 8px;
  }

  .user-type {
      font-size: 11px;
      padding: 5px 10px;
      margin-left: 0;
      margin-top: 6px;
  }

  .user-avatar {
      width: 30px;
      height: 30px;
      font-size: 0.95rem;
      margin-left: 0;
      margin-top: 6px;
  }

  .menu-toggle {
      margin-top: 6px;
  }
}

@media (max-width: 400px) {
  .user-type {
      font-size: 10px;
      padding: 4px 8px;
  }

  .user-avatar {
      width: 28px;
      height: 28px;
      font-size: 0.85rem;
  }
}

.referral-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.referral-count {
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 16px;
  padding: 4px 14px;
  box-shadow: 0 2px 8px rgba(0, 114, 255, 0.10);
  margin-left: 10px;
  letter-spacing: 1px;
  transition: background 0.3s;
}

.testimonial-box-earned .referral-count {
  background: linear-gradient(90deg, #10b981, #38bdf8);
}

.testimonial-box-conditions .referral-count {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  color: #fff;
}

.testimonial-box-inprogress .referral-count {
  background: linear-gradient(90deg, #ef4444, #fca5a5);
  color: #fff;
}

@media (max-width: 576px) {
  .referral-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 4px;
  }

  .referral-count {
      font-size: 12px;
      padding: 3px 10px;
  }
}

/* Team Reward Page Specific Styles */
.team-reward-page {
  background-color: #000;
  overflow-x: hidden;
}

.team-reward-page * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

.team-reward-page html, 
.team-reward-page body {
  width: 100%;
  height: 100%;
  background-color: #000;
  overflow-x: hidden;
}

/* Override navbar and footer styles for team reward page */
.team-reward-page .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
  background-color: #e6f4f1;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.team-reward-page .nav-logo img {
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.team-reward-page .nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.team-reward-page .nav-link {
  color: #0f172a;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 0;
  font-family: 'Poppins', sans-serif;
}

.team-reward-page .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: #0077b6;
  transition: width 0.3s ease;
}

.team-reward-page .nav-link:hover::after {
  width: 100%;
}

.team-reward-page .nav-link:hover,
.team-reward-page .nav-link.active {
  color: #0077b6;
  transform: translateY(-3px);
}

.team-reward-page .dropdown {
  position: relative;
}

.team-reward-page .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border-radius: 6px;
  min-width: 160px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.team-reward-page .dropdown:hover .dropdown-content {
  display: block;
}

.team-reward-page .dropdown-content a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
}

.team-reward-page .dropdown-content a:hover {
  background-color: #f0f0f0;
}

.team-reward-page .menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  width: 30px;
  justify-content: center;
  align-items: center;
}

.team-reward-page .menu-toggle span {
  width: 30px;
  height: 4px;
  background: #0f172a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.team-reward-page .menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.team-reward-page .menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.team-reward-page .menu-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Footer styles for team reward page */
.team-reward-page .footer {
  background-color: #d0efff;
  color: #0a1734;
  padding: 60px 20px 30px;
  font-family: 'Poppins', sans-serif;
}

.team-reward-page .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.team-reward-page .footer-section {
  flex: 1;
  min-width: 250px;
}

.team-reward-page .footer-logo {
  max-width: 280px;
  margin-bottom: 10px;
}

.team-reward-page .footer-tagline {
  font-size: 16px;
  font-weight: 600;
  color: #0a1734;
}

.team-reward-page .footer-title {
  font-size: 18px;
  font-weight: 700;
  margin: 25px 0 15px;
}

.team-reward-page .footer-btn {
  display: block;
  margin: 6px 0;
  padding: 10px 20px;
  background: linear-gradient(90deg, #38bdf8, #3b82f6);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  max-width: 200px;
}

.team-reward-page .footer-btn:hover {
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
}

.team-reward-page .copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #5c6e85;
}

/* Invite friend button for team reward page */
.team-reward-page .invite-friend-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.team-reward-page .invite-friend-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

/* First Video Full Width */
.team-reward-page .video-section {
  width: 100%;
  height: auto;
}

.team-reward-page .video-section video {
  width: 100%;
  height: 100vh;
  display: block;
  object-fit: cover;
  background: black; 
  object-position: center center;
}

/* Reward Section */
.team-reward-page .reward-section {
  position: relative;
  min-height: 100vh;
  padding: 80px 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
}

.team-reward-page .reward-section h2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 30px;
  z-index: 1;
}

/* Background Video Container */
.team-reward-page .bg-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.team-reward-page .bg-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
  pointer-events: none;
}

.team-reward-page .reward-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  max-width: 1000px;
  z-index: 1;
  justify-content: center;
  align-items: stretch; /* ensures equal height if needed */
}

.team-reward-page .reward-grid > * {
  flex: 1 1 250px;
  max-width: 300px;  /* fixed max width for consistency */
  box-sizing: border-box;
}

.team-reward-page .reward-box {
  background: rgba(0, 85, 170, 0.217);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  color: #e0f0ff;
}

.team-reward-page .reward-box:hover {
  transform: translateY(-5px);
}

.team-reward-page .reward-box h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
}

.team-reward-page .reward-box p {
  line-height: 1.4;
  margin-bottom: 8px;
}

.team-reward-page .reward-box p strong {
  display: block;
  margin-top: 5px;
  font-weight: bold;
}

.team-reward-page .reward-box em {
  margin-top: auto;
  font-style: normal;
  font-weight: 500;
}

/* Team Reward Responsive Styles */
@media (max-width: 768px) {
  .team-reward-page .reward-grid {
    grid-template-columns: 1fr;
  }
  
  .team-reward-page .video-section video {
    height: 50vh;
    min-height: 200px;
    max-height: 50vh;
  }
}

@media (max-width: 480px) {
  .team-reward-page .video-section video {
    height: 35vh;
    min-height: 120px;
    max-height: 35vh;
  }
}

@media (max-width: 375px) {
  .team-reward-page .video-section video {
    height: 28vh;
    min-height: 90px;
    max-height: 28vh;
  }
}

@media (max-width: 320px) {
  .team-reward-page .video-section video {
    height: 22vh;
    min-height: 60px;
    max-height: 22vh;
  }
}

/* Team Reward Page Responsive Styles */
@media (max-width: 768px) {
  .team-reward-page .navbar {
    padding: 10px 20px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .team-reward-page .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #e6f4f1;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 15px;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
  }

  .team-reward-page .nav-links.active {
    display: flex;
  }

  .team-reward-page .nav-links .nav-link,
  .team-reward-page .nav-links .dropdown {
    width: 100%;
    text-align: left;
    padding: 10px 0;
  }

  .team-reward-page .nav-links .dropdown-content {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    background-color: transparent;
    border-radius: 0;
    padding-left: 20px;
  }

  .team-reward-page .nav-links .dropdown-content a {
    padding: 8px 0;
  }

  .team-reward-page .menu-toggle {
    display: flex;
    order: 3;
    margin-left: 15px;
  }

  .team-reward-page .nav-logo {
    order: 1;
  }
}

@media (max-width: 480px) {
  .team-reward-page .navbar {
    padding: 10px 10px;
  }
  
  .team-reward-page .nav-logo img {
    height: 48px;
  }
  
  .team-reward-page .menu-toggle {
    width: 28px;
    gap: 4px;
    margin-left: 8px;
  }
  
  .team-reward-page .menu-toggle span {
    width: 28px;
    height: 3px;
  }
  
  .team-reward-page .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .team-reward-page .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .team-reward-page .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-reward-page .footer-section {
    margin-bottom: 30px;
  }

  .team-reward-page .footer-btn {
    margin-left: auto;
    margin-right: auto;
  }
  
  .team-reward-page .invite-friend-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 375px) {
  .team-reward-page .navbar {
    padding: 10px 8px;
  }
  
  .team-reward-page .nav-logo img {
    height: 40px;
  }
  
  .team-reward-page .menu-toggle {
    width: 22px;
    gap: 3px;
    margin-left: 5px;
  }
  
  .team-reward-page .menu-toggle span {
    width: 22px;
    height: 2px;
  }
  
  .team-reward-page .menu-toggle.active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }
  
  .team-reward-page .menu-toggle.active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
  
  .team-reward-page .invite-friend-btn {
    bottom: 15px;
    right: 15px;
    padding: 10px 18px;
    font-size: 13px;
  }
}

@media (max-width: 320px) {
  .team-reward-page .navbar {
    padding: 10px 5px;
  }
  
  .team-reward-page .nav-logo img {
    height: 35px;
  }
  
  .team-reward-page .menu-toggle {
    width: 20px;
    gap: 2px;
    margin-left: 4px;
  }
  
  .team-reward-page .menu-toggle span {
    width: 20px;
    height: 2px;
  }
  
  .team-reward-page .menu-toggle.active span:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
  }
  
  .team-reward-page .menu-toggle.active span:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg);
  }
  
  .team-reward-page .invite-friend-btn {
    bottom: 10px;
    right: 10px;
    padding: 8px 15px;
    font-size: 12px;
  }
}

/* Courses Page Specific Styles */
.courses-page .courses-section {
  padding: 60px 20px;
  background: #f8f8f8;
}

.courses-page .courses-heading {
  text-align: center;
  margin-bottom: 40px;
}

.courses-page .plan-courses-block {
  margin-bottom: 50px;
}

.courses-page .plan-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
  text-align: left;
}

.courses-page .courses-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.courses-page .course-box {
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-family: sans-serif;
  margin: 20px auto;
}

.courses-page .thumbnail {
  width: 100%;
  height: 150px;
  background-color: #eee;
  border-radius: 5px;
  margin-bottom: 10px;
}

.courses-page .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}

.courses-page .course-title {
  font-size: 18px;
  margin: 10px 0;
}

.courses-page .course-description {
  max-height: 60px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.courses-page .course-description.expanded {
  max-height: 500px;
}

.courses-page .see-more-btn {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  padding: 0;
  font-size: 14px;
  margin-top: 5px;
}

.courses-page .start-learning-btn {
  display: block;
  margin-top: 10px;
  padding: 8px 15px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  background: linear-gradient(45deg, #28a745, #218838);
  color: white;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.courses-page .start-learning-btn:hover {
  background: linear-gradient(45deg, #218838, #1e7e34);
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.courses-page .invite-friend-btn {
  position: fixed;
  top: 90px;
  right: 32px;
  z-index: 5000;
  background: linear-gradient(90deg, #10b981, #38bdf8);
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 14px 28px 14px 20px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(16,185,129,0.18);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  outline: none;
}

.courses-page .invite-friend-btn:hover {
  transform: scale(1.07) translateY(-2px);
  box-shadow: 0 10px 32px rgba(56,189,248,0.22);
  background: linear-gradient(90deg, #38bdf8, #10b981);
}

@media (max-width: 600px) {
  .courses-page .invite-friend-btn {
    top: 70px;
    right: 10px;
    padding: 10px 16px 10px 12px;
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .courses-page .courses-row {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .courses-page .plan-title {
    font-size: 1.3rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .courses-page .courses-section {
    padding: 20px 2px;
  }

  .courses-page .plan-title {
    font-size: 1.1rem;
  }
}

/* Privacy Policy and Terms & Conditions Pages Styles */
.privacy-policy-section,
.terms-conditions-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 120px 20px 60px;
  position: relative;
  overflow: hidden;
}

.privacy-policy-section::before,
.terms-conditions-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.policy-content,
.terms-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.policy-content h1,
.terms-content h1 {
  color: #2c3e50;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

       .policy-intro,
       .terms-intro {
         font-size: 1rem;
         color: #34495e;
         text-align: center;
         margin-bottom: 30px;
         line-height: 1.5;
         font-weight: 500;
       }

       .policy-section,
       .terms-section {
         margin-bottom: 20px;
         padding: 20px;
         background: rgba(255, 255, 255, 0.7);
         border-radius: 15px;
         border-left: 4px solid #667eea;
         transition: transform 0.3s ease, box-shadow 0.3s ease;
       }

.policy-section:hover,
.terms-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

       .policy-section h2,
       .terms-section h2 {
         color: #2c3e50;
         font-size: 1.2rem;
         font-weight: 600;
         margin-bottom: 12px;
         display: flex;
         align-items: center;
         gap: 10px;
       }

       .policy-section p,
       .terms-section p {
         color: #34495e;
         line-height: 1.5;
         margin-bottom: 12px;
         font-size: 0.9rem;
       }

       .policy-section ul,
       .terms-section ul {
         list-style: none;
         padding-left: 0;
       }

       .policy-section li,
       .terms-section li {
         color: #34495e;
         line-height: 1.5;
         margin-bottom: 8px;
         padding-left: 20px;
         position: relative;
         font-size: 0.9rem;
       }

.policy-section li::before,
.terms-section li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
  font-size: 1.1rem;
}

.policy-highlight {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white !important;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 20px;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Responsive Design for Policy Pages */
@media (max-width: 768px) {
  .privacy-policy-section,
  .terms-conditions-section {
    padding: 100px 15px 40px;
  }

  .policy-content,
  .terms-content {
    padding: 30px 20px;
  }

  .policy-content h1,
  .terms-content h1 {
    font-size: 2rem;
  }

  .policy-intro,
  .terms-intro {
    font-size: 1.1rem;
  }

  .policy-section,
  .terms-section {
    padding: 20px 15px;
  }

  .policy-section h2,
  .terms-section h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .privacy-policy-section,
  .terms-conditions-section {
    padding: 90px 10px 30px;
  }

  .policy-content,
  .terms-content {
    padding: 25px 15px;
  }

  .policy-content h1,
  .terms-content h1 {
    font-size: 1.8rem;
  }

  .policy-intro,
  .terms-intro {
    font-size: 1rem;
  }

  .policy-section,
  .terms-section {
    padding: 15px 12px;
  }

  .policy-section h2,
  .terms-section h2 {
    font-size: 1.1rem;
  }

  .policy-section li,
  .terms-section li {
    font-size: 0.95rem;
    padding-left: 20px;
  }
}