/* General Body Styles */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  color: #fff;
  background-color: #1a1a1a; /* Fallback color */
  background-image: url("assets/background.jpg"); /* Will be replaced by user */
  background-size: cover;
  background-position: center center;
  background-attachment: fixed; /* This keeps the background from scrolling */
  overflow-x: hidden;
}

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

/* --- Header --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5em;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav li {
  margin-left: 30px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #008344;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: #008344;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* --- Home Page Full-Screen Scroll --- */
.home-container {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100vh;
  scroll-behavior: smooth; /* For JS scrolling */
}

.home-section {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative; /* For pseudo-element overlay */
}

.home-section .content {
  width: 85rem;
  padding: 4rem;
  /* background: rgba(0, 0, 0, 0.6); */
  border-radius: 15px;
  color: #fff;
  display: flex;

  align-items: center;
  justify-content: space-between;
}

.home-section h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.home-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.home-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #008344; /* Accent color */
}

/* Testimonials */
.testimonial-slider {
    width: 100%;
    padding-right: 4rem;
  position: relative;
  height: 200px; /* Increased height for better display */
  overflow: hidden;
  margin-top: 2rem;
  overflow: visible;
}

.testimonial {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  margin-bottom: 1.5rem;
  background: rgba(0, 0, 0, 0.7); /* More opaque background for better contrast */
  padding: 2rem; /* Increased padding */
  border-radius: 15px; /* More rounded corners */
  border-left: 5px solid #008344; /* Changed to match theme color */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Added shadow */
}

.testimonial.active {
  opacity: 1;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem; /* Increased margin */
  font-size: 1.3rem; /* Increased font size */
  color: #fff; /* Explicitly set white color */
  line-height: 1.6; /* Better line height */
  text-align: left; /* Left align for better readability */
}

.testimonial span {
  font-weight: 600;
  color: #008344; /* Changed to theme color */
  font-size: 1.1rem; /* Increased font size */
  display: block; /* Make it a block element */
  text-align: right; /* Right align the author */
}

/* Additional testimonial section styling */
#testimonials .content {
  flex-direction: column; /* Stack content vertically */
  text-align: center;
}

#testimonials h1 {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add text shadow for better visibility */
  margin-bottom: 2rem;
}

/* Download Section */
.download-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.download-buttons .btn img {
  height: 60px;
  width: auto;
}

.qr-code img {
  width: 150px;
  height: 150px;
  border: 5px solid #fff;
  border-radius: 10px;
}

.qr-code p {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  margin-top: 20px;
  background: linear-gradient(45deg, #008344, #8e2de2);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 240, 255, 0.3);
}

/* --- Conventional Pages (About, Terms, Contact) --- */
.page-container {
  padding-top: 120px; /* Space for fixed header */
  padding-bottom: 60px;
}

.page-header {
  text-align: center;
  padding: 60px 0;
  background: rgba(0, 0, 0, 0.3);
}

.page-header h1 {
  font-size: 3.5em;
  margin: 0;
}

.content-section {
  padding: 60px 0;
}

.content-section h2 {
  font-size: 2.5em;
  color: #008344;
  margin-bottom: 30px;
}

.content-section p,
.content-section li {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* --- Animations --- */
.animated {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fadeIn {
  opacity: 1;
}

.slideInFromLeft {
  opacity: 1;
  transform: translateX(0);
}

.slideInFromRight {
  opacity: 1;
  transform: translateX(0);
}

.fadeInUp {
  opacity: 1;
  transform: translateY(0);
}

.zoomIn {
  opacity: 1;
  transform: scale(1);
}

/* Initial states for animations */
/* .animated[data-animation="slideInFromLeft"] {
  transform: translateX(-100px);
}
.animated[data-animation="slideInFromRight"] {
  transform: translateX(100px);
}
.animated[data-animation="fadeInUp"] {
  transform: translateY(50px);
}
.animated[data-animation="zoomIn"] {
  transform: scale(0.8);
} */

/* --- Footer --- */
footer {
  text-align: center;
  padding: 40px 0;
  background: rgba(0, 0, 0, 0.5);
  margin-top: 40px;
}
.download-content{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* --- Delete Account Section --- */
.delete-account-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.eightBox {
    background: rgba(0, 0, 0, 0.7);
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.eightOne {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

.eightTwo {
    font-size: 0.9rem !important;
    color: #ddd;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
}

.eightThree,
.eightFour {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    color: #fff;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.eightThree::placeholder,
.eightFour::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.eightThree:focus,
.eightFour:focus {
    outline: none;
    border-color: #008344;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 131, 68, 0.3);
}

.eightFive {
    font-size: 0.9rem !important;
    color: #ffb74d;
    background: rgba(255, 183, 77, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #ffb74d;
    margin-bottom: 2rem;
    text-align: left;
    line-height: 1.6;
}

.eightBtn {
   
    padding: 15px 35px;
    background: linear-gradient(45deg, #008344, #8e2de2);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: "Poppins", sans-serif;
}

.eightBtn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.3);
}

.eightBtn:active {
    transform: translateY(-1px);
}

.eightBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success message styling */
.success-message {
    background: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}
