/* ───────────────────────────────────────────────
   CLOUD COMPUTERS · ABOUT PAGE
   Layered on top of styles.css — adds:
   · Compact page banner (instead of full hero)
   · Mission/Vision/Values cards
   · Animated timeline
   · Stats bar strip
   · Team grid
   · Testimonials
   · About-page button variants
   ─────────────────────────────────────────────── */

/* ─── page banner (replaces full hero) ─── */
.page-banner {
  position: relative; isolation: isolate;
  padding: 180px 0 100px;
  color: #fff;
  overflow: hidden;
  min-height: 60vh;
  display: flex; align-items: flex-end;
}
.banner-bg { position: absolute; inset: 0; z-index: -1; }
.banner-image {
  position: absolute; inset: 0;
  background:
    url('https://images.unsplash.com/photo-1550439062-609e1531270e?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  filter: saturate(1.05);
  transform: scale(1.05);
  animation: bannerKen 22s ease-in-out infinite alternate;
}
@keyframes bannerKen {
  from { transform: scale(1.05) translate3d(0,0,0); }
  to   { transform: scale(1.12) translate3d(-1.2%, -.8%, 0); }
}
.banner-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(38,150,201,.55) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(0,30,60,.55) 0%, transparent 55%),
    linear-gradient(180deg, rgba(8,15,30,.55) 0%, rgba(8,15,30,.85) 100%);
}
.banner-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.banner-shapes .shape {
  position: absolute; border-radius: 50%; filter: blur(40px); opacity: .6;
}
.banner-shapes .shape-1 { width: 380px; height: 380px; background: radial-gradient(circle, var(--brand) 0%, transparent 70%); top: -120px; right: -60px;  animation: float 12s ease-in-out infinite; }
.banner-shapes .shape-2 { width: 260px; height: 260px; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); bottom: 8%; left: -80px; animation: float 14s ease-in-out -3s infinite; }
.banner-shapes .shape-3 { width: 200px; height: 200px; background: radial-gradient(circle, #5fc1e8 0%, transparent 70%); top: 28%; right: 30%; animation: float 18s ease-in-out -6s infinite; }

.banner-inner {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  max-width: 920px;
}
.banner-title {
  font-size: clamp(38px, 6.4vw, 80px);
  line-height: 1.04;
  font-weight: 800; letter-spacing: -.03em;
  color: #fff;
  text-wrap: balance;
}
.banner-sub {
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(255,255,255,.78);
  max-width: 62ch; line-height: 1.65;
}
.breadcrumbs {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 500;
}
.breadcrumbs a {
  color: rgba(255,255,255,.7);
  transition: color var(--t-fast);
}
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { color: var(--brand-2); font-weight: 600; }
.breadcrumbs svg { color: rgba(255,255,255,.45); }

/* ─── about action row ─── */
.about-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 6px;
}

/* ─── mission · vision · values ─── */
.mvv { background: var(--white); }
.mvv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: stretch;
}
.mvv-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; isolation: isolate;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  overflow: hidden;
}
.mvv-card::before {
  content:''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(38,150,201,.0) 0%, rgba(38,150,201,.06) 100%);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(38,150,201,.3);
}
.mvv-card:hover::before { opacity: 1; }
.mvv-card .mvv-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(38,150,201,.1);
  color: var(--brand);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.mvv-card:hover .mvv-icon {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  transform: rotate(-6deg);
}
.mvv-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.mvv-card h3 {
  font-size: 20px; font-weight: 700; line-height: 1.3;
}
.mvv-card p {
  color: var(--muted); font-size: 14.5px; line-height: 1.7;
}

.mvv-card-feature {
  background: linear-gradient(155deg, var(--ink-2) 0%, #0f1c36 100%);
  color: #fff;
  border-color: transparent;
}
.mvv-card-feature::after {
  content:''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 80% 0%, rgba(38,150,201,.25) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(37,99,235,.18) 0%, transparent 60%);
}
.mvv-card-feature h3 { color: #fff; }
.mvv-card-feature p { color: rgba(255,255,255,.7); }
.mvv-card-feature .mvv-tag { color: #bfe6f7; }
.mvv-card-feature .mvv-icon {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
}
.mvv-card-feature:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -20px rgba(15,23,42,.55); }
.mvv-card-feature:hover .mvv-icon {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
}

/* ─── Vision & Mission · dark immersive hero with floating laptops ─── */
.vision-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: clamp(80px, 11vw, 140px) 0 clamp(90px, 13vw, 160px);
  background:
    radial-gradient(ellipse at 50% 40%, #1b2540 0%, #0c1325 55%, #060912 100%);
}
.vh-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.vh-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(38,150,201,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38,150,201,.12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 75%);
}
/* corner dot decorations (matches the reference exactly) */
.vh-dots {
  position: absolute;
  width: 130px; height: 90px;
  background-image: radial-gradient(rgba(255,255,255,.5) 1.4px, transparent 1.8px);
  background-size: 17px 17px;
  opacity: .55;
}
.vh-dots-tr { top: 30px;    right: 4%; }
.vh-dots-bl { bottom: 30px; left:  4%; }
/* soft brand-coloured glows in the corners */
.vh-glow {
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .32;
}
.vh-glow-1 {
  background: radial-gradient(circle, var(--brand) 0%, transparent 60%);
  top: -12%; left: -10%;
  animation: vh-drift 16s ease-in-out infinite;
}
.vh-glow-2 {
  background: radial-gradient(circle, var(--brand-2) 0%, transparent 60%);
  bottom: -14%; right: -10%;
  animation: vh-drift 20s ease-in-out -5s infinite;
}
@keyframes vh-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(3%, 4%, 0) scale(1.06); }
}

