/* Content pages: About Us, Certification, Privacy / Terms, Thank You, Blogs, blog posts, Contact layout */

/* ---------- About Us ---------- */
.about-banner { position: relative; padding: 50px 10px; background-size: cover; background-position: center; }
.about-banner::before { content: ""; position: absolute; inset: 0; background-color: var(--c-primary); opacity: .5; }
.about-banner__inner { position: relative; display: flex; flex-direction: column; gap: 20px; max-width: 90%; margin: 0 auto; }
.about-banner__title { margin: 0; font-family: var(--f-head); font-size: 48px; font-weight: 700; line-height: 50px; color: var(--c-white); }
.about-banner .breadcrumb, .about-banner .breadcrumb a { font-size: 16px; line-height: 22px; color: var(--c-white); }

.about-row { padding: 50px 0; }
.about-row--process { padding: 100px 0; }
.about-row__inner { display: flex; align-items: center; gap: 20px; }
.about-row__media, .about-row__text { flex: 1 1 0; min-width: 0; padding: 10px; }
.about-row__media { text-align: center; }
.about-row__media img { display: block; width: 100%; height: auto; }
.about-mission__img { box-shadow: 15px 15px 0 0 #E2E2E2; }
.about-title { margin: 0 0 20px; font-family: var(--f-head); font-size: 48px; font-weight: 700; line-height: 50px; color: var(--c-primary); }
.about-title--center { text-align: center; }
.about-subtitle { margin: 0 0 20px; font-family: var(--f-head); font-size: 26px; font-weight: 600; line-height: 30px; color: var(--c-primary); }
.about-text p { margin: 0; font-size: 16px; line-height: 1.7; }
.about-text--center { text-align: center; }
.about-text--process, .about-row--why .about-text { margin-bottom: 30px; }
.about-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }

.about-who { padding: 30px 0 0; background-color: var(--c-grey); }
.about-who .container { padding: 10px; }
.about-values { padding: 30px 0 30px; background-color: var(--c-grey); }
.about-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px 20px; padding: 10px; }
.value-box { text-align: center; }
.value-box__icon {
  display: inline-block;
  margin-bottom: 31px;
  padding: 20px;
  border-radius: 50%;
  background-color: var(--c-primary);
  font-size: 30px;
  line-height: 1;
  color: var(--c-white);
  transition: transform .3s;
}
.value-box__icon:hover { transform: scale(.9); }
.value-box__icon i { display: block; width: 1em; height: 1em; }
.value-box__title { margin: 0 0 5px; font-family: var(--f-head); font-size: 26px; font-weight: 600; line-height: 30px; color: var(--c-primary); }

.about-team { padding: 0 0 50px; }
.about-team .about-title { margin-bottom: 33px; }
.about-team__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.team-card { padding: 10px; text-align: center; }
.team-card img { display: block; width: 100%; height: 440px; object-fit: cover; }
.team-card__name { margin: 10px 0 0; font-family: var(--f-head); font-size: 26px; font-weight: 600; line-height: 30px; color: var(--c-primary); }
.team-card__role { margin: 10px 0 0; font-family: var(--f-head); font-size: 20px; font-weight: 500; line-height: 22px; color: var(--c-primary); }

