/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Header styles are now in header-shared.css */

/* Hero Section */
.about-hero {
  background: url('../assets/1.jpg') center/cover no-repeat;
  padding: 120px 0 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
   border-bottom-left-radius: 50% 15%;
  border-bottom-right-radius: 50% 15%;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero p {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 25px;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 3;
}

.scroll-indicator i {
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  padding: 8px;
  text-align: center;
  line-height: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-5px);
  }
  60% {
    transform: translateX(-50%) translateY(-3px);
  }
}

/* Company Story Section */
.company-story {
  padding: 80px 0;
  background: #ffffff;
}

.story-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 30px;
  position: relative;
}

.story-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #d4af37, #f4e4a6);
  border-radius: 2px;
}

.story-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}

.story-image {
  position: relative;
}

.story-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Mission & Vision Section */
.mission-vision {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.mission-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.mission-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.mission-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mission-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #d4af37, #f4e4a6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.mission-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.mission-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.mission-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background: #ffffff;
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.team-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 15px;
}

.team-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 50px;
  font-style: italic;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.team-member {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.team-member.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #d4af37;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.member-role {
  font-size: 1rem;
  color: #d4af37;
  font-weight: 600;
  margin-bottom: 15px;
}

.member-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.member-social a {
  width: 35px;
  height: 35px;
  background: #d4af37;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.member-social a:hover {
  background: #b89b2c;
  transform: translateY(-2px);
}

/* Achievements Section */
.achievements-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #d4af37, #f4e4a6);
  color: #ffffff;
}

.achievements-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.achievements-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.achievement-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 20px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.achievement-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.achievement-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

.achievement-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.achievement-label {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Laboratory Section */
.laboratory-section {
  padding: 80px 0;
  background: #ffffff;
}

.lab-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lab-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 30px;
  position: relative;
}

.lab-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #d4af37, #f4e4a6);
  border-radius: 2px;
}

.lab-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.lab-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.lab-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.lab-feature.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.lab-feature:hover {
  background: #d4af37;
  color: #ffffff;
  transform: translateY(-2px);
}

.lab-feature i {
  font-size: 1.5rem;
  color: #d4af37;
  transition: color 0.3s ease;
}

.lab-feature:hover i {
  color: #ffffff;
}

.lab-feature span {
  font-weight: 600;
}

.lab-image {
  position: relative;
}

.lab-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.about-footer {
  background: #262728;
  padding: 40px 0;
  border-top: 1px solid #e9ecef;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  height: 40px;
}

.footer-info {
  text-align: right;
}

.footer-info p {
  color: #666;
  font-size: 0.9rem;
  margin: 2px 0;
}

/* Mobile Menu styles are now in header-shared.css */

/* Responsive Design */
@media (max-width: 1024px) {
  .story-container,
  .lab-container {
    gap: 40px;
  }
  
  .about-hero h1 {
    font-size: 2.2rem;
  }
}

/* Mobile responsive styles are now in header-shared.css */

@media (max-width: 768px) {
  .story-container,
  .lab-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 15px;
  }
  
  .about-hero {
    padding: 100px 0 60px 0;
    height: 100vh;
  }
  
  .about-hero h1 {
    font-size: 2.2rem;
  }
  
  .about-hero p {
    font-size: 1rem;
  }
  
  .hero-content {
    padding: 0 20px;
  }
  
  .mission-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .lab-features {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-info {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 80px 0 40px 0;
    height: 100vh;
  }
  
  .about-hero h1 {
    font-size: 1.8rem;
  }
  
  .about-hero p {
    font-size: 0.95rem;
  }
  
  .hero-content {
    padding: 0 15px;
  }
  
  .company-story,
  .mission-vision,
  .team-section,
  .achievements-section,
  .laboratory-section {
    padding: 60px 0;
  }
  
  .story-content h2,
  .team-container h2,
  .achievements-container h2,
  .lab-content h2 {
    font-size: 2rem;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  
  .achievement-number {
    font-size: 2.5rem;
  }
}

/* Ultra-small phones */
@media (max-width: 360px) {
  .about-hero h1 { font-size: 1.6rem; }
  .about-hero p { font-size: 0.9rem; }
  .mission-card { padding: 24px 18px; }
  .team-member { padding: 24px 18px; }
}

/* Animation Classes */
.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus States for Accessibility */
.mission-card:focus-within,
.team-member:focus-within,
.achievement-card:focus-within {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .mission-card,
  .team-member,
  .achievement-card {
    border: 2px solid #000;
  }
  
  .mission-icon,
  .member-social a {
    background: #000;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .mission-card,
  .team-member,
  .achievement-card,
  .lab-feature,
  .scroll-down-btn {
    transition: none;
  }
  
  .animate-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .scroll-down-btn i {
    animation: none;
  }
}
