/* ------------------------ */
/* Utilities / Base Styles */
/* ------------------------ */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0 auto;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.section-text h1 {
  font-weight: 650 !important;
  font-size: 4rem !important;
  color: #09090a !important;
  margin-bottom: 1rem !important;
}

h2 {
  font-weight: 650;
  font-size: 3rem;
  color: #09090a;
  margin-bottom: 1rem;
}

h3 {
  font-weight: 600;
  font-size: 1.7rem;
  color: #09090a;
  margin-bottom: 1rem;
}

h4 {
  font-weight: 550;
  font-size: 1.2rem;
  color: #db3c0b;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

h5 {
  font-weight: 400;
  font-size: 1.2rem;
  color: rgb(80, 80, 94);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

p {
  font-weight: 600;
  font-size: 1.1rem;
  color: #555555;
}

.download-page {
  min-height: 80vh;
  padding: 2rem 0;
  height: auto;
}

.text-side h1 {
  color: #e63946;
  margin-bottom: 1rem;
}

.text-side p {
  color: #515153;
  margin-bottom: 1.5rem;
}


/*  the-Buttons */

.btn-primary-custom {
  background-color: #ffffff;
  color: #1b1718;
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
  border: 2px solid #faf5f6;;
}

.btn-primary-custom:hover {
  background-color: #e63946;
  color: #ffffff;
}

.btn-secondary-custom {
  background-color: #e64708;
  color: #ffffff;
  border: 2px solid #e63946;
  padding: 0.9rem 1.8rem;
  border-radius: 20px;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary-custom:hover {
  background-color: #f83015;
  color: #ffffff;
}

/* ------------------------ */
/* Navbar */
/* ------------------------ */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  z-index: 999;
}

.navbar {
  position: relative;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3000;
}

.navbar-brand {
  font-weight: 700;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #09090a;
  transition: 0.3s;
}

.navbar-brand img {
  margin-right: 0.5rem;
  transition: transform 0.3s;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.nav-item {
  margin-left: 1rem;
}

.nav-link {
  font-weight: 500;
  color: #09090a;
  text-decoration: none;
  transition: 0.3s;
  font-size: 1.1rem;
}

.nav-link:hover {
  color: #e63946;
}

.btn-cta-container {
  display: flex;
  gap: 1rem;
  margin-left: 1rem;
}

.mega-menu {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  padding: 1.5rem;
  z-index: 9999;
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  width: 680px;
  max-width: 90vw;
}

.nav-item.dropdown:hover > .mega-menu {
  opacity: 1;
  visibility: visible;
  display: block;
}

.dropdown-item {
  color: #09090a;
  padding: 0.4rem 0;
  display: block;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.dropdown-item:hover {
  color: #e63946;
  background-color: transparent !important;
}

.dropdown-item.highlight-link {
  color: #000 !important;
  font-weight: 700;
  text-decoration: none !important;
}

.highlight-link-last {
  color: rgb(212, 67, 9) !important;
  font-weight: 500;
  text-decoration: underline !important;
}

.mega-menu .row .col-md-4:nth-child(2) {
  padding-top: 5rem;
}

@media (max-width: 900px) {
  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    display: flex;
    flex-direction: row; 
    justify-content: space-between;
    gap: 0.5rem;
    opacity: 1;
    visibility: hidden; 
    padding: 1rem;
    border-radius: 0;
    box-shadow: none;
    flex-wrap: nowrap; 
  }

  .mega-menu .row {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    width: 100%;
    flex-wrap: nowrap; /* يمنع الأعمدة من النزول */
  }

  .mega-menu .col-md-4 {
    flex: 1 1 0; 
    padding-top: 0 !important;
  }

  .nav-item.dropdown:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
  }
}

.navbar-nav .nav-link {
  font-size: 1.1rem; 
}

.mega-menu {
  min-width: 300px;
}

.cart-link {
  right: 80px;          
  top: 50%;          
  z-index: 3000;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 50%;
  max-width: 400px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  z-index: 5000;
  padding: 1rem;
}

.cart-sidebar.active {
  right: 0;
}

.cart-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 10rem;
  align-items: center;
}

.cart-content button{
  width:60%
}
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  z-index: 3100; 
  position: relative;
}

