/* General Styles */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text);
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
  }

  * {
    max-width: 100vw;
  }
  
  /* Theme Variables */
  :root {
    --background: #f0f0f0;
    --text: #333;
    --accent-color: #ff4747; /* Define accent color variable */
    --hover-accent-color: #3a75e3; /* Define hover accent color variable */
    --about-bg-dark: #ffffff; /* Light gradient end */
    --about-bg-light: rgb(60, 76, 103);
  }
  
  [data-theme="dark"] {
    --background: #1a1a1a;
    --text: #eee;
  }
  
  /* Theme Toggle */
  .theme-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
  }
  
  /* Hero Section */
  .hero {
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
    min-height: 100vh;
    color: white;
    text-align: center;
    z-index: 2;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 100%;
  }

  .hero-content {
    text-align: center;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 2rem;
  }
  

  /* Glassmorphism */
  .glass-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  }
  
  .flip {
    transform: scaleY(-1);

  }

 /* About Section */
.about {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #2c2c2c, #444); /* Dark gradient background */
  color: #fff; /* Light text for contrast */
  text-align: center;
}

.about-container {
  display: flex;
  flex-wrap: wrap; /* Ensure responsiveness */
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto; /* Center the content */
}

.about-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.about-text h2 {
  color: #ff4747; /* Accent color */
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-text p {
  font-size: 1rem;
  color: #ddd; /* Softer light text for readability */
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about {
  flex: 1;
  min-width: 300px;
  position: relative;
  text-align: center;
}

.about video {
  width: 100%;
  max-width: 500px;
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about video:hover {
  transform: scale(1.1); /* Slight zoom effect */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); /* Stronger shadow on hover */
}

#overlay {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #28a745;
  color: white;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: bottom 0.5s ease-in-out;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

#tooltip {
  position: absolute;
  background-color: #4a4a4a;
  color: white;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 14px;
  display: none;
  transform: translateX(-110%);
  pointer-events: none;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}


/* Download Section */
.downloads {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #1e1e2f, #3a3a5f); /* Elegant gradient background */
  text-align: center;
  color: white;
}

.downloads-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ff4747; /* Accent color */
  text-transform: uppercase;
  letter-spacing: 2px;
  
}

.download-options {
  display: flex;
  flex-wrap: wrap; /* Ensure responsiveness */
  justify-content: center;
  gap: 2rem;
}

.download-card {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Glassmorphism effect */
  border-radius: 15px;
  padding: 2rem;
  text-decoration: none;
  color: white;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.disabled {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: rgba(97, 97, 97, 0.1); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Glassmorphism effect */
  border-radius: 15px;
  padding: 2rem;
  text-decoration: none;
  color: white;
  opacity: 40%;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-card:hover {
  transform: translateY(-10px); /* Lift effect */
  box-shadow: 0 8px 30px rgba(255, 71, 71, 0.4); /* Stronger shadow on hover */
}

.download-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #df3b3b; /* Accent color */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Subtle shadow for readability */
  -webkit-text-stroke: 1px #c07272; /* Adds a black text border */

}

.download-card p {
  font-size: 1rem;
  color: #ddd; /* Slightly lighter text for description */
  line-height: 1.5;
}

/* Glowing Button Effect */
.download-card:hover h3 {
  animation: glow 1.5s infinite alternate; /* Glow animation */
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px #ff4747, 0 0 10px #ff4747, 0 0 20px #ff4747;
  }
  100% {
    text-shadow: 0 0 10px #ff4747, 0 0 20px #ff4747, 0 0 40px #ff4747;
  }
}
  
/* Support Section */
.support {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #ffe9e9, #fff5f5); /* Warm pinkish gradient */
  text-align: center;
  color: #333; /* Dark text for contrast */
}

.support-content {
  max-width: 600px;
  margin: 0 auto; /* Center the content */
  background: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Glassmorphism effect */
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: transform 0.1s ease, box-shadow 0.3s ease;
  perspective: 1000px; /* Add perspective for 3D effect */
}

.support-content:hover {
  box-shadow: 0 8px 30px rgba(255, 71, 71, 0.6); /* Stronger shadow on hover */
}

.support h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ff4747; /* Accent color */
  text-transform: uppercase;
  letter-spacing: 2px;
}

.support p {
  font-size: 1.2rem;
  color: #555; /* Softer dark text for readability */
  line-height: 1.8;
  margin-bottom: 2rem;
}