.vh-inner { position: relative; z-index: 1; }
.vh-head {
  display: flex; justify-content: flex-start;
  margin-bottom: clamp(20px, 3vw, 28px);
}
/* diamond bullet for this section's eyebrow (replaces the round .dot) */
.vh-eyebrow {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.85);
  letter-spacing: .22em;
}
.vh-eyebrow .diamond {
  width: 9px; height: 9px;
  background: var(--brand-2);
  transform: rotate(45deg);
  display: inline-block;
  border-radius: 1.5px;
  box-shadow: 0 0 12px rgba(0,161,235,.7);
}

/* the asymmetric stage — vision top-left, mission bottom-right, laptops layered between */
.vh-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
  grid-template-rows: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 60px);
  align-items: start;
  min-height: 560px;
  max-width: 1280px;
  margin: 0 auto;
}
.vh-block {
  position: relative;
  z-index: 2;
  max-width: 380px;
  display: flex; flex-direction: column;
  gap: 18px;
}
.vh-vision  { grid-column: 1 / 2; grid-row: 1 / 2; }
.vh-mission { grid-column: 3 / 4; grid-row: 2 / 3; justify-self: end; }
.vh-art {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  position: relative;
  display: grid; place-items: center;
  pointer-events: none;
  z-index: 0;
}

.vh-title {
  font-family: var(--font-family);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.022em;
  color: #fff;
  margin: 0;
}
.vh-text {
  color: rgba(255,255,255,.7);
  font-size: 14.5px;
  line-height: 1.78;
  max-width: 38ch;
  margin: 0;
}

/* laptop product photo — transparent PNG, centered in the stage */
.vh-laptop-photo {
  width: min(540px, 44vw);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 28px 48px rgba(0,0,0,.5));
  animation: vh-zoom 10s var(--ease-smooth) infinite;
  will-change: transform;
  transform-origin: center center;
}
@keyframes vh-zoom {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

/* ─── responsive ─── */
@media (max-width: 1100px) {
  .vh-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
    gap: clamp(30px, 5vw, 50px);
  }
  .vh-vision  { grid-column: 1; grid-row: 1; max-width: 100%; }
  .vh-art     { grid-column: 1; grid-row: 2; min-height: 320px; width: 100%; }
  .vh-mission { grid-column: 1; grid-row: 3; max-width: 100%; justify-self: stretch; }
  .vh-laptop-photo { width: min(460px, 78vw); }
}
@media (max-width: 640px) {
  .vh-laptop-photo { width: min(340px, 90vw); }
  .vh-dots { width: 90px; height: 70px; background-size: 14px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .vh-laptop-photo, .vh-glow-1, .vh-glow-2 { animation: none; }
}

/* ─── Our Images · masonry-style gallery ─── */
.gallery-section { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 20px;
}
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
  grid-row: span 1;
  /* reveal entrance comes from .reveal in styles.css; we only animate
     box-shadow + transform on hover here */
}
.gallery-item.gi-tall   { grid-row: span 2; }
.gallery-item.gi-wide   { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter var(--t-fast);
  display: block;
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0) 35%, rgba(15,23,42,.78) 100%);
  opacity: 0;
  transition: opacity var(--t-fast);
  pointer-events: none;
  z-index: 1;
}
.gallery-item.reveal.in-view:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  transition:
    transform var(--t-fast),
    box-shadow var(--t-fast);
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.05);
}
.gallery-item:hover::after { opacity: 1; }

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
  color: #fff;
  z-index: 2;
  transform: translateY(14px);
  opacity: 0;
  transition: transform var(--t), opacity var(--t);
}
.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}
.gallery-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.gallery-caption h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.3;
  text-shadow: 0 4px 18px rgba(0,0,0,.4);
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-item.gi-tall { grid-row: span 2; }
  .gallery-item.gi-wide { grid-column: span 2; }
}
@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-item.gi-tall { grid-row: span 1; }
  .gallery-item.gi-wide { grid-column: span 1; }
  /* caption visible by default on touch */
  .gallery-caption { opacity: 1; transform: translateY(0); }
  .gallery-item::after { opacity: .65; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item, .gallery-item img, .gallery-caption {
    transition: none;
  }
}

