/**
 * Titan Server Network Ceylon - About Us Dedicated Stylesheet
 * Responsive Glassmorphism, Executive Portrait Layout, and GSAP Motion Triggers
 */

/* Enable natural vertical scrolling on the About Us page */
html,
body,
body.page-about {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch;
}

/* Custom Deep Space Scrollbar for About Us page */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(6, 11, 30, 0.95);
}

::-webkit-scrollbar-thumb {
  background: rgba(165, 180, 252, 0.25);
  border-radius: 4px;
  border: 2px solid rgba(6, 11, 30, 0.95);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(251, 191, 36, 0.5);
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(165, 180, 252, 0.3) rgba(6, 11, 30, 0.95);
}

/* ====== 1. PAGE SHELL & HERO ====== */
.about-page-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  padding: 110px 5vmin 80px;
  overflow-x: hidden;
  box-sizing: border-box;
}

.about-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 90px;
}

.about-section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

/* Eyebrows & Section Headings */
.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 30px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.28);
  color: var(--amber, #fbbf24);
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  width: fit-content;
}

.about-eyebrow .eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 8px #fbbf24;
}

.about-title-display {
  font-family: var(--font-sans, 'Poppins', sans-serif);
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 20px;
}

.about-title-display .grd {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-lead-text {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 860px;
  margin-bottom: 32px;
}

/* Hero Stats Row */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.about-stat-card {
  padding: 24px 22px;
  background: rgba(16, 26, 64, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(165, 180, 252, 0.2);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.about-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(251, 191, 36, 0.15);
}

.about-stat-card:hover::before {
  opacity: 1;
}

.about-stat-num {
  font-family: var(--font-sans, 'Poppins', sans-serif);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.about-stat-num .stat-val {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-stat-num.accent .stat-val {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-stat-num .stat-unit {
  font-size: 0.72em;
  color: #fbbf24;
  -webkit-text-fill-color: #fbbf24;
  font-weight: 700;
}

.about-stat-label {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3, #94a3b8);
}

.about-stat-desc {
  font-size: 12.5px;
  color: #94a3b8;
  margin-top: 6px;
  line-height: 1.4;
}

/* ====== 2. CHAIRMAN'S MESSAGE SECTION ====== */
.chairman-spotlight-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  padding: 38px 40px;
  background: linear-gradient(180deg, rgba(16, 26, 64, 0.75) 0%, rgba(8, 14, 38, 0.85) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(165, 180, 252, 0.28);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 50px rgba(99, 102, 241, 0.12);
  position: relative;
  overflow: hidden;
}

.chairman-spotlight-card::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.12), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

/* Executive Portrait Column */
.chairman-portrait-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chairman-photo-frame {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(251, 191, 36, 0.15);
  background: #0b112c;
}

.chairman-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.chairman-photo-frame:hover .chairman-img {
  transform: scale(1.04);
}

.chairman-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 11, 30, 0.85) 100%);
  pointer-events: none;
}

.chairman-caption-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 10px 14px;
  background: rgba(16, 26, 64, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 12px;
}

.chairman-caption-tag .c-name {
  font-family: var(--font-sans, 'Poppins', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.chairman-caption-tag .c-role {
  font-size: 11.5px;
  font-family: var(--font-mono, monospace);
  color: #fbbf24;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Chairman's Letter Body */
.chairman-letter-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.chairman-letter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chairman-letter-title {
  font-family: var(--font-sans, 'Poppins', sans-serif);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.chairman-quote-glyph {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.25);
  display: grid;
  place-items: center;
  color: #fbbf24;
  flex-shrink: 0;
}

.chairman-letter-body {
  font-size: 14.5px;
  line-height: 1.75;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chairman-letter-body p {
  margin: 0;
}

.chairman-highlight-quote {
  padding: 16px 20px;
  background: rgba(251, 191, 36, 0.06);
  border-left: 3px solid #fbbf24;
  border-radius: 0 12px 12px 0;
  font-size: 14.5px;
  font-style: italic;
  color: #fef08a;
  line-height: 1.6;
  margin: 4px 0;
}

.chairman-signature-block {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.sig-name {
  font-family: var(--font-sans, 'Poppins', sans-serif);
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}

.sig-title {
  font-size: 12px;
  color: #fbbf24;
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sig-co {
  font-size: 12px;
  color: #94a3b8;
}

.sig-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 11px;
  font-weight: 700;
}

/* ====== 3. MISSION & VISION DUAL CARDS ====== */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mv-card {
  padding: 36px 34px;
  background: rgba(16, 26, 64, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(165, 180, 252, 0.22);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(251, 191, 36, 0.12);
}

.mv-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 20px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}

.mv-card.vision .mv-icon-badge {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
  color: #818cf8;
}

.mv-title {
  font-family: var(--font-sans, 'Poppins', sans-serif);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.mv-body {
  font-size: 14.5px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.mv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mv-tag {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

/* ====== 4. WHAT WE OFFER & CORE VALUES ====== */
.quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quad-card {
  padding: 28px 24px;
  background: rgba(16, 26, 64, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(165, 180, 252, 0.18);
  border-radius: 20px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.quad-card:hover {
  transform: translateY(-5px);
  background: rgba(16, 26, 64, 0.85);
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(251, 191, 36, 0.12);
}

.quad-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: #fbbf24;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.quad-card h3 {
  font-family: var(--font-sans, 'Poppins', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.quad-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

/* ====== 5. WHY CHOOSE US (PILLARS) ====== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-pill-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 26px;
  background: rgba(16, 26, 64, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(165, 180, 252, 0.2);
  border-radius: 18px;
  transition: all 0.28s ease;
}

.why-pill-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(16, 26, 64, 0.8);
}

.why-icon-glyph {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 18px;
}

.why-pill-card h4 {
  font-family: var(--font-sans, 'Poppins', sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.why-pill-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}

/* ====== 6. CONTACT & BRANCHES HUB CTA ====== */
.about-cta-card {
  padding: 46px 44px;
  background: linear-gradient(135deg, rgba(16, 26, 64, 0.85) 0%, rgba(26, 16, 64, 0.75) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(251, 191, 36, 0.12);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}

.about-cta-left h3 {
  font-family: var(--font-sans, 'Poppins', sans-serif);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.about-cta-left p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.about-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-branches-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(6, 11, 30, 0.6);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-branch-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-branch-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: #fbbf24;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.about-branch-meta .b-label {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fbbf24;
  font-weight: 700;
}

.about-branch-meta .b-address {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.4;
  margin-top: 2px;
}

/* Footer note */
.about-page-footer {
  width: 100%;
  text-align: center;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 12px;
  color: var(--ink-3, rgba(255, 255, 255, 0.85));
  padding-top: 24px;
  padding-bottom: 36px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.02em;
  box-sizing: border-box;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  position: relative;
  z-index: 5;
}

/* ====== 7. RESPONSIVE BREAKPOINTS ====== */
@media (max-width: 1024px) {
  .quad-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chairman-spotlight-card {
    grid-template-columns: 320px 1fr;
  }
}

@media (max-width: 860px) {
  .chairman-spotlight-card {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .chairman-photo-frame {
    height: 380px;
    max-width: 440px;
    margin: 0 auto;
  }

  .about-cta-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 787px) {
  .about-page-wrap {
    padding: 85px 4vmin 60px;
  }

  .about-container {
    gap: 60px;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .quad-grid {
    grid-template-columns: 1fr;
  }

  .chairman-photo-frame {
    height: 320px;
  }

  .chairman-letter-header {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 12px;
  }

  .chairman-signature-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .about-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .about-cta-buttons .btn-primary,
  .about-cta-buttons .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .about-page-footer {
    margin-top: 36px;
    padding-top: 20px;
    padding-bottom: 24px;
  }
}
