* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #1a1a2e; background: #fff; }
a { text-decoration: none; }

/* BUTTONS */
.btn-primary { background: #0070f3; color: #fff; padding: 14px 28px; border-radius: 8px; font-weight: 700; display: inline-block; transition: background 0.2s; }
.btn-primary:hover { background: #005bb5; }
.btn-secondary { background: transparent; color: #fff; padding: 14px 28px; border-radius: 8px; font-weight: 700; border: 2px solid #fff; display: inline-block; transition: all 0.2s; }
.btn-secondary:hover { background: #fff; color: #0070f3; }
.btn-outline { border: 2px solid #0070f3; color: #0070f3; padding: 10px 22px; border-radius: 8px; font-weight: 600; display: inline-block; transition: all 0.2s; }
.btn-outline:hover { background: #0070f3; color: #fff; }
.btn-nav { background: #0070f3; color: #fff !important; padding: 8px 20px; border-radius: 6px; font-weight: 600; }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 52px; width: auto; object-fit: contain; border-radius: 6px; display: block; }
.logo-text { font-size: 1.3rem; font-weight: 800; color: #1a1a2e; line-height: 1.2; }
.logo-text span { color: #0070f3; }
.nav-links { list-style: none; display: flex; gap: 28px; align-items: center; }
.nav-links a { color: #444; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #0070f3; }

/* HERO SLIDER */
.hero { min-height: 90vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.slider-track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,10,40,0.72) 100%); }

.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.15); backdrop-filter: blur(6px); border: 2px solid rgba(255,255,255,0.4); color: #fff; font-size: 1.4rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; }
.slider-btn:hover { background: rgba(0,112,243,0.7); border-color: #0070f3; }
.slider-btn.prev { left: 24px; }
.slider-btn.next { right: 24px; }

.slider-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.dot.active { background: #fff; transform: scale(1.3); }

.hero-content { position: relative; z-index: 5; text-align: center; max-width: 800px; padding: 0 24px; }
.hero-content h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { font-size: 1.15rem; color: rgba(255,255,255,0.88); margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* TRUST BAR */
.trust-bar { background: #0070f3; padding: 20px 24px; }
.trust-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.trust-item { color: #fff; font-weight: 600; font-size: 0.95rem; }

/* SECTION COMMON */
.section { padding: 80px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.label { display: inline-block; background: #e8f0fe; color: #0070f3; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 40px; color: #1a1a2e; }

/* ABOUT */
.about { background: #f8faff; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { color: #555; line-height: 1.8; margin-bottom: 28px; font-size: 1.05rem; }
.about-img img { width: 100%; border-radius: 20px; box-shadow: 0 12px 40px rgba(0,112,243,0.15); }

/* WHO WE HELP */
.who { background: #fff; }
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.who-card { background: #f8faff; border-radius: 16px; padding: 28px 20px; text-align: center; border: 1px solid #e0eaff; transition: transform 0.2s, box-shadow 0.2s; }
.who-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,112,243,0.12); }
.who-card { font-size: 2rem; }
.who-card h3 { font-size: 1rem; font-weight: 700; margin: 12px 0 6px; color: #1a1a2e; }
.who-card p { font-size: 0.85rem; color: #666; }

/* PROGRAMS */
.programs { background: #f8faff; }
.programs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.program-card { background: #fff; border-radius: 20px; padding: 40px 32px; border: 1px solid #e0eaff; text-align: center; }
.program-card.highlight { background: linear-gradient(135deg, #0070f3, #0a0a2e); color: #fff; border: none; }
.program-card.highlight h3, .program-card.highlight p { color: #fff; }
.program-card.highlight .btn-outline { border-color: #fff; color: #fff; }
.program-card.highlight .btn-outline:hover { background: #fff; color: #0070f3; }
.program-car-img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; margin-bottom: 16px; }
.program-icon { font-size: 3rem; margin-bottom: 16px; }
.program-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.program-card p { color: #555; line-height: 1.7; margin-bottom: 24px; }

/* HOW IT WORKS */
.how { background: #fff; }
.steps { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step { background: #f8faff; border-radius: 20px; padding: 36px 28px; text-align: center; flex: 1; min-width: 200px; max-width: 260px; border: 1px solid #e0eaff; position: relative; }
.step-num { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: #0070f3; color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; }
.step-icon { font-size: 2.5rem; margin-bottom: 12px; }
.step h3 { font-weight: 700; margin-bottom: 8px; }
.step p { color: #666; font-size: 0.9rem; }
.step-arrow { font-size: 2rem; color: #0070f3; font-weight: 700; }

/* TESTIMONIALS */
.testimonials { background: linear-gradient(135deg, #0a0a2e, #0070f3); padding: 80px 24px; }
.testimonials .label { background: rgba(255,255,255,0.15); color: #fff; }
.testimonials h2 { color: #fff; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testi-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: 16px; padding: 32px; text-align: center; }
.testi-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.5); margin-bottom: 16px; display: block; margin-left: auto; margin-right: auto; }
.testi-card p { color: rgba(255,255,255,0.9); font-size: 1.05rem; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testi-author { color: rgba(255,255,255,0.6); font-size: 0.9rem; font-weight: 600; }

/* URGENCY */
.urgency { background: #fff3cd; padding: 60px 24px; }
.urgency-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: center; }
.urgency-img { width: 100%; border-radius: 16px; object-fit: cover; max-height: 320px; }
.urgency-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #1a1a2e; margin-bottom: 16px; }
.urgency-content p { color: #555; margin-bottom: 28px; font-size: 1.05rem; }
.urgency-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.urgency-btns .btn-secondary { color: #1a1a2e; border-color: #1a1a2e; }
.urgency-btns .btn-secondary:hover { background: #1a1a2e; color: #fff; }

/* FAQ */
.faq { background: #f8faff; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid #e0eaff; border-radius: 12px; overflow: hidden; }
.faq-item summary { padding: 20px 24px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: #1a1a2e; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: #0070f3; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 24px 20px; color: #555; line-height: 1.7; }

/* FINAL CTA */
.final-cta { background: linear-gradient(135deg, #0070f3, #0a0a2e); padding: 80px 24px; text-align: center; }
.final-cta h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; font-weight: 800; margin-bottom: 16px; }
.final-cta p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; }

/* FOOTER */
.footer { background: #0a0a2e; padding: 60px 24px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.6; }
.footer-links h4, .footer-social h4 { color: #fff; font-weight: 700; margin-bottom: 16px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: #0070f3; }
.social-icons { display: flex; flex-direction: column; gap: 10px; }
.social-icons a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.2s; }
.social-icons a:hover { color: #0070f3; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; max-width: 1200px; margin: 0 auto; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.85rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .two-col, .programs-grid, .urgency-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .hero-images img { width: 90vw; height: 200px; }
  .nav-links { display: none; }
}

/* GRANT APPLICATION FORM */
.grant-form { background: linear-gradient(160deg, #f0f6ff 0%, #e8f0fe 100%); }
.form-intro { color: #666; font-size: 1rem; margin-bottom: 40px; margin-top: -24px; }

.app-form {
  background: #fff;
  border-radius: 24px;
  padding: 48px 48px 40px;
  box-shadow: 0 20px 60px rgba(0, 112, 243, 0.1);
  border: 1px solid #dce8ff;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid #e0eaff;
  border-radius: 10px;
  font-size: 0.97rem;
  font-family: 'Inter', sans-serif;
  color: #1a1a2e;
  background: #f8faff;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230070f3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0070f3;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 112, 243, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aab4c8;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Grant amount select — highlight options */
#grant-amount option { font-weight: 600; }

/* Divider between sections */
.form-divider {
  grid-column: 1 / -1;
  border: none;
  border-top: 1px dashed #dce8ff;
  margin: 8px 0;
}

.btn-submit {
  display: block;
  width: 100%;
  margin-top: 32px;
  padding: 18px;
  background: linear-gradient(135deg, #0070f3, #0050c8);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(0, 112, 243, 0.35);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 112, 243, 0.45);
}

.btn-submit:active { transform: translateY(0); }

/* Form section heading accent */
.grant-form h2 { position: relative; display: inline-block; }
.grant-form h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #0070f3;
  border-radius: 2px;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .app-form { padding: 28px 20px; }
}

/* CAR GIVEAWAY SECTION */
.car-giveaway { background: #f8faff; }
.section-sub { color: #666; font-size: 1rem; margin-top: -28px; margin-bottom: 40px; }

.cars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }

.car-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid #e0eaff; box-shadow: 0 4px 20px rgba(0,112,243,0.07); transition: transform 0.2s, box-shadow 0.2s; position: relative; }
.car-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,112,243,0.15); }

.car-badge { position: absolute; top: 14px; left: 14px; background: #0070f3; color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 1px; padding: 4px 10px; border-radius: 20px; z-index: 2; }

.car-card img { width: 100%; height: 180px; object-fit: cover; display: block; }

.car-info { padding: 20px; }
.car-info h3 { font-size: 1.05rem; font-weight: 700; color: #1a1a2e; margin-bottom: 10px; }

.car-pricing { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.car-original { font-size: 0.95rem; color: #aaa; text-decoration: line-through; font-weight: 500; }
.car-free { font-size: 1.3rem; font-weight: 800; color: #16a34a; letter-spacing: 0.5px; }

.btn-claim { width: 100%; padding: 12px; background: linear-gradient(135deg, #0070f3, #0050c8); color: #fff; border: none; border-radius: 10px; font-size: 0.95rem; font-weight: 700; font-family: 'Inter', sans-serif; cursor: pointer; transition: transform 0.15s, box-shadow 0.2s; box-shadow: 0 4px 14px rgba(0,112,243,0.3); }
.btn-claim:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,112,243,0.4); }

/* MODALS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal-box {
  background: #fff;
  border-radius: 24px;
  padding: 40px 48px 40px;
  max-width: 680px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  animation: slideUp 0.3s ease;
  margin: auto;
}

@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-close { position: absolute; top: 16px; right: 20px; background: #f0f4ff; border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; cursor: pointer; color: #555; transition: background 0.2s; }
.modal-close:hover { background: #e0eaff; color: #0070f3; }

.modal-header { margin-bottom: 28px; }
.modal-header h2 { font-size: 1.6rem; font-weight: 800; color: #1a1a2e; margin-bottom: 8px; }
.modal-header p { color: #666; font-size: 0.95rem; line-height: 1.6; }
.modal-form { box-shadow: none; border: none; padding: 0; }

/* SUCCESS MODAL */
.success-box { text-align: center; max-width: 460px; padding: 48px 40px; }
.success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.success-box h2 { font-size: 1.8rem; font-weight: 800; color: #1a1a2e; margin-bottom: 12px; }
.success-box p { color: #555; font-size: 1rem; line-height: 1.7; }
.success-box strong { color: #0070f3; }

@media (max-width: 640px) {
  .cars-grid { grid-template-columns: 1fr 1fr; }
  .modal-box { padding: 28px 20px; }
}
@media (max-width: 420px) {
  .cars-grid { grid-template-columns: 1fr; }
}

/* LIVE COUNTER */
.live-counter { display: flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; }
#applicant-count { font-size: 1.15rem; font-weight: 800; color: #ffd700; transition: transform 0.2s; display: inline-block; }
#applicant-count.count-bump { transform: scale(1.4); color: #fff; }

/* NOTIFICATION POPUP */
.notif-popup {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18), 0 2px 8px rgba(0,112,243,0.1);
  border-left: 4px solid #0070f3;
  min-width: 300px;
  max-width: 360px;
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
  pointer-events: none;
}

.notif-popup.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}

.notif-flag {
  flex-shrink: 0;
  line-height: 1;
}

.notif-flag-img {
  width: 36px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.notif-body { flex: 1; }

.notif-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 3px;
}

.notif-msg {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.4;
}

.notif-msg strong { color: #0070f3; }

.notif-time {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 4px;
}

.notif-close {
  background: none;
  border: none;
  color: #bbb;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px;
  align-self: flex-start;
  transition: color 0.2s;
  flex-shrink: 0;
}

.notif-close:hover { color: #555; }

@media (max-width: 480px) {
  .notif-popup { left: 12px; right: 12px; min-width: unset; max-width: unset; bottom: 16px; }
}

/* CONNECT WITH US — TRUST BAR */
.connect-email { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid rgba(255,255,255,0.3); padding-left: 16px; }
.connect-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.7); }
.connect-link { color: #ffd700; font-weight: 700; font-size: 0.88rem; text-decoration: none; transition: color 0.2s; }
.connect-link:hover { color: #fff; text-decoration: underline; }

/* CONNECT WITH US — FOOTER */
.footer-connect { margin-top: 14px; background: rgba(0,112,243,0.15); border: 1px solid rgba(0,112,243,0.3); border-radius: 10px; padding: 12px 16px; display: inline-flex; flex-direction: column; gap: 4px; }
.footer-connect-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.5); }
.footer-connect-email { color: #ffd700; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
.footer-connect-email:hover { color: #fff; text-decoration: underline; }

/* MODAL WITH BACKGROUND IMAGE */
.modal-box-car,
.modal-box-grant { position: relative; overflow: hidden; }

.modal-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.modal-content-inner {
  position: relative;
  z-index: 1;
}

/* ABOUT SECTION IMAGE SLIDER */
.about-slider { position: relative; width: 100%; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,112,243,0.15); aspect-ratio: 4/3; }
.about-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s ease; border-radius: 20px; }
.about-slide.active { opacity: 1; }
