/* USDV Styles - Modern Dark Theme */

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --primary-color: #bdf7b2;
  --dark-color: #121212;
  --dark-secondary: #1e1e1e;
  --text-color: #ffffff;
  --text-secondary: #b0b0b0;
  --accent-color: #8bc34a;
  --border-color: #333333;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --transition: all 0.3s ease;
}

/* Base Styles */
html, body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--dark-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
}

/* Video element base styles for iOS compatibility */
video {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* Ensure videos don't interfere with touch events */
  pointer-events: none;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--dark-color);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  color: white; /* Changed to white for better contrast */
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  height: 40px;
  width: auto;
}

.logo-text {
  height: 35px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu li {
  margin: 0 15px;
  display: flex;
  align-items: center;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  display: flex;
  align-items: center;
  min-height: 40px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
  width: 100%;
}

.mobile-toggle, .close-menu {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 24px;
  cursor: pointer;
}

/* Hide close menu button by default (for desktop) */
.close-menu-btn {
  display: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--dark-color);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-top: 200px; /* Add padding to prevent header overlap */
  padding-bottom: 120px; /* Increased bottom padding to ensure buttons aren't blocked */
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color);
}

.hero-title span {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
  /* iOS Safari video fixes */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Features Section */
.features {
  background-color: var(--dark-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background-color: var(--dark-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(189, 247, 178, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 30px;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}

.feature-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* About Section */
.about {
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.accordion {
  margin-top: 30px;
}

.accordion-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  background-color: var(--dark-secondary);
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: rgba(189, 247, 178, 0.1);
}

.accordion-header h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-color);
}

.accordion-icon {
  color: var(--primary-color);
  transition: var(--transition);
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: var(--dark-color);
}

.accordion-content p {
  padding: 20px 0;
  margin: 0;
  color: var(--text-secondary);
}

.accordion-item.active .accordion-header {
  background-color: rgba(189, 247, 178, 0.1);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
}

/* Problem Solution Section */
.problem-solution {
  background-color: var(--dark-secondary);
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.ps-column h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--text-color);
  text-align: center;
}

.ps-column {
  display: flex;
  flex-direction: column;
}

/* Make all ps-items in the same column have equal height */
.ps-column .ps-item {
  flex: 1;
}

.ps-item {
  display: flex;
  margin-bottom: 30px;
  background-color: var(--dark-color);
  border-radius: 10px;
  padding: 20px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  min-height: 130px; /* Minimum height for consistency */
}

.ps-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow-color);
  border-color: var(--primary-color);
}

.ps-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: rgba(189, 247, 178, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: var(--primary-color);
  font-size: 20px;
  margin-top: 0; /* Remove top margin */
  align-self: center; /* Center vertically */
}

.ps-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ps-text h4 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text-color);
  line-height: 1.2;
}

.ps-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* Tokenomics Section */
.tokenomics {
  position: relative;
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.tokenomics-item {
  background-color: var(--dark-secondary);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.tokenomics-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow-color);
  border-color: var(--primary-color);
}

.tokenomics-title {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 15px;
}

.tokenomics-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0;
}

/* Roadmap Section */
.roadmap {
  position: relative;
  overflow: hidden;
}

.roadmap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 18, 18, 0.15);
  z-index: 2;
  pointer-events: none;
}

.roadmap-container {
  position: relative;
  padding: 40px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  z-index: 3;
}

/* Hide the vertical line for the new card-based layout */
.roadmap-container:before {
  display: none;
}

.roadmap-item {
  position: relative;
  width: calc(50% - 15px);
  margin-bottom: 0;
  padding: 0;
  left: 0;
  text-align: left;
  z-index: 3;
}

/* Remove the alternating left/right positioning */
.roadmap-item:nth-child(odd),
.roadmap-item:nth-child(even) {
  left: 0;
  text-align: left;
}

/* Remove the dots and connecting lines */
.roadmap-item:before,
.roadmap-item:after {
  display: none;
}

/* Roadmap content class replaced with hero-alert styling */

.roadmap-item:hover .hero-alert {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow-color);
}

/* Roadmap date class removed */

.roadmap-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.roadmap-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
  flex-grow: 1;
}

/* Roadmap icon class removed */

