/* price car start */

/* =========================================================
   PRICE PACKAGE SECTION - SCOPED CSS
   NO CONFLICT VERSION
========================================================= */

.mainland-packages-section {
  position: relative;
  padding: 38px 20px 60px;
  overflow: hidden;
  min-height: 100vh;
  background-image: url('images/dubai-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mainland-packages-section .background-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(1px);
}

.mainland-packages-section .packages-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* =========================================================
   SECTION TITLE
========================================================= */

.mainland-packages-section .section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.mainland-packages-section .section-heading h2 {
  max-width: 720px;
  margin: 0 auto;
  font-size: 62px;
  line-height: 1.07;
  font-weight: 800;
  color: #072464;
  letter-spacing: -1px;
}

.mainland-packages-section .section-heading h2 span {
  color: #f7b500;
  display: block;
}

.mainland-packages-section .heading-line {
  width: 82px;
  height: 3px;
  background: #f4c34c;
  margin: 18px auto 0;
  border-radius: 50px;
}

/* =========================================================
   PACKAGE GRID
========================================================= */

.mainland-packages-section .mainland-packages-grid {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
}

/* =========================================================
   PACKAGE CARD
========================================================= */

.mainland-packages-section .mainland-package-card {
  width: 100%;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  padding: 24px 30px 26px;
  border: 1px solid rgba(6, 31, 92, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: 0.35s ease;
}

.mainland-packages-section .mainland-package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   ICON
========================================================= */

.mainland-packages-section .mainland-package-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #f3f5fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  padding: 20px;
}

.mainland-packages-section .mainland-package-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* =========================================================
   TITLE
========================================================= */

.mainland-packages-section .mainland-package-title {
  text-align: center;
  color: #071d62;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 700;
}

/* =========================================================
   DIVIDER
========================================================= */

.mainland-packages-section .price-divider {
  width: 78px;
  height: 3px;
  background: #f4c34c;
  margin: 14px auto 18px;
  border-radius: 30px;
}

/* =========================================================
   STARTING TEXT
========================================================= */

.mainland-packages-section .starting-text {
  display: block;
  text-align: center;
  color: #20376d;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
}

/* =========================================================
   PRICE
========================================================= */

.mainland-packages-section .mainland-price-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
}

.mainland-packages-section .mainland-currency {
  font-size: 25px;
  color: #081d63;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.mainland-packages-section .mainland-price {
  font-size: 66px;
  line-height: 0.9;
  font-weight: 800;
  color: #f8b400;
  letter-spacing: -2px;
}

.mainland-packages-section .mainland-terms {
  display: block;
  text-align: center;
  color: #20376d;
  font-size: 13px;
  margin-top: 10px;
  margin-bottom: 18px;
  font-weight: 500;
}

/* =========================================================
   FEATURES
========================================================= */

.mainland-packages-section .mainland-features-list {
  margin-bottom: 24px;
  padding: 0;
  list-style: none;
}

.mainland-packages-section .mainland-features-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #0b215f;
  font-size: 17px;
  font-weight: 500;
  padding: 13px 0;
  border-bottom: 1px solid #edf0f5;
}

.mainland-packages-section .mainland-features-list li:last-child {
  border-bottom: 0;
}

.mainland-packages-section .mainland-features-list i {
  font-size: 19px;
  color: #061f67;
}

/* =========================================================
   BUTTON
========================================================= */

.mainland-packages-section .mainland-setup-btn {
  width: 100%;
  height: 66px;
  background: #f7b500;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #071d62;
  font-size: 24px;
  font-weight: 700;
  transition: 0.3s ease;
  text-decoration: none;
}

.mainland-packages-section .mainland-setup-btn:hover {
  background: #071d62;
  color: #ffffff;
}

.mainland-packages-section .mainland-setup-btn i {
  font-size: 22px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

  .mainland-packages-section .section-heading h2 {
    font-size: 54px;
  }

}

@media (max-width: 991px) {

  .mainland-packages-section {
    padding: 50px 20px 70px;
  }

  .mainland-packages-section .section-heading {
    margin-bottom: 38px;
  }

  .mainland-packages-section .section-heading h2 {
    font-size: 46px;
    max-width: 680px;
  }

  .mainland-packages-section .mainland-package-card {
    max-width: 340px;
  }

  .mainland-packages-section .mainland-price {
    font-size: 58px;
  }

  .mainland-packages-section .mainland-setup-btn {
    font-size: 21px;
  }

}