.cart-link {
  font-weight: 600;
  cursor: pointer;
}

.cart-title {
  font-weight: 700;
  font-size: 1.2rem;
}

.cart-close {
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: bold;
}

@media (max-width: 992px) {
  .cart-link {
    position: absolute; 
    top: 1.9rem;        
    font-size: 1.4rem;
    transform: none;    
  }
}



.stacked-images {
  position: relative;
  width: 400px;
  height: 750px;
  margin: 2rem auto 20px auto;
}

.stacked-images .stacked {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.stacked-images .stacked:nth-child(1) {
  top: 0;
  z-index: 1;
  width: 100%;
  height: 800px;
}

.stacked-images .stacked:nth-child(2) {
  top: 30px;
  z-index: 2;
  transform: skewX(-2deg) rotate(10deg);
  width: 80%;
}

.stacked-images .stacked:nth-child(3) {
  top: 50px;
  z-index: 3;
  right: 25px;
  width: 80%;
  border-radius: 40px;
}

.download-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 20px;
}
@media (max-width: 992px) {
  .stacked-images img {
    max-width: 300px;
  }
  .stacked-images img:nth-child(2) {
    top: 15px;
  }
  .stacked-images img:nth-child(3) {
    top: 30px;
  }
}

@media (max-width: 576px) {
  .stacked-images img {
    max-width: 250px;
  }
  .stacked-images img:nth-child(2) {
    top: 10px;
  }
  .stacked-images img:nth-child(3) {
    top: 20px;
  }
}

/* Footer */
.pre-footer {
  background-color: #f8f9fa;
  padding: 4rem 40px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 2px solid #ddd;
  gap: 1rem;
}

.pre-footer .navbar-brand {
  display: flex;
  text-decoration: none;
  color: #09090a;
  transition: 0.3s;
  margin-bottom: 20px;
  width: 400px;
}

.pre-footer .download-buttons {
  display: flex;
  gap: 1rem;
}

.btn-secondary-custom {
  background-color: #f14c0a;
  color: #ffffff;
  border: 2px solid #e63946;
  border-radius: 20px;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.2rem;
}

.btn-secondary-custom:hover {
  background-color: #f83015;
  color: #ffffff;
}

@media (max-width: 768px) {
  .pre-footer {
    display: flex;
    flex-direction: column;
    padding: 3rem 1rem;
  }
   .pre-footer .footer-content{
    text-align: left;
    width: 100%;  
   }

  .pre-footer .download-buttons {
    flex-direction: column;
    width: 100% ;
    align-items: center;
  }

  .pre-footer .download-buttons .btn-secondary-custom {
    width: 100%;  max-width: 100%;
  }
}


/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .download-page .text-side {
    text-align: center;
    margin-bottom: 2rem;
  }

  .download-buttons {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    align-items: center;
  }

  .download-buttons .btn-secondary-custom {
    width: 90%;
    max-width: 300px;
  }

  .stacked-images {
    width: 100%;
    height: 500px;
    position: relative;
    margin: 0 auto 150px auto;
  }

  .stacked-images .stacked:nth-child(1) {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: auto;
  }

  .stacked-images .stacked:nth-child(2) {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) skewX(-1deg) rotate(5deg);
    width: 85%;
    height: auto;
  }

  .stacked-images .stacked:nth-child(3) {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    width: 85%;
    height: auto;
    border-radius: 40px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1.5rem;
    clear: both;
    margin-top: 0;
    position: relative;
    z-index: 10;
  }

  footer .footer-content {
    margin-bottom: 1rem;
  }

  footer .download-buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 1rem;
  }

  footer .download-buttons .btn-secondary-custom {
    width: 90%;
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .footer-links .row {
    display: flex;
    text-align: left;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
  }

  .footer-links .col-md-4 {
    flex: 0 0 auto;
    width: 200px;
  }

  .footer-links a.dropdown-item {
    font-size: 1.1rem;
  }

  .footer-links .highlight-link,
  .footer-links .highlight-link-last {
    margin-bottom: 0.5rem;
  }
    .footer-links .col-md-4:nth-child(2) {
    margin-top: 3rem; 
  }

}


