/* ============================================
   GLOBAL & TYPOGRAPHY
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #f8f9fa;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ============================================
   TOP BAR (RED)
============================================ */
.top-bar {
  background-color: #c00;
  color: white;
  font-size: 0.9rem;
  padding: 8px 0;
  text-align: center;
  font-weight: 500;
}

/* ============================================
   HEADER / NAVBAR
============================================ */
.header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  color: #c00;
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  font-weight: 500;
  color: #333;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #c00;
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 100px 0;
  background-color: white;
  gap: 50px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h2 {
  font-size: 2.6rem;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}

.hero-image {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
}

/* ============================================
   CTA BUTTON (BPI-STYLE RED)
============================================ */
.cta-btn {
  display: inline-block;
  background-color: #c00;
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(192, 0, 0, 0.2);
}

.cta-btn:hover {
  background-color: #a00;
  transform: translateY(-2px);
}

/* ============================================
   ABOUT US (RECTANGULAR, RED EDGE)
============================================ */
.about {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.about-card {
  background: white;
  border-left: 6px solid #c00;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #555;
}

.section-title {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #c00;
}

.centered {
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.drop-cap {
  text-indent: 0;
  margin-bottom: 25px;
}

.first-letter {
  float: left;
  font-size: 3.5rem;
  font-weight: bold;
  color: #c00;
  line-height: 1;
  margin: 0.1rem 0.5rem 0 0;
}

/* ============================================
   QUICK ACTIONS (MOVED BELOW ABOUT)
============================================ */
.quick-actions {
  padding: 100px 0;
  background-color: white;
}

.quick-actions h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #2c3e50;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.card:hover {
  border-color: #c00;
  transform: translateY(-5px);
}

.card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #c00;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS (COLORED CARDS)
============================================ */
.how-it-works {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.cards-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.step-card {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  display: inline-block;
  background-color: #c00;
  color: white;
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.step-card h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.step-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.step-1 { background-color: #FFD1DC; border-top: 2px solid #c00; }
.step-2 { background-color: #FFC9B5; border-top: 2px solid #c00; }
.step-3 { background-color: #FFEAA7; border-top: 2px solid #c00; }
.step-4 { background-color: #E6F7F0; border-top: 2px solid #c00; }

/* ============================================
   WHY TRUST US (COLORED CARDS)
============================================ */
.why {
  padding: 100px 0;
  background-color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.feature-card {
  background: white;
  border-left: 4px solid #c00;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #c00;
}

.feature-card h3 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.feature-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-1 { background-color: #FFD1DC; }
.feature-2 { background-color: #FFC9B5; }
.feature-3 { background-color: #FFEAA7; }
.feature-4 { background-color: #E6F7F0; }
.feature-5 { background-color: #DCE6F7; }
.feature-6 { background-color: #E2D7F2; }

/* ============================================
   HOW WE HELP YOU SAVE (NEW BRIDGE SECTION)
============================================ */
.how-we-help {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.story-item {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.story-item .icon {
  font-size: 2.5rem;
  color: #c00;
  margin-bottom: 15px;
}

.story-item h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.story-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.whatsapp-btn {
  display: block;
  margin: 50px auto 0;
  background-color: #25D366;
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  width: fit-content;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s;
}

.whatsapp-btn:hover {
  background-color: #1da856;
  transform: translateY(-2px);
}

/* ============================================
   CONTACT (OFF-WHITE)
============================================ */
.contact {
  padding: 100px 0;
  background-color: white;
  text-align: center;
}

.contact h2 {
  color: #2c3e50;
  margin-bottom: 20px;
}

.contact p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.15rem;
  color: #555;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background-color: #1a252f;
  color: #ddd;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-links h5 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bbb;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #c00;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #c00;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.social-icon:hover {
  background-color: #25D366;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
}

.footer-bottom p {
  color: #999;
  font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .cards-row,
  .features-grid,
  .story-grid {
    flex-direction: column;
    align-items: center;
  }
  .section-title {
    text-align: center;
  }
  .cards-grid, .features-grid, .story-grid, .cards-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .card, .step-card, .feature-card, .story-item {
    min-width: 0;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding-left: 0;
    text-align: center;
    max-width: 100%;
  }
  .hero-image img {
    max-width: 100%;
    height: auto;
  }
  .cta-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }
  .hero-content h2 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
}

/* ==================== FLOATING WHATSAPP BUTTON ==================== */
.floating-whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
}

.floating-whatsapp-btn {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  padding: 10px 14px 10px 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  max-width: 220px;
  transition: all 0.3s ease;
  position: relative;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.whatsapp-text {
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
}

.status-dot {
  position: absolute;
  bottom: 10px;
  right: 12px;
  width: 10px;
  height: 10px;
  background: #4CAF50;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(76, 175, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

/* Responsive: Hide text on small screens */
@media (max-width: 480px) {
  .whatsapp-text {
    display: none;
  }
  .floating-whatsapp-btn {
    padding: 10px;
    max-width: 60px;
  }
}
/* ============================================
Responsive Navigation
============================================= */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #c00;
  margin-left: 15px;
}

/* Default: show nav links inline */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

/* On mobile: collapse menu */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; /* below header */
    right: 20px;
    width: 220px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 15px;
    border-radius: 8px;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* ============================================
Hero Section Tweaks
============================================= */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 50px 20px;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 20px;
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
  }
}
