/* style/uk88-introduction-development-history.css */

/* Biến CSS */
:root {
  --page-uk88-primary-color: #007BFF;
  --page-uk88-accent-color: #FFD700;
  --page-uk88-text-color: #333;
  --page-uk88-light-text-color: #f8f8f8;
  --page-uk88-background-light: #ffffff;
  --page-uk88-background-dark: #0056b3; /* Darker shade of primary for contrast */
  --page-uk88-font-family: 'Arial', sans-serif;
}

.page-uk88-introduction-development-history {
  font-family: var(--page-uk88-font-family);
  line-height: 1.6;
  color: var(--page-uk88-text-color);
  background-color: var(--page-uk88-background-light);
}

.page-uk88-introduction-development-history__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-uk88-introduction-development-history__hero-section {
  background: linear-gradient(135deg, var(--page-uk88-primary-color) 0%, #0056b3 100%); /* Darker blue gradient */
  color: var(--page-uk88-light-text-color);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-uk88-introduction-development-history__hero-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: page-uk88-pulse 5s infinite ease-in-out;
}

.page-uk88-introduction-development-history__hero-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: page-uk88-pulse 5s infinite ease-in-out reverse;
}

.page-uk88-introduction-development-history__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-uk88-introduction-development-history__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-uk88-introduction-development-history__cta-button {
  display: inline-block;
  background-color: var(--page-uk88-accent-color);
  color: var(--page-uk88-primary-color); /* Ensure high contrast */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-uk88-introduction-development-history__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Sections */
.page-uk88-introduction-development-history__section {
  padding: 60px 0;
}

.page-uk88-introduction-development-history__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-uk88-introduction-development-history__section-title {
  font-size: 2.5em;
  color: var(--page-uk88-primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-uk88-introduction-development-history__section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--page-uk88-accent-color);
  border-radius: 2px;
}

.page-uk88-introduction-development-history__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555;
}

.page-uk88-introduction-development-history__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

.page-uk88-introduction-development-history__content-wrapper p {
  flex: 1 1 45%;
  font-size: 1.05em;
  line-height: 1.8;
  color: #444;
}

.page-uk88-introduction-development-history__content-wrapper .page-uk88-introduction-development-history__image {
  flex: 1 1 45%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.page-uk88-introduction-development-history__content-wrapper .page-uk88-introduction-development-history__image:hover {
  transform: translateY(-5px);
}

.page-uk88-introduction-development-history__image--left {
  order: -1; /* Image appears on left for default flex direction */
}

.page-uk88-introduction-development-history__image--right {
  order: 1; /* Image appears on right for default flex direction */
}

/* Sub-titles for commitment section */
.page-uk88-introduction-development-history__sub-title {
  font-size: 1.8em;
  color: var(--page-uk88-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--page-uk88-accent-color);
  padding-bottom: 5px;
  display: inline-block;
}

/* Timeline Section */
.page-uk88-introduction-development-history__timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.page-uk88-introduction-development-history__timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--page-uk88-primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.page-uk88-introduction-development-history__timeline-item {
  padding: 20px 40px;
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-uk88-introduction-development-history__timeline-item:hover {
  transform: translateY(-5px);
}

.page-uk88-introduction-development-history__timeline-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--page-uk88-accent-color);
  border: 4px solid var(--page-uk88-primary-color);
  border-radius: 50%;
  z-index: 1;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
}

.page-uk88-introduction-development-history__timeline-item:nth-child(odd) {
  left: 0;
  margin-right: 50%;
  text-align: right;
  padding-right: 60px;
}

.page-uk88-introduction-development-history__timeline-item:nth-child(even) {
  left: 50%;
  margin-left: 50%;
  text-align: left;
  padding-left: 60px;
}

.page-uk88-introduction-development-history__timeline-item:nth-child(odd)::before {
  left: auto;
  right: -10px; /* Position dot on the right side of the item */
  transform: translateX(0);
}

