/* ===== ABOUT US PAGE SPECIFIC STYLES ===== */

/* ===== ABOUT HERO SECTION ===== */
.about-hero {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--gray-800) 100%);
  padding: 120px 0 80px;
  color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--light-color);
  animation: fadeInUp 1s ease-out;
}

.about-hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--gray-300);
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* ===== ABOUT MAIN SECTION ===== */
.about {
  padding: 80px 0;
  margin-top: 100px; /* Account for fixed navbar */
  background-color: var(--light-color);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.text-section {
  animation: fadeInLeft 1s ease-out;
}

.text-section h1 {
  color: #f6c600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
  font-size: 4rem;
  line-height: 1.2;
}

.text-section p {
  color: var(--gray-700);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.text-section .btn {
  margin-top: 20px;
}

.image-section {
  position: relative;
  animation: fadeInRight 1s ease-out;
}

.image-section img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
}

.image-section:hover img {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl), 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== ABOUT FEATURES SECTION ===== */
.about-features {
  padding: 80px 0;
  background-color: var(--gray-100);
}

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

.feature-card {
  background: var(--light-color);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: var(--light-color);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  color: var(--dark-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease-out;
}

.timeline-item:nth-child(odd) {
  text-align: right;
  padding-right: 50px;
}

.timeline-item:nth-child(even) {
  text-align: left;
  padding-left: 50px;
}

.timeline-content {
  background: var(--light-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -60px;
}

.timeline-year {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.timeline-title {
  color: var(--dark-color);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.timeline-description {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== VALUES SECTION ===== */
.values-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #b91c3c 100%);
  color: var(--light-color);
}

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

.value-card {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.value-card h3 {
  color: var(--light-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.value-card p {
  color: var(--gray-200);
  line-height: 1.6;
}

/* ===== TEAM SECTION ===== */
.team-section {
  padding: 80px 0;
  background-color: var(--gray-100);
}

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

.team-member {
  background: var(--light-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.team-photo {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.team-photo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="35" r="20" fill="rgba(255,255,255,0.2)"/><path d="M 20 80 Q 50 60 80 80" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="3"/></svg>');
  opacity: 0.3;
}

.team-info {
  padding: 25px;
}

.team-info h3 {
  color: var(--dark-color);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.team-info .position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.team-info p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .about-content {
    gap: 60px;
  }
  
  .about-hero h1 {
    font-size: 3rem;
  }
  
  .about-hero p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 100px 0 60px;
  }
  
  .about-hero h1 {
    font-size: 2.5rem;
  }
  
  .about-hero p {
    font-size: 1.1rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .text-section h1 {
    font-size: 2rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    text-align: left !important;
    padding-left: 50px !important;
    padding-right: 0 !important;
  }
  
  .timeline-item .timeline-content::before {
    left: -40px !important;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .about-hero h1 {
    font-size: 2rem;
  }
  
  .about-hero p {
    font-size: 1rem;
  }
  
  .about {
    padding: 60px 0;
  }
  
  .text-section h1 {
    font-size: 1.8rem;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .timeline-content {
    padding: 20px;
  }
  
  .team-photo {
    height: 200px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-bottom {
  animation: slideInFromBottom 0.8s ease-out;
}

/* ===== PARALLAX EFFECT ===== */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ===== CUSTOM SCROLLBAR ===== */
.about-hero::-webkit-scrollbar {
  display: none;
}

/* ===== HOVER EFFECTS ===== */
.hover-glow {
  transition: var(--transition);
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(220, 20, 60, 0.3);
}

.hover-border {
  position: relative;
  transition: var(--transition);
}

.hover-border::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: var(--transition);
}

.hover-border:hover::after {
  width: 100%;
}

