/* ==========================================================================
   Visit India - About Us Page Premium Styling
   ========================================================================== */

/* Inherits colors and layouts from style.css.
   Specific page-level layouts are styled below. */

.about-page {
  background-color: var(--indigo-deep);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ── HERO SECTION ────────────────────────────────────────────────────────── */
.about-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: radial-gradient(circle at 50% 30%, rgba(27,31,59,0.8) 0%, var(--indigo-deep) 70%);
  border-bottom: 1px solid var(--line);
}

.about-hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(var(--line) 1px, transparent 1px),
    radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}

.about-hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(232,68,122,0.15) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(255,194,60,0.12) 0%, transparent 45%);
  pointer-events: none;
  z-index: 2;
}

.about-hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
}

.about-hero .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--turmeric);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s, color 0.2s;
}

.about-hero .back-btn:hover {
  color: var(--marigold);
  transform: translateX(-4px);
}

.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--paper);
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.about-hero h1 em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(135deg, var(--turmeric) 0%, var(--marigold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 32px;
  color: rgba(250,246,238,0.7);
}

/* ── STATS SECTION ───────────────────────────────────────────────────────── */
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: -40px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 4;
}

.stat-card {
  background: rgba(27, 31, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 194, 60, 0.4);
  box-shadow: 0 15px 40px rgba(255, 194, 60, 0.08);
}

.stat-card-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--turmeric);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(250,246,238,0.6);
}

/* ── CONTAINER & SECTION STRUCTURE ───────────────────────────────────────── */
.about-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--turmeric);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--paper);
}

.section-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(250,246,238,0.7);
  margin-bottom: 20px;
}

/* ── GLASS PANEL ─────────────────────────────────────────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.vision-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vision-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.vision-item:last-child {
  margin-bottom: 0;
}

.vision-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 194, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--turmeric);
  font-size: 1.2rem;
  border: 1px solid rgba(255, 194, 60, 0.2);
}

.vision-content h4 {
  font-size: 1.1rem;
  color: var(--paper);
  margin: 0 0 6px;
}

.vision-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(250,246,238,0.6);
}

/* ── PILLARS GRID ────────────────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pillar-card {
  background: rgba(27, 31, 59, 0.4);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 30px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 24px;
  display: inline-block;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--paper);
}

.pillar-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(250,246,238,0.6);
  margin: 0;
}

/* ── TEAM GRID ───────────────────────────────────────────────────────────── */
.team-container {
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--turmeric), var(--marigold));
  opacity: 0;
  transition: opacity 0.3s;
}

.team-card:hover::before {
  opacity: 1;
}

.team-card.founder-card::before {
  background: linear-gradient(90deg, var(--turmeric), var(--fuchsia));
  opacity: 1; /* Always glowing for the founder */
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(244, 239, 230, 0.25);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  background: rgba(255, 255, 255, 0.04);
}

.team-avatar-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 24px;
  padding: 4px;
  background: linear-gradient(135deg, var(--line) 0%, rgba(255,255,255,0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.team-card:hover .team-avatar-wrap {
  transform: scale(1.05) rotate(5deg);
}

.team-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.3);
}

.founder-card .team-avatar {
  background: radial-gradient(circle, var(--indigo) 0%, #1e1136 100%);
  border: 2px solid var(--turmeric);
  box-shadow: 0 0 15px rgba(255, 194, 60, 0.2);
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 6px;
  color: var(--paper);
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--turmeric);
  letter-spacing: 1px;
  margin-bottom: 16px;
  display: block;
}

.founder-card .team-role {
  color: var(--fuchsia);
  font-weight: 700;
}