/* ─── timeline ─── */
.timeline-section { background: var(--bg); position: relative; overflow: hidden; }
.timeline-section::before {
  content:''; position: absolute; top: 50%; right: -10%; transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(38,150,201,.08) 0%, transparent 70%);
  pointer-events: none;
}
.timeline {
  position: relative;
  display: grid; gap: 24px;
  max-width: 760px; margin: 0 auto;
  list-style: none; padding: 0;
}
.timeline::before {
  content:''; position: absolute;
  top: 8px; bottom: 8px;
  left: 22px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 50%, transparent 100%);
  opacity: .4;
}
.t-item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px 28px 24px 64px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.t-item:hover {
  transform: translateY(-3px);
  border-color: rgba(38,150,201,.3);
  box-shadow: var(--shadow);
}
.t-dot {
  position: absolute; top: 28px; left: 12px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(38,150,201,.15);
}
.t-dot-now {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(38,150,201,.25), 0 8px 18px -4px rgba(38,150,201,.55);
  animation: tdot-pulse 1.8s ease-in-out infinite;
}
@keyframes tdot-pulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.15); }
}
.t-year {
  font-family: var(--font-family);
  font-weight: 800; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
}
.t-item h3 { font-size: 19px; font-weight: 700; }
.t-item p  { color: var(--muted); line-height: 1.7; font-size: 14.5px; }

/* ─── stats strip ─── */
.stats-strip { background: var(--white); padding: 0 0 clamp(64px, 9vw, 120px); }
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(155deg, var(--ink-2) 0%, #0f1c36 100%);
  border-radius: var(--radius-xl);
  padding: 14px;
  position: relative; isolation: isolate;
  overflow: hidden;
  box-shadow: 0 28px 60px -22px rgba(15,23,42,.45);
}
.stats-bar::before {
  content:''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 80% 20%, rgba(38,150,201,.32) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(37,99,235,.22) 0%, transparent 50%);
}
.stats-bar .stat-card {
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 6px;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: transparent;
  transition: background var(--t-fast);
}
.stats-bar .stat-card + .stat-card::before {
  content:''; position: absolute; left: 0; top: 18%; bottom: 18%;
  width: 1px; background: rgba(255,255,255,.1);
}
.stats-bar .stat-card:hover { background: rgba(255,255,255,.04); }
.stats-bar .stat-card strong {
  font-family: var(--font-family); font-weight: 800;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(120deg, #fff 0%, #bfe6f7 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats-bar .stat-card span { color: rgba(255,255,255,.7); font-size: 13px; font-weight: 500; }

/* ─── team ─── */
.team { background: var(--bg); }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-photo {
  height: 260px;
  background-image: var(--img);
  background-size: cover; background-position: center top;
  transition: transform 1s var(--ease-out);
  filter: saturate(1.02);
}
.team-card:hover .team-photo { transform: scale(1.04); }
.team-body {
  padding: 22px 24px 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.team-card h3 { font-size: 18px; font-weight: 700; }
.team-body > span {
  color: var(--brand); font-size: 13px; font-weight: 600;
  letter-spacing: .04em;
}
.team-socials {
  display: flex; gap: 8px; margin-top: 12px;
}
.team-socials a {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.team-socials a:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  border-color: var(--brand);
}

/* ─── testimonials ─── */
.testimonials { background: var(--white); }
.quotes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.quote-card {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.quote-card:hover {
  transform: translateY(-6px);
  border-color: rgba(38,150,201,.3);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.quote-card::before {
  content:'“'; position: absolute; top: -8px; right: 22px;
  font-family: var(--font-family); font-weight: 800;
  font-size: 92px; line-height: 1;
  color: var(--brand);
  opacity: .12;
}
.quote-stars {
  color: #f5b400;
  font-size: 16px;
  letter-spacing: 2px;
}
.quote-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 15.5px; line-height: 1.7;
  font-weight: 500;
  quotes: none;
}
.quote-card figcaption {
  display: flex; align-items: center; gap: 14px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.q-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background-image: var(--img);
  background-size: cover; background-position: center;
  flex: 0 0 44px;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.quote-card figcaption strong {
  font-family: var(--font-family);
  display: block;
  font-size: 14px; font-weight: 700;
  color: var(--ink);
}
.quote-card figcaption span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

/* ─── responsive overrides for the about page ─── */
@media (max-width: 1100px) {
  .mvv-grid     { grid-template-columns: 1fr; }
  .team-grid    { grid-template-columns: repeat(2, 1fr); }
  .quotes-grid  { grid-template-columns: 1fr; }
  .stats-bar    { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .stat-card + .stat-card::before { display: none; }
}
@media (max-width: 960px) {
  .page-banner   { padding: 150px 0 80px; min-height: 50vh; }
  .timeline      { max-width: 100%; }
  .t-item        { padding: 22px 22px 22px 56px; }
  .t-dot         { left: 10px; }
}
@media (max-width: 640px) {
  .team-grid    { grid-template-columns: 1fr; }
  .stats-bar    { grid-template-columns: 1fr; padding: 8px; }
  .stats-bar .stat-card { padding: 22px 20px; }
  .about-actions .btn { flex: 1 1 auto; justify-content: center; }
  .page-banner  { padding: 130px 0 70px; }
  .timeline::before { left: 18px; }
  .t-item { padding-left: 52px; }
  .t-dot  { left: 8px; top: 24px; width: 20px; height: 20px; }
}