.support-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  background: #ff4747; /* Bright red for the button */
  border: none;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 71, 71, 0.4); /* Subtle shadow */
  transition: all 0.3s ease;
}

.support-button:hover {
  background: #e63e3e; /* Slightly darker red on hover */
  transform: translateY(-5px); /* Lift effect */
  box-shadow: 0 8px 30px rgba(255, 71, 71, 0.6); /* Stronger glow effect */
}


/* Footer Section */
/* This section styles the footer of the webpage, providing a dark background with light text for contrast. 
   It includes a container for layout, links, social icons, and a copyright notice. */
.footer {
  background: #1a1a1a; /* Dark background */
  color: #ddd; /* Light text for contrast */
  padding: 2rem 1rem;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap; /* Responsive layout */
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-logo h3 {
  font-size: 1.5rem;
  color: #ff4747; /* Accent color */
  margin-bottom: 0.5rem;
}

.footer-logo p {
  font-size: 1rem;
  color: #aaa; /* Softer text for description */
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

.footer-links ul li a {
  text-decoration: none;
  color: #ddd;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #ff4747; /* Accent color on hover */
}

.footer-social a {
  font-size: 1.5rem;
  color: #ddd;
  margin: 0 0.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: #ff4747; /* Accent color on hover */
  transform: scale(1.2); /* Slight zoom effect */
}

.footer-bottom {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #aaa; /* Softer text for copyright */
  border-top: 1px solid #333; /* Subtle border for separation */
  padding-top: 1rem;
}

  /* General Styles */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text);
    transition: background-color 0.3s, color 0.3s;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  /* Theme Variables */
  :root {
    --background: #f5f5f5;
    --text: #222;
  }
  
  [data-theme="dark"] {
    --background: #121212;
    --text: #ffffff;
  }
  
  /* Theme Toggle */
  .theme-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
  }
  
  .hero {
    position: absolute; /* Take it out of the document flow */
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh; /* Full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: wheat;
    text-align: center;
    color: white;
    overflow: hidden; /* Prevent the background from overflowing */
    box-shadow: inset 0 0 50px rgb(0, 0, 0); /* Inner dark shadow to hide the border */
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: /* Fallback color */
                linear-gradient(15deg, rgba(0, 0, 0, 0.98), rgba(58, 117, 227, 0.342)), 
                linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.95)), 
                url('hero-background.jpg') no-repeat center center;
    background-size: cover;
    opacity: 1; /* Start fully visible */
    z-index: -1; /* Place the pseudo-element behind the content */
    animation: fadeEffect 5s infinite alternate; /* Apply opacity animation */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    box-shadow: inset 0 0 150px rgb(0, 0, 0); /* Inner shadow to hide the border */
}

/* Keyframes for random blur animation */
@keyframes fadeEffect {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.92;
    }
    100% {
        opacity: 1;
    }
}



/* Fix CTA buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem; /* Space between buttons */
    margin-top: 2rem; /* Add spacing above the buttons */
    z-index: 10; /* Ensure buttons are above pseudo-elements */
    position: relative; /* Establish stacking context */
}
.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 0.8rem 2rem;
    cursor: pointer; /* Ensure pointer cursor is shown */
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.cta-buttons .btn-primary {
    background: #ff4747; /* Bright red for primary action */
    color: white;
    border: none;
}

.cta-buttons .btn-primary:hover {
    background: #e63e3e; /* Slightly darker red on hover */
    transform: translateY(-2px); /* Lift effect */
    box-shadow: 0 6px 15px rgba(255, 71, 71, 0.4); /* Glow effect */
}

.cta-buttons .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #333; /* Dark text for contrast */
    transform: translateY(-2px); /* Lift effect */
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.4); /* Glow effect */
}
  
  .hero-content h1 {
    font-size: 4rem;
  }
  
  .hero-content p {
    font-size: 1.5rem;
    margin: 1rem 0;
  }
  
  /* Testimonials */
 /* Testimonials Section */
.testimonials {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #9e9e9e, #a19c83); /* Soft yellowish gradient */
  text-align: center;
  color: #303030; /* Dark text for contrast */
}

.testimonial-card {
  max-width: 600px;
  margin: 0 auto; /* Center the card */
  background: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Glassmorphism effect */
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px); /* Lift effect */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

/* Rating Section */
.testimonial-rating {
  font-size: 1.5rem;
  color: #ffcc00; /* Gold color for stars */
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: .75rem; /* Space between stars */
  align-items: center; /* Center stars vertically */
  font-weight: bold; /* Make the rating bold */
}

