/* ===============================
   FINOPLE GROUP – TARGET DESIGN MATCH
   =============================== */

/* ---------- HERO ---------- */
.hero {
  background-color: #0f172a; /* THE ALTERNATIVE TO PINK */
  color: #ffffff;
  padding: 100px 0 80px; /* Spaced out, no overlap */
  text-align: center;
}

.hero .container {
  /* max-width: 800px; */
 max-width: 1200px; 
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
 color: #ffffff;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 22px;
  font-weight: 600;
 color: #3b82f6;
  margin-bottom: 12px;
}

.hero-text {
  font-size: 17px;
 color: #94a3b8;
margin: 0 auto 48px; /* More space before buttons */
  line-height: 1.8;
  color: #94a3b8; /* Muted slate for better hierarchy */
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ---------- BUSINESS SECTION ---------- */
.businesses {
  background: #ffffff; /* Clean white */
  padding: 40px 0 80px;
  border-top: 1px solid #f1f5f9; /* Subtle separator line */
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Resizing the Hero Buttons to match Design 1 */
.hero-actions .btn {
  padding: 10px 22px;   /* Reduced vertical padding for a sleeker look */
  font-size: 16px;      /* Smaller, professional font size */
  font-weight: 600;     /* Semi-bold for readability */
  letter-spacing: 0.3px; /* Slight spacing for a premium feel */
  border-radius: 4px;   /* Sharp, clean corners */
  /* min-width: 160px;     */
  text-align: center;
  width: fit-content;
}

.hero-actions .btn.primary {
  background-color: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle depth */
}

.hero-actions .btn.secondary {
  border: 1.5px solid rgba(255, 255, 255, 0.3); /* Stronger ghost border */
  color: #ffffff;
  background: transparent;
}

.hero-actions .btn.secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- CARD DESIGN (EXACT MATCH) ---------- */
/* ---------- CARD DESIGN (EXACT IMAGE 1 MATCH) ---------- */
.business {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Soft, professional shadow */
  border: 1px solid #e5e7eb; 
  border-radius: 4px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden; 
  transition: transform 0.2s ease;
}

/* THICK LEFT BAR */
.business::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 16px; 
  height: 73px;
  z-index: 2; /* Sits above the top bar */
  border-radius: 4px 0 0 0;
}

.business::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px; /* Your requested height */
  z-index: 1; /* Sits behind the left bar */
}

/* 2. CONTRAST COLOR MATCHES */

/* CFO - Deep Blue Contrast */
.business.cfo::before { background-color: #1e40af !important; } /* Darker Left */
.business.cfo::after  { background-color: #3b82f6 !important; } /* Lighter Top */

/* FinTech - Deep Teal Contrast */
.business.fintech::before { background-color: #0f766e !important; } /* Darker Left */
.business.fintech::after  { background-color: #14b8a6 !important; } /* Lighter Top */

/* Foundation - Deep Green Contrast */
.business.foundation::before { background-color: #15803d !important; } /* Darker Left */
.business.foundation::after  { background-color: #22c55e !important; } /* Lighter Top */

.card-content {
  padding: 30px 25px 35px 35px; /* Adjusting for left bar weight */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.business h2 {
  font-size: 19px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  padding-bottom: 12px;
  position: relative;
}

/* THE SHORT UNDERLINE (Matches Design) */
.business h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 260px; /* Short line */
  height: 2px; /* Thick underline */
  background: #e5e7eb; /* Light grey underline */
}

.business p {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 20px 0 25px 0; /* Space between title and button */
  flex-grow: 1;
}


/* THE BUTTON (Matches Design) */
.btn-card {
  display: inline-block;
  width: 220px;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
}

#btn-1{
  width: 281.4px;
}

#btn-2{
  width: 220px;
}

#btn-3{
  width: 240px;
}
/* Button colors based on category */
.business.cfo .btn-card { background: #1e293b; } /* Dark button for CFO */
.business.fintech .btn-card { background: #0d9488; } /* Teal button for Fintech */
.business.foundation .btn-card { background: #16a34a; } /* Green button for Foundation */

.btn-card:hover {
  opacity: 0.9;
}
/* ---------- ABOUT SECTION (NEW) ---------- */
.about-section {
  padding: 60px 0 80px;
  text-align: center;
  /* Only slightly different background to separate it */
  background: #f8fafc; 
  border-top: 1px solid #e2e8f0;
}

.about-section h3 {
  font-size: 24px;
  color: #334155;
  margin-bottom: 16px;
}

.about-section .divider {
  height: 1px;
  width: 740px;
  background: #cbd5e1;
  margin: 0 auto 24px;
  border-radius: 2px;
}

.about-section p {
  max-width: 820px;
  margin: 0 auto;
  color: #475569;
  font-size: 20px;
  line-height: 2.0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .business-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}


/* ===============================
   FINOPLE GROUP – MOBILE RESPONSIVE
   =============================== */

/* ---------- HERO ---------- */
@media (max-width: 900px) {
  .hero {
    padding: 70px 0 60px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.25;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .hero-text {
    font-size: 15px;
    padding: 0 10px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
}

/* ---------- BUSINESS CARDS ---------- */
@media (max-width: 900px) {
  .business-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 10px;
  }

  .business {
    margin: 0 auto;
  }

  .business h2::after {
    width: 140px;
  }

  .btn-card {
    width: 100% !important;
    text-align: center;
  }
}

/* ---------- ABOUT SECTION ---------- */
@media (max-width: 900px) {
  .about-section {
    padding: 50px 0 60px;
  }

  .about-section h3 {
    font-size: 20px;
  }

  .about-section .divider {
    width: 120px;
  }

  .about-section p {
    font-size: 16px;
    line-height: 1.7;
    padding: 0 12px;
  }
}

/* ===================================================
   FINOPLE GROUP — FINAL MOBILE FIX (CLEAN)
   =================================================== */

/* ---------- HEADER RESET ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* REMOVE FIXED HEIGHT ON MOBILE */
@media (max-width: 900px) {
  .site-header {
    height: auto;
  }
}

/* ---------- BURGER ---------- */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 3px;
  background: #0f172a;
  border-radius: 2px;
}

/* ---------- MOBILE NAV ---------- */
@media (max-width: 900px) {

  .burger {
    display: flex;
  }

  .main-nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;

    flex-direction: column;
    align-items: center;

    border-top: 1px solid #e5e7eb;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  }

  .main-nav a {
    width: 100%;
    text-align: center;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 16px;
  }

  .main-nav.show {
    display: flex !important;
  }
}

/* ---------- DESKTOP SAFETY ---------- */
@media (min-width: 901px) {
  .burger {
    display: none;
  }

  .main-nav {
    display: flex !important;
    position: static;
    box-shadow: none;
  }
}

/* ---------- HERO FIX ---------- */
@media (max-width: 900px) {
  .hero {
    padding: 60px 0 50px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-text {
    font-size: 15px;
    padding: 0 12px;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* ---------- BUSINESS GRID FIX ---------- */
@media (max-width: 900px) {
  .business-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 10px;
  }

  .business {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .btn-card {
    width: 100% !important;
    text-align: center;
  }
}

/* ---------- ABOUT SECTION FIX ---------- */
@media (max-width: 900px) {
  .about-section h3 {
    font-size: 20px;
  }

  .about-section .divider {
    width: 120px;
  }

  .about-section p {
    font-size: 16px;
    line-height: 1.6;
    padding: 0 12px;
  }
}

/* ---------- FOOTER FIX ---------- */
@media (max-width: 600px) {
  .footer-flex {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
