/* ============================================
   SK AGENCY — ABOUT PAGE CSS — DARK THEME
   ============================================ */
@import url('global.css');

/* ============================================
   ABOUT HERO
   ============================================ */
.about-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 150px 48px 90px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* Dark layered background */
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 20%, rgba(124,58,237,0.12), transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(212,0,255,0.08), transparent 50%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark2) 100%);
  pointer-events: none;
}

.about-hero-bg { position: absolute; inset: 0; pointer-events: none; }

.about-hero .orb1 {
  width: 500px; height: 500px;
  background: radial-gradient(#c800ff, transparent);
  top: -120px; right: -60px;
}

.about-hero .orb2 {
  width: 350px; height: 350px;
  background: radial-gradient(#7c3aed, transparent);
  bottom: -60px; left: 5%;
}

/* Decorative animated ring */
.about-hero::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(124,58,237,0.06);
  top: -200px; right: -100px;
  animation: ringRotate 25s linear infinite;
  pointer-events: none;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.about-hero-content { position: relative; z-index: 2; }
.about-hero-content h1 { margin: 18px 0 26px; letter-spacing: -0.5px; }
.about-hero-content p  { font-size: 1.05rem; max-width: 480px; }

/* ============================================
   TEAM MOSAIC
   ============================================ */
.about-hero-img { position: relative; z-index: 2; }

.team-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 440px;
}

.mosaic-card {
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  animation: mosFloat 5s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.mosaic-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.mosaic-card:hover { transform: scale(1.02); }

.mosaic-card:nth-child(2) { animation-delay: -1.5s; }
.mosaic-card:nth-child(3) { animation-delay: -3s; }
.mosaic-card:nth-child(4) { animation-delay: -4s; }
.m1 { grid-row: span 2; }

@keyframes mosFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.mosaic-label {
  color: rgba(255,255,255,0.92);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 1;
}

/* ============================================
   STORY SECTION
   ============================================ */
.story-section {
  background: var(--dark2);
  border-top: 1px solid var(--border-light);
}

.story-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}

.story-left { text-align: center; }

.big-year {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%;
  animation: gradientShift 4s ease infinite;
  line-height: 1;
}

.big-year-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-faint);
  font-weight: 700;
  margin-top: 8px;
}

.story-text p {
  margin-bottom: 22px;
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--text-muted);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.timeline-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(124,58,237,0.05), transparent 70%);
}

.timeline { position: relative; margin-top: 20px; }

/* Glowing vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0; bottom: 0;
  width: 1.5px;
  background: var(--gradient);
  opacity: 0.4;
  box-shadow: 0 0 8px rgba(124,58,237,0.3);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 30px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 52px;
  position: relative;
}

.tl-year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: right;
  padding-top: 5px;
}

.tl-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gradient);
  border: 2.5px solid var(--dark);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.3), 0 0 16px rgba(124,58,237,0.5);
  margin-top: 6px;
  justify-self: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-item:hover .tl-dot {
  transform: scale(1.5);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.4), 0 0 24px rgba(124,58,237,0.7);
}

.tl-content h4 { margin-bottom: 8px; color: var(--text); }
.tl-content p  { font-size: 0.88rem; color: var(--text-muted); }

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
  background: var(--dark2);
  border-top: 1px solid var(--border-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Card shell ── */
.team-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 32px 22px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.team-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(200, 0, 255, 0.25);
  border-color: rgba(200, 0, 255, 0.3);
}

/* ── Gradient bar (top accent) ── */
.team-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #c800ff, #7c3aed, #00b4d8);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s ease;
  border-radius: 20px 20px 0 0;
}

.team-card:hover .team-bar {
  transform: scaleX(1);
}

/* ── Radial glow (bottom) ── */
.team-glow {
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 70%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.team-card:hover .team-glow {
  opacity: 1;
}

/* ── Founder badge ── */
.team-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(200, 0, 255, 0.12);
  border: 1px solid rgba(200, 0, 255, 0.3);
  color: var(--magenta);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── Photo ring ── */
.team-photo-ring {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 18px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  position: relative;
  z-index: 1;
}

.team-card:hover .team-photo-ring {
  border-color: rgba(200, 0, 255, 0.7);
  box-shadow:
    0 0 0 4px rgba(200, 0, 255, 0.12),
    0 0 30px rgba(200, 0, 255, 0.25);
}

/* ── Photo / initials ── */
.team-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Real image */
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Fallback initials — set a bg gradient on .team-photo inline when no image */
.team-initials {
  color: white;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
}

/* ── Text ── */
.team-card h4 {
  margin-bottom: 5px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.team-role {
  display: block;
  font-size: 0.7rem;
  color: var(--magenta);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.team-card p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

/* ── Social links ── */
.team-socials {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.team-socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  opacity: 0.6;
  transform: translateY(4px);
  transition: all 0.3s ease;
}

/* Stagger social links on card hover */
.team-card:hover .team-socials a {
  opacity: 1;
  transform: translateY(0);
}

.team-card:hover .team-socials a:nth-child(2) {
  transition-delay: 0.06s;
}

.team-socials a:hover {
  background: linear-gradient(135deg, #c800ff, #7c3aed);
  color: white;
  border-color: transparent;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ============================================
   VALUES SECTION
   ============================================ */
.values-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.values-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(124,58,237,0.06), transparent 60%);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.value-card {
  background: var(--dark3);
  border-radius: var(--radius);
  padding: 40px 26px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Animated bottom line */
.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.5s ease;
  transform-origin: left;
}

/* Ambient glow */
.value-card::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(124,58,237,0.1);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.value-card:hover::after  { transform: scaleX(1); }
.value-card:hover::before { opacity: 1; }

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(124,58,237,0.2);
  border-color: var(--border-glow);
}

.value-num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--magenta);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.value-card h3 { margin-bottom: 12px; font-size: 1.1rem; color: var(--text); }
.value-card p  { font-size: 0.86rem; }

/* ============================================
   STATS BANNER
   ============================================ */
.stats-banner {
  background: var(--dark2);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stats-banner-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.12), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(212,0,255,0.08), transparent 50%);
}

