/* About Page Specific Styles */

/* About Hero */
.about-hero {
  height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(24, 78, 48, 0.85) 0%,
    rgba(56, 129, 86, 0.75) 100%
  );
}

.about-hero .hero-content {
  text-align: center;
  color: var(--white);
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.about-hero h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-hero p {
  font-size: 1.3rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* Company Story */
.company-story {
  padding: 6rem 0;
  background: var(--white);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text h2 {
  font-size: 2.8rem;
  color: var(--green-pea);
  margin-bottom: 1.5rem;
  position: relative;
}

.story-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.lead {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--amazon-green);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.story-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--medium-gray);
}

.company-values {
  margin-top: 2.5rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--light-gray);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.value-item:hover {
  background: var(--amazon-green);
  color: var(--white);
  transform: translateX(10px);
}

.value-item i {
  font-size: 2rem;
  color: var(--old-gold);
  width: 40px;
}

.value-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.value-item p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Story Visual */
.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  height: 400px;
}

.visual-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.visual-item.large {
  grid-row: span 2;
}

.visual-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.visual-item:hover img {
  transform: scale(1.1);
}

.visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(24, 78, 48, 0.9));
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.visual-item:hover .visual-overlay {
  transform: translateY(0);
}

.visual-overlay h4 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.visual-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* CEO Spotlight - Fixed and Responsive */
.ceo-spotlight {
  padding: 6rem 0;
  background: var(--light-gray);
}

.ceo-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

/* Simplified CEO Image Container - Locked Position */
.ceo-image {
  position: static; /* Prevent any positioning issues */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
}

/* Clean, Simple Image Styling - Completely Stable */
.ceo-image img {
  width: 100%;
  max-width: 380px;
  height: 480px;
  object-fit: cover;
  object-position: center top; /* Focus on face/upper body */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 3px solid var(--old-gold);
  /* Force stable positioning */
  position: static !important;
  transform: none !important;
  transition: none !important;
  display: block;
  margin: 0 auto;
}

/* Remove the problematic frame - replaced with simple border */
.image-frame {
  display: none; /* Remove completely */
}

/* CEO Info Styling */
.section-badge {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--dark-gray);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.ceo-info h2 {
  font-size: 2.8rem;
  color: var(--green-pea);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.ceo-info h3 {
  color: var(--medium-gray);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.ceo-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--medium-gray);
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 4px solid var(--old-gold);
}

/* Achievement Stats */
.ceo-achievements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.achievement {
  text-align: center;
  padding: 1rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.achievement-number {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--green-pea);
  margin-bottom: 0.5rem;
}

.achievement-text {
  font-size: 0.9rem;
  color: var(--medium-gray);
  font-weight: 500;
}

