/* ======================================================
   IPQS ABOUT PAGE STYLES (About.css)
   Requires Dashboard.css to be linked first for base vars
====================================================== */

.inner-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

/* --- HERO SLIDESHOW --- */
.about-hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--dark);
  border-bottom: 1px solid var(--glass-border);
}

.about-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: aboutFade 15s infinite;
}

.about-slide:nth-child(1) { animation-delay: 0s; }
.about-slide:nth-child(2) { animation-delay: 5s; }
.about-slide:nth-child(3) { animation-delay: 10s; }

@keyframes aboutFade {
  0%   { opacity: 0; transform: scale(1.05); }
  10%  { opacity: 1; transform: scale(1); }
  33%  { opacity: 1; transform: scale(1); }
  43%  { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.05); }
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,10,20,0.95), rgba(5,10,20,0.4));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-main-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(80px, 12vw, 150px);
  letter-spacing: 6px;
  color: #FFF;
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.about-sub-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 4px;
}

/* --- WHO WE ARE (INTRO) --- */
.about-intro {
  padding: 120px 0;
  background: var(--dark);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.intro-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.intro-text p strong {
  color: var(--text);
}

.founder-quote {
  margin-top: 40px;
  padding: 24px 32px;
  border-left: 4px solid var(--primary);
  background: rgba(0,229,255,0.03);
  border-radius: 0 16px 16px 0;
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  color: var(--primary);
  font-style: italic;
  line-height: 1.6;
}

.intro-image-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 500px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.intro-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) grayscale(0.2);
  transition: transform 0.5s ease;
}

.intro-image-wrap:hover img {
  transform: scale(1.05);
  filter: brightness(1) grayscale(0);
}

.experience-badge {
  position: absolute;
  bottom: -1px;
  left: -1px;
  background: var(--dark);
  padding: 30px 40px;
  border-top: 1px solid var(--primary);
  border-right: 1px solid var(--primary);
  border-radius: 0 24px 0 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.exp-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  color: var(--primary);
  line-height: 0.8;
}

.exp-text {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.4;
}

/* --- BY THE NUMBERS --- */
.about-stats-bg {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 40px 32px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-box:hover {
  background: rgba(0,229,255,0.05);
  border-color: var(--primary);
  transform: translateY(-8px);
}

.stat-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 4px 15px rgba(0,229,255,0.3);
}

.stat-label {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.stat-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* --- OUR PRESENCE --- */
.about-presence {
  padding: 120px 0;
  background: var(--dark);
}

.presence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.presence-card {
  background: var(--dark2);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.4s ease;
  position: relative;
}

.presence-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.city-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  transition: filter 0.4s ease;
}

.presence-card:hover .city-image {
  filter: brightness(0.9);
}

.city-details {
  padding: 32px;
  text-align: left;
}

.city-details h3 {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 12px;
}

.city-details p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.hq-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--dark);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 12px;
  border-radius: 50px;
}

.headquarters-card {
  border-color: rgba(0,229,255,0.4);
  background: linear-gradient(180deg, var(--dark2), var(--dark3));
}

/* --- CONTACT & SUPPORT --- */
.about-contact {
  padding: 100px 0 140px;
  background: var(--dark);
}

.contact-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.support-card {
  background: var(--dark2);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.3s ease;
  cursor: none;
}

.support-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4), 0 0 15px rgba(0,229,255,0.05);
}

.support-icon {
  font-size: 36px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.support-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 12px;
}

.support-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.support-number {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 8px;
  letter-spacing: 2px;
  transition: color 0.3s;
}

.support-number:hover {
  color: #FFF;
}

.support-email {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.support-email:hover {
  color: var(--text);
}


/* Responsive */
@media (max-width: 1000px) {
  .intro-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .presence-grid { grid-template-columns: 1fr; }
  .contact-support-grid { grid-template-columns: 1fr; }
  .inner-container { padding: 0 32px; }
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
  .about-main-title { font-size: 60px; }
  .exp-num { font-size: 48px; }
}