/* Precision Section */
.precision-section {
  background: linear-gradient(
    to bottom,
    #210d07 0%,
    /* Darkest at top */ #3f190e 20%,
    /* Dark brown transition */ #76594f 60%,
    /* Medium brown covering most area */ #faf1eb 100%
      /* Light cream near bottom */
      /* #FAF3E0 100%  Same light cream as section 2 start */
  );
  padding: 120px 0;
}

.precision-title {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 2rem;
}

.precision-text {
  font-size: 0.8rem;
  line-height: 1.8;
  color: #fff;
}

.rio-tinto-badge {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 300px;
}

/* Accreditations Section */
.accreditations-section {
  background: linear-gradient(
    to bottom,
    #faf1eb 90%,
    /* Matches last color of section 1 */ #ffffff 100% /* Fades to white */
  );
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  color: #985333;
  /* margin-bottom: 3rem; */
  text-align: center;
}

.partner-logo {
  max-height: 180px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
}

/* Carousel Styling */
.partners-carousel {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  animation: carousel-slide 20s linear infinite;
  width: calc(200% + 40px);
}

.carousel-item {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
}

@keyframes carousel-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.partners-carousel:hover .carousel-track {
  animation-play-state: paused;
}

/* Fade edges */
.partners-carousel::before,
.partners-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--light-beige), transparent);
}

.partners-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--light-beige), transparent);
}

/* Awards Section */
.awards-section {
  background: white;
  padding: 100px 0;
}

.award-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 10px;
  transition: background 0.3s ease;
  cursor: pointer;
}

.award-item:hover {
  background: var(--light-beige);
}

.award-icon {
  color: var(--primary-gold);
  font-size: 1.5rem;
  margin-right: 15px;
}

.award-text {
  font-weight: 500;
}

/* Events Section */
.events-section {
  background: #fff;
  padding: 100px 0;
}

.events-subtitle {
  color: #999;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 3rem;
  justify-content: center;
}

.event-card2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* vertical centering */
  height: 100%;
}

.event-image-container {
  flex: 0 0 auto;
}

.event-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); */
}

.event-details {
  flex: 0 0 auto;
  text-align: left;
}

.event-title {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 400;
}

.event-date {
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.event-location {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.event-description {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-button {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2rem;
}

.hero-button:hover {
  background: white;
  color: var(--dark-brown);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Stagger delays for specific groups */
.award-item:nth-child(1) {
  transition-delay: 0.1s;
}

.award-item:nth-child(2) {
  transition-delay: 0.2s;
}

.award-item:nth-child(3) {
  transition-delay: 0.3s;
}

.award-item:nth-child(4) {
  transition-delay: 0.4s;
}

.award-item:nth-child(5) {
  transition-delay: 0.5s;
}

.award-item:nth-child(6) {
  transition-delay: 0.6s;
}

.partner-logo:nth-child(1) {
  transition-delay: 0.1s;
}

.partner-logo:nth-child(2) {
  transition-delay: 0.2s;
}

.partner-logo:nth-child(3) {
  transition-delay: 0.3s;
}

.partner-logo:nth-child(4) {
  transition-delay: 0.4s;
}

.partner-logo:nth-child(5) {
  transition-delay: 0.5s;
}

/* Carousel styles */
.custom-carousel {
  position: relative;
}
.carousel-items {
  position: relative;
  overflow: hidden;
}
.event-carousel-item {
  display: none;
  transition: opacity 0.6s ease;
}
.event-carousel-item.active {
  display: block;
  opacity: 1;
}

/* Custom indicators like in your screenshot */
.carousel-indicators {
  gap: 1rem;
}
.carousel-indicators .indicator {
  display: inline-block;
  width: 60px;
  height: 6px;
  border-radius: 3px;
  background: #f9e6dc; /* inactive color */
  cursor: pointer;
  transition: background 0.3s ease;
}
.carousel-indicators .indicator.active {
  background: #d94b2b; /* active color */
}
/* Responsive Design */
@media (max-width: 768px) {
  p {
    font-size: 12px;
  }
  .precision-section {
    text-align: start;
  }

  .precision-title {
    font-size: 2rem;
  }

  .accreditations-section h4{
    font-size: 1rem;
  }

  .events-section .event-content .event-title{
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .diamond-image {
    max-width: 300px;
  }

  .hero-logo {
    top: -10%;
  }

  .event-layout {
    flex-direction: column;
    gap: 20px;
  }

  .event-image {
    width: 100%;
    max-width: 400px;
  }

  .event-details {
    padding-left: 0;
  }

  .partner-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .precision-section h2,
  .precision-section h5,
  .precision-section p
  {
    text-align: center !important;
  }
}