.page-uk88-introduction-development-history__timeline-item:nth-child(even)::before {
  left: -10px; /* Position dot on the left side of the item */
  transform: translateX(0);
}

.page-uk88-introduction-development-history__timeline-title {
  font-size: 1.8em;
  color: var(--page-uk88-primary-color);
  margin-bottom: 10px;
}

.page-uk88-introduction-development-history__timeline-date {
  font-size: 1em;
  color: #777;
  margin-bottom: 15px;
  font-style: italic;
}

.page-uk88-introduction-development-history__timeline-description {
  font-size: 1.05em;
  color: #444;
}

/* Final CTA Section */
.page-uk88-introduction-development-history__cta-section {
  background-color: var(--page-uk88-primary-color);
  color: var(--page-uk88-light-text-color);
  padding: 80px 0;
  text-align: center;
}

.page-uk88-introduction-development-history__cta-content {
  max-width: 900px;
}

.page-uk88-introduction-development-history__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-uk88-introduction-development-history__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-uk88-introduction-development-history__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
  background-color: var(--page-uk88-accent-color);
  color: var(--page-uk88-primary-color); /* Ensure high contrast */
}

.page-uk88-introduction-development-history__cta-button--large:hover {
  background-color: #e6c200;
  transform: translateY(-5px) scale(1.02);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-uk88-introduction-development-history__hero-title {
    font-size: 2.8em;
  }

  .page-uk88-introduction-development-history__hero-subtitle {
    font-size: 1.2em;
  }

  .page-uk88-introduction-development-history__section-title {
    font-size: 2em;
  }

  .page-uk88-introduction-development-history__content-wrapper p,
  .page-uk88-introduction-development-history__timeline-description {
    font-size: 1em;
  }

  .page-uk88-introduction-development-history__timeline::before {
    left: 18px;
  }

  .page-uk88-introduction-development-history__timeline-item {
    margin-right: 0;
    margin-left: 50px;
    padding: 15px 20px;
    text-align: left !important;
  }

  .page-uk88-introduction-development-history__timeline-item::before {
    left: -10px;
    transform: translateX(0);
  }

  .page-uk88-introduction-development-history__timeline-item:nth-child(odd),
  .page-uk88-introduction-development-history__timeline-item:nth-child(even) {
    left: 0;
    margin-left: 50px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-uk88-introduction-development-history__timeline-item:nth-child(odd)::before,
  .page-uk88-introduction-development-history__timeline-item:nth-child(even)::before {
    left: -10px; /* Adjust for mobile timeline */
    right: auto;
  }

  .page-uk88-introduction-development-history__content-wrapper {
    flex-direction: column;
  }

  .page-uk88-introduction-development-history__image--left,
  .page-uk88-introduction-development-history__image--right {
    order: unset; /* Reset order for mobile */
  }
}

@media (max-width: 768px) {
  .page-uk88-introduction-development-history__hero-section {
    padding: 80px 0;
  }

  .page-uk88-introduction-development-history__hero-title {
    font-size: 2.2em;
  }

  .page-uk88-introduction-development-history__hero-subtitle {
    font-size: 1em;
  }

  .page-uk88-introduction-development-history__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-uk88-introduction-development-history__section {
    padding: 40px 0;
  }

  .page-uk88-introduction-development-history__section-title {
    font-size: 1.8em;
  }

  .page-uk88-introduction-development-history__content-wrapper p,
  .page-uk88-introduction-development-history__content-wrapper .page-uk88-introduction-development-history__image {
    flex: 1 1 100%;
  }

  .page-uk88-introduction-development-history__cta-title {
    font-size: 2em;
  }

  .page-uk88-introduction-development-history__cta-description {
    font-size: 1.1em;
  }

  .page-uk88-introduction-development-history__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

/* Keyframe Animations */
@keyframes page-uk88-pulse {
  0% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.2); opacity: 0.2; }
  100% { transform: scale(1); opacity: 0.1; }
}