/*=================================================================================
 
    Theme Name: BI Dev Solution
    Theme URI: https://github.com/bki3/bi_dev_solution
    Description: Business Formation, Software Development & Data Intelligence website
    Author: BI Dev Solution
    Author URI: https://github.com/bki3
    Version: 1.0
 
===================================================================================*/
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-justify: inter-word;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;          /* bold for all headings */
  letter-spacing: -0.02em;
  text-transform: capitalize; /* First letter of each word uppercase */
}
/* Justify normal reading text */
p,li {
  text-justify: inter-word;
}
p.justify {
  text-align: justify;
  text-justify: inter-word;
}
/* Medium global text spacing */
p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
}

/* Text spacing utilities */
.text-gap-sm { margin-bottom: 0.5rem; }
.text-gap-md { margin-bottom: 1rem; }
.text-gap-lg { margin-bottom: 1.5rem; }
.text-gap-xl { margin-bottom: 2rem; }

/* ==========================================================================
   Design tokens (easy to edit)
   ========================================================================== */
:root {
  --brand-primary: #0d6efd;

  --text-dark: #212529;
  --bg-light: #f8f9fa;

  --border-light: #e9ecef;

  --hero-overlay: rgba(0, 0, 0, 0.55);
  --hover-bg: rgba(13, 110, 253, 0.08);

  --radius-pill: 0.5rem;
}

/* ==========================================================================
   Navbar (logo + menu)
   ========================================================================== */
.navbar {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

/* Space between menu items (Bootstrap 5: ul is flex via .navbar-nav) */
.navbar-nav {
  gap: 0.75rem;
}

.navbar-nav .nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-pill);
}

/* Active/current page link (NO background) */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link[aria-current="page"] {
  color: var(--brand-primary) !important;
  background: transparent !important;
  font-weight: 700;
}

/* Hover (light background) */
.navbar-nav .nav-link:hover {
  color: var(--brand-primary);
  background: var(--hover-bg);
}

/* ==========================================================================
   Hero backgrounds (keep same “before” behavior: center/cover/no-repeat)
   ========================================================================== */
.hero-section {
  background: linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    url("../images/main-hero-home.webp") center/cover no-repeat;
}

.service-page .hero-section {
  background: linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    url("../images/main-service-web.webp") center/cover no-repeat;
}

.contact-page .hero-section {
  background: linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    url("../images/contact-banner.webp") center/cover no-repeat;
}

.about-page .hero-section {
  background: linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    url("../images/service-data.webp") center/cover no-repeat;
}

/* ==========================================================================
   Hero typography (optional: use in index.html for the “agency” look)
   --------------------------------------------------------------------------
   Add classes in HTML:
   - <p class="hero-kicker ...">...</p>
   - <h1 class="hero-title ...">...</h1>
   - <p class="hero-subhead ...">...</p>
   - <p class="hero-location ...">...</p>
   ========================================================================== */
.hero-copy {
  max-width: 980px;
  margin: 0 auto;
}

.hero-kicker {
  font-size: 1.25rem;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.hero-title {
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
}

.hero-subhead {
  font-size: 1.15rem;
  opacity: 0.95;
}

.hero-location {
  font-size: 1.05rem;
  opacity: 0.9;
}

/* ==========================================================================
   Footer (layout like image2)
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 3rem 0 1.25rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-logo {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
}

.footer-logo:hover {
  color: var(--brand-primary);
}

.footer-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-info-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.75rem;
}

.footer-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  font-size: 1.4rem;
}

.footer-info-item h6 {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.footer-info-item p {
  margin: 0.15rem 0;
  color: #6c757d;
}

.footer-divider {
  margin: 2.25rem 0 1.5rem;
  border: 0;
  border-top: 1px solid var(--border-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-copy {
  margin: 0;
  color: #6c757d;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f3f4f6;
  color: var(--text-dark);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--hover-bg);
  color: var(--brand-primary);
}

/* Responsive */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Cards / images
   ========================================================================== */
.service-card img.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* ==========================================================================
   Lists
   ========================================================================== */
.service-features {
  list-style: none;
  padding-left: 0;
}

.service-features li {
  margin-bottom: 10px;
}

.service-features i {
  margin-right: 10px;
}

/* ==========================================================================
   CTA
   ========================================================================== */
/* Contact CTA (smaller + blue button) */
.contact-cta {
  position: relative;
  padding: 3.5rem 0; /* smaller */
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
    url("../images/contact-banner.webp") center/cover no-repeat;
  border-top: 8px solid rgba(13, 110, 253, 0.65); /* blue strip */
  overflow: hidden;
}

.contact-cta-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.contact-cta-watermark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(4.5rem, 14vw, 11rem); /* smaller */
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.06); /* subtler */
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.contact-cta-kicker {
  font-size: 1.2rem; /* smaller */
  font-weight: 400;
  opacity: 0.9;
}

.contact-cta-title {
  font-size: clamp(1.8rem, 3.8vw, 3.2rem); /* smaller */
  font-weight: 800;
  line-height: 1.1;
}

.contact-cta-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem; /* smaller */
  border-radius: 999px;
  background: var(--brand-primary); /* original blue */
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.contact-cta-btn:hover {
  background: #0b5ed7; /* Bootstrap primary hover */
  color: #fff;
}

@media (max-width: 576px) {
  .contact-cta {
    padding: 2.75rem 0;
  }
}

/* ==========================================================================
   Small helpers
   ========================================================================== */
code {
  background: #f1f3f5;
  padding: 0.15rem 0.35rem;
  border-radius: 0.25rem;
}
