* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }
body { line-height: 1.6; background-color: #f9f9f9; color: #333; }

.header {
  color: #FFFFFF;
  padding: 100px 20px;
  text-align: center;
  position: relative;
}
.header::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
}
.header * {
  position: relative;
  z-index: 1; /* makes text appear above overlay */
}
.header h1, header p, .cta-buttons { position: relative; z-index: 1; }
.header h1 { font-size: 3rem; margin-bottom: 10px; }
.header p { font-size: 1.3rem; max-width: 600px; margin: 0 auto; }

.cta-buttons { margin-top: 30px; }
.cta-buttons a {
  text-decoration: none;
  padding: 14px 28px;
  background-color: #3b82f6;
  color: #fff;
  border-radius: 6px;
  margin: 0 10px;
  display: inline-block;
  font-weight: 600;
  transition: background 0.3s ease;
}
.cta-buttons a:hover { background-color: #2563eb; }

section { padding: 60px 20px; max-width: 1200px; margin: auto; }
.features { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-around; margin-top: 30px; }
.feature-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  flex: 1 1 250px;
  text-align: center;
}
.feature-card i { font-size: 30px; color: #3b82f6; margin-bottom: 10px; }
.feature-card h3 { margin-bottom: 10px; color: #1f2937; }

.divider-hero {
  
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
}

/* Alternating backgrounds */
.faq { background-color: #f3f4f6; }
.mobile-app { background-color: #eef6ff; }
.vision { background-color: #fdf6ec; }
.contact { background-color: #f3f4f6; }

.faq h2, .mobile-app h2, .vision h2, .contact h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 2rem;
  color: #1f2937;
}

.faq-item, .vision p, .contact p { margin-bottom: 20px; text-align: center; }
.mobile-app img { max-width: 220px; margin: 20px auto; display: block; }
.store-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.store-buttons img { height: 50px; cursor: pointer; }

/* Contact Section */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}
.contact-form, .contact-info {
  flex: 1 1 45%;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.contact-info h3 { margin-bottom: 15px; color: #1f2937; }
.contact-info p {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #555;
}
.contact-info i { color: #3b82f6; font-size: 18px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.contact-form button {
  background: #3b82f6;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.contact-form button:hover { background: #2563eb; }

footer {
  text-align: center;
  padding: 30px 20px;
  background: #111827;
  color: #fff;
  font-size: 0.9rem;
}

@media(max-width: 768px) {
  .features { flex-direction: column; align-items: center; }
  .cta-buttons a { margin-bottom: 10px; display: block; }
  header h1 { font-size: 2rem; }
  .contact-container { flex-direction: column; }
}

/* Modal Base Styles */
.demo-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}
.demo-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.demo-modal-content h2 {
    margin-top: 0;
    text-align: center;
}
.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
}
.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 14px;
}

/* --- Inputs, Textareas & Selects unified style --- */
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

/* --- Focus state for inputs, selects & textareas --- */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* --- Style for select dropdowns --- */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23007bff' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
}

/* --- Placeholder styling --- */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-size: 13px;
}

/* --- Optional small helper text --- */
.form-group small {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}
.btn-primary {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
}
.response-msg {
    margin-top: 10px;
    text-align: center;
    font-weight: 600;
}
/* General button styling */
.btn-primary {
    width: 200px;
    display: inline-block;
    background: linear-gradient(135deg, #007bff, #0056d6);
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Hover & focus states */
.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #0062e0, #004ab3);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

/* When clicked */
.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* For better spacing inside the hero (aside) */
.cta-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Optional – for responsiveness */
@media (max-width: 600px) {
    .btn-primary {
        width: 100%;
        text-align: center;
    }
}

/* --- Modal content scrollable on small screens --- */
@media (max-height: 500px) {
    .demo-modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
}

.faq {
  background-color: #f3f4f6;
  padding: 50px 20px;
}

.faq-container {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: #f9fafb;
  color: #3b82f6;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #ecfdf5;
}

.faq-answer {
  display: none;
  padding: 15px 20px;
  color: #374151;
  background: #fff;
  font-size: 1rem;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  transition: transform 0.3s;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.app-section {
  background: #fff;
  padding: 60px 20px;
}

.app-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.app-content {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-content h2 {
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 10px;
}

.app-content p {
  font-size: 1.0rem;
  color: #555;
  margin-bottom: 20px;
}

.store-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.store-buttons img {
  height: 73px;
  transition: transform 0.3s ease;
}

.store-buttons img:hover {
  transform: scale(1.05);
}

.app-download-row {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap; /* keeps it responsive */
  margin-top: 25px;
}
.store-buttons,
.qr-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}
.qr-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qr-code {
  width: 90px;
  height: 90px;
}

.qr-text {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  position: relative;
}

.qr-arrow {
  width: 40px;
  position: absolute;
  top: -25px;
  left: 35px;
}

.app-image {
  flex: 1 1 45%;
  text-align: right;
}

.app-image img {
  max-width: 60%;
  height: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .app-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .app-image img {
    margin-top: 20px;
  }
   .app-download-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .qr-arrow {
    display: none;
  }
}