/* Animated scan line */
.stats-banner::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.03), transparent);
  animation: scanLine 4s ease-in-out infinite;
}

@keyframes scanLine {
  from { left: -60%; }
  to   { left: 160%; }
}

.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.stat-big { text-align: center; }

.stat-big .stat-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%;
  animation: gradientShift 4s ease infinite;
  line-height: 1;
  display: block;
}

.stat-big > span {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--magenta);
}

.stat-big p { color: var(--text-faint); font-size: 0.82rem; margin-top: 6px; }

/* Separator between stats */
.stats-row > .stat-big:not(:last-child) {
  position: relative;
}

/* ============================================
   CTA SECTION (about page override)
   ============================================ */
.about-hero ~ .cta-section,
.cta-section {
  background: var(--dark);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-orb1 {
  width: 500px; height: 500px;
  background: radial-gradient(var(--purple), transparent 70%);
  top: -150px; left: -150px;
  animation: orbFloat 10s ease-in-out infinite;
}

.cta-orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(var(--pink), transparent 70%);
  bottom: -150px; right: -150px;
  animation: orbFloat 12s ease-in-out infinite reverse;
}

/* ============================================
   RESPONSIVE — ABOUT PAGE
   ============================================ */
@media (max-width: 1024px) {
  .about-hero {
    grid-template-columns: 1fr;
    padding: 150px 32px 70px;
    gap: 52px;
  }
  .story-grid    { grid-template-columns: 1fr; gap: 40px; }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }
  .team-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .about-hero {
    grid-template-columns: 1fr;
    padding: 120px 20px 60px;
    gap: 40px;
  }

  .about-hero-content { width: 100%; overflow: hidden; }

  .about-hero-content h1 {
    font-size: clamp(1.8rem, 9vw, 3rem);
    line-height: 1.1;
    word-break: break-word;
  }

  .about-hero-content p { font-size: 0.95rem; max-width: 100%; }

  .about-hero-img { display: none; }

  .story-grid  { grid-template-columns: 1fr; gap: 32px; }
  .big-year    { font-size: 3.5rem; }

  .timeline::before { left: 64px; }
  .timeline-item {
    grid-template-columns: 64px 18px 1fr;
    gap: 14px;
  }
  .tl-year { font-size: 0.82rem; }
  .tl-dot  { width: 12px; height: 12px; }

  .team-grid   { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .stats-row  { justify-content: center; gap: 28px; }
  .stat-big .stat-num { font-size: 2.4rem; }

  .cta-section { padding: 80px 0; }
  .cta-content h2 { font-size: clamp(1.6rem, 7vw, 2.8rem); }
}

@media (max-width: 480px) {
  .about-hero { padding: 108px 16px 48px; }

  .about-hero-content h1 { font-size: clamp(1.6rem, 8.5vw, 2.4rem); }

  .team-grid   { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .stats-row  { gap: 18px; }
  .stat-big .stat-num { font-size: 2rem; }

  .timeline::before { left: 48px; }
  .timeline-item {
    grid-template-columns: 48px 14px 1fr;
    gap: 10px;
  }

  .value-card { padding: 28px 18px; }
  .team-card  { padding: 28px 18px; }
}



/* ===============social icon================ */

.social-links{
  display:flex;
  gap:15px;
  align-items:center;
}

.social-links a{
  width:45px;
  height:45px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#111;
  color:#fff;
  font-size:20px;
  text-decoration:none;
  transition:0.3s ease;
}

.social-links a:hover{
  transform:translateY(-5px);
  background:#7c3aed; /* change color if needed */
  
  
}


/* ==================================== */


.mosaic-card{
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
}

/* Dark overlay for text readability */
.mosaic-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.mosaic-label{
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    z-index: 2;
}

/* Images */
.m1{
    background-image: url("images/team.jpeg");
}

.m2{
    background-image: url("images/strategy02.jpg");
}

.m3{
    background-image: url("images/production02.jpg");
}

.m4{
    background-image: url("images/digital.jpg");
}