/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero__video {
  width: 100%;
  height: 500px;        /* or any height you want */
  object-fit: cover;
  display: block;
  filter: grayscale(30%);
}

.hero .container {
    position: relative;
    z-index: 1;          /* keeps text above the video */
}

.hero__title {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.25;
  width: 100%;
  margin-bottom: 24px;
  margin-top: 100px;
  text-align: center;
}

.hero__subtitle {
  font-size: 25px;
  font-weight: 400;
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  width: 100%;
  color: #444;
  margin-bottom: 36px;
  text-align: center;
}

.btn-link--home {
  display: block;
  text-align: center;
  margin-bottom: 50px;
  margin-top: 34px;
}

/* ════════════════════════════════
   CLIENT LOGOS
════════════════════════════════ */
.client-logos {
  padding: 48px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.client-logos__label {
  font-size: 20px;
  font-family: 'Arial', sans-serif;
  color: #555;
  margin-bottom: 32px;
  text-align: center;
}

.client-logos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 40px;
  align-items: center;
  justify-items: center;
}

.client-logo {
  width: 100%;
  height: 64px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: opacity 0.2s, filter 0.2s;
}

.client-logo:hover { filter: grayscale(0%); opacity: 1; }

/* Remove size overrides — all logos same cell, same height */
.client-logo--large { height: 64px; }
.client-logo--phi   { height: 64px; }

/* ════════════════════════════════
   BENEFITS
════════════════════════════════ */
.benefits { padding: 72px 0 80px; }

