/* =========================
   Background Video
========================= */
#bg-video {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #c0c0c0;
  overflow-x: hidden;
}

/* =========================
   Navbar
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(17,17,17,0.95);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: bold; font-size: 1.2rem; color: #c0c0c0;
}

.nav-links { display: flex; gap: 1rem; }
.nav-links a { text-decoration: none; color: #c0c0c0; transition: color 0.3s; }
.nav-links a:hover { color: #fff; }

/* Hamburger Menu */
.menu-btn {
  display: none; font-size: 1.8rem; background: none; border: none;
  color: #c0c0c0; cursor: pointer;
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; background: #111; position: absolute; top: 60px; right: 10px; padding: 1rem; border-radius: 8px; }
  .navbar.active .nav-links { display: flex; }
  .menu-btn { display: block; }
}

/* =========================
   Hero Section
========================= */
.hero {
  display: flex; justify-content: center; align-items: center;
  text-align: center; min-height: 80vh; padding: 2rem;
}
.hero-inner { max-width: 900px; width: 100%; }
.hero h1 { font-size: 3rem; margin-bottom: 2rem; color: #e0e0e0; }

/* =========================
   Cards
========================= */
.loan-cards, .partner-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem; margin: 2rem auto;
}

.card, .partner-card {
  background: #111; padding: 2rem;
  border: 1px solid #c0c0c0; border-radius: 8px;
  font-weight: bold; color: #c0c0c0;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0; transform: scale(0.8) translateY(30px);
}

.card:hover, .partner-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 20px #c0c0c0;
}

/* =========================
   Popup Animation
========================= */
@keyframes popUp {
  0% { opacity: 0; transform: scale(0.8) translateY(30px); }
  60% { opacity: 1; transform: scale(1.05) translateY(0); }
  100% { opacity: 1; transform: scale(1); }
}
.show { animation: popUp 0.6s ease forwards; }

/* =========================
   Buttons
========================= */
.btn-enquiry, .btn-submit {
  background: linear-gradient(45deg, #c0c0c0, #fff);
  color: #000; border: none;
  padding: 1rem 2rem; cursor: pointer;
  font-weight: bold; border-radius: 30px;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
  box-shadow: 0 0 12px rgba(192,192,192,0.3);
}

.btn-enquiry::before, .btn-submit::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.4);
  transform: skewX(-30deg);
  transition: 0.5s;
}

.btn-enquiry:hover::before, .btn-submit:hover::before { left: 100%; }
.btn-enquiry:hover, .btn-submit:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,255,255,0.6);
}