@media (max-width: 767px) {

  .mainland-packages-section {
    padding: 45px 16px 60px;
  }

  .mainland-packages-section .section-heading h2 {
    font-size: 34px;
    line-height: 1.2;
  }

  .mainland-packages-section .mainland-packages-grid {
    gap: 24px;
  }

  .mainland-packages-section .mainland-package-card {
    max-width: 100%;
    padding: 24px 22px;
  }

  .mainland-packages-section .mainland-package-title {
    font-size: 26px;
  }

  .mainland-packages-section .mainland-price {
    font-size: 54px;
  }

  .mainland-packages-section .mainland-features-list li {
    font-size: 15px;
    gap: 12px;
  }

  .mainland-packages-section .mainland-setup-btn {
    height: 60px;
    font-size: 20px;
    border-radius: 14px;
  }

}

@media (max-width: 480px) {

  .mainland-packages-section .section-heading h2 {
    font-size: 30px;
  }

  .mainland-packages-section .mainland-package-icon {
    width: 84px;
    height: 84px;
  }

  .mainland-packages-section .mainland-price {
    font-size: 48px;
  }

  .mainland-packages-section .mainland-currency {
    font-size: 22px;
  }

  .mainland-packages-section .mainland-features-list li {
    font-size: 14px;
  }

  .mainland-packages-section .mainland-setup-btn {
    font-size: 18px;
    gap: 14px;
  }

}

.growth-section {
  padding: 28px;
}

.growth-container {
  max-width: 1380px;
  margin: 0 auto;

  background: #f7f8fc;

  border: 1px solid #e7ebf5;

  border-radius: 26px;

  padding: 34px 34px 28px;

  display: grid;
  grid-template-columns: 48% 52%;

  gap: 36px;
}

/* ===================================
   LEFT
=================================== */

.growth-left {
  padding-right: 28px;
  border-right: 1px solid #dde2ef;
}

.growth-left h2 {
  font-size: 30px;
  line-height: 1.28;
  font-weight: 800;
  color: #071d63;
  margin-bottom: 18px;
}

.growth-left h2 span {
  color: #f5b300;
}

.growth-line {
  width: 72px;
  height: 3px;
  background: #f5b300;
  border-radius: 30px;
  margin-bottom: 24px;
}

.growth-description {
  font-size: 17px;
  line-height: 1.8;
  color: #23335f;
  margin-bottom: 34px;
  max-width: 92%;
}

/* ===================================
   BENEFITS
=================================== */

.benefits-wrap {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.benefit-icon {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 50%;
  border: 2px solid #f5b300;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 14px;
}

.benefit-icon img {
  object-fit: contain;
}

.benefit-content h3 {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  color: #071d63;
  margin-bottom: 4px;
}

.benefit-content p {
  font-size: 16px;
  line-height: 1.75;
  color: #283760;
}

/* ===================================
   RIGHT
=================================== */

.growth-right {
  position: relative;
}

.chart-header h3 {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 800;
  color: #071d63;
  margin-bottom: 6px;
}

.chart-header span {
  font-size: 16px;
  color: #3f4d75;
  display: block;
  margin-bottom: 20px;
}

/* ===================================
   LEGEND
=================================== */

.chart-legend {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-bottom: 34px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 15px;
  font-weight: 500;
  color: #283760;
}

.legend-box {
  width: 16px;
  height: 16px;
  border-radius: 2px;
}

.legend-box.blue {
  background: #061f67;
}

.legend-line {
  width: 26px;
  height: 3px;
  background: #f5b300;
  position: relative;
  border-radius: 30px;
}

.legend-line::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #f5b300;
  border-radius: 50%;
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
}

/* ===================================
   CHART
=================================== */

.chart-area {
  position: relative;
  height: 460px;
  border-left: 2px solid #d8ddea;
  border-bottom: 2px solid #d8ddea;
  margin-left: 28px;
  overflow: hidden;
}