.benefits__label {
  display: block;
  font-size: 15px;
  font-family: 'Arial', sans-serif;
  color: #555;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.benefits__title { font-size: 50px; font-weight: 700; margin-bottom: 16px; }

.benefits__desc {
  font-size: 15px;
  font-family: 'Arial', sans-serif;
  color: #555;
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── Image cards ── */
.cards-wrapper { overflow: hidden; margin-bottom: 24px; }

.cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.cards::-webkit-scrollbar { display: none; }

.card { flex: 0 0 220px; display: flex; flex-direction: column; gap: 10px; }

.card--tall .card__img { height: 280px; }

.card__img {
  width: 100%; height: 180px;
  background: #d0d0d0;
  border-radius: 8px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.card__img img { width: 100%; height: 100%; object-fit: cover; }

.card__label { font-size: 0.8rem; font-family: 'Arial', sans-serif; color: #555; text-align: center; }

/* ── Slider arrows ── */
.slider-controls { display: flex; gap: 12px; margin-bottom: 56px; justify-content: center; }

.slider-btn {
  width: 46px; height: 46px;
  border-radius: 50%; border: none;
  background: #004AAD; color: #fff;
  font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}

.slider-btn:hover { background: #003080; }

/* ── Features ── */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }

.feature__icon  { font-size: 15px; margin-bottom: 12px; }
.feature__title { font-size: 20px; font-weight: 700; font-family: 'Arial', sans-serif; margin-bottom: 8px; }
.feature__desc  { font-size: 15px; font-family: 'Arial', sans-serif; color: #555; line-height: 1.7; }

/* ════════════════════════════════
   SERVICES  (index.html)
════════════════════════════════ */
.services { padding: 72px 0 80px; background: #fff; }

.services__heading {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  font-family: 'Georgia', serif;
  margin-bottom: 48px;
}

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

.service-card {
  display: flex; flex-direction: column; justify-content: space-between;
  background: #fff; border: 1.5px solid #d6d6d6; border-radius: 14px;
  padding: 28px 24px 24px; gap: 24px; transition: box-shadow 0.2s;
}

.service-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); }

.service-card__top { display: flex; flex-direction: column; gap: 8px; }

.service-card__title { font-size: 25px; font-weight: 700; font-family: 'Arial', sans-serif; line-height: 1.4; }
.service-card__subtitle { font-size: 20px; color: #777; line-height: 1.5; }

.service-card__features { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; }

.service-card__features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 15px; color: #333; line-height: 1.5; font-family: 'Arial', sans-serif;
}

.service-card__features li::before { content: '✓'; flex-shrink: 0; margin-top: 1px; font-size: 0.82rem; }

.service-card__footer { display: flex; justify-content: center; padding-top: 8px; }

/* ════════════════════════════════
   REVIEWS
════════════════════════════════ */
.reviews { position: relative; padding: 72px 0 64px; overflow: hidden; }

.reviews__bg {
  position: absolute; inset: 0;
  background: #2b2b2b;
  background-size: cover; background-position: center;
  filter: blur(4px) brightness(0.45);
  transform: scale(1.05); z-index: 0;
}

.reviews__inner { position: relative; z-index: 1; }

.reviews__summary {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 10px; padding: 10px 20px;
  margin-bottom: 32px; font-size: 0.88rem; flex-wrap: wrap;
}

.reviews__source { font-weight: 700; font-size: 0.82rem; background: #004AAD; color: #fff; padding: 2px 8px; border-radius: 4px; }
.reviews__rating-label { font-weight: 700; }
.reviews__stars        { color: #f5a623; font-size: 1rem; letter-spacing: 1px; }
.reviews__score        { font-weight: 700; }
.reviews__count        { color: #555; font-size: 0.83rem; }

.reviews__grid { columns: 3; column-gap: 20px; }

.review-card {
  display: inline-block; width: 100%;
  background: #fff; border-radius: 12px;
  padding: 18px; margin-bottom: 18px; break-inside: avoid;
}

.review-card__header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }

.review-card__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.88rem; color: #fff; flex-shrink: 0;
}

.review-card__avatar--c { background: #e57373; }
.review-card__avatar--d { background: #ef6c00; }
.review-card__avatar--m { background: #43a047; }
.review-card__avatar--e { background: #1e88e5; }
.review-card__avatar--l { background: #00acc1; }
.review-card__avatar--b { background: #5e35b1; }
.review-card__avatar--s { background: #6d8b74; }
.review-card__avatar--a { background: #f06292; }
.review-card__avatar--t { background: #ff7043; }

.review-card__meta   { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.review-card__name   { font-size: 0.85rem; font-weight: 700; }
.review-card__date   { font-size: 0.73rem; color: #999; }
.review-card__source { font-size: 0.73rem; font-weight: 600; color: #004AAD; margin-left: auto; flex-shrink: 0; }
.review-card__stars  { color: #f5a623; font-size: 0.88rem; letter-spacing: 1px; margin-bottom: 8px; }
.review-card__text   { font-size: 0.83rem; color: #333; line-height: 1.6; }

.reviews__footer { display: flex; justify-content: center; margin-top: 12px; }

.btn-load {
  border: 1.5px solid #ccc; border-radius: 8px; background: #fff; color: #333;
  padding: 10px 36px; font-size: 0.9rem; font-family: 'Arial', sans-serif;
  cursor: pointer; transition: background 0.2s, border-color 0.2s;
}

.btn-load:hover { background: #f0f0f0; border-color: #aaa; }

/* ════════════════════════════════
   FAQs
════════════════════════════════ */
.faqs { padding: 72px 0 80px; background: #fff; }

.faqs__heading {
  text-align: center; font-size: 2.2rem; font-weight: 800;
  font-family: 'Georgia', serif; margin-bottom: 40px;
}

.accordion { display: flex; flex-direction: column; gap: 8px; margin-bottom: 48px; }

.accordion__item { background: #e8e8e8; border-radius: 8px; overflow: hidden; }

.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; background: transparent; border: none;
  cursor: pointer; text-align: left; gap: 12px;
}

.accordion__question { font-size: 20px; font-weight: 600; font-family: 'Arial', sans-serif; color: #1a1a1a; }

.accordion__icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: #004AAD; color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform 0.3s; line-height: 1;
}

.accordion__body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 18px;
}

.accordion__body p { font-size: 15px; color: #444; line-height: 1.7; font-style: italic; padding-bottom: 16px; }

.accordion__item--open .accordion__body { max-height: 300px; padding: 0 18px; }
.accordion__item--open .accordion__icon { transform: rotate(45deg); }

.faqs__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.faqs__cta-text { font-size: 25px; font-weight: 700; font-family: 'Georgia', serif; }

.accordion__body ul {
  padding-left: 20px;
  margin: 8px 0;
}

.accordion__body li {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 6px;
  font-family: 'Arial', sans-serif;
}

/* ════════════════════════════════
   ARTICLES
════════════════════════════════ */
.articles { padding: 72px 0 80px; background: #fff; }

.articles__heading {
  text-align: center; font-size: 2.2rem; font-weight: 800;
  font-family: 'Georgia', serif; margin-bottom: 48px;
}

.articles__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 48px; }

.article-card {
  display: flex; flex-direction: column;
  border-radius: 14px; overflow: hidden;
  border: 1.5px solid #e0e0e0; background: #fff; transition: box-shadow 0.2s;
}

.article-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); }

.article-card__img {
  width: 100%; aspect-ratio: 16 / 9; background: #d0d0d0;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}

.article-card__img img { width: 100%; height: 100%; object-fit: cover; }

.article-card__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 24px; flex: 1; }

.article-card__title { font-size: 1rem; font-weight: 700; font-family: 'Georgia', serif; }
.article-card__text  { font-size: 0.85rem; color: #555; line-height: 1.7; flex: 1; }

.article-card__footer { display: flex; justify-content: space-between; align-items: center; }
.article-card__date,
.article-card__read  { font-size: 0.8rem; color: #888; }

/* ── Pagination ── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; }

.pagination__arrow {
  background: transparent; border: none; font-size: 1.1rem; color: #333;
  cursor: pointer; padding: 6px 10px; border-radius: 6px; transition: background 0.2s;
}

.pagination__arrow:hover { background: #f0f0f0; }

.pagination__page {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: transparent; font-size: 0.95rem; color: #333;
  cursor: pointer; font-family: 'Arial', sans-serif; transition: background 0.2s;
}

.pagination__page:hover { background: #f0f0f0; }

.pagination__page--active {
  color: #1a1a1a; font-weight: 700;
  border-bottom: 2px solid #1a1a1a; border-radius: 0;
}

/* ════════════════════════════════
   RESPONSIVE — home.css
════════════════════════════════ */

/* ── 1024px ── */
@media (max-width: 1024px) {
  .hero             { padding: 60px 0 48px; }
  .hero__title      { font-size: 2rem; }
  .features         { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .services__list   { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid    { columns: 2; }
}

/* ── 768px ── */
@media (max-width: 768px) {
  .hero               { padding: 48px 0 36px; }
  .hero__title        { font-size: 1.7rem; }
  .hero__subtitle     { font-size: 0.95rem; }
  .benefits           { padding: 48px 0 56px; }
  .benefits__title    { font-size: 1.6rem; }
  .client-logos       { padding: 36px 0; }
  .client-logos__grid { grid-template-columns: repeat(4, 1fr); gap: 20px 24px; }
  .client-logo        { height: 48px; }
  .services           { padding: 48px 0 56px; }
  .services__heading  { font-size: 2rem; margin-bottom: 32px; }
  .services__list     { grid-template-columns: 1fr; gap: 20px; }
  .reviews            { padding: 48px 0 40px; }
  .reviews__grid      { columns: 2; }
  .faqs               { padding: 48px 0 56px; }
  .faqs__heading      { font-size: 1.8rem; }
  .articles           { padding: 48px 0 56px; }
  .articles__heading  { font-size: 1.8rem; }
  .articles__list     { gap: 20px; }
  .faqs__cta          { flex-direction: column; align-items: flex-start; }
  .faqs__cta-text     { font-size: 1.2rem; }
}

/* ── 480px ── */
@media (max-width: 480px) {
  .hero               { padding: 36px 0 28px; }
  .hero__title        { font-size: 1.4rem; }
  .hero__subtitle     { font-size: 0.9rem; margin-bottom: 24px; }
  .benefits__title    { font-size: 1.4rem; }
  .features           { grid-template-columns: 1fr; gap: 24px; }
  .services__heading  { font-size: 1.6rem; }
  .services__list     { grid-template-columns: 1fr; }
  .reviews__grid      { columns: 1; }
  .reviews__summary   { font-size: 0.78rem; gap: 6px; padding: 8px 14px; }
  .articles__list     { grid-template-columns: 1fr; }
  .articles__heading  { font-size: 1.5rem; }
  .faqs__heading      { font-size: 1.5rem; }
  .faqs__cta-text     { font-size: 1.05rem; }
  .card               { flex: 0 0 180px; }
  .card__img          { height: 140px; }
  .card--tall .card__img { height: 210px; }
}

/* ── 360px ── */
@media (max-width: 360px) {
  .hero__title        { font-size: 1.2rem; }
  .benefits__title    { font-size: 1.2rem; }
  .services__heading  { font-size: 1.4rem; }
  .card               { flex: 0 0 155px; }
}
/* ── Logo grid responsive additions ── */
@media (max-width: 480px) {
  .client-logos__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .client-logo        { height: 40px; }
}