/* =========================
   Modal
========================= */
.modal {
  display: none; position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center; align-items: center;
}
.modal-content {
  background: #111; padding: 2rem;
  border-radius: 12px; width: 400px;
  color: #c0c0c0; animation: pop 0.3s ease;
  box-shadow: 0 0 25px rgba(192,192,192,0.2);
  text-align: center;
}
@keyframes pop { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.close { float: right; cursor: pointer; font-size: 1.5rem; color: #fff; }

/* Inputs */
#enquiryForm input,
#enquiryForm select {
  display: block; width: 100%;
  margin: 0.8rem 0; padding: 0.9rem;
  border-radius: 6px; border: none;
  font-size: 0.95rem;
  background: #1c1c1c; color: #fff; outline: none;
}
#enquiryForm input::placeholder { color: #aaa; }

/* Radio Button Group */
.radio-group {
  display: flex; justify-content: space-around; margin: 1.5rem 0;
}
.radio-group label {
  display: flex; align-items: center; gap: 0.4rem;
  background: #1a1a1a; padding: 0.6rem 1.2rem;
  border-radius: 6px; cursor: pointer;
  transition: all 0.3s;
}
.radio-group label:hover { background: #333; }
.radio-group input[type="radio"] {
  accent-color: #c0c0c0; transform: scale(1.2); cursor: pointer;
}

/* =========================
   Footer
========================= */
.footer {
  background: #111; text-align: center;
  padding: 1rem; margin-top: 2rem;
  color: #888; font-size: 0.9rem;
}

/* =========================
   Partners Section
========================= */
.partners {
  display: flex; justify-content: center; align-items: center;
  text-align: center; min-height: 100vh;
  padding: 2rem; flex-direction: column;
}
.partners-inner { max-width: 1000px; width: 100%; }
.partners h1 {
  font-size: 2.5rem; margin-bottom: 2rem;
  color: #e0e0e0; text-align: center;
}

/* =========================
   Background FX
========================= */
.shine-bg {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: #000; overflow: hidden;
  z-index: -2; animation: glowPulse 6s ease-in-out infinite;
}
.streak {
  position: absolute; top: -200px;
  width: 400px; height: 200vh;
  background: linear-gradient(120deg, transparent, rgba(192,192,192,0.15), transparent);
  transform: rotate(-20deg);
  animation: moveStreaks 8s linear infinite;
}
.streak:nth-child(2) { left: 30%; animation-delay: 2s; }
.streak:nth-child(3) { left: 60%; animation-delay: 4s; }
.streak:nth-child(4) { left: 90%; animation-delay: 6s; }
@keyframes moveStreaks {
  0% { top: -200px; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(192,192,192,0.1) inset; }
  50% { box-shadow: 0 0 80px rgba(192,192,192,0.2) inset; }
}

/* =========================
   About Section
========================= */
.about {
  display: flex; justify-content: center; align-items: center;
  min-height: 100vh; padding: 3rem 2rem;
  text-align: center; background: rgba(17,17,17,0.85);
}
.about-inner { max-width: 900px; color: #c0c0c0; animation: fadeUp 1s ease-in-out; }
.about h1 {
  font-size: 2.5rem; margin-bottom: 1.5rem;
  color: #e0e0e0; text-transform: none; position: relative;
}
.about h1::after {
  content: ''; display: block; width: 80px; height: 3px;
  margin: 0.5rem auto 1.5rem auto;
  background: #c0c0c0; border-radius: 2px;
  animation: expandLine 1s ease forwards;
}
.about p {
  font-size: 1.1rem; line-height: 1.7; margin-bottom: 1rem;
}
.about blockquote {
  margin-top: 2rem; font-style: italic;
  font-size: 1.3rem; color: #fff;
  background: linear-gradient(90deg, #c0c0c0, transparent);
  padding: 1rem; border-left: 4px solid #c0c0c0;
  border-radius: 5px; display: inline-block;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes expandLine { from { width: 0; } to { width: 80px; } }

/* =========================
   Contact Section
========================= */
.contact {
  display: flex; justify-content: center; align-items: center;
  min-height: 80vh; padding: 3rem 2rem;
  text-align: center; background: rgba(17,17,17,0.9);
}
.contact-inner { max-width: 800px; color: #c0c0c0; }
.contact h1 {
  font-size: 2.5rem; margin-bottom: 1rem;
  color: #e0e0e0; text-transform: uppercase;
}
.contact p {
  font-size: 1.1rem; margin-bottom: 2rem; color: #aaa;
}
.contact-details {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
}
.contact-card {
  background: #111; padding: 1.5rem 2rem;
  border: 1px solid #c0c0c0; border-radius: 8px;
  width: 260px; transition: transform 0.3s, box-shadow 0.3s;
}
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px #c0c0c0;
}
.contact-card h3 { margin-bottom: 0.5rem; color: #fff; }
.contact-card a {
  color: #c0c0c0; text-decoration: none;
  font-weight: bold; transition: color 0.3s;
}
.contact-card a:hover { color: #fff; }

/* =========================
   Misc
========================= */
html { scroll-behavior: smooth; }
/* 🔥 Looping popup animation */
@keyframes popLoop {
  0% { opacity: 0; transform: scale(0.8) translateY(30px); }
  20% { opacity: 1; transform: scale(1.05) translateY(0); }
  40% { opacity: 1; transform: scale(1); }
  80% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.8) translateY(30px); }
}

/* Apply looping animation to loan & partner cards */
.card, .partner-card {
  animation: popLoop 6s ease-in-out infinite;
}

/* Stagger effect - wave animation */
.card:nth-child(1), .partner-card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2), .partner-card:nth-child(2) { animation-delay: 0.5s; }
.card:nth-child(3), .partner-card:nth-child(3) { animation-delay: 1s; }
.card:nth-child(4), .partner-card:nth-child(4) { animation-delay: 1.5s; }
.card:nth-child(5), .partner-card:nth-child(5) { animation-delay: 2s; }
.card:nth-child(6), .partner-card:nth-child(6) { animation-delay: 2.5s; }
.card:nth-child(7), .partner-card:nth-child(7) { animation-delay: 3s; }
.card:nth-child(8), .partner-card:nth-child(8) { animation-delay: 3.5s; }
.card:nth-child(9), .partner-card:nth-child(9) { animation-delay: 4s; }
.card:nth-child(10), .partner-card:nth-child(10) { animation-delay: 4.5s; }
.card:nth-child(11), .partner-card:nth-child(11) { animation-delay: 5s; }
.card:nth-child(12), .partner-card:nth-child(12) { animation-delay: 5.5s; }