/* Use Cases Section */
.use-cases {
  position: relative;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.use-case-card {
  background-color: var(--dark-secondary);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.use-case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
  border-color: var(--primary-color);
}

.use-case-content {
  padding: 25px;
}

.use-case-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(189, 247, 178, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 24px;
}

.use-case-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.use-case-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* FAQ Section */
.faq {
  background-color: var(--dark-secondary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background-color: var(--dark-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(189, 247, 178, 0.05);
}

.faq-question h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-color);
}

.faq-icon {
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: var(--dark-color);
}

.faq-answer p {
  padding: 20px 0;
  margin: 0;
  color: var(--text-secondary);
}

.faq-item.active .faq-question {
  background-color: rgba(189, 247, 178, 0.1);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  padding: 80px 0 30px;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo .logo-icon {
  height: 40px;
  width: auto;
}

.footer-logo .logo-text {
  height: 35px;
}

.footer-text {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: var(--dark-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--dark-color);
  transform: translateY(-5px);
}

.footer-title {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 25px;
  position: relative;
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 1.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-newsletter p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  margin-bottom: 20px;
}

.newsletter-input {
  flex: 1;
  background-color: var(--dark-secondary);
  border: 1px solid var(--border-color);
  border-radius: 30px 0 0 30px;
  padding: 12px 20px;
  color: var(--text-color);
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--primary-color);
}

.newsletter-btn {
  background-color: var(--primary-color);
  color: var(--dark-color);
  border: none;
  border-radius: 0 30px 30px 0;
  padding: 0 20px;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background-color: var(--accent-color);
  color: white; /* Changed to white for better contrast */
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.legal-text {
  margin-top: 20px;
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--text-secondary);
  text-align: left;
}

.legal-text p {
  margin-bottom: 10px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--dark-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-color);
  color: white; /* Changed to white for better contrast */
  transform: translateY(-5px);
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 60px;
  height: 60px;
  border: 5px solid var(--dark-secondary);
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .about-content,
  .ps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .roadmap-item {
    width: calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .roadmap-item {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Ensure hero content is not blocked by header in landscape mode */
  .hero-content {
    padding-top: 180px;
    padding-bottom: 100px; /* Doubled bottom padding to ensure buttons aren't blocked */
  }
  
  /* Make hero-alert text align left on mobile */
  .hero-alert div {
    text-align: left;
  }
  
  /* Adjust legal text for mobile */
  .legal-text {
    font-size: 0.65rem;
    padding: 0 10px;
  }
  
  .legal-text p {
    margin-bottom: 8px;
  }
  
  .container {
    max-width: 540px;
    width: 100%;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-container {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--dark-color);
    transition: var(--transition);
    z-index: 999;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }
  
  .nav-container.active {
    right: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    padding: 80px 30px 30px;
    height: 100%;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .mobile-toggle {
    display: block;
    z-index: 1000;
  }
  
  .mobile-toggle.active {
    position: fixed;
    right: 20px;
    opacity: 0; /* Hide the bars icon when menu is active */
  }
  
  .close-menu-btn {
    display: block; /* Show in mobile view */
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 1010; /* Increase z-index significantly */
    transition: var(--transition);
    pointer-events: auto; /* Ensure it's clickable */
    text-align: center;
    line-height: 40px;
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .btn {
    padding: 10px 25px;
    font-size: 13px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }
}

/* Landscape mode for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
  /* Adjust hero section height for landscape mode */
  .hero {
    height: auto;
    min-height: 100vh;
  }
  
  .nav-container {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--dark-color);
    transition: var(--transition);
    z-index: 999;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }
  
  .nav-container.active {
    right: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    padding: 80px 30px 30px;
    height: 100%;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .mobile-toggle {
    display: block;
    z-index: 1000;
  }
  
  .mobile-toggle.active {
    position: fixed;
    right: 20px;
    opacity: 0; /* Hide the bars icon when menu is active */
  }
  
  .close-menu-btn {
    display: block; /* Show in mobile landscape view */
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 1010; /* Increase z-index significantly */
    transition: var(--transition);
    pointer-events: auto; /* Ensure it's clickable */
    text-align: center;
    line-height: 40px;
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
  }
  
  /* Ensure hero content is not blocked by header */
  .hero-content {
    padding-top: 120px;
    padding-bottom: 100px; /* Further increased bottom padding to ensure hero-alert is fully visible */
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  /* Add more space between hero and features section in landscape mode */
  #features {
    padding-top: 120px;
  }
  
  /* Ensure hero-alert is fully visible */
  .hero-alert {
    margin-bottom: 60px;
    max-height: none; /* Ensure no height restriction */
    overflow: visible; /* Ensure content is not cut off */
  }
  
  /* Adjust spacing for better visibility in landscape mode */
  .hero-buttons {
    margin-top: 60px;
  }
  
  /* Ensure there's enough space between sections */
  .section {
    padding: 80px 0;
  }

}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

.animate-slide-left {
  animation: slideInLeft 1s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 1s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Animation Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Language Switch Styles */
.language-switch-container {
  position: relative;
}

.language-switch-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(189, 247, 178, 0.1);
  border: 1px solid var(--primary-color);
  border-radius: 25px;
  padding: 8px 16px;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 500;
}

.language-switch-btn:hover {
  background: rgba(189, 247, 178, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(189, 247, 178, 0.3);
}

.language-switch-btn i:first-child {
  color: var(--primary-color);
  font-size: 16px;
}

.language-switch-btn i:last-child {
  color: var(--text-secondary);
  font-size: 12px;
  transition: var(--transition);
}

.language-switch-btn:hover i:last-child {
  transform: rotate(180deg);
}

/* Language Popup Styles */
.language-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.language-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.language-popup {
  background: var(--dark-color);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  width: 90%;
  max-width: 450px;
  max-height: 80vh;
  overflow: hidden;
  transform: scale(0.8) translateY(50px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.language-popup-overlay.active .language-popup {
  transform: scale(1) translateY(0);
}

.language-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid var(--border-color);
  background: var(--dark-secondary);
}

.language-popup-header h3 {
  margin: 0;
  color: var(--text-color);
  font-size: 1.3rem;
  font-weight: 600;
}

.language-popup-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.language-popup-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

.language-popup-content {
  padding: 25px;
}

.language-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.language-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  background: var(--dark-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  width: 100%;
}

.language-option:hover {
  background: rgba(189, 247, 178, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.language-option.active {
  background: rgba(189, 247, 178, 0.15);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(189, 247, 178, 0.3);
}

.language-info {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.language-name {
  color: var(--text-color);
  font-weight: 500;
  font-size: 16px;
}

/* Mobile Language Switch Styles */
@media (max-width: 768px) {
  .language-switch-btn {
    padding: 10px 14px;
    font-size: 13px;
  }
  
  .language-popup {
    width: 95%;
    margin: 20px;
  }
  
  .language-popup-header {
    padding: 18px 20px;
  }
  
  .language-popup-content {
    padding: 20px;
  }
  
  .language-option {
    padding: 12px 15px;
  }
  
  .language-name {
    font-size: 15px;
  }
}