.half-star {
  display: inline-block;
  vertical-align: top;
  position: relative;
  color: #ffcc00; /* Gold color for the filled part */
  width: 0.45em; /* Adjust width to match the size of the stars */
  overflow: hidden; /* Hide the right half */

}

.half-star::before {
  content: '★'; /* Full star character */
  position: absolute;
  top: 0;
  left: 0;
  width: 50%; /* Show only the left half */
  overflow: hidden;
  color: #ffcc00; /* Gold color for the filled part */
}

.rating-text {
  font-size: 1rem;
  margin-left: 2rem;
  margin-left: 2 rem;
}

.testimonial-text {
  font-size: 1.2rem;
  color: #303030; /* Dark text for contrast */
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic; /* Add emphasis to the testimonial */
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%; /* Circular avatar */
  object-fit: cover; /* Ensure the image fits within the circle without distortion */
  object-position: top; /* Display the upper part of the image */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.author-name {
  font-size: 1rem;
  color: #333;
  font-weight: bold;
}

  /* Navbar Styles */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
  padding: 1rem 2rem;
  max-width: 1200px; 
  margin: 0 auto; 
  margin-top: 10vh;
  backdrop-filter: blur(10px); /* Apply blur to lower z-index elements */
  line-height: 20px;
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow */
  position: sticky;
  top: 1rem;
  z-index: 1000;
}

.navbar ul {
  display: flex;
  gap: 2rem; /* Space between links */
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  position: relative;
}

.navbar ul li a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.navbar ul li a:hover {
  background: rgba(255, 255, 255, 0.2); /* Highlight effect */
  color: #3a75e3; /* Accent color */
  transform: translateY(-2px); /* Slight lift on hover */
  box-shadow: 0 4px 10px rgba(58, 117, 227, 0.3); /* Glow effect */
}

/* Active link indicator */
.navbar ul li a.active {
  background: var(--hover-accent-color);
  color: white;
  box-shadow: 0 4px 10px rgba(58, 117, 227, 0.5);
}

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: #3a75e3;
  color: white;
  transform: rotate(20deg); /* Slight rotation on hover */
  box-shadow: 0 4px 10px rgba(58, 117, 227, 0.5);
}

.theme-toggle:active {
  transform: scale(0.9); /* Slight shrink on click */
}


#about {
  margin-top: calc(90vh - 3rem - 22px);
}




/* Features Section */
.features {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #1a1a1a, #333); /* Dark gradient background */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}

.features-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ff4747; /* Accent color */
  text-transform: uppercase;
  letter-spacing: 2px;
}
.features-grid {
  max-width: 1200px;
  width: 100%; /* Remove ? */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
  gap: 2rem;
}

@media (max-width: 320px) {
  .features-grid {
    grid-template-columns: 1fr; /* Single column for very small screens */
  }
}

.feature-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Glassmorphism effect */
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px); /* Lift effect */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); /* Stronger shadow on hover */
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ff4747; /* Accent color */
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.feature-card p {
  font-size: 1rem;
  color: #ddd; /* Slightly lighter text for description */
  line-height: 1.5;
}



  /* Hamburger menu */
  .hamburger {
    cursor: pointer;
    display: none;
    width: 30px;
    height: 30px;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
  }
  @media only screen and (max-width: 768px) {
    .hamburger {
      display: block !important;
    }
    nav {display: none !important;} /* Hide the navbar on mobile */
    .hero-content{
      width: 86%;
    }
    .about-container {
      padding: 4rem 2rem;
      font-size: 1.5rem ;
    }
    .about-text p {
      font-size: 1.5rem ;
    }
    .about {
      margin-top: calc(100vh - 3rem - 22px) !important;
      padding: 15% 2rem !important;
      font-size: 1.5rem ;
    }
  }

  .hamburger div {
    width: 100%;
    height: 5px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s ease-in-out;
  }

  /* Full-screen menu */
  .fullscreen-menu {
    position: fixed;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #333;
    color: white;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
  }

  .fullscreen-menu.active {
    display: flex !important;
  }

  .fullscreen-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
  }

  .fullscreen-menu li {
    margin: 20px 0;
  }

  .fullscreen-menu a {
    color: white;
    text-decoration: none;
    font-size: 24px;
  }

  .footer-logo {
    text-align: left;
  }
  
  .logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .logo-icon {
    width: 32px;
    height: 32px;
  }
  