/* Section Block */
.section-block {
  padding: 4rem 2rem;
}

.section-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.section-text .tagline {
  color: #f35b2a;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-text .desc {
  color: #666;
  font-size: 1rem;
}

.section-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
}

.main-img {
  max-width: 100%;
  border-radius: 12px;
}

.card {
  position: absolute;
  right: 320px;
  bottom: -250px;
  width: 220px;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-right {
  right: 15%;
  width: 200px;
}

@media (max-width: 768px) {
  .section-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .section-image {
    flex-direction: column;
  }

  .main-img {
    width: 80%;
    margin-bottom: 2rem;
  }

  .card-left {
    position: relative;
    right: 150px;
    bottom: 220px;
    margin: 0 auto;
    width: 120px;
    margin-top: -50px;
  }

  .card-right {
    right: -60%;
    bottom: 250px;
    width: 180px;
  }
}

.section-block .col-md-6.d-flex {
  flex-direction: column;
  gap: 1rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0;
}

@media (max-width: 768px) {
  .section-block .row {
    flex-direction: column;
  }

  .section-block .col-md-6.d-flex {
    max-height: none;
    overflow-y: visible;
    margin-top: 1rem;
  }
}

/* Timeline Section */
.timeline-section {
  background-color: #f8f9fa;
  padding: 4rem 0;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 10px;
  scroll-behavior: smooth;
}

.timeline-section .tagline {
  color: #f35b2a;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.timeline-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.timeline-section .desc {
  color: #555;
  font-size: 1rem;
}

/* Cards */
.timeline-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-card h4 {
  color: #e63946;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.timeline-card h5 {
  color: #333;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

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

@media (max-width: 768px) {
  .timeline-section .row {
    flex-direction: column;
  }

  .timeline-card {
    width: 100%;
  }
}

/* Features Section Styles */
.features-section {
  background-color: #ffffff;
  padding: 4rem 0;
}

.features-section .row {
  justify-content: center;
}

.feature-card {
  padding: 1.5rem;
  height: 100%;
  text-align: center;
}

.feature-card img {
  width: 100%;
  height: 160px;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.5;
}

/* Four Cards Section */
.four-cards-section {
  background-color: #f5f5f5;
  padding: 0 auto;
}

.four-card-force {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.four-card-force:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.four-card-force img {
  width: 180px;
  height: 100px;
  margin-bottom: 1.5rem;
  margin-left: 20px;
   object-fit: contain;
}

.four-card-force h3 {
  text-align: left;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  width: 100%;
}

.center-text {
  text-align: left;
  font-size: 1rem;
  color: #555;
  margin: 1rem 0;
  flex-grow: 1;
}

.read-more {
  text-align: right;
  font-weight: 650;
  color: #e44d07;
  margin-top: 1rem;
  width: 100%;
}

.read-more .arrow {
  margin-right: 370px;
  font-size: 1.6rem;
}

.read-more .date {
  margin-left: 15px;
  font-weight: 500;
  color: #888;
  font-size: 1.3rem;
  display: inline-block;
}

@media (max-width: 768px) {
  .four-card-force {
    min-height: 350px;
  }

  .four-card-force img {
    width: 180px;
    height: 100px;
  }
}

.journey-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
  text-align: left;
  margin-bottom: 2rem;
  height: 350px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem !important;
}

.journey-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.journey-card h5 {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1rem;
}

.journey-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.journey-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important;
}

.section-text {
  margin-top: 50%;
  transform: translateY(-50%);
}

.last-footer hr {
  margin-bottom: 1rem;
  border-color: #ccc;
}

.last-footer .brix-link {
  color: #e63946;
  text-decoration: none;
}

.last-footer .webflow-link {
  color: #e63946;
  text-decoration: none;
}
