body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  background-color: #fef9f4;
  color: #333;
}
header {
  background: url('Picture/Banner-OP-3.webp') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}
header::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,0.45);
}
header h1 {
  font-size: 3.5rem;
  z-index: 1;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}
header a {
  margin: 20px;
  display: inline-block;
  padding: 12px 25px;
  background-color: #2E7D32;
  color: white;
  border-radius: 30px;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  z-index: 1;
}
section a {
  margin: 35px auto 5px;
  display: table;
  padding: 12px 25px;
  background-color: #e67e22;
  color: white;
  border-radius: 30px;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  z-index: 1;
}
.section {
  padding: 40px 0px;
  max-width: 1100px;
  margin: auto;
  animation: fadeIn 1.5s ease;
}
.card{
  background-color: #fdf2e9;
  border-radius: 20px;
}
.section.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.section img {
  width: 45%;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.section .text {
  width: 50%;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
h2 {
  color: #d35400;
  margin: 10px 0px;
  font-size: 2.5rem;
}

h2 .form{
  margin-top: 0px;
}

p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
}
.form-section {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  margin-top: 40px;
  text-align: center;
}
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0px 40px;
}
input, select, button {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1.1rem;
}
button {
  background-color: #E53935;
  color: white;
  font-weight: bold;
  transition: background 0.3s;
  border: none;
}
button:hover {
  background-color: #E53935;
}
.popup {
  display: none;
  padding: 15px;
  margin-top: 20px;
  border-radius: 8px;
}
.popup.success { background-color: #d4edda; color: #155724; }
.popup.error { background-color: #f8d7da; color: #721c24; }
footer {
  background-color: #333;
  color: #fefefe;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
  font-size: 0.9rem;
}
.icon-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.icon-title i {
  color: #d35400;
  font-size: 2rem;
}
.social-icons {
  margin-top: 15px;
}
.social-icons a {
  color: #fefefe;
  margin: 0 10px;
  font-size: 1.4rem;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #d35400;
}

.offer-box {
  background: linear-gradient(225deg, #fff4ec, #db9861);
  border: 2px solid #e67e22;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  font-family: 'Cairo', sans-serif;
  color: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 1100px;
  margin: 40px auto;
  animation: popIn 0.8s ease-out;
}

.offer-box h2 {
  font-size: 2.6rem;
  color: #d35400;
  margin-bottom: 10px;
  margin-top: auto;
}

.offer-box p {
  font-size: 2.1rem;
  margin: 0;
}

.offer-box .price {
  font-weight: bold;
  font-size: 2.7rem;
  color: #c0392b;
  margin: 10px 0;
}

header .mobile-header-img {
  display: none;
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

@keyframes popIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.intro-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease-out forwards;
  white-space: pre-line;
  line-height: 1.8;
  font-family: 'Cairo', sans-serif;
  font-size: 1.1rem;
  color: #333;
  text-align: center;
  margin-top: -15px;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mode-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
  white-space: pre-line;
  line-height: 1.8;
  font-family: 'Cairo', sans-serif;
  font-size: 1.1rem;
  color: #333;
  margin-top: -10px;
  text-align: center;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.setup-text {
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 1.2s ease-out forwards;
animation-delay: 0.6s;
white-space: pre-line;
line-height: 1.8;
font-family: 'Cairo', sans-serif;
font-size: 1.1rem;
color: #333;
text-align: center;
margin-top: -15px;
}

@keyframes fadeInUp {
to {
  opacity: 1;
  transform: translateY(0);
}
}

@media (max-width: 768px) {

.section {
  padding: 40px 20px;
}

.section.flex {
  flex-direction: column;
  text-align: center;
}

.section img, .section .text {
  width: 100%;
}

.card{
  margin: 0px 20px;
}

header h1 {
  font-size: 2rem;
  padding: 0 5px;
  margin-top: 0;
}

h2 {
  font-size: 1.5rem;
}

p, .intro-text, .mode-text, .setup-text {
  font-size: 1rem;
  padding: 0 10px;
  text-align: center;
}

.form-section{
  margin: 40px 20px 0px 20px;
  padding: 20px 20px 0px 20px;
}

form{
  padding: 25px 0px;
}

form p{
  margin: 0;
}

.offer-box {
  padding: 20px 15px;
}

.offer-box h2 {
  font-size: 1.7rem;
}

.offer-box p {
  font-size: 1rem;
}

.offer-box .price {
  font-size: 1.5rem;
}

input, select, button {
  font-size: 1rem;
}

.mode-text{
  margin-right: 0px;
}

header {
  background: url('Picture/Banner-OP-Mob-4.webp') no-repeat top left/cover;
  height: auto;
  padding-top: 190px;
  padding-bottom: 60px;
}

header::after {
  background: rgba(0, 0, 0, 0.45);
}

header .mobile-header-img {
  display: block;
}

footer{
  padding: 20px 20px 110px 20px;
}

header h1,
header a {
  position: relative;
  z-index: 2;
}
}

    /*--------------------------------------------Partie CSS testimonial--------------------------------------------*/
.testimonial-slider {
/*width: 100%;
max-width: 600px;*/
margin: auto;
background: #ffffff;
padding: 2rem;
border-radius: 1rem;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
text-align: center;
}

.testimonial {
display: none;
}

.testimonial.active {
display: block;
}

.testimonial p {
font-size: 1.1rem;
color: #333;
margin-bottom: 1rem;
line-height: normal;
}

.testimonial h4 {
font-size: 1rem;
color: #555;
font-weight: bold;
}

.controls {
margin-top: 1.5rem;
}

.controls button {
background-color: #3498db;
border: none;
color: white;
padding: 0.6rem 1.2rem;
margin: 0 0.4rem;
font-size: 1.2rem;
border-radius: 0.5rem;
cursor: pointer;
transition: background-color 0.3s;
}

.controls button:hover {
background-color: #2980b9;
}

/* Responsive */
@media (max-width: 768px) {
.testimonial-slider {
  padding: 1.5rem 1rem;
}

.testimonial p {
  font-size: 1.1rem;
}

.testimonial h4 {
  font-size: 0.95rem;
}

.controls button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
}
}
/*-----------------------------------------------عرض خاص--------------------------------------------------------------------------------*/
.offer-box {
max-width: 1030px;
margin: auto;
background-color: #fff4e6;
border: 2px dashed #ffa500;
padding: 2rem;
border-radius: 1.5rem;
text-align: center;
box-shadow: -10px 10px 10px 0px rgba(0, 0, 0, 0.4);
position: relative;
}

.offer-box h2 {
font-size: 2rem;
margin-bottom: 1rem;
color: #e67e22;
}

.prices {
margin-bottom: 1.5rem;
}

.old-price {
text-decoration: line-through;
color: #999;
margin-left: 1rem;
font-size: 2rem;
}

.new-price {
color: #d35400;
font-weight: bold;
font-size: 4rem;
}
.offer-price{
font-size: 1.2rem;
}

.countdown {
display: flex;
justify-content: center;
gap: 1rem;
margin-top: 1rem;
flex-wrap: wrap;
}

.countdown div {
background: #fff;
padding: 1rem;
border-radius: 1rem;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
min-width: 70px;
}

.countdown span {
display: block;
font-size: 1.4rem;
font-weight: bold;
color: #e67e22;
}

.countdown label {
font-size: 0.8rem;
color: #555;
}

@media (max-width: 768px) {
.offer-box h2 {
  font-size: 1.6rem;
}
.new-price {
  font-size: 3.7rem;
}
.old-price {
  font-size: 1.5rem;
}
}
/*-----------------------------------------------------------------------fin عرض خاص------------------------------------------------*/

.faq-title {
font-size: 1.875rem;
font-weight: 700;
text-align: center;
color: #3F1D1D;
margin-bottom: 2.5rem;
}
.faq-container {
max-width: 64rem;
margin: 0 auto;
display: grid;
gap: 1.5rem;
}
.faq-category {
border: 1px solid #E8D5C4;
border-radius: 1rem;
background-color: #fff;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
padding: 1rem;
}
.faq-category-title {
cursor: pointer;
font-size: 1.25rem;
font-weight: 600;
color: #3F1D1D;
display: flex;
justify-content: space-between;
align-items: center;
}
.faq-items {
margin-top: 1rem;
display: grid;
gap: 1rem;
}
.faq-item {
border: 1px solid #F3E8DF;
border-radius: 0.75rem;
background-color: #FFF9F5;
padding: 0.75rem;
}
.faq-question {
cursor: pointer;
font-size: 1.125rem;
font-weight: 500;
color: #3F1D1D;
display: flex;
justify-content: space-between;
align-items: center;
}
.faq-answer {
margin-top: 0.5rem;
color: #5E4033;
line-height: 1.6;
}
.arrow {
transition: transform 0.3s;
}
details[open] > summary .arrow {
transform: rotate(180deg);
}
summary::-webkit-details-marker {
display: none;
}
/**---------------------------------------------------------style whatsap----------------------------------------------------------- */
.floating-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 1000;
  opacity: 0;
  transition: all 0.6s ease;
}
.floating-container.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#whatsapp-button {
  background-color: #81ff9e;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#whatsapp-button:hover {
transform: scale(1.1);
}

#whatsapp-button img {
width: 35px;
height: 35px;
display: block;
}

@media (max-width: 768px) {
#whatsapp-button {
  width: 65px;
  height: 65px;
}

#whatsapp-button img {
  width: 35px;
  height: 35px;
}
}

/**---------------------------------------------------------style Button CTA----------------------------------------------------------- */
#CTA-button {
  background-color: #2E7D32;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 18px 100px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
}

#CTA-button:hover {
  background-color: #2E7D32;
  transform: scale(1.05);
}

/* Strong shaking effect */
@keyframes shake-strong {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(6px); }
  45% { transform: translateX(-8px); }
  60% { transform: translateX(8px); }
  75% { transform: translateX(-6px); }
  90% { transform: translateX(6px); }
}

.shake {
  animation: shake-strong 0.6s ease;
}

@media (max-width: 768px) {
#CTA-button {
  padding: 18px 50px;
  font-size: 18px;
  margin: auto;
}
}

/**---------------------------------------------------------style scroll----------------------------------------------------------- */
#scrollTopBtn {
display: none; /* Caché par défaut */
position: fixed;
bottom: 85px;
right: 25px;
z-index: 9999;
font-size: 30px;
background-color: #d35400;
color: #fef9f4;
border: none;
outline: none;
border-radius: 50%;
padding: 13px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
cursor: pointer;
transition: opacity 0.3s, transform 0.3s;
width: 50px;
height: 50px;
}

#scrollTopBtn:hover {
background-color: #d35400;
transform: scale(1.1);
}

@media (max-width: 768px) {
  #scrollTopBtn {
    bottom: 75px;
    right: 18px;
  }
}

.trust-boxes {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: auto;
  flex-wrap: wrap;
  max-width: 1100px;
  text-align: center;
  font-family: 'Cairo', sans-serif;
}

.trust-box {
  flex: 1 1;
  background: #fff3e6;
  border: 1px solid #ffd0a1;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  width: 215px;
}

.trust-box:hover {
  transform: translateY(-5px);
}

.trust-box i {
  font-size: 3rem;
  color: #e67e22;
  margin-bottom: 20px;
}

.trust-box p {
  font-size: 1rem;
  color: #333;
  margin: 0;
  font-weight: bold;
}

@media (max-width: 768px) {
  .trust-boxes {
    flex-direction: row;
    gap: 31px;
  }
  .video-container iframe {
    width: 300px;
    height: 500px;
    border: none;
    border-radius: 10px;
  }
}

.radiobox {
  font-size: 20px;
}

.packs {
  font-size: x-large;
  font-weight: bold;
}

.video-container {
  display: flex;
  justify-content: center; /* توسيط أفقي */
  align-items: center;     /* توسيط عمودي */
  margin: 30px auto;
}
.video-container iframe {
  width: 300px;  /* عرض الفيديو */
  height: 500px; /* ارتفاع الفيديو */
  border: none;
  border-radius: 10px;
}

/************* Carousel ******************/
.carousel-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  animation: scroll 25s linear infinite;
  align-items: center;
  justify-content: flex-end;
  gap: 60px;
}

.carousel-item {
  flex: 0 0 auto;
  width: 220px;
  margin: 0 12px;
}

.carousel-item img {
  width: 130%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-item { width: 200px; margin: 0 8px; }
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); } /* move half track since duplicated */
}