/* ===== GLOBAL STYLES ===== */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #eee;
  background: #0b0c10;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: #ffcc33;
  margin-bottom: 10px;
}

section {
  padding: 60px 8%;
}

/* ===== HERO SECTION (Image Background) ===== */
.about-hero {
  position: relative;
  width: 100%;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background-color: #000;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* no stretching or cropping */
  object-position: center;
  z-index: 1;
  animation: zoomPan 20s ease-in-out infinite;
  transform-origin: center center;
}


/* 🎥 Smooth slow zoom animation */
@keyframes zoomPan {
  0% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.about-hero:hover .hero-img {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ffcc33, #ff6600, #6d1616, #ffcc33);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineMove 6s linear infinite;
}
@keyframes shineMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: #ffffff;
}


/* Subtle zoom animation */
.about-hero:hover .hero-bg {
  transform: scale(1.03);
}

/* Optional subtle animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .about-hero {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .about-hero {
    height: 50vh;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }
}


/* ===== COMPANY INTRO ===== */
.company-intro {
  background: #111827;
  text-align: center;
}

.company-intro p {
  max-width: 800px;
  margin: 0 auto 40px;
  color: #ccc;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.intro-grid img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(255, 204, 51, 0.1);
  transition: transform 0.4s ease;
}

.intro-grid img:hover {
  transform: scale(1.03);
}

/* ===== MISSION & VISION ===== */
.mission-vision {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(145deg, #0e1015, #1a1d29);
  text-align: center;
  border-radius: 20px;
  margin-top: 40px;
  padding: 40px;
}

.mission, .vision {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(255, 204, 51, 0.08);
  transition: transform 0.3s ease;
}

.mission:hover, .vision:hover {
  transform: translateY(-8px);
}

/* ===== TEAM SECTION (Modernized) ===== */
/* ===== TEAM SECTION (Fixed & Professional) ===== */
.team-section {
  background: #0b0c10;
  color: #eee;
  text-align: center;
  padding: 100px 8%;
}

.team-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #ffcc33;
  margin-bottom: 10px;
}

.team-header p {
  color: #bbb;
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Layout */
.team-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

/* Individual Card */
.team-member {
background: repeating-linear-gradient(
    135deg,
    #0b0c10 0px,
    #0b0c10 80px,
    #111827 80px,
    #111827 160px
  );
  border-radius: 16px;
  padding: 30px 20px 40px;
  width: clamp(250px, 25%, 320px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: all 0.4s ease;
  border: 1px solid rgba(240, 233, 233, 0.05);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 35px rgba(35, 119, 101, 0.15);
}

/* Image Styling — FIXED VERSION */
.member-photo {
  width: 250px;
  height: 200px;
  /* border-radius: 50%; */
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid rgba(54, 194, 171, 0.3);
  background: #0b0c10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: fill;      /* ✅ keeps image proportional */
  object-position: center; /* ✅ centers image perfectly */
  /* border-radius: 50%;      ✅ keeps it round */
  display: block;
  transition: transform 0.5s ease;
}

.team-member:hover .member-photo img {
  transform: scale(1.08);
}

/* Text */
.team-member h3 {
  color: #ffcc33;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.designation {
  color: #bbb;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 768px) {
  .team-wrapper {
    gap: 30px;
  }

  .member-photo {
    width: 180px;
    height: 160px;
    aspect-ratio: 4 / 5;
  }

  .team-member {
    width: 50%;
    
  }
}

@media (max-width: 480px) {
  .team-section {
    padding: 60px 5%;
  }

  .member-photo {
    width: 120px;
    height: 120px;
  }

  .team-member h3 {
    font-size: 1.1rem;
  }

  .designation {
    font-size: 0.85rem;
  }
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .team-grid {
    gap: 25px;
  }

  .team-details {
    padding: 15px;
  }

  .bio {
    font-size: 0.85rem;
  }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .mission-vision {
    flex-direction: column;
  }

  .team-container {
    gap: 25px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 40px 5%;
  }

  .team-card {
    width: 80%;
  }
}