.about-enquiry { position: relative; padding: 80px 0; background-size: cover; background-position: center; background-attachment: fixed; }
.about-enquiry::before { content: ""; position: absolute; inset: 0; background-color: var(--c-primary); opacity: .7; }
.about-enquiry__inner { position: relative; text-align: center; }
.about-enquiry__title { margin: 0 0 20px; font-family: var(--f-head); font-size: 48px; font-weight: 700; line-height: 50px; color: var(--c-white); }
.about-enquiry__sub { margin: 0 0 20px; font-family: var(--f-head); font-size: 20px; font-weight: 500; line-height: 22px; color: var(--c-white); }
.icon-list { margin: 0 0 20px; padding: 0; list-style: none; }
.icon-list:last-child { margin-bottom: 0; }
.icon-list li { display: flex; justify-content: center; }
.icon-list li:not(:last-child) { padding-bottom: 7.5px; }
.icon-list li + li { margin-top: 7.5px; }
.icon-list a { display: inline-flex; align-items: center; }
.icon-list__icon { display: flex; padding-right: 10px; }
.icon-list__icon i { width: 1.25em; font-size: 22px; text-align: center; color: var(--c-white); }
.icon-list__text { font-family: var(--f-head); font-size: 26px; font-weight: 600; line-height: 30px; color: var(--c-white); transition: color .3s; }
.icon-list a:hover .icon-list__text { color: #FFFFFFCC; }

/* ---------- Certification ---------- */
.certs { padding: 50px 0 40px; background-color: var(--c-grey); }
.certs__title { margin: 0 0 13px; font-family: var(--f-head); font-size: 48px; font-weight: 700; line-height: 50px; text-align: center; color: var(--c-primary); }
.certs__row { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1167px; margin: 0 auto 20px; padding-top: 20px; }
.certs__row + .certs__row { padding-top: 0; }
.certs__row:last-child { margin-bottom: 0; }
.certs__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  margin: 10px;
  padding: 12px 20px;
  border: 1px solid var(--c-primary);
  border-radius: 0;
  background-color: var(--c-primary);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  color: var(--c-white);
  transition: all .3s;
}
.certs__btn:hover, .certs__btn:focus { color: #D27351; background-color: var(--c-white); border-radius: 5px; }

/* ---------- Privacy Policy / Terms of Use / Sitemap ---------- */
.legal { padding: 50px 0; }
.legal__inner { display: flex; flex-direction: column; gap: 20px; padding: 0 10px; }
.legal__section { display: flex; flex-direction: column; gap: 20px; width: 90%; margin: 0 auto; padding: 10px 0; }
.legal__heading { margin: 0; font-family: var(--f-head); font-size: 26px; font-weight: 600; line-height: 30px; color: var(--c-primary); }
.legal__text p { margin: 0; font-size: 16px; line-height: 1.7; }
.legal__text--sub { padding-left: 20px; }
.legal__text ul, .sitemap ul { margin: 0; padding-left: 50px; }
.legal__text li p { margin: 0; }
.sitemap li { font-size: 16px; line-height: 1.7; }

/* ---------- Thank You ---------- */
.thanks { padding: 100px 0; }
.thanks .container { padding: 10px; }
.thanks__card { width: 63%; margin: 0 auto; padding: 80px 50px; background-color: #EBEBEB; text-align: center; }
.thanks__icon { display: inline-block; margin-bottom: 44px; font-size: 72px; line-height: 1; color: var(--c-primary); }
.thanks__title { margin: 0; font-family: var(--f-head); font-size: 48px; font-weight: 700; line-height: 50px; color: var(--c-primary); }
.thanks__text { margin: 0; font-size: 16px; line-height: 22px; }

/* ---------- Blogs ---------- */
.blogs { padding: 50px 0; }
.blogs .container { padding: 10px; }
.blogs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: 90%; margin: 0 auto; }
.post-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 3px; background: #fff; box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15); }
.post-card__thumb { display: block; overflow: hidden; }
.post-card__thumb img { display: block; width: 100%; height: 122px; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__badge { position: absolute; top: 20px; right: 20px; padding: .6em 1.2em; border-radius: 999px; background: var(--c-primary); font-size: 12px; font-weight: 500; line-height: 1; text-transform: uppercase; color: #fff; }
.post-card__text { display: flex; flex-direction: column; flex-grow: 1; padding: 30px 30px 0; }
.post-card__title { margin: 0 0 25px; font-family: var(--f-head); font-size: 26px; font-weight: 600; line-height: 30px; }
.post-card__title a { color: var(--c-primary); }
.post-card__excerpt p { margin: 0 0 25px; font-size: 16px; line-height: 22px; color: #777; }
.post-card__more { align-self: flex-start; margin-bottom: 30px; font-size: 16px; line-height: 1; text-transform: uppercase; color: var(--c-primary); }
.post-card__meta { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 15px 30px; border-top: 1px solid #eaeaea; font-size: 16px; line-height: 1.3; color: #adadad; }
.post-card__sep { font-size: 11px; }
/* related-post variant (single post page) */
.post-card--related { border: 1px solid var(--c-primary); box-shadow: none; }
.post-card--related .post-card__thumb img { height: 158px; }
.post-card--related .post-card__text { padding: 20px 16px; }
.post-card--related .post-card__title { margin-bottom: 8px; }
.post-card--related .post-card__excerpt p { margin: 0; font-size: 14px; line-height: 21px; }
.post-card--related .post-card__more { margin: auto 0 0; padding-top: 20px; font-size: 14px; }

/* ---------- Single post ---------- */
.post { padding: 30px 0 58px; background-image: linear-gradient(180deg, #F2F2F2 0%, #FFFFFF 100%); }
.post__inner { width: 75%; max-width: 970px; margin: 0 auto; }
.post__title { margin: 0 0 20px; font-family: var(--f-head); font-size: 48px; font-weight: 700; line-height: 50px; color: var(--c-primary); }
.post__image { display: block; width: 100%; height: 450px; margin-bottom: 20px; object-fit: cover; }
.post__content { text-align: justify; }
.post__content h4 { margin: 0; font-family: var(--f-head); font-size: 48px; font-weight: 700; line-height: 50px; color: var(--c-primary); }
.post__content p { margin: 0; font-size: 16px; line-height: 1.7; }
.post__divider { margin: 40px 0 39px; border: 0; border-top: 1px solid #39436b; }
.post__share { display: flex; align-items: center; gap: 22px; }
.post__share p { margin: 0 8px 0 0; font-size: 16px; line-height: 22px; }
.post__share-btn { font-size: 22px; line-height: 1; color: var(--c-primary); }
.related-posts { padding: 10px; }
.related-posts__title { margin: 0 0 50px; font-family: var(--f-head); font-size: 48px; font-weight: 700; line-height: 50px; text-align: center; color: var(--c-primary); }
.related-posts__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* ---------- Contact layout (form internals live in forms.css) ---------- */
.contact { padding: 50px 10px; }
.contact__inner { display: flex; align-items: center; gap: 20px; max-width: 90%; margin: 0 auto; }
.contact__form-col { flex: 0 0 calc((100% - 20px) * .6); padding: 10px; }
.contact__media-col { flex: 0 0 calc((100% - 20px) * .4); padding: 10px; }
.contact__media-col img { display: block; width: 100%; height: auto; }
.contact__title { margin: 0 0 20px; font-family: var(--f-head); font-size: 48px; font-weight: 700; line-height: 50px; color: var(--c-primary); }
.contact-cards { padding: 440px 0 50px; }
.contact-cards__grid { display: grid; grid-template-columns: 294fr 353fr 294fr 294fr; gap: 20px; }
.info-card { display: flex; align-items: flex-start; gap: 15px; padding: 15px; background: #fff; box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5); }
.info-card__icon { display: flex; font-size: 26px; line-height: 1; color: var(--c-primary); }
.info-card__icon i { width: 1em; text-align: center; }
.info-card__title { margin: 0 0 16px; font-family: var(--f-head); font-size: 26px; font-weight: 600; line-height: 30px; color: var(--c-primary); }
.info-card__text { margin: 0; font-size: 16px; line-height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-banner { padding: 30px 0; }
  .about-values__grid { row-gap: 60px; }
  .about-team__grid { grid-template-columns: repeat(2, 1fr); }
  .about-enquiry { background-attachment: scroll; }
  .blogs__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { padding-top: 50px; }
  .contact-cards__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .about-row, .about-row--process { padding: 30px 0; }
  .about-row__inner, .contact__inner { flex-direction: column; align-items: stretch; }
  .about-row--process .about-row__inner { flex-direction: column; }
  .about-values__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .about-team__grid { grid-template-columns: 1fr; }
  .certs__row { grid-template-columns: 1fr; }
  .thanks { padding: 50px 0; }
  .thanks__card { width: 100%; padding: 50px 20px; }
  .blogs__grid, .related-posts__grid { grid-template-columns: 1fr; width: 100%; }
  .post__inner { width: 100%; padding: 0 20px; }
  .post__image { height: auto; }
  .contact { padding: 30px 10px; }
  .contact__form-col, .contact__media-col { flex-basis: auto; }
  .contact-cards__grid { grid-template-columns: 1fr; }
  .legal__section { width: 100%; }
}