.team-bio {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(250,246,238,0.6);
  margin-bottom: 20px;
  min-height: 54px; /* Ensure alignment */
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-link {
  color: rgba(250,246,238,0.5);
  font-size: 0.9rem;
  text-decoration: none;
  font-family: var(--font-mono);
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: all 0.2s;
}

.social-link:hover {
  color: var(--paper);
  border-color: var(--turmeric);
  background: rgba(255, 194, 60, 0.1);
  transform: translateY(-2px);
}

.founder-card .social-link:hover {
  border-color: var(--fuchsia);
  background: rgba(232, 68, 122, 0.1);
}

/* ── CTA SECTION ─────────────────────────────────────────────────────────── */
.about-cta {
  background: linear-gradient(180deg, var(--indigo-deep) 0%, #0d0f21 100%);
  text-align: center;
  border-top: 1px solid var(--line);
  padding: 100px 24px;
}

.cta-wrap {
  max-width: 650px;
  margin: 0 auto;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cta-btns {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ── HEADQUARTERS SECTION ────────────────────────────────────────────────── */
.about-hq {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.hq-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.hq-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.hq-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 138, 61, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--marigold);
  font-size: 1.1rem;
  border: 1px solid rgba(255, 138, 61, 0.2);
}

.hq-feature-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--paper);
  margin-bottom: 4px;
}

.hq-feature-item p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(250, 246, 238, 0.6);
  line-height: 1.4;
}

/* HQ Card Visual */
.hq-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hq-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 320px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s;
}

.hq-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 194, 60, 0.3);
}

.hq-card-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 194, 60, 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: floatGlow 8s infinite alternate ease-in-out;
}

@keyframes floatGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-30px, 30px); }
}

.hq-map-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(244, 239, 230, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(circle at 60% 35%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 60% 35%, black, transparent 80%);
  z-index: 1;
  pointer-events: none;
}

/* Radar Pulse / Locator Pin */
.hq-radar {
  position: absolute;
  top: 35%;
  left: 60%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.radar-pulse {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 194, 60, 0.2);
  border: 1.5px solid var(--turmeric);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  animation: pulseRadar 2.5s infinite ease-out;
  pointer-events: none;
}

@keyframes pulseRadar {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

.radar-center {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--turmeric);
  box-shadow: 0 0 15px var(--turmeric), 0 0 30px var(--turmeric);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--indigo-deep);
}

/* Info styling */
.hq-card-info {
  position: relative;
  z-index: 3;
}

.hq-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--turmeric);
  display: inline-block;
  margin-bottom: 10px;
  background: rgba(255, 194, 60, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 194, 60, 0.15);
}

.hq-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 6px;
  color: var(--paper);
}

.hq-card-info p {
  font-size: 0.95rem;
  color: rgba(250, 246, 238, 0.7);
  margin: 0 0 12px;
}

.hq-coordinates {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(250, 246, 238, 0.4);
}

/* ── Mobile Responsive About Stats in Single Smooth Row ── */
@media (max-width: 768px) {
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
    padding: 0 14px;
    gap: 10px;
    margin-top: -24px;
  }
  .stat-card {
    padding: 16px 8px;
    border-radius: 14px;
    min-width: 0;
  }
  .stat-card-num {
    font-size: 1.75rem;
    margin-bottom: 4px;
  }
  .stat-card-label {
    font-size: 0.65rem;
    letter-spacing: 0.8px;
  }
}

@media (max-width: 480px) {
  .about-stats {
    padding: 0 10px;
    gap: 6px;
    grid-template-columns: repeat(4, 1fr);
  }
  .stat-card {
    padding: 12px 4px;
    border-radius: 12px;
  }
  .stat-card-num {
    font-size: clamp(1.2rem, 5vw, 1.55rem);
    margin-bottom: 3px;
  }
  .stat-card-label {
    font-size: clamp(7.5px, 2.3vw, 9.5px);
    letter-spacing: 0.5px;
    word-break: normal;
    overflow-wrap: break-word;
  }
}

@media (max-width: 360px) {
  .about-stats {
    padding: 0 6px;
    gap: 4px;
  }
  .stat-card {
    padding: 10px 2px;
    border-radius: 10px;
  }
  .stat-card-num {
    font-size: 1.15rem;
  }
  .stat-card-label {
    font-size: 7.5px;
  }
}
