/* ==========================================================================
   LANDBANK of the Philippines - Official Minimalist Stylesheet
   Designed to match the authentic portal aesthetic (Clean, Modern, Corporate)
   ========================================================================== */

:root {
  --lbp-green: #0D6938;
  --lbp-green-dark: #094F2A;
  --lbp-green-deep: #07381E;
  --lbp-advisory-bg: #0D522C;
  --text-dark: #1F2937;
  --text-sub: #4B5563;
  --text-muted: #6B7280;
  --bg-white: #FFFFFF;
  --bg-light: #F9FAFB;
  --bg-card: #FFFFFF;
  --border-light: #E5E7EB;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.08);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--lbp-green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--lbp-green-dark);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Top Advisory Bar
   ========================================================================== */
.top-advisory-bar {
  background-color: var(--lbp-advisory-bg);
  color: #FFFFFF;
  font-size: 0.85rem;
  padding: 8px 0;
}

.advisory-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-weight: 500;
}

.advisory-tag {
  font-weight: 800;
  letter-spacing: 0.8px;
  font-size: 0.8rem;
  opacity: 0.95;
}

.advisory-link {
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.9;
}

.advisory-link:hover {
  color: #FFFFFF;
  opacity: 1;
}

.arrow-icon {
  font-size: 0.75rem;
}

/* ==========================================================================
   Main Navigation (Minimalist: Logo only + Clean Text Links)
   ========================================================================== */
.site-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--lbp-green);
}

.dropdown-arrow {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section: Clean & Minimalist
   ========================================================================== */
.hero-minimal {
  background-color: var(--bg-white);
  padding: 60px 0 70px 0;
  border-bottom: 1px solid var(--border-light);
}

.hero-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-cta-single {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--lbp-green);
  color: #FFFFFF !important;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 34px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(13, 105, 56, 0.2);
}

.hero-cta-single:hover {
  background-color: var(--lbp-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 105, 56, 0.3);
}

/* ==========================================================================
   Services Cards Section
   ========================================================================== */
.section-services-banner {
  padding: 70px 0;
  background-color: var(--bg-white);
}

.section-head {
  margin-bottom: 36px;
}

.section-h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-sub);
}

.banner-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.banner-card {
  position: relative;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.banner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.banner-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.banner-card:hover .banner-card-img {
  transform: scale(1.03);
}

.banner-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #FFFFFF;
}

.banner-card-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.banner-card-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  line-height: 1.5;
  max-width: 520px;
}

/* ==========================================================================
   Mobile & Online Banking Synergy
   ========================================================================== */
.section-mobile-synergy {
  padding: 70px 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.synergy-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.synergy-img-wrap {
  text-align: center;
}

.synergy-img-wrap img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  max-height: 440px;
  margin: 0 auto;
}

.synergy-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.3;
}

.synergy-content p {
  font-size: 1.05rem;
  color: var(--text-sub);
  margin-bottom: 24px;
  line-height: 1.7;
}

.synergy-features {
  list-style: none;
  margin-bottom: 28px;
}

.synergy-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.98rem;
  color: var(--text-dark);
}

.synergy-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--lbp-green);
}

/* ==========================================================================
   Deep SEO Article: iAccess Core Architecture
   ========================================================================== */
.section-article-guide {
  padding: 70px 0;
  background-color: var(--bg-white);
}

.article-container {
  max-width: 900px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  margin-bottom: 40px;
}

.article-header h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.guide-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.guide-box {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.guide-step-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lbp-green);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.guide-box h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.guide-box p {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ==========================================================================
   Sectors Served (Faces pinned to top center so they are never cut off)
   ========================================================================== */
.section-sectors {
  padding: 70px 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.sector-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease;
}

.sector-card:hover {
  transform: translateY(-4px);
}

.sector-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center; /* Ensures faces and heads are always fully visible */
}

.sector-img-workers,
.sector-img[src*="workersLandBank"] {
  object-position: center 25%; /* Lifts the workers up so they are nicely centered and not too low */
}

.sector-content {
  padding: 24px;
}

.sector-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.sector-content p {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ==========================================================================
   Why Choose Us (Minimalist Trust Pillars - No Emojis)
   ========================================================================== */
.section-why-bank {
  padding: 70px 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.pillar-item {
  border-top: 3px solid var(--lbp-green);
  background-color: var(--bg-light);
  padding: 26px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pillar-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--lbp-green);
  margin-bottom: 10px;
  display: block;
}

.pillar-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.pillar-item p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ==========================================================================
   Branch Locator Only (Minimalist)
   ========================================================================== */
.section-locator-only {
  padding: 70px 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

.locator-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: var(--shadow-subtle);
}

.locator-text h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.locator-text p {
  font-size: 0.95rem;
  color: var(--text-sub);
  max-width: 680px;
}

.locator-btn {
  white-space: nowrap;
  background-color: var(--bg-white);
  color: var(--lbp-green);
  border: 1.5px solid var(--lbp-green);
  padding: 12px 26px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.locator-btn:hover {
  background-color: var(--lbp-green);
  color: #FFFFFF !important;
}

/* ==========================================================================
   Corporate Footer
   ========================================================================== */
.footer-corporate {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 50px 0 25px 0;
  color: var(--text-sub);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 36px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-col a {
  color: var(--text-sub);
}

.footer-col a:hover {
  color: var(--lbp-green);
}

.footer-subline {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 992px) {
  .banner-cards-grid,
  .synergy-grid,
  .sectors-grid,
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .guide-cards-grid {
    grid-template-columns: 1fr;
  }
  .locator-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-h1 {
    font-size: 1.85rem;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    align-items: flex-start;
    gap: 16px;
  }
  .nav-menu.active {
    display: flex;
  }
}