.ceo-credentials h4 {
  color: var(--green-pea);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.ceo-credentials ul {
  list-style: none;
}

.ceo-credentials li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  background: var(--white);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.ceo-credentials li:hover {
  background: var(--amazon-green);
  color: var(--white);
  transform: translateX(10px);
}

.ceo-credentials i {
  color: var(--old-gold);
  font-size: 1.1rem;
}

/* Leadership Team */
.leadership-team {
  padding: 6rem 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.team-member {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

/* Fixed Team Member Image Styles */
.member-image {
  position: relative;
  overflow: hidden;
  height: 350px; /* Increased height */
  border-radius: 15px; /* Add rounded corners */
  background: var(--light-gray); /* Fallback background */
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* Focus on faces - keep heads visible */
  transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.05); /* Reduced scale to prevent excessive cropping */
}

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(24, 78, 48, 0.9) 0%,
    rgba(56, 129, 86, 0.8) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member:hover .member-overlay {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.member-overlay .social-links a {
  width: 50px;
  height: 50px;
  background: var(--old-gold);
  color: var(--dark-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.member-overlay .social-links a:hover {
  transform: scale(1.2);
  background: var(--bright-gold);
}

.member-info {
  padding: 2rem;
}

.member-info h3 {
  font-size: 1.5rem;
  color: var(--green-pea);
  margin-bottom: 0.5rem;
}

.member-info h4 {
  color: var(--amazon-green);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.experience {
  font-size: 0.9rem;
  color: var(--old-gold);
  font-weight: bold;
  margin-bottom: 1rem;
}

.member-info p {
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.expertise-tags span {
  background: var(--light-gray);
  color: var(--amazon-green);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Company Timeline */
.company-timeline {
  padding: 6rem 0;
  background: var(--light-gray);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  width: 100px;
  height: 100px;
  background: var(--gradient-gold);
  color: var(--dark-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}

.timeline-content {
  flex: 1;
  padding: 2rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  margin: 0 2rem;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.timeline-content h3 {
  color: var(--green-pea);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--medium-gray);
  line-height: 1.6;
}

/* Awards Section */
.awards-section {
  padding: 6rem 0;
  background: var(--white);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.award-item {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--light-gray);
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.award-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.award-item:hover {
  color: var(--white);
  transform: translateY(-10px);
}

.award-item:hover::before {
  opacity: 1;
}

.award-item > * {
  position: relative;
  z-index: 2;
}

.award-icon {
  margin-bottom: 1.5rem;
}

.award-icon i {
  font-size: 3.5rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.award-item:hover .award-icon i {
  -webkit-text-fill-color: var(--bright-gold);
}

.award-item h3 {
  font-size: 1.3rem;
  color: var(--green-pea);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.award-item:hover h3 {
  color: var(--white);
}

.award-item p {
  color: var(--medium-gray);
  transition: color 0.3s ease;
}

.award-item:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* About CTA */
.about-cta {
  padding: 6rem 0;
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
}

.about-cta .cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-cta .cta-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.about-cta .cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.about-cta .cta-primary,
.about-cta .cta-secondary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.about-cta .cta-primary {
  background: var(--gradient-gold);
  color: var(--dark-gray);
  box-shadow: 0 8px 25px rgba(207, 176, 72, 0.3);
}

.about-cta .cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(207, 176, 72, 0.4);
}

.about-cta .cta-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.about-cta .cta-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .story-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ceo-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .ceo-achievements {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 60px;
  }

  .timeline-year {
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }

  .timeline-content {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }

  .about-hero p {
    font-size: 1.1rem;
  }

  .story-text h2 {
    font-size: 2.3rem;
  }

  .ceo-info h2 {
    font-size: 2.3rem;
  }

  .ceo-image img,
  .image-frame {
    width: 300px;
    height: 400px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .awards-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .about-cta .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .member-image {
    height: 280px; /* Smaller height on mobile */
  }

  .member-image img {
    object-position: center 20%; /* Adjust focus point for mobile */
  }

  .team-member:hover .member-image img {
    transform: scale(1.02); /* Minimal scale on mobile */
  }
}

@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 2rem;
  }

  .story-text h2 {
    font-size: 2rem;
  }

  .ceo-info h2 {
    font-size: 2rem;
  }

  .ceo-image img,
  .image-frame {
    width: 250px;
    height: 350px;
  }

  .visual-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .visual-item {
    height: 200px;
  }

  .visual-item.large {
    grid-row: span 1;
  }

  .member-info {
    padding: 1.5rem;
  }

  .timeline-content {
    padding: 1.5rem;
  }

  .member-image {
    height: 250px; /* Even smaller on very small screens */
  }

  .member-image img {
    object-position: center 15%; /* Fine-tune for small screens */
  }
}
/* Mobile Responsive */
@media (max-width: 968px) {
  .ceo-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .ceo-image {
    order: 1;
  }

  .ceo-info {
    order: 2;
  }

  .ceo-image img {
    max-width: 320px;
    height: 400px;
  }

  .ceo-info h2 {
    font-size: 2.2rem;
  }

  .ceo-achievements {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .ceo-spotlight {
    padding: 4rem 0;
  }

  .ceo-content {
    gap: 2rem;
  }

  .ceo-image img {
    max-width: 280px;
    height: 350px;
  }

  .ceo-info h2 {
    font-size: 1.8rem;
  }

  .ceo-achievements {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .achievement {
    padding: 0.8rem;
  }

  .achievement-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .ceo-image img {
    max-width: 250px;
    height: 320px;
  }

  .ceo-quote {
    font-size: 1rem;
    padding-left: 0.8rem;
  }
}
