/* ESG Page Specific Styles */

/* AOS Animation Enhancements */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Smooth scrolling for better animation experience */
html {
  scroll-behavior: smooth;
}

/* Enhanced card hover effects for better interactivity */
.community-card {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.community-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ESG Hero Section Styles */
.esg-hero {
  position: relative;
  height: 110vh;
  min-height: calc(100% + 200px);
  background-image: url("./images/esg-hero-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  color: white;
}

.esg-hero .hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}

.esg-hero .hero-content {
  max-width: 920px !important;
  margin-bottom: 2rem;
  font-family: "Urbanist";
}

.esg-hero .hero-title {
  font-size: 64px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: white;
  max-width: 920px !important;

}

.esg-hero .hero-title .title-line-container {
  display: flex;
  gap: 10px;
  width: 100%;
}

.esg-hero .hero-title .title-line {
  display: block;
  max-width: 920px !important;
}

.esg-hero .hero-title .highlight {
  color: rgba(255, 255, 255, 0.9);
}

.esg-hero .hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(192, 192, 192, 0.80);
  margin-bottom: 2.5rem;
  max-width: 807px;
  font-weight: 400;
}

.esg-hero .hero-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 24px;
  border: 1px solid var(--white, #fff);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.25);
}

.esg-hero .hero-download-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.esg-hero .hero-download-btn .download-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 3;
  border-radius: 50%;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.scroll-circle {
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  background: transparent;
}

.scroll-circle:hover {
  transform: scale(1.1);
}

.scroll-arrow {
  width: 88px;
  height: 88px;
  content: url("./images/esg-hero-arrow-down.png");
  animation: bounce 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    border-color: #0e6a3c;
  }

  50% {
    border-color: #006337;
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-5px);
  }

  60% {
    transform: translateY(-3px);
  }
}

/* ESG Hero Responsive Design */
@media (max-width: 1024px) {
  .esg-hero .hero-title {
    font-size: 60px;
  }

  .esg-hero .hero-description {
    font-size: 16px;
  }

  .esg-hero .hero-container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .timeline-bottom-section::after{
    display: none;
  }
  .esg-hero {
    min-height: 600px;
    margin-bottom: 60px;
  }

  .esg-hero .hero-container {
    padding: 0 1rem;
  }

  .esg-hero .hero-title {
    font-size: 40px;
    margin-bottom: 1.5rem;
  }

  .esg-hero .hero-title .title-line-container {
    flex-direction: column;
  }

  .esg-hero .hero-description {
    font-size: 15px;
    margin-bottom: 2rem;
  }

  .esg-hero .hero-download-btn {
    padding: 14px 24px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .esg-hero {
    margin-bottom: 40px;
  }

  .esg-hero .hero-title {
    font-size: 32px;
  }

  .esg-hero .hero-description {
    font-size: 14px;
  }

  .esg-hero .hero-download-btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  .esg-hero .hero-download-btn .download-icon {
    width: 16px;
    height: 16px;
  }
}

/* Saudization, Employment & Training Section Styles */
.saudization-section {
  padding: 100px 0;
  background-color: #fff;
}

.saudization-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.saudization-header {
  margin-bottom: 36px;
}

.sustainability-header {
  position: relative;
  padding: 60px;
}

.sustainability-header img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
}

.saudization-title {
  color: #000;
  font-family: Urbanist;
  font-size: 64px;
  font-weight: 600;
  line-height: normal;
  text-transform: capitalize;
}

.saudization-title-highlight {
  color: #006337 !important;
  font-family: Urbanist;
  font-size: 64px;
  font-weight: 600;
  line-height: normal;
  text-transform: capitalize;
}

.saudization-description {
  color: #5D5D5D;
  font-family: Urbanist;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  max-width: 778px;
}

.saudization-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

