/* style/index-latest-offers.css */
.page-index-latest-offers {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

.page-index-latest-offers__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-latest-offers__container--center {
  text-align: center;
}

/* Hero Section */
.page-index-latest-offers__hero {
  background: linear-gradient(135deg, #004D99 0%, #0028ff 100%); /* Adjusted gradient for better contrast with text */
  color: #FFFFFF;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-latest-offers__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700; /* Accent color for title */
}

.page-index-latest-offers__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFFFFF;
}

/* General Section Styling */
.page-index-latest-offers__section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-index-latest-offers__section:nth-child(even) {
  background-color: #ffffff;
}

.page-index-latest-offers__section-title {
  font-size: 2.5em;
  color: #004D99;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-latest-offers__section-description {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

/* Buttons */
.page-index-latest-offers__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  margin: 10px;
}

.page-index-latest-offers__btn--primary {
  background-color: #FFD700;
  color: #004D99;
}

.page-index-latest-offers__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-index-latest-offers__btn--secondary {
  background-color: #004D99;
  color: #FFFFFF;
  border: 2px solid #004D99;
}

.page-index-latest-offers__btn--secondary:hover {
  background-color: #003a7a;
  border-color: #003a7a;
  transform: translateY(-2px);
}

.page-index-latest-offers__btn--app {
  background-color: #333;
  color: #FFFFFF;
  padding: 12px 25px;
}

.page-index-latest-offers__btn--app:hover {
  background-color: #000;
}

.page-index-latest-offers__app-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

/* Offer Grid */
.page-index-latest-offers__offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-latest-offers__offer-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-offers__offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-index-latest-offers__offer-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-index-latest-offers__offer-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-latest-offers__offer-title {
  font-size: 1.6em;
  color: #004D99;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-latest-offers__offer-text {
  color: #444;
  margin-bottom: 15px;
  font-size: 0.95em;
}

.page-index-latest-offers__offer-card .page-index-latest-offers__btn {
  align-self: flex-start;
  margin-top: auto; /* Pushes button to the bottom */
  background-color: #FFD700;
  color: #004D99;
  padding: 10px 20px;
  font-size: 1em;
}

.page-index-latest-offers__offer-card .page-index-latest-offers__btn:hover {
  background-color: #e6c200;
}

/* Why Choose NO789 Section */
.page-index-latest-offers__flex-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-index-latest-offers__text-content {
  flex: 1;
  min-width: 300px;
}

.page-index-latest-offers__text-content p {
  margin-bottom: 20px;
  color: #444;
  font-size: 1.05em;
}

.page-index-latest-offers__image-right {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* App Download Section */
.page-index-latest-offers__app-download {
  background-color: #004D99;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-index-latest-offers__app-download .page-index-latest-offers__section-title,
.page-index-latest-offers__app-download .page-index-latest-offers__section-description {
  color: #FFFFFF;
}

.page-index-latest-offers__download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.page-index-latest-offers__app-screenshot {
  max-width: 400px;
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-index-latest-offers__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-latest-offers__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-latest-offers__faq-question {
  font-size: 1.3em;
  color: #004D99;
  margin-top: 0;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-index-latest-offers__faq-answer {
  color: #555;
  font-size: 1em;
  margin-top: 0;
}

/* Call to Action Section */
.page-index-latest-offers__call-to-action {
  background-color: #f0f4f8;
  padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-latest-offers__hero-title {
    font-size: 2.8em;
  }
  .page-index-latest-offers__section-title {
    font-size: 2em;
  }
  .page-index-latest-offers__flex-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index-latest-offers__image-right {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-index-latest-offers__hero {
    padding: 80px 0;
  }
  .page-index-latest-offers__hero-title {
    font-size: 2.2em;
  }
  .page-index-latest-offers__hero-description {
    font-size: 1.1em;
  }
  .page-index-latest-offers__section {
    padding: 40px 0;
  }
  .page-index-latest-offers__section-title {
    font-size: 1.8em;
  }
  .page-index-latest-offers__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-latest-offers__offer-card {
    margin-bottom: 20px;
  }
  .page-index-latest-offers__offer-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .page-index-latest-offers__hero-title {
    font-size: 1.8em;
  }
  .page-index-latest-offers__hero-description {
    font-size: 1em;
  }
  .page-index-latest-offers__section-title {
    font-size: 1.5em;
  }
  .page-index-latest-offers__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index-latest-offers__download-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-index-latest-offers__btn--app {
    width: 80%;
    max-width: 280px;
  }
}