.chart-scroll-wrapper {
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.chart-scrollable-content {
  position: relative;
  height: 100%;
  min-width: 100%;
  padding: 0 12px 0 22px;
}

.chart-grid {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  position: relative;
  z-index: 2;
}

.chart-bar-group {
  width: 90px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;

  position: relative;
}

.chart-value {
  font-size: 16px;
  font-weight: 700;
  color: #1d2c64;
  margin-bottom: 10px;
}

.chart-bar {
  width: 58px;
  background: #061f67;
  border-radius: 6px 6px 0 0;
  position: relative;
}

.chart-year {
  margin-top: 10px;
  font-size: 15px;
  color: #283760;
  font-weight: 500;
}

/* BAR HEIGHTS */

.bar-1 {
  height: 120px;
}

.bar-2 {
  height: 145px;
}

.bar-3 {
  height: 185px;
}

.bar-4 {
  height: 235px;
}

.bar-5 {
  height: 285px;
}

.bar-6 {
  height: 340px;
}

.bar-7 {
  height: 400px;
}

/* DOT */

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f5b300;
  border: 4px solid #f5b300;

  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}

/* ===================================
   TREND SVG
=================================== */

.trend-svg {
  position: absolute;
  left: 45px;
  right: 45px;
  bottom: 28px;
  height: 400px;
  z-index: 3;
  pointer-events: none;
}

/* ===================================
   BOTTOM BOX
=================================== */

.chart-bottom-box {
  margin-top: 36px;

  border: 1px solid #dfe4ef;
  background: #ffffff;

  border-radius: 18px;

  padding: 16px 18px;

  display: flex;
  align-items: center;
  gap: 18px;
}

.bottom-icon {
  width: 48px;
  min-width: 48px;
}

.chart-bottom-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #23335f;
  font-weight: 500;
}

/* ===================================
   RESPONSIVE
=================================== */

@media (max-width: 1200px) {

  .growth-container {
    display: flex;
    flex-direction: column;
    gap: 36px;
    overflow: hidden;
  }

  .growth-left,
  .growth-right {
    width: 100%;
    min-width: 0;
  }

  .growth-left {
    border-right: 0;
    padding-right: 0;
    border-bottom: 1px solid #dde2ef;
    padding-bottom: 40px;
  }

}

@media (max-width: 991px) {

  .growth-left h2 {
    font-size: 28px;
  }

  .chart-header h3 {
    font-size: 24px;
  }

  .chart-scroll-wrapper {
    padding-bottom: 10px;
  }

  .chart-scrollable-content {
    min-width: 760px;
  }

}

@media (max-width: 767px) {

  .growth-section {
    padding: 16px;
  }

  .growth-container {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .growth-left h2 {
    font-size: 24px;
  }

  .growth-description {
    font-size: 15px;
    max-width: 100%;
  }

  .benefit-item {
    gap: 14px;
  }

  .benefit-content h3 {
    font-size: 15px;
  }

  .benefit-content p {
    font-size: 14px;
  }

  .chart-header h3 {
    font-size: 22px;
  }

  .chart-bottom-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .chart-legend {
    gap: 20px;
    flex-wrap: wrap;
  }

}

@media (max-width: 480px) {

  .growth-left h2 {
    font-size: 22px;
  }

  .chart-header h3 {
    font-size: 20px;
  }

  .chart-legend {
    gap: 20px;
    flex-wrap: wrap;
  }

  .chart-bottom-box p {
    font-size: 14px;
  }

}


/* =========================================================
   CRITICAL GLOBAL RESET & OVERFLOW FIXES
========================================================= */

/* Ensure padding and borders don't add to element width */
.mainland-packages-section,
.mainland-packages-section *,
.growth-section,
.growth-section * {
  box-sizing: border-box !important;
}

/* Force the main layout wrappers to respect mobile screen edges */
.mainland-packages-section,
.growth-section {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

/* Ensure container grids don't overflow parent wrappers */
@media (max-width: 1200px) {

  .packages-container,
  .growth-container {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   MOBILE RESPONSIVE FIXES (Below 767px)
========================================================= */
@media (max-width: 767px) {

  /* 1. Reset any forced horizontal flex behaviors */
  .mainland-packages-section .mainland-packages-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 20px !important;
  }

  /* 2. Force package cards to adapt cleanly to small viewports */
  .mainland-packages-section .mainland-package-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  /* 3. Handle the overflowing data chart container layout safely */
  .chart-area {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  .chart-scroll-wrapper {
    padding-bottom: 15px !important;
  }

  .chart-scrollable-content {
    min-width: 600px !important;
  }
}

/* end of bar section  */