/* About Us Page Specific Styles */

/* Hero Section */
.about-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  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="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.1;
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-top: 100px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* Main Content */
.main-content {
  padding-top: 0;
}

/* Our Story Section */
.our-story {
  padding: 100px 0;
  background: #f8f9fa;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: center;
}

.story-text {
  max-width: 600px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1a1a1a;
  letter-spacing: 1px;
}

.story-paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555; /* Improved contrast for better readability */
  margin-bottom: 20px;
  text-align: justify;
}

.story-image {
  display: flex;
  justify-content: center;
}

.story-img {
  width: 600px;
  height: 600px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  /* Added will-change for better animation performance */
  will-change: transform;
}

.story-img:hover {
  transform: scale(1.05);
}

/* Our Values Section */
.our-values {
  padding: 100px 0;
  background: white;
}

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

.value-item {
  text-align: center;
  padding: 40px 20px;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Added will-change for better performance */
  will-change: transform;
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: #ff0080;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 2rem;
  color: white;
  transition: transform 0.3s ease;
  /* Added will-change for better animation performance */
  will-change: transform;
}

.value-item:hover .value-icon {
  transform: scale(1.1);
}

.value-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.value-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555; /* Improved contrast for better readability */
}

/* Our Team Section */
.our-team {
  padding: 100px 0;
  background: #f8f9fa;
}

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

.team-member {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Added will-change for better performance */
  will-change: transform;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.member-image {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.member-image.orange-bg {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}

.member-image.green-bg {
  background: linear-gradient(135deg, #4caf50, #388e3c);
}

.member-image.pink-bg {
  background: linear-gradient(135deg, #e91e63, #c2185b);
}

.member-image.gray-bg {
  background: linear-gradient(135deg, #9e9e9e, #757575);
}

.member-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
  /* Added will-change for better animation performance */
  will-change: transform;
}

.team-member:hover .member-img {
  transform: scale(1.1);
}

.member-info {
  padding: 30px 25px;
  text-align: center;
}

.member-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.member-role {
  font-size: 1rem;
  font-weight: 500;
  color: #e91e63;
  margin-bottom: 15px;
}

.member-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555; /* Improved contrast for better readability */
}

/* Newsletter Section */
.newsletter {
  padding: 80px 0;
  background: #1a1a1a;
  color: white;
}

.newsletter-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.newsletter-description {
  font-size: 1.1rem;
  opacity: 0.9; /* Slightly improved opacity for better readability */
  margin-bottom: 40px;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  /* Added focus styles for better accessibility */
  transition: box-shadow 0.3s ease;
}

.newsletter-input:focus {
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.3);
}

.newsletter-btn {
  padding: 15px 30px;
  background: #e91e63;
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  /* Added focus styles for better accessibility */
}

.newsletter-btn:hover,
.newsletter-btn:focus {
  background: #c2185b;
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.newsletter-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  opacity: 0.8; /* Slightly improved opacity for better readability */
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.newsletter-privacy input[type="checkbox"] {
  margin-top: 4px;
  accent-color: #e91e63;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: white;
}

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

.service-item {
  text-align: center;
  padding: 30px 20px;
  /* Added subtle hover effect for better interactivity */
  transition: transform 0.3s ease;
  border-radius: 15px;
}

.service-item:hover {
  transform: translateY(-5px);
}



.service-item:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.service-description {
  font-size: 0.9rem;
  color: #555; /* Improved contrast for better readability */
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* AOS Animation Styles */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .story-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 15px;
  }

  .newsletter-btn {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* Added better mobile spacing */
  .our-story,
  .our-values,
  .our-team {
    padding: 80px 0;
  }

  .newsletter,
  .services {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .story-img {
    max-width: 100%;
    max-height: 100%;
    height: 400px;
}

  .our-story,
  .our-values,
  .our-team {
    padding: 60px 0;
  }

  .newsletter {
    padding: 50px 0; /* Adjusted mobile padding */
  }

  .services {
    padding: 50px 0; /* Adjusted mobile padding */
  }

  /* Added better mobile typography */
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .newsletter-title {
    font-size: 2rem;
  }
}
