.content-container {
  margin: auto;
  padding: 40px 20px;
  max-width: 1300px;
}
.media-articles-container {
  margin: 0;
  padding: 0;
  max-width: 200px;
}
.media-articles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}
.article {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  box-sizing: border-box;
}
.article-image {
  max-width: 119rem;
  height: 9.9rem;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.article-image::after {
  content: "";
  position: absolute;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
  z-index: 1;
}
.title-image {
  position: absolute;
  top: 66%;
  left: 50%;
  transform: translate(-51%, -50%);
  width: 70px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1rem;
  font-size: 1.8rem;
  font-weight: 500;
  color: white;
  background-color: #00205b;
  border-radius: 4px;
  z-index: 1;
  text-align: center;
  white-space: nowrap;
  opacity: 1;
}
.article-content {
  padding: 0.5rem 1rem;
}
.description {
  margin: 0.5rem 0;
}
.subtitle {
  margin: 0.3rem 0;
}
.action span {
  color: blue;
  text-decoration: underline;
}
@media (max-width: 576px) {
  .article-image {
    height: 180px;
  }
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 32px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  animation: fadeUp 0.5s ease both;
}
.contact-info {
  flex: 1;
}
.contact-info h1 {
  font-size: 28px;
  color: #00205b;
  margin-bottom: 6px;
  font-weight: 600;
}
.contact-info p {
  font-size: 22px;
  color: black;
  line-height: 1.55;
  max-width: 416px;
}
.phone {
  display: inline-block;
  margin-top: 18px;
  font-size: 35px;
  font-weight: 700;
  color: #00205b;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 0.2s;
}
.phone:hover {
  color: var(--brand-light);
}
.gallery {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.gallery img {
  width: 210px;
  height: 240px;
  /* object-fit: cover; */
  border-radius: 10px;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery img:hover {
  transform: scale(1.04) translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 58, 107, 0.18);
}
/* placeholder images via picsum */

/* ════════════════════════════════════
       FAQ CARD
    ════════════════════════════════════ */

.faq-card {
  background: #f4f4f4;
  border-radius: 20px;
  padding: 28px 32px;
  animation: fadeUp 0.5s 0.7s ease both;
}
.faq-card h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 20px;
  color: #00205b;
}
.faq-list {
  list-style: none;
}
.faq-item {
  border-top: 2px solid gainsboro;
}
.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}
.faq-btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  text-align: left;
  gap: 12px;
}
.faq-question {
  font-size: 22px;
  font-weight: 400;
  color: black;
}
.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1.8px solid var(--brand-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand-light);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: background 0.25s, color 0.25s, transform 0.35s;
}
.faq-btn[aria-expanded="true"] .faq-icon {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
}
.faq-answer.open {
  max-height: 200px;
  opacity: 1;
  padding-bottom: 16px;
}
.faq-answer p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
}
/* ════════════════════════════════════
       FEEDBACK CARD
    ════════════════════════════════════ */

.feedback-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  height: 354px;
  /* add explicit height */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  animation: fadeUp 0.5s 0.24s ease both;
  margin-top: 20px;
}
.feedback-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.feedback-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 22, 50, 0.08) 0%, rgba(10, 22, 50, 0.62) 55%, rgba(10, 22, 50, 0.82) 100%);
}
.feedback-content {
  position: relative;
  z-index: 2;
  text-align: right;
  padding: 36px 36px;
  max-width: 385px;
  margin: 12px;
}
.feedback-content h3 {
  font-size: 28px;
  font-weight: 500;
  color: white;
  margin-bottom: 10px;
}
.feedback-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  margin-bottom: 22px;
}
.btn-primary {
  display: inline-block;
  background: var(--brand);
  color: var(--white);
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 58, 107, 0.35);
}
.btn-primary:active {
  transform: translateY(0);
}
/* ── animations ── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ── responsive ── */

@media (max-width: 600px) {
  .contact-card {
    flex-direction: column;
  }
  .gallery {
    gap: 8px;
  }
  .gallery img {
    width: 90px;
    height: 90px;
  }
  .phone {
    font-size: 1.4rem;
  }
  .feedback-content {
    padding: 28px 20px;
  }
}
/* ════════════════════════════════════
       FEEDBACK CARD
    ════════════════════════════════════ */

.feedback-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  animation: fadeUp 0.5s 0.24s ease both;
  margin-top: 20px;
}
.feedback-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feedback-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 22, 50, 0) 0%, rgba(10, 22, 50, 0) 35%, rgba(10, 22, 50, 0.65) 65%, rgba(10, 22, 50, 0.85) 100%);
}
.feedback-content {
  position: relative;
  z-index: 2;
  text-align: right;
  padding: 36px 36px;
  max-width: 385px;
  margin: 12px;
}
.feedback-content h3 {
  font-weight: 500;
  font-size: 28px;
  color: white;
  margin-bottom: 10px;
}
.feedback-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  margin-bottom: 22px;
}
.btn-primary {
  display: inline-block;
  background: linear-gradient(275deg, #00205b 17.98%, #274783 91.14%);
  color: white;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 58, 107, 0.35);
}
.btn-primary:active {
  transform: translateY(0);
}
/* ── animations ── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ── responsive ── */

@media (max-width: 600px) {
  .contact-card {
    flex-direction: column;
  }
  .gallery {
    gap: 8px;
  }
  .gallery img {
    width: 90px;
    height: 90px;
  }
  .phone {
    font-size: 1.4rem;
  }
  .feedback-content {
    padding: 28px 20px;
  }
}
