:root {
  --primary: #10b981;
  --primary-light: #d1fae5;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
}

.hero-image {
  height: 500px;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.title,
.subtitle {
  text-align: center;
  text-transform: uppercase;
}

.cta-story {
  width: 100%;
  display: flex;
  align-items: center;
}

.learn-more {
  font-family: "Baloo Bhai 2";
  display: block;
  text-align: center;
  flex-direction: column;
  align-items: center;
  text-decoration: underline dashed;
  text-underline-offset: 10px;
  text-decoration-thickness: 2px;
  color: #2e2e2e;
  margin-top: 1rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.learn-more:hover {
  transform: translateY(5px);
}

.arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: calc(1rem / 2);
}

.arrow {
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-left: 0;
  border-top: 0;
  transform: rotate(45deg);
  margin: -10px 0;
}

/* Mission section styles */
.mission-section {
  background-color: #f5f3e4;
  padding: 4rem 1rem;
}

.quoto-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* Quote content styles */
.quote-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quote-icon {
  color: #333;
  width: 3rem;
  height: 3rem;
}

.quote-icon-start {
  transform: rotate(180deg);
}

.quote-icon-end {
  align-self: flex-end;
  transform: scaleY(-1);
}

.quote-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 4rem;
}

.quote-text p {
  font-size: 1.875rem;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  font-family: "Baloo Bhai 2";
  text-align: justify;
}

.quote-text footer {
  text-align: end;
}

.quote-text footer cite {
  color: #4a4a4ae6;
  font-style: normal;
  font-family: "Roboto";
}

/* Image styles */
.image-container {
  flex: 1;
  aspect-ratio: 16/9;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #9ca3af;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-section {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.earth-container {
  width: 100%;
  height: 100%;
  padding: 20px;
}

.earth-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0.8rem;
}

.content-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.text-content {
  grid-column: 2;
  padding: 20px;
}

.text-content h2 {
  margin-bottom: 1.5rem;
}

.main-description {
  color: #4a4a4ae6;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  font-family: "Roboto";
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid #00000027;
  border-radius: 8px;
  background-color: #e8f5eb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.value-card {
  padding: 20px;
}

.value-card:first-child {
  border-bottom: 1px solid #00000027;
  border-right: 1px solid #00000027;
}
.value-card:nth-child(2) {
  border-bottom: 1px solid #00000027;
}

.value-card:nth-child(3) {
  border-right: 1px solid #00000027;
}

.icon {
  color: #008000;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.value-content h3 {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-family: "Baloo Bhai 2";
}

.value-content p {
  color: #4a4a4ae6;
  font-size: 0.9rem;
  font-family: "Roboto";
}

/* Timeline section styles */
.timeline-section {
  padding: 3rem 1rem;
}

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-header {
  text-align: center;
  margin-bottom: 2rem;
}

.timeline-header h2 {
  margin-bottom: 1rem;
}

.timeline-header p {
  font-size: 1.1rem;
  color: #4a4a4ae6;
  max-width: 800px;
  margin: 0 auto;
  text-transform: uppercase;
  font-family: "Roboto";
}

/* Timeline container */
.timeline-container {
  position: relative;
  padding: 0 1rem;
}

/* Scroll buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.scroll-btn:hover {
  background: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.scroll-left {
  left: 0;
}

.scroll-right {
  right: 0;
}

/* Timeline scroll area */
.timeline-scroll {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  gap: 2rem;
  padding: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.timeline-scroll::-webkit-scrollbar {
  display: none;
}

/* Timeline card */
.timeline-card {
  flex: 0 0 320px;
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.6s ease-in-out;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(20px);
}

.timeline-card.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: "Baloo Bhai 2";
}

.icon-container {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary-light);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.year {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.card-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.5rem;
  font-family: "Baloo Bhai 2";
}

.card-content p {
  color: #4a4a4ae6;
  margin: 0;
  line-height: 1.5;
  font-family: "Roboto";
}

.timeline-footer {
  padding-top: 1rem;
  text-align: center;
}

.timeline-footer p {
  font-size: 1.125rem;
  color: #4a4a4ae6;
  max-width: 42rem;
  margin: 0 auto;
  font-family: "Roboto";
  text-transform: uppercase;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blurIn {
  from {
    opacity: 0;
    filter: blur(10px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.blur-in {
  animation: blurIn 0.8s ease-out forwards;
}

/* Team section styles */
.team-section {
  padding: 4rem 1rem;
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
}

.team-header {
  margin-bottom: 3rem;
}

.team-header h3 {
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.team-header p {
  max-width: 800px;
  color: #4a4a4ae6;
  font-family: "Roboto";
  font-size: 1.1rem;
}

.team-grid {
  display: grid;
  /* grid-template-columns: repeat(3, 1fr); */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #00000027;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  background: #e8f5eb;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.2s ease;
}

.role-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #888;
  font-size: 1.2rem;
}
.card img:first-child {
  width: 100px;
  height: 100px;
  object-fit: cover;
  filter: drop-shadow(0 0 20px 2px rgba(0, 0, 0, 0.05));
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: "baloo bhai 2";
  color: #333;
}

.card p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  color: #666;
  font-family: "roboto";
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-container {
    grid-template-columns: 1fr;
    backdrop-filter: blur(5px);
  }

  .text-content {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card:first-child {
    border-bottom: 1px solid #00000027;
    border-right: none;
  }
  .value-card:nth-child(2) {
    border-bottom: 1px solid #00000027;
  }

  .value-card:nth-child(3) {
    border-bottom: 1px solid #00000027;
    border-right: none;
  }

  h2 {
    font-size: 1.75rem;
  }

  .main-description {
    font-size: 1rem;
  }

  .hero-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero h1,
  .timeline-header h2,
  .text-content h2,
  .team-header h2 {
    font-size: 1.75rem;
  }

  .hero .subtitle,
  .timeline-header p,
  .timeline-footer p,
  .main-description,
  .team-header p {
    font-size: 0.9rem;
  }

  .content-container {
    padding: 20px 15px;
  }

  .value-card {
    padding: 15px;
  }

  h2 {
    font-size: 1.5rem;
  }

  .timeline-section {
    padding: 0;
  }

  .quote-icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .quote-text {
    margin: 0;
    gap: 0;
  }

  .mission-section {
    margin-top: 1rem;
  }

  .hero-image {
    height: 200px;
  }
}

/* Responsive styles */
@media (max-width: 800px) {
  .quoto-container {
    flex-direction: column;
  }

  .quote-text p {
    font-size: 1.5rem;
  }

  .image-container {
    width: 100%;
  }
}

/* Optimize animations with transform */
@media (prefers-reduced-motion: no-preference) {
  .arrow:first-child {
    animation: bounce 2s infinite;
  }

  .arrow:last-child {
    animation: bounce 2s infinite;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
  }

  50% {
    transform: rotate(45deg) translate(10px, 10px);
  }
}

/* Print styles */
@media print {
  .learn-more {
    display: none;
  }
}
