/* CINEMATIC ABOUT PAGE */

:root {
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* --- HERO --- */
.cinematic-hero {
  position: relative;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  display: flex;
  height: 100vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomSlow 20s linear infinite alternate;
}

@keyframes zoomSlow {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), #0b0b0b);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.4rem;
  color: #ccc;
  line-height: 1.6;
}

/* --- PHILOSOPHY SECTION --- */
.philosophy-section {
  padding: 120px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-label {
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 5px;
}

.philosophy-content h2 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 30px;
  font-weight: 700;
}

.philosophy-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 25px;
}

.visual-card {
  position: relative;
  border-radius: 4px;
  /* Slight tech usage */
  overflow: hidden;
}

.visual-card img {
  width: 100%;
  border-radius: 4px;
  filter: grayscale(20%) contrast(1.1);
  transition: 0.5s ease;
}

.visual-card:hover img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.02);
}

.visual-glow {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.15;
  filter: blur(40px);
  z-index: -1;
}

/* --- IMPACT STATS --- */
.impact-section {
  padding: 100px 0;
  background: #0f0f0f;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.impact-number {
  font-size: 4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(to bottom, #fff, #666);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.impact-label {
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- LEADERSHIP --- */
.leadership-section {
  padding: 120px 0;
}

.section-header {
  margin-bottom: 60px;
  text-align: left;
}

.section-header h2 {
  font-size: 3rem;
  margin-top: 10px;
}

.leaders-grid 
{ display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; }
    
.leader-card {
  position: relative;
}

.leader-image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 20px;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  /* Focus on faces */
  transition: transform 0.6s var(--ease-out-expo);
  filter: grayscale(100%);
}

.leader-card:hover .leader-image img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.leader-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #fff;
}

.leader-info span {
  font-size: 0.95rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- CINEMATIC CTA --- */
.about-cta-cinematic {
  position: relative;
  padding: 160px 0;
  text-align: center;
  background: url("https://images.unsplash.com/photo-1487958449943-2429e8be8625") center/cover fixed no-repeat;
  background-image: url('../assets/images/overall house 3.jpeg');
  overflow: hidden;
}

.about-cta-cinematic .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.about-cta-cinematic .content {
  position: relative;
  z-index: 2;
}

.about-cta-cinematic h2 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  color: #fff;
}

.btn-glow {
  display: inline-block;
  padding: 18px 40px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  transition: 0.3s;
}

.btn-glow:hover {
  background: #fff;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  padding: 12px 28px;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}
/* --- ANIMATIONS --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out-expo) forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SCROLL REVEAL UTILITIES (Handled by JS mostly, but initial state here) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s var(--ease-out-expo);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .cinematic-hero {
    padding-top: 100px;
    /* Reduced padding */
    min-height: auto;
    /* Allow auto height */
    padding-bottom: 60px;
    align-items: center;
    text-align: center;
  }

  .hero-content {
    margin-top: 0;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.1rem;
    padding: 0 10px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .philosophy-content h2 {
    font-size: 2.5rem;
  }

  /* Impact Section Mobile Adjustments */
  .impact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .impact-number {
    font-size: 2.5rem;
  }

  /* Leadership Grid Fix for Small Screens */
  .leaders-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .about-cta-cinematic h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .impact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}