@media (max-width: 1024px) {
  .saudization-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }

  .saudi-card .saudi-card-btn {
    top: 15px;
    right: 10px;
  }
  .sustainability-bg-body{
    display: none;
  }
}

.saudi-card {
  background-image: url('./icons/saudization-card-bg.svg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  color: #fff;
  padding: 40px;
  border-radius: 20px;
  position: relative;
  transition: transform 0.3s ease;
  max-width: 387px;
  min-width: 350px !important;
  min-height: 350px;
  width: 100%;
}

.saudi-card:hover {
  transform: translateY(-10px);
}

.saudi-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.saudi-card-icon {
  width: 40px;
}

.saudi-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: capitalize;
}

.saudi-card-title-highlight {
  color: #006337;
}

.saudi-card-title br {
  display: block;
}

.saudi-card-body {
  font-size: 0.95rem;
}

.saudi-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.saudi-card-list li {
  margin-bottom: 12px;
  line-height: 1.5;
}

.saudi-card-list li strong {
  font-weight: 700;
}

.saudi-card-btn {
  position: absolute;
  top: 20px;
  right: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.saudi-card-btn:hover {
  background-color: #333;
}

.saudi-card-btn img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

/* Sustainability Initiatives Section */
.sustainability-section {
  padding: 100px 0 0 0;
  position: relative;
}

.sustainability-container {
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.sustainability-header {
  font-family: Urbanist;
}

.sustainability-title {
  font-size: 64px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 12px;
  font-family: "Urbanist", sans-serif;
}

.sustainability-description {
  font-size: 24px;
  font-weight: 400;
  line-height: 25px;
  /* 104.167% */
  color: var(--dark-gray, #5d5d5d);
  max-width: 887px;
  margin: 0 auto;
  font-family: "Urbanist", sans-serif;
}

.sustainability-visual {
  height: 583px;
  position: relative;
  overflow: visible;
}

.sustainability-image {
  width: 100%;
  height: 583px;
  object-fit: cover;
}

.sustainability-bg-body {
  position: absolute;
  z-index: 200;
  top: 0%;
  right: 0;
}

/* Sustainability Section Responsive Design */
@media (max-width: 1024px) {
  .sustainability-section {
    padding: 80px 0;
  }

  .sustainability-container {
    padding: 0 1.5rem;
  }

  .sustainability-title {
    font-size: 40px;
  }

  .sustainability-header {
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .sustainability-section {
    padding: 60px 0;
  }

  .sustainability-container {
    padding: 0 1rem;
  }

  .sustainability-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .sustainability-description {
    font-size: 15px;
  }

  .sustainability-header {
    margin-bottom: 40px;
  }

  .sustainability-line {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .sustainability-section {
    padding: 50px 0;
  }

  .sustainability-title {
    font-size: 28px;
  }

  .sustainability-description {
    font-size: 14px;
  }

  .sustainability-header {
    margin-bottom: 30px;
  }

  .sustainability-line {
    height: 30px;
  }
}

/* ESG Timeline Section */
.esg-timeline-section {
  padding: 250px 100px 0;
  background-color: #ffffff;
}

.timeline-container {
  max-width: 1453px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 49.8%;
  top: -170px;
  bottom: 379px;
  width: 7px;
  background-color: #e0e0e0;
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 100px;
}

.timeline-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--timeline-fill-height, 0);
  background-color: var(--main-green, #006337);
  border-radius: 100px;
  transition: height 0.5s ease-in-out;
}

.timeline-item {
  position: relative;
  margin-bottom: 200px;
  display: flex;
  align-items: center;
}

.timeline-item-right {
  justify-content: flex-start;
}

.timeline-item-left {
  justify-content: flex-end;
}

.timeline-circle {
  width: 53px;
  height: 53px;
  background-color: var(--main-green, #006337);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.timeline-content {
  width: 457px;
  font-family: "Urbanist", sans-serif;
}

.timeline-item-right .timeline-content {
  margin-left: calc(50% + 120px);
  text-align: left;
}

.timeline-item-left .timeline-content {
  margin-right: calc(50% + 120px);
  text-align: left;
}

.timeline-title {
  color: #000;
  font-family: Urbanist;
  font-size: 24px;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 5px;
}

.timeline-description {
  color: #000;
  font-family: Urbanist;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  text-transform: capitalize;
}

.timeline-bottom-section {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-top: 80px;
  padding-top: 257px;
}

.timeline-bottom-section::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  width: 2px;
  height: 219px;
  background: rgba(0, 0, 0, 0.5);
}

.timeline-bottom-item {
  flex: 1;
  font-family: "Urbanist", sans-serif;
}

.timeline-bottom-item:last-of-type {
  margin-left: 170px;
}

.timeline-bottom-title {
  font-family: Urbanist;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-list li {
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  color: #5d5d5d;
  line-height: 1.4;
  margin-bottom: 8px;
  position: relative;
  padding-left: 12px;
}

.timeline-list li::before {
  content: "•";
  color: var(--main-green, #006337);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Timeline Responsive Design */
@media (max-width: 1024px) {
  .esg-timeline-section {
    padding: 80px 0;
  }

  .timeline-container {
    padding: 0 1.5rem;
  }

  .timeline-content {
    width: 280px;
  }

  .timeline-title {
    font-size: 22px;
  }

  .timeline-description {
    font-size: 22px;
  }

  .timeline-bottom-title {
    font-size: 22px;
  }

  .timeline-list li {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .esg-timeline-section {
    padding: 60px 20px 0;
  }

  .timeline-container {
    padding: 0 1rem;
  }

  .timeline-line {
    left: 30px;
    transform: none;
    top: 0;
    bottom: 60%;
    border-radius: 100px;
    z-index: 0;
  }

  .timeline-item {
    margin-bottom: 80px;
    justify-content: flex-start !important;
  }

  .timeline-circle {
    left: 30px;
    transform: translateX(-50%);
  }

  .timeline-content {
    width: auto;
    max-width: calc(100% - 80px);
  }

  .timeline-item-right .timeline-content,
  .timeline-item-left .timeline-content {
    margin-left: 80px;
    margin-right: 0;
    text-align: left;
  }

  .timeline-title {
    font-size: 20px;
  }

  .timeline-description {
    font-size: 18px;
  }

  .timeline-bottom-section {
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
  }

  .timeline-bottom-item:last-of-type {
    margin-left: 0;
  }

  .timeline-bottom-title {
    font-size: 20px;
  }

  .timeline-list li {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .esg-timeline-section {
    padding: 50px 15px 0;
  }

  .timeline-container {
    padding: 0 0.5rem;
  }

  .timeline-line {
    left: 29px;
    top: -70px;
    bottom: 50%;
  }

  .timeline-circle {
    width: 40px;
    height: 40px;
    left: 25px;
  }

  .timeline-content {
    max-width: calc(100% - 60px);
  }

  .timeline-item-right .timeline-content,
  .timeline-item-left .timeline-content {
    margin-left: 60px;
  }

  .timeline-title {
    font-size: 18px;
  }

  .timeline-description {
    font-size: 16px;
  }

  .timeline-bottom-section {
    margin-top: 50px;
    padding-top: 30px;
    gap: 30px;
  }

  .timeline-bottom-item:last-of-type {
    margin-left: 0;
  }

  .timeline-bottom-title {
    font-size: 18px;
  }

  .timeline-list li {
    font-size: 16px;
  }
}

/* Community Impact Section */
.community-impact-section {
  padding: 100px 0;
}

.community-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 2rem;
}

.community-header {
  text-align: center;
  margin-bottom: 80px;
}

.community-title {
  font-family: "Urbanist", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #131313;
  margin-bottom: 11px;
  line-height: 1.2;
}

.community-description {
  font-family: "Urbanist", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #000;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.4;
}

.community-slider {
  position: relative;
}

.community-swiper {
  overflow: visible;
  padding: 20px 0;
}

.community-card {
  width: 100%;
  height: 547px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.community-card .card-title {
  color: #131313;
}

.community-card .card-description {
  color: #131313;
}

.swiper-slide {
  width: 506px !important;
  height: 547px;
  flex-shrink: 0;
}

.card-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.card-shape-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.card-shape::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/community-section-shape-active.png");
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.community-card:hover .card-shape::after {
  opacity: 1;
}

.card-glory {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.card-glory-img {
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 150px;
}

.community-card:hover .card-glory {
  opacity: 0;
}

.card-number {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border: 2px solid #131313;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Urbanist", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #131313;
  background: white;
  z-index: 4;
}

.card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 254px;
  height: 254px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-content {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  z-index: 4;
  transition: all 0.3s ease;
}

.card-title {
  color: white;
  font-family: Urbanist;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 121.332%;
  text-align: left;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
  position: absolute;
  bottom: 0;
}

.card-description {
  font-family: "Urbanist", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.community-card:hover .card-title {
  bottom: unset;
  margin-top: -250px;
}

.community-card:hover .card-description {
  opacity: 1;
  transform: translateY(0);
  bottom: unset;
  margin-top: -210px;
}

/* hide the icon when the card is hovered */
.community-card:hover .card-icon {
  opacity: 0;
}

.community-nav {
  position: absolute;
  right: 0;
  bottom: -76px;
  display: flex;
  gap: 16px;
  z-index: 10;
}

.community-prev,
.community-next {
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.community-prev:hover,
.community-next:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.community-prev img,
.community-next img {
  width: 20px;
  height: 20px;
}

/* Community Impact Responsive Design */
@media (max-width: 1024px) {
  .community-impact-section {
    padding: 80px 0;
  }

  .community-container {
    padding: 0 1.5rem;
  }

  .community-title {
    font-size: 48px;
  }

  .community-description {
    font-size: 20px;
  }

  .community-header {
    margin-bottom: 60px;
  }

  .community-card {
    width: 450px;
    height: 500px;
  }

  .swiper-slide {
    width: 450px !important;
    height: 500px;
  }

  .card-icon {
    width: 200px;
    height: 200px;
    margin: 40px 0 32px;
  }

  .card-title {
    font-size: 28px;
  }

  .card-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .community-impact-section {
    padding: 60px 0;
  }

  .community-container {
    padding: 0 1rem;
  }

  .community-title {
    font-size: 36px;
  }

  .community-description {
    font-size: 18px;
  }

  .community-header {
    margin-bottom: 50px;
  }

  .community-card {
    width: 350px;
    height: 450px;
  }

  .swiper-slide {
    width: 350px !important;
    height: 450px;
  }

  .card-icon {
    width: 150px;
    height: 150px;
    margin: 30px 0 24px;
  }

  .card-title {
    font-size: 24px;
  }

  .card-description {
    font-size: 15px;
  }

  .card-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .community-nav {
    bottom: 10px;
    right: 10px;
  }

  .community-prev,
  .community-next {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.2);
  }

  .community-prev img,
  .community-next img {
    width: 16px;
    height: 16px;
  }
  .esg-timeline-section .timeline-circle{
    left: 18px;
  }
}

@media (max-width: 480px) {
  .community-impact-section {
    padding: 50px 0;
  }

  .community-title {
    font-size: 28px;
  }

  .community-description {
    font-size: 16px;
  }

  .community-card {
    width: 300px;
    height: 400px;
  }

  .swiper-slide {
    width: 300px !important;
    height: 400px;
  }

  .card-icon {
    width: 120px;
    height: 120px;
    margin: 20px 0 16px;
  }

  .card-title {
    font-size: 20px;
  }

  .card-description {
    font-size: 14px;
  }
}
