/* About Page Styles */

/* About Header Section */
.about-header {
  background: linear-gradient(135deg, #8a1e1e 0%, #ff5050 100%);
  color: white;
  text-align: center;
  padding: 2.5rem 2rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.about-header .page-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-header p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Company Story Section */
.story-section {
  background: white;
  padding: 4rem 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.story-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #8a1e1e;
}

.story-section p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Mission & Vision Section */
.mission-vision-section {
  background: linear-gradient(135deg, #fcf8f8 0%, #f0e2e2 100%);
  padding: 5rem 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
  overflow: hidden;
}

/* Mission & Vision Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #dc1313;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  animation: fadeInDown 0.8s ease-out;
}

.title-underline {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #f63b3b, #8a1e1e);
  margin: 0 auto;
  border-radius: 2px;
  animation: expandWidth 0.8s ease-out 0.3s both;
}

/* Mission & Vision Container */
.mission-vision-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Card Styles */
.mv-card {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(30px);
}

.mv-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.mission-card {
  animation-delay: 0.2s;
}

.vision-card {
  animation-delay: 0.4s;
}

/* Card Background */
.card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(246, 59, 59, 0.03) 0%,
    rgba(138, 30, 30, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.mv-card:hover .card-background {
  opacity: 1;
}

/* Card Glow Effect */
.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(246, 59, 59, 0.15) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.mv-card:hover .card-glow {
  opacity: 1;
  animation: rotateGlow 8s linear infinite;
}

/* Icon Wrapper */
.card-icon-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  z-index: 2;
}

.icon-circle {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #f63b3b 0%, #8a1e1e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(246, 59, 59, 0.3);
  transition: all 0.4s ease;
  position: relative;
}

.icon-circle::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f63b3b, #8a1e1e);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  filter: blur(8px);
}

.mv-card:hover .icon-circle {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 12px 32px rgba(246, 59, 59, 0.5);
}

.mv-card:hover .icon-circle::before {
  opacity: 0.6;
}

.card-icon {
  width: 48px;
  height: 48px;
  color: white;
  transition: transform 0.4s ease;
}

.mv-card:hover .card-icon {
  transform: scale(1.1);
}

/* Card Content */
.card-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.card-title {
  font-size: 2rem;
  font-weight: 800;
  color: #8a1e1e;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.mv-card:hover .card-title {
  color: #f63b3b;
}

.card-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #f63b3b, #8a1e1e);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.mv-card:hover .card-divider {
  width: 100px;
}

.card-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #634b4b;
  transition: color 0.3s ease;
}

.mv-card:hover .card-text {
  color: #371f1f;
}

/* Floating Particles */
.card-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #f63b3b, #8a1e1e);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mv-card:hover .particle {
  opacity: 0.6;
  animation: floatParticle 3s ease-in-out infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 40%;
  right: 20%;
  animation-delay: 0.6s;
}

.particle:nth-child(3) {
  bottom: 30%;
  left: 30%;
  animation-delay: 1.2s;
}

.particle:nth-child(4) {
  top: 60%;
  right: 30%;
  animation-delay: 1.8s;
}

.particle:nth-child(5) {
  bottom: 20%;
  right: 40%;
  animation-delay: 2.4s;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 120px;
  }
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes floatParticle {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-10px) translateX(5px);
  }
  50% {
    transform: translateY(-5px) translateX(-5px);
  }
  75% {
    transform: translateY(-15px) translateX(3px);
  }
}

/* Values Section */
.values-section {
  background: white;
  padding: 4rem 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.values-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #dc1313;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.value-item {
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.value-item:hover {
  transform: translateY(-5px);
}

.value-icon-wrapper {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.value-item:hover .value-icon-wrapper {
  transform: scale(1.1);
}

.value-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: filter 0.3s ease;
}

.value-item:hover .value-icon {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.value-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #513737;
  margin: 0;
  transition: color 0.3s ease;
}

.value-item:hover h3 {
  color: #c92c2c;
}

/* Team Section */
.team-section {
  background: linear-gradient(135deg, #fcf8f8 0%, #f0e2e2 100%);
  padding: 4rem 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.team-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #dc1313;
}

.team-section p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #4b5563;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Responsive Design */

/* Tablet and Medium Screens */
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .value-icon {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 768px) {
  .about-header .page-title {
    font-size: 2.5rem;
  }

  .about-header p {
    font-size: 1.1rem;
  }

  .story-section h2,
  .mission-vision-section h2,
  .values-section h2,
  .team-section h2 {
    font-size: 2rem;
  }

  .story-section p,
  .team-section p {
    font-size: 1.1rem;
  }

  .mission-vision-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 1rem;
  }

  .value-icon {
    width: 70px;
    height: 70px;
  }

  .value-item h3 {
    font-size: 1rem;
  }

  .mv-card {
    padding: 2.5rem 2rem;
  }

  .icon-circle {
    width: 80px;
    height: 80px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
  }
}

/* Mobile Screens */
@media (max-width: 480px) {
  .about-header .page-title {
    font-size: 2rem;
  }

  .about-header p {
    font-size: 1rem;
  }

  .story-section h2,
  .mission-vision-section h2,
  .values-section h2,
  .team-section h2 {
    font-size: 1.8rem;
  }

  .story-section p,
  .team-section p {
    font-size: 1rem;
  }

  .mission-vision-container {
    padding: 0 0.5rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .value-icon-wrapper {
    width: 100px;
    height: 100px;
  }

  .value-icon {
    width: 70px;
    height: 70px;
  }

  .value-item h3 {
    font-size: 0.9rem;
  }

  .mv-card {
    padding: 2rem 1.5rem;
  }

  .icon-circle {
    width: 70px;
    height: 70px;
  }

  .card-icon {
    width: 36px;
    height: 36px;
  }

  .card-title {
    font-size: 1.7rem;
  }

  .card-text {
    font-size: 1rem;
  }
}

/* Extra Small Mobile Screens */
@media (max-width: 360px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .value-icon {
    width: 60px;
    height: 60px;
  }

  .value-item h3 {
    font-size: 1rem;
  }
}
