/* ============================
   Page: About Landing
   Scope: .page-about
   ============================ */

.page-about { --accent: #2563eb; --muted:#6b7280; --card-bg:#fff; }

/* ===== HERO SECTION ===== */
.page-about__hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.page-about__hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-about__hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.page-about__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 100%);
  z-index: 1;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 2rem;
}

.page-about__title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.page-about__subtitle {
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  color: #f1f1f1;
}

.page-about__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-about__actions .btn {
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.page-about__actions .btn--primary {
  background-color: hsl(var(--accent-blue));
  color: #fff;
}

.page-about__actions .btn--primary:hover {
  background-color: hsl(var(--accent-blue-hover));
  transform: translateY(-2px);
}

.page-about__actions .btn--secondary {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.page-about__actions .btn--secondary:hover {
  background-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.about-intro {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.page-about__intro {
    padding: 3rem 1rem;
    background-color: #f9fafb;
}

.page-about__intro-text {
  text-align: center;
  font-size: 1rem;
  color: #4b5563;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.access-why {
  padding: 80px 0;
  background: #fff;
}

.credentials-and-compliance {
  padding: 80px 0;
}

.access-solutions {
  padding: 0 0 80px 0;
  background: #fff;
  text-align: center;
}

/* LEADERSHIP & TEAM */
.about-team {
  background-color: var(--bg-muted, #f9fafb);
  padding: 80px 1rem;
}

.about-team__container {
  max-width: 72rem; /* 1152px */
  margin: 0 auto;
}

.about-team__heading {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: normal;
  text-align: center;
  margin-top: 0;
}

@media (min-width: 768px) {
  .about-team__heading {
    font-size: 2.25rem;
  }
}

.about-team__grid {
  display: grid;
  gap: 3rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: var(--card-bg, #fff);
  text-align: justify;
}

@media (min-width: 1024px) {
  .about-team__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.about-team__intro p {
  font-size: 15px;
  line-height: 1.75rem;
  color: var(--text-muted, #4b5563);
}

.about-team__highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-team__highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: var(--card-bg, #fff);
  text-align: justify;
  cursor: default;
}

.about-team__highlight:hover {
  background-color: #e5e7eb20;
  border-radius: 5px;
  border: 1px solid #e5e7eb20;
  box-shadow: -3px 0 0 -1px rgba(0, 0, 0, .2);
}

.about-team__icon {
  flex-shrink: 0;
  color: var(--primary, #2563eb);
  margin-top: 0.25rem;
}

.about-team__highlight span {
  font-size: 15px;
  line-height: 1.5rem;
  color: var(--text-default, #111827);
}

.trusted-by{padding:80px 0;background-color:#f9fafb;}
.trusted{padding:40px 20px 0;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;}
.trusted-heading{text-align:center;font-size:18px;color:#6b7280;margin:0 0 18px;font-weight:inherit;}
.trusted-logos {
  background: radial-gradient(900px at 50% 45%, rgba(59, 130, 246, 0.1), rgba(255, 255, 255, 0) 60%);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 1200px;
  margin: 40px auto;
}

/* Flexbox row */
.trusted-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 40px;
  height: 48px;
  flex-wrap: wrap;
}

/* Logo styles */
.trusted-container img {
  height: 48px;
  width: auto;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.9;
  transition: all 0.3s ease;
}
@media(max-width:1024px) {
  .trusted-container img {
    height: 40px;
  }
}
@media(max-width:768px) {
  .trusted-container img {
    height: 30px;
  }
}
@media(max-width:768px) {
  .trusted-container {
    gap: 15px;
  }
  .trusted-container img {
    height: 20px;
  }
}

.trusted-container img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* READY TO SECURE YOUR PROPERTY */
.about-cta {
  background-color: #063075;
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.about-cta__container {
  max-width: 1024px;
  margin: 0 auto;
}

.about-cta__heading {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .about-cta__heading {
    font-size: 2.25rem;
  }
}

.about-cta__subheading {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.about-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .about-cta__actions {
    flex-direction: row;
  }
}

/* Primary (filled) button */
.btn--primary {
  background-color: #fbbf24;
  color: #000;
}

.btn--primary:hover {
  background-color: #f59e0b;
}

/* Outline (light) button */
.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  justify-content: center;
}

.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-about-careers__hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
}

.page-about-careers__hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-about-careers__hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-about-careers__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 100%);
  background-size: 300% 300%;
  z-index: 1;
}

@keyframes accessOverlayShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.page-about-careers__hero-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  width: 100%;
  max-width: 1920px;
  padding: 6rem 1rem;
}

.page-about-careers__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-about-careers__subtitle {
  font-size: 1.125rem;
  color: #f3f4f6;
  max-width: 800px;
  margin: 0 auto;
}

.page-about-careers__environment {
  padding: 80px 0;
}

.page-about-careers__environment .grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .page-about-careers__environment .grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Different polygon colors */
.page-about-careers__environment .env-text:nth-child(1) {
  --polygon-color: rgba(37, 99, 235);  /* Blue */
}

.page-about-careers__environment .env-text:nth-child(2) {
  --polygon-color: rgba(139, 92, 246); /* Purple */
}

.page-about-case-studies__featured {
  padding: 80px 0;
}

.page-about-case-studies__featured .section-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

/* Card base */
.page-about-case-studies .case-study {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  margin-bottom: 3rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-about-case-studies .case-study:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

/* Image */
.page-about-case-studies .case-study__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Content */
.page-about-case-studies .case-study__content {
  padding: 2rem;
}
.page-about-case-studies .case-study__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  color: #111827;
}

/* Subsections */
.page-about-case-studies .case-study__sections {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-about-case-studies .case-study__section {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #f9fafb;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.page-about-case-studies .case-study__section:nth-child(1):hover {
  background: #3b82f61a;
  transform: translateY(-3px);
}
.page-about-case-studies .case-study__section:nth-child(1):hover h4 {
  color: #3b82f6;
}

.page-about-case-studies .case-study__section:nth-child(2):hover {
  background: #f59e0b1a;
  transform: translateY(-3px);
}
.page-about-case-studies .case-study__section:nth-child(2):hover h4 {
  color: #f59e0b;
}

.page-about-case-studies .case-study__section:nth-child(3):hover {
  background: #16a34a1a;
  transform: translateY(-3px);
}
.page-about-case-studies .case-study__section:nth-child(3):hover h4 {
  color: #16a34a;
}

/* Icon */
.page-about-case-studies .case-study__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.25rem;
  color: #fff;
}

.page-about-case-studies .case-study__icon .icon {
  width: 24px;
  height: 24px;
}

/* Icon colors per section type */
.page-about-case-studies .case-study__section.need .case-study__icon { background: #3b82f61a; color: #3b82f6; }
.page-about-case-studies .case-study__section.solution .case-study__icon { background: #f59e0b1a; color: #f59e0b; }
.page-about-case-studies .case-study__section.results .case-study__icon { background: #16a34a1a; color: #16a34a;}

/* Text */
.page-about-case-studies .case-study__text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  margin-top: 0.6rem;
}
.page-about-case-studies .case-study__text p,
.page-about-case-studies .case-study__text ul {
  color: #4b5563;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Results list */
.case-study__text ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
}

.case-study__text ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  line-height: 1.6;
}
.page-about-case-studies .case-study__text ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent-color, #00b894);
  border-radius: 50%;
  box-sizing: border-box;
}

.page-about-case-studies .case-study__text ul li::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.9rem;
  width: 8px;
  height: 8px;
  background-color: var(--accent-color, #00b894);
  border-radius: 50%;
}

/* Accent color per project */

.page-about-case-studies .case-study--tomra .case-study__text ul li::before,
.page-about-case-studies .case-study--tomra .case-study__text ul li::after {
  border-color: var(--accent-green, #10b981);
}

/* Accent colors per case */
.case-study--marriott { border-top: 5px solid #3b82f6; }
.case-study--tomra { border-top: 5px solid #16a34a; }

.page-about-case-studies__faq {
  padding: 80px 0;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  color: #111827;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 1.25rem;
  font-size: 1.25rem;
  color: #2563eb;
  transition: transform 0.2s ease;
}

.faq-toggle:checked + .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0 1.5rem;
  color: #4b5563;
  font-size: 0.975rem;
  line-height: 1.6;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem;
}

.contact-routing {
    padding: 80px 0;
}

.contact-routing__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.page-contact__departments {
    padding: 80px 0; background-color: #f9fafb;
}

/* VISIT US SECTION */
.page-about-contact__visit {
  padding: 80px 0;
}

.page-about-contact__visit .grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .page-about-contact__visit .grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.visit-info {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.visit-info a {
  color: #2563eb;
  text-decoration: none;
}

.visit-info a:hover {
  text-decoration: underline;
}

.visit-map iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* ================================
   PAGE: Terms & Conditions (About)
   Scoped: .page-about-terms
   ================================ */

.page-about-terms__hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 4.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.page-about-terms__hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-about-terms__hero-bg-img { width: 100%; height: 100%; object-fit: cover; display:block; }
.page-about-terms__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,48,117,0.45), rgba(15,23,36,0.45));
  z-index:1;
}

.page-about-terms__hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; padding: 6rem 1rem;}
.page-about-terms__title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 0.5rem; color: #ffffff; }
.page-about-terms__subtitle { color: rgba(255,255,255,0.92); margin-bottom: 0.5rem; }
.page-about-terms__updated { color: rgba(255,255,255,0.9); font-weight: 600; margin-top: 0.5rem; }

/* ===============================
   Terms — Two-column (Sidebar + Accordions)
   Scope: .page-terms-2col-accordion
   =============================== */
.page-terms-2col-accordion { --accent: #2563eb; --muted: #6b7280; --card-bg: #fff; }
.page-terms-2col-accordion__main { padding: 80px 0;}

/* WRAP: left sidebar / right content */
.page-terms-2col-accordion__wrap { display:grid; grid-template-columns: 320px 1fr; gap: 2rem; align-items:start; }

/* SIDEBAR */
.terms-sidebar { position: relative; height: 100%;}
.terms-sidebar__card { background: var(--card-bg); border: 1px solid #e6e9ee; border-radius: 12px; padding: 1rem; box-shadow: 0 8px 20px rgba(8,15,30,0.03); position: sticky; top: 1.5rem; }
.terms-sidebar__title { margin:0; font-size: 1.125rem; color: #0f172a; font-weight:700; }
.terms-sidebar__small { margin: 0; color: var(--muted); font-size: .875rem; margin-bottom:.75rem; }
.terms-sidebar__nav ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.4rem; }
.terms-sidebar__nav a { display:block; padding:.45rem .6rem; border-radius:8px; color:#0f172a; text-decoration:none; font-weight:600; transition: all .12s ease; }
.terms-sidebar__nav a:hover, .terms-sidebar__nav a:focus { background: rgba(37,99,235,0.06); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(8,15,30,0.04); }
.terms-sidebar__download { margin-top:1rem; }
.btn--full { display:block; width:100%; }

/* small note under button */
.terms-sidebar__note { font-size:.875rem; color:var(--muted); margin-top:.5rem; }

/* TERMS CONTENT */
.terms-content { display:flex; flex-direction:column; gap:1rem; }

/* intro card */
.terms-intro.card { background: #fff; border: 1px solid #eef2f7; padding:1rem; border-radius:10px; color:var(--muted); }

/* ACCORDION - card base */
.terms-accordion { position: relative; overflow: visible; border-radius: 12px; }
.terms-accordion + .terms-accordion { margin-top: .8rem; }

/* TRIGGER (header) */
.terms-accordion__trigger {
  display:flex;
  align-items:center;
  gap: .75rem;
  width:100%;
  padding: 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eef2f7;
  cursor: pointer;
  text-align:left;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  position: relative;
  overflow: hidden;
}
.terms-accordion__trigger:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(8,15,30,0.06);
}

/* Icon square */
.terms-accordion__icon {
  width:48px;
  height:48px;
  min-width:48px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f9fafb;
  border:1px solid #e6e9ee;
  color: #2563eb;
  flex-shrink:0;
}

/* Heading text */
.terms-accordion__heading { font-size:1rem; font-weight:700; color:#0f172a; flex:1; }

/* Chevron */
.terms-accordion__chev { font-size:1.6rem; color:#94a3b8; transform: rotate(0); transition: transform .18s ease; }

/* PANEL (content) */
.terms-accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease, opacity .18s ease;
  opacity: 0;
}
.terms-accordion__panel[data-open="true"] { opacity: 1; }

/* inner padding/content */
.terms-accordion__panel-inner {
  padding: 1rem;
  border-left: 3px solid rgba(37,99,235,0.12);
  background: #fff;
  border-radius: 0 0 12px 12px;
  margin-top: 0.5rem;
  color: #374151;
  line-height:1.7;
}

/* bullet ring (inner dot) for lists in panel */
.terms-list { list-style:none; padding-left:0; margin-top:.5rem; }
.terms-list li { position:relative; padding-left:1.6rem; margin-bottom:.5rem; }
.terms-list li::before { content:""; position:absolute; left:0; top:.45rem; width:.6rem; height:.6rem; border-radius:50%; border:2px solid var(--accent); box-sizing:border-box; }
.terms-list li::after { content:""; position:absolute; left:.18rem; top:.62rem; width:.2rem; height:.2rem; border-radius:50%; background:var(--accent); }

/* When open: rotate chevron and populate panel max-height via inline JS */
.terms-accordion__trigger[aria-expanded="true"] { background: linear-gradient(180deg,#fff,#fbfdff); border-color: rgba(37,99,235,0.12); }
.terms-accordion__trigger[aria-expanded="true"] .terms-accordion__chev { transform: rotate(90deg); color: #2563eb; }

/* contact block inside content */
.terms-contact { margin-top:1rem; padding:1rem; background:#f8fafc; border-radius:8px; border:1px solid #eef2f7; color:#0f172a; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .page-terms-2col-accordion__wrap { grid-template-columns: 1fr; }
  .terms-sidebar__card { position: relative; top:auto; }
  .terms-sidebar__nav a { padding:.5rem; }
}

@media (max-width: 767.98px) {
  .page-about .access-solutions .services-grid,
  .page-about .credentials-and-compliance .services-grid,
  .page-about-careers .who-we-hire .services-grid,
  .page-about-contact .services-grid {
    margin: 0;
  }
}

@media (max-width: 991.98px) {
  .page-about .access-solutions .services-grid,
  .page-about .credentials-and-compliance .services-grid,
  .page-about-careers .who-we-hire .services-grid,
  .page-about-contact .services-grid {
    margin: 0;
  }
}

@media (max-width: 1199.98px) {
  .page-about .access-why {
    padding: 80px 1rem;
  }
}