
    html, body {
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
}

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Cairo', sans-serif;
    }
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

    body {
      background-color: #ffff;
        font-family: 'Cairo', sans-serif;
    }


/* Default Arabic font */






/* Main container */
.spasm-header {
  text-align: center;
  padding: 60px 20px;
  font-family: "Tahoma", sans-serif;
  direction: rtl;
  margin-top: 50px;
}
.spasm-stat-item {
  flex: 1 1 200px;  /* makes items flexible but with min width */
  text-align: center;
  position: relative;
  padding: 0 20px;
}

/* vertical line */
.spasm-stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 2px;
  height: 60%; /* adjust line height */
  background-color: #fff;
  opacity: 0.7; /* softer look */
}
.white-vertical-line {
  display: inline-block;
  width: 2px;            /* thickness */
  height: 97px;          /* adjust as needed */
  background-color: #fff;
  opacity: 0.8;          /* optional transparency */
  margin: 0 15px;        /* spacing around it */
}

/* Title */
.spasm-title {
  font-size: 46px;
  font-weight: bold;
  color: #0a3a67;
  margin-bottom: 20px;
}

/* Subtitle */
.spasm-subtitle {
  font-size: 28px !important;
  color: #555;
  margin-bottom: 30px;
      margin: 40px auto;   /* centers the whole block */
  line-height: 1.7;
  max-width: 948px;
}

/* Button */
.spasm-btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background-color: #104473;
  text-decoration: none;
  transition: 0.3s ease;
}

.spasm-btn:hover {
  background-color: #082d4f;
}

/* Stats Section */
.spasm-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #2F7F4F;
  color: #fff;
    margin: 40px auto;   /* centers the whole block */
 max-width: 1200px;
  margin-top: 40px;
  padding: 25px 15px;
  gap: 20px;
}

.spasm-stat {
  flex: 1 1 200px;
  min-width: 180px;
}

.spasm-stat h4 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
}

.spasm-stat p {
  font-size: 20px;
  margin: 0;
  line-height: 1.4;
}

.label-style {
  margin-top: 40px;
  display: inline-block;
  background: #2F7F4F;
  color: white;
  padding: 4px 10px 4px 10px; /* top right bottom left */
  font-weight: bold;
  font-size: 1.3rem;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
}


.label-style1 {
  margin-top: 40px;
  display: inline-block;
  background: #2F7F4F;
  color: white;
  padding: 4px 10px 4px 10px; /* top right bottom left */
  font-weight: bold;
  font-size: 1.3rem;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .spasm-stats {
    flex-direction: column;   /* stack items vertically */
    align-items: center;      /* center them */
    gap: 25px;                /* space between cubes */
    background-color: white;
  }

  .spasm-stat {
    background-color: #2F7F4F;  /* keep green background */
     /* rounded corners for cube look */
    padding: 20px;
    text-align: center;
    color: #fff;                /* ensure text stays white */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    flex: unset;                /* cancel flex growth */
    width: 90%;                 /* take most of phone screen */
    max-width: 350px;           /* don’t stretch too much */
  }

  /* remove the white vertical lines on mobile */
  .white-vertical-line {
    display: none;
  }
}



@media (max-width: 992px) {
  .spasm-title {
    font-size: 36px;
  }
  .spasm-subtitle {
    font-size: 22px;
    max-width: 90%;
  }
  .spasm-stat h4 {
    font-size: 24px;
  }
  .spasm-stat p {
    font-size: 18px;
  }

  /* hide vertical line on smaller screens for clarity */
  .spasm-stat-item:not(:last-child)::after {
    display: none;
  }
}

/* Mobile large (up to 768px) */
@media (max-width: 768px) {
  .spasm-header {
    padding: 40px 15px;
  }
  .spasm-title {
    font-size: 30px;
  }
  .spasm-subtitle {
    font-size: 20px;
    line-height: 1.6;
  }
  .spasm-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .spasm-stats {
    flex-direction: column;
    text-align: center;
    padding: 20px 10px;
  }
  .spasm-stat {
    min-width: 100%;
    margin-bottom: 20px;
  }
  .white-vertical-line {
    display: none; /* hide vertical line on small screens */
  }
    .spasm-stats {
    flex-direction: column;
    align-items: center;   /* center items */
    gap: 2px !important;             /* reduce spacing between items */
    padding: 15px 10px;
    max-height: fit-content;
  }

  .spasm-stat {
    min-width: auto;       /* remove the forced 100% width */
    width: 100%;           /* let them stretch nicely */
    margin-bottom: 0;      /* remove extra space */
  }

  .spasm-stat-item {
    padding: 2px 0;       /* smaller padding */
  }

  .spasm-stat-item:not(:last-child)::after {
    display: none;         /* remove the vertical line on mobile */
  }
}

/* Mobile small (up to 480px) */
@media (max-width: 480px) {

  .spasm-subtitle {
    font-size: 18px;
  }
  .spasm-stat h4 {
    font-size: 22px;
  }
  .spasm-stat p {
    font-size: 16px;
  }
  .label-style, .label-style1 {
    font-size: 1rem;
    padding: 3px 8px;
  }
}
/* new section */



.spasm-section {
  padding: 80px 20px;
  background-color: #F8F9FA !important;
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  text-align: center;
}

.spasm-container {
  max-width: 1200px;
  margin: 0 auto;
}

.spasm-title {
  font-size: 46px !important;

  color: #104473;
  margin-bottom: 10px;
}

.spasm-subtitle {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 50px;
}

/* Desktop styles (default): horizontal scroll */
.spasm-card-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 10px;
}

/* Mobile styles: stacked cards */
@media (max-width: 768px) {
  .spasm-card-grid {
    flex-wrap: wrap;             /* ✅ Allow wrapping */
    overflow-x: visible;         /* ✅ Remove horizontal scroll */
    flex-direction: column;      /* ✅ Stack vertically */
    align-items: center;
  }

  .spasm-card {
    max-width: 90%;
    width: 100%;
  }
}


.spasm-card {
  position: relative;
  background-color: white;
  box-shadow: 0 9px 6px -4px rgba(0, 0, 0, 0.25);
  padding: 30px 20px 20px;
  width: 100%;
  max-width: 400px;
  height: 359px;
  text-align: right;
  overflow: hidden;
}

.spasm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background-color: #2f7f4f;
}

.spasm-card-icon {
  font-size: 40px;
  color: #2f7f4f;
  height: 70px;
  width: auto;
  margin-bottom: 15px;
}

.spasm-card-title {
  font-size: 20px;
  color: #0a2d55;
  font-weight: bold;
  margin-bottom: 15px;
}

.spasm-card-list {
  list-style: none;
  padding: 0;
  color: #444444;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Tablet screens (≤768px) */
@media (max-width: 768px) {
  .spasm-title {
    font-size: 2rem;
  }

  .spasm-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .spasm-card {
    max-width: 90%;
    padding: 1.5rem 1rem;
  }

  .spasm-card-title {
    font-size: 1.1rem;
  }

  .spasm-card-list {
    font-size: 0.95rem;
  }

  .spasm-card-icon {
    font-size: 2rem;
  }
}

/* Mobile screens (≤480px) */
@media (max-width: 480px) {
  .spasm-title {
    font-size: 1.6rem;
  }
.spasm-title{
  font-size: 28px;
}
  .spasm-subtitle {
    font-size: 0.95rem;
  }

  .spasm-card-title {
    font-size: 1rem;
  }

  .spasm-card-list {
    font-size: 0.9rem;
  }

  .spasm-card-icon {
    font-size: 1.8rem;
  }
  .spasm-card {
  position: relative;
  background-color: white;
  box-shadow: 0 9px 6px -4px rgba(0, 0, 0, 0.25);
  padding: 30px 20px 20px;
  width: 100%;
  max-width: 400px;
  height: fit-content;
  text-align: right;
  overflow: hidden;
}
  .spasm-title {
    font-size: 30px !important;
  }
  .spasm-subtitle {
    font-size: 20px !important;
    margin-bottom: 30px !important;
  }
}






/* new section */



.spasm-diagnosis-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Main section styling */
.spasm-diagnosis {
  font-family: 'Cairo', sans-serif;
  text-align: center;

  direction: rtl;
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header styles */
.spasm-diagnosis h2 {
  font-size: 46px;
   color: #104473;
  margin-bottom: 10px;
}

.spasm-diagnosis h2 span {
   color: #104473;
}

/* Subheader paragraph */
.spasm-diagnosis p {
  font-size: 28px;
  color: #5c5c5c;
  margin-bottom: 40px;
  max-width: 766px;
  text-align: center;   /* centers the text itself */
  margin-left: auto;    /* centers the block */
  margin-right: auto;
}


/* Feature container */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 150px;
  text-align: center;
}

/* Individual feature box */
.feature-box {
  width: 280px;
  text-align: center;
  margin: 0 auto;
}

/* Icon styling */
.feature-box img {
  width: 115.55px;
  height: 89.55px;
  margin-bottom: 15px;
}
.text1 {
  color: #444444 !important;
  font-size: 20px !important;
  margin-top: 15px !important;
}

/* Tablets */
@media (max-width: 992px) {
  .text1 {
    font-size: 18px !important;
    margin-top: 12px !important;
  }
}

/* Phones */
@media (max-width: 576px) {
.text1 {
  font-size: 16px !important;
  margin: 10px auto 0 auto !important; /* top 10px, centered horizontally */
  max-width: 320px !important;
  text-align: center; /* centers text inside */
}

}

/* Feature text */
.feature-box p {
  font-size: 24px;
  color: #104473;
  line-height: 1.6;
  margin: 0;
  font-weight: bold;
}
.feature-box1 {
  width: 230px;
  text-align: center;
  margin: 0 auto;
}

/* Medium devices (tablets, 768px and below) */
@media (max-width: 768px) {
  .spasm-diagnosis h2 {
    font-size: 36px;
  }

  .spasm-diagnosis p {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .features {
    gap: 20px;
  }

  .feature-box,
  .feature-box1 {
    width: 160px;
  }

  .feature-box img {
  width: 115.55px;
  height: 89.55px;
  }

  .feature-box p {
    font-size: 18px;
  }
}

/* Small devices (phones, 480px and below) */
@media (max-width: 480px) {
  .spasm-diagnosis h2 {
    font-size: 28px;
  }

  .spasm-diagnosis p {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .feature-box,
  .feature-box1 {
    width: 100%;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }


  .feature-box p {
    font-size: 16px;
  }
}













.cfix-why-section {
  background-color: #F8F9FA !important;
  padding: 60px 20px;
  direction: rtl;
  font-family: 'Cairo', sans-serif;
}

.cfix-container {
  max-width: 1200px;
  margin: auto;
}
.cfix-header {
  text-align: center;
}
.cfix-header h2 {
  font-size: 46px;
    color: #104473;
    margin-bottom: 50px;
}


.cfix-header p {
  font-size: 22px;
  color: #5E5E5E;
  line-height: 1.9;
  margin-bottom: 40px;
}
.cfix-header p span {
  display: inline-block; /* يخليها تبدأ السطر */
  font-weight: bold;
  color: #2F7F4F;
  margin-top: 10px; /* مسافة صغيرة فوقها */
}

.cfix-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between; /* Optional, for better spacing */
}

.cfix-left {
  flex: 1;
  min-width: 300px;
}

.cfix-subtitle {
  color: #104473;
  font-size: 22px;
  margin-bottom: 20px;
}

.cfix-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cfix-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 24px;
  color: #444444;
  line-height: 1.6;
}

.cfix-list img {
  width: 41px;
  height: 29px;
  flex-shrink: 0;
  margin-top: 4px;
}

.cfix-right {
  flex: 1;
  min-width: 300px;
  padding: 5px;
  box-sizing: border-box;
width: 525px;
    height: 430px;
    position: relative; /* For absolute positioning of the image */
}

.cfix-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* For tablets and smaller screens */
@media (max-width: 992px) {
  .cfix-header h2 {
    font-size: 36px;
  }

  .cfix-header p {
    font-size: 18px;
  }

  .cfix-subtitle {
    font-size: 20px;
  }

  .cfix-list li {
    font-size: 20px;
  }

  .cfix-list img {
    width: 38px;
    height: auto;
  }

  .cfix-right {
    width: 100%;
    height: auto;
  }

  .cfix-right img {
    height: auto;
  }
}

/* For mobile phones */
@media (max-width: 576px) {
  .cfix-header h2 {
    font-size: 28px;
  }

  .cfix-header p {
    font-size: 16px;
  }

  .cfix-subtitle {
    font-size: 18px;
  }

  .cfix-list li {
    font-size: 18px;
    gap: 10px;
  }

  .cfix-list img {
    width: 30px;
    height: auto;
  }

  .cfix-right {
    width: 100%;
    height: auto;
  }

  .cfix-right img {
    height: auto;
  }
}












/*  */



/* there's a responsiveness problem here */

.client-testimonial-section {
  background: #fff;
  padding: 50px 20px;
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  text-align: right !important;
}

.client-testimonial-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 100%;
  margin: 0 auto;
}

.client-card {
  border: 5px solid #2f7f4f !important;
  padding: 30px;
  max-width: 500px;
  height: 299px;   /* added px, it was missing */
  width: 500px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  position: relative;
  flex: 1;
padding-top: 60px !important;
  margin-top: 200px !important; /* ✅ moves it down */
  font-family: Arial, Helvetica, sans-serif !important;

  
}

.client-quote-icon {
  font-size: 30px;
  color: #2f7f4f;
  position: absolute;
  top: 20px;
  right: 20px;
}

.client-text {
  font-size: 24px !important;
  color: #333;
  margin-bottom: 20px;
  margin-right: 10px;
}

.client-name {
  font-weight: bold;
  font-size: 24px !important;
  color: #104473;
  margin: 0;
}

.client-role {
  color: #666;
  font-size: 16px;
  margin-bottom: 10px;
}

.client-stars span {
  color: orange;
  font-size: 18px;
}

.client-info {
  max-width: 600px;
  flex: 1;
}

.client-label {
  background-color: #2f7f4f;
  color: white;
  padding: 5px 15px;
  font-size: 14px;

  display: inline-block;
  margin-bottom: 10px;
}

.client-title {
  font-size: 42px !important;
  color: #0a2c5f;
  margin: 0 0 15px;
}

.client-description {
  font-size: 24px !important;
  color: #444444;
  margin-bottom: 30px;
  line-height: 1.8;
}

.client-controls {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.client-controls button {
  background: #2f7f4f;
  border: none;
  color: white;
  padding: 10px 14px;
 
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.client-controls button:hover {
  background: #25653d;
}



/* sec 5 */

/* sec6 */
.client-testimonial-section {
  background: #fff;
  padding: 50px 20px;
  direction: rtl;
  font-family: 'Cairo', sans-serif;
}

.client-testimonial-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.client-card {
  border: 2px solid #2f7f4f;
  padding: 30px;
  max-width: 500px;

  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  position: relative;
  flex: 1;
}

.client-quote-icon {
  font-size: 30px;
  color: #2f7f4f;
  position: absolute;
  top: 20px;
  right: 20px;
}

.client-text {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
}

.client-name {
  font-weight: bold;
  font-size: 18px;
  color: #104473;
  margin: 0;
}

.client-role {
  color: #666;
  font-size: 16px;
  margin-bottom: 10px;
}

.client-stars span {
  color: orange;
  font-size: 18px;
}

.client-info {
  max-width: 600px;
  flex: 1;
}

.client-label {
  background-color: #2f7f4f;
  color: white;
  padding: 5px 15px;
  font-size: 14px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 10px;
}

.client-title {
  font-size: 28px;
  color: #0a2c5f;
  margin: 0 0 15px;
}

.client-description {
  font-size: 16px;
  color: #444;
  margin-bottom: 30px;
  line-height: 1.8;
}

.client-controls {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.client-controls button {
  background: #2f7f4f;
  border: none;
  color: white;
  padding: 10px 14px;

  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.client-controls button:hover {
  background: #25653d;
}

/* Tablet screens (≤992px) */
@media (max-width: 992px) {
  .client-testimonial-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .client-card,
  .client-info {
    max-width: 90%;
  }

  .client-title {
    font-size: 24px;
  }

  .client-description {
    font-size: 15px;
  }

  .client-quote-icon {
    font-size: 26px;
  }
}

/* Mobile screens (≤768px) */
@media (max-width: 768px) {
  .client-testimonial-section {
    padding: 40px 15px;
  }

  .client-card {
    padding: 20px;
    margin-top: 0 !important; /* removes the extra top margin on small screens */
  }

  .client-text {
    font-size: 16px !important;
  }

  .client-name {
    font-size: 16px !important;
  }

  .client-role {
    font-size: 14px;
  }

  .client-stars span {
    font-size: 16px;
  }

  .client-title {
    font-size: 22px !important;
  }

  .client-description {
    font-size: 14px !important;
  }

  .client-quote-icon {
    font-size: 24px;

  }

  .client-controls button {
    font-size: 14px;
    padding: 8px 12px;
  }
}

/* Small mobile screens (≤480px) */
@media (max-width: 480px) {
  .client-testimonial-section {
    padding: 30px 10px;
  }

  .client-card {
    padding: 15px;
  }

  .client-text {
    font-size: 14px;
  }

  .client-name {
    font-size: 14px;
  }

  .client-role {
    font-size: 13px;
  }

  .client-stars span {
    font-size: 14px;
  }

  .client-title {
    font-size: 20px;
  }

  .client-description {
    font-size: 13px;
  }

  .client-quote-icon {
    font-size: 20px;
  }

  .client-controls button {
    font-size: 13px;
    padding: 6px 10px;
  }
}










.session-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #F8F9FA !important;
  direction: rtl; 
}

.section-title {
  font-size: 50px;
  font-weight: bold;
  color: #104473;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 28px;  
  color: #5c5c5c;
  margin-bottom: 50px;
}

.session-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 150px;   /* ⬅️ wider spacing between right & left cards */
  row-gap: 30px;      /* ⬅️ keep vertical spacing smaller */
  max-width: 1200px;
  margin: 0 auto;
}

.session-card {
  background: #fff;
  border: 1px solid #eaeaea;
  padding: 20px;
  text-align: right;
  display: flex;             /* ✅ make icon and text side by side */
  align-items: center;       /* ✅ vertically center icon and text */
  gap: 15px;                 /* ✅ spacing between icon and text */
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  min-width: 520px;
}

.session-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.card-icon {
  width: 150px;
  height: 130px;
  flex-shrink: 0;  /* ✅ icon doesn’t shrink */
}

.session-card p {
  font-size: 24px;
  color: #444;
  line-height: 1.6;
  margin: 0;
}

.highlight {
  font-weight: bold;
  color: #2f7f4f;
}


/* ✅ Responsive */
@media (max-width: 768px) {
  .session-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
     font-size: 28px;


}
.section-subtitle {
  font-size: 20px;  
  color: #5c5c5c;
  margin-bottom: 50px;
}

}

/* ✅ Tablet screens (≤ 1024px) */
@media (max-width: 1024px) {
  .session-grid {
    column-gap: 60px;   /* reduce spacing */
    max-width: 1000px;  
  }
  .session-card {
    min-width: 420px;   /* allow cards to shrink */
  }
}

/* ✅ Small tablets & large phones (≤ 768px) */
@media (max-width: 768px) {
  .session-grid {
    grid-template-columns: 1fr;  /* stack vertically */
    max-width: 100%;
    column-gap: 0;
  }
  .session-card {
    min-width: auto;   /* remove fixed min-width */
    width: 100%;       /* card fills container */
  }

}

/* ✅ Small phones (≤ 480px) */
@media (max-width: 480px) {
  .session-card {
    padding: 15px;
    flex-direction: column; /* icon above text */
    text-align: center;
  }

  .card-icon {
    width: 100px;
    height: 90px;
    margin-bottom: 10px;
  }

  .session-card p {
    font-size: 18px;  /* smaller text for tiny screens */
  }
}


.faq-carousel {
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  padding: 60px 20px;
}

.faq-slider-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  overflow: hidden;
}

.faq-header-card {
  flex-shrink: 0;
  width: 355px;
  padding: 30px 20px;
  border-radius: 15px;
}

.faq-header-card h2 {
width: 355px;  
font-size: 50px;
  color: #104473;
  margin-bottom: 15px;
}

.faq-header-card p {
  font-size: 20px;
  color: #444;
  margin-bottom: 20px;
  width: 355px;  
  
}

.main-button {
  background: #003c66;
  color: white;
  padding: 10px 16px;
  border-radius: 1px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

/* Arrows */
.arrow {
  width: 64px;
  height: 64px;
  cursor: pointer;
}

.arrow.prev {
  visibility: hidden; /* will show dynamically */
}

/* Slider with visible 2 cards */
.faq-slider-wrapper {
  overflow: hidden;
  width: calc((344px + 20px) * 2);
 width: 728px;
 
  display: flex;
  gap: 20px;               /* ← space between cards */
  transition: transform 0.5s ease-in-out;
  width: max-content;

}

.faq-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: max-content; /* ✅ Add this */
}

.faq-card {
    margin-top:50px ;
  position: relative;
  background: white;
  /* heavier, lower shadow */
/* small, sharp shadow directly below */
  box-shadow: 0 12px 16px -10px rgba(0, 0, 0, 0.25);
/* offset-x:0, offset-y:2px, blur:4px, spread:0, color: semi-transparent black */
  padding: 30px 20px 20px;
  width: 100%;
  max-width: 344px;
  height: 277.21px;
  text-align: right;
 overflow: visible !important;
  margin-right: 40px;
  
}
.faq-slider-container,
.faq-slider-wrapper {
  overflow: visible !important;
}



.faq-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
width: 100%;
  background-color: #2F7F4F;
  /* if you have rounded corners on the card: */

}

.faq-card h3 {
  font-size: 20px;
  color: #0f3557;
  margin-bottom: 10px;
}

.faq-card p {
  font-size: 20px;
  color: #444;
  margin-bottom: 10px;
  max-width: 290px;
}

.faq-card a {
  color: #003c66;
  font-weight: bold;
  text-decoration: none;
}

/* Dots */
.faq-dots {
  text-align: center;
  margin-top: 25px;
}
#hidden-dot{
  display: none; /* Hide the hidden dot */
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
}

.dot.active {
  background-color: #0f5c7e;
}



/* Responsive for small screens */
@media (max-width: 768px) {
  .faq-carousel{
    margin-right: 0;
  }
  .faq-slider-container {
    flex-direction: column;
    align-items: center;
  }

  .faq-header-card {
    width: 100%;
    max-width: 90%;
  }

  .faq-slider-wrapper {
    width: 90%;
  }

  .faq-card {
    min-width: 100%;
    max-height: fit-content;
  }
}

@media (max-width: 1200px) {
  .faq-header-card h2 {
    font-size: 40px;
  }

  .faq-header-card p,
  .faq-card p {
    font-size: 18px;
  }

  .faq-card h3 {
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  .faq-header-card h2 {
    font-size: 36px;
  }

  .faq-header-card p,
  .faq-card p {
    font-size: 17px;
  }

  .faq-card h3 {
    font-size: 17px;
  }

  .main-button {
    font-size: 15px;
    padding: 8px 14px;
  }
}

@media (max-width: 768px) {
  .faq-header-card h2 {
    font-size: 30px;
  }

  .faq-header-card p,
  .faq-card p {
    font-size: 16px;
  }

  .faq-card h3 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .faq-header-card h2 {
    font-size: 26px;
  }

  .faq-header-card p,
  .faq-card p {
    font-size: 15px;
  }
  #hidden-dot{
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
}

  .faq-card h3 {
    font-size: 15px;
    max-width: auto; /* Allow text to wrap */
  }

  .main-button {
    font-size: 14px;
    padding: 7px 12px;
  }
}

@media (max-width: 420px) {
  .faq-slider-container {
    flex-direction: column; /* Stack vertically */
    align-items: center;     /* Center cards */
    gap: 20px;
  }

  .faq-slider-wrapper {
    width: 100%;             /* Full width on small screens */
    overflow: hidden;
  }

  .faq-card {
    min-width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .faq-header-card {
    width: 100%;
    max-width: 90%;
    box-sizing: border-box;
  }

  .arrow {
    width: 40px;
    height: 40px;
  }

  .faq-card h3 {
    font-size: 18px;
  }

  .faq-card p {
    font-size: 15px;
  }
}


@media (max-width: 400px) {
  .faq-header-card h2,
  .faq-card h3 {
    font-size: 22px;        /* shrink font size */
    line-height: 1.3;
    word-break: break-word; /* break long words */
    max-width: 250px;
  }

  .faq-header-card p,
  .faq-card p {
    font-size: 14px;         /* smaller font */
    line-height: 1.6;
    max-width: 250px;
  }

  .main-button {
    font-size: 13px;
    padding: 8px 12px;
  }
}

.contact-section {
  padding: 60px 20px;
  direction: rtl;
  font-family: 'Cairo', sans-serif;
}

.contact-top-text{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 30px;
  
}
.contact-top-text h1{
  font-size: 2.7rem;
  font-weight: bold;
  color: #104473;
}
.contact-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  color: #496179;
  font-weight: 700px;
  font-size: 16px;
  background: white;
   box-shadow: 0 9px 6px -4px rgba(0, 0, 0, 0.25);
}

.contact-form-box {
  flex: 1 1 50%;
  padding: 40px;
  /* color: #104473; */
  display: flex;
  flex-direction: column;
  background-color: #F4F8FB;

}

.contact-form-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  
}

.contact-form-box input,
.contact-form-box textarea {
  padding: 10px !important;
  border: 1px solid #c3d0db !important; /* set border color */
  border-radius: 1px !important;
  font-family: 'Cairo', sans-serif !important;
  outline: none !important; /* remove default focus outline */
}

.contact-form-box textarea{
  min-height: 150px;
}

.contact-form-box button {
  background-color: #104473;  
  color: white;
  border: 1px solid white;
  padding: 10px;
  cursor: pointer;
  border-radius: 1px;
  transition: background 0.3s;
}

.contact-form-box button:hover {
   background-color: #165FA1;
  color: #e9e9e9;
}



.contact-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-logo {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  margin-right: 30px;
}

.contact-note {
  color: #104473;
 
  padding: 10px;
  font-size: 17px;
  max-width: 350px;
  flex: 1;
  text-align: right;
}


.contact-map-box {
  flex: 1 1 50%;
  min-height: 500px;
}

.contact-map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-form-box,
  .contact-map-box {
    flex: 1 1 100%;
    padding: 20px;
  }

  .contact-top-text h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-form-box {
    order: -1; /* ⬅️ Make the form appear first */
    padding: 20px;
  }

  .contact-map-box {
    order: 0;
    padding: 20px;
  }
}


  #thank-you-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #e7fff0;
    padding: 30px 40px;
    color: #2f7f4f;
    border: 2px solid #2f7f4f;
    border-radius: 10px;
    font-size: 1.4rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  #thank-you-popup.show {
    opacity: 1;
    visibility: visible;
  }

  @media (max-width: 600px) {
  #thank-you-popup {
    width: 90%;
    padding: 20px;
    font-size: 1rem;
  }
}
/* Hide inactive steps */
.form-step {
  display: none;
}
.form-step.active {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Buttons */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.nav-btn {
  background-color: #104473;
  color: #fff;
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.3s;
 min-width: 100px;
}

.nav-btn:hover {
  background-color: #165FA1;
}
