
    html {
  scroll-behavior: smooth;
}
    html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
   
}
body{

    background: #FFF4FF !important;
}
    * {

      margin: 0;
      padding: 0;
       font-family: "Tajawal", "Cairo", Arial, sans-serif;

    }
.auth-buttons {
  display: flex;
  gap: 12px;
  font-family: 'Tajawal', sans-serif;
}

.auth-buttons a {
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  padding: 10px 28px;
  border-radius: 10px;
  transition: 0.3s ease;
}

/* تسجيل الدخول */
.login {
  color: #ffffff;
  border: 2px solid #56795B;
  background-color: transparent;
}

.login:hover {
  background-color: #56795B;
  color: #fff !important;
}

/* انشاء حساب */
.register,
.register:link,
.register:visited,
.register:hover,
.register:active {
  background-color: #56795B !important;
  color: #fff !important;
  border: 2px solid #56795B !important;
  font-weight: bold;
  text-decoration: none !important;
}

.register:hover {
  background-color: #46624A;
  border-color: #46624A;
}


@media (max-width: 1400px) {
  .auth-buttons {
    gap: 10px;
    max-width: 150px;
    font-size: 19px;
  }
  .auth-buttons a {
    font-size: 14px;
    padding: 8px 20px;
  }
}


@media (max-width: 1386px) {
  .auth-buttons {
    gap: 10px;
    min-width: 200px;
    
  }

  .auth-buttons a {
        min-width: 190px;
    padding: 8px 20px;
  }
}
/* 🔹 Responsive Auth Buttons */
@media (max-width: 768px) {
  .auth-buttons {
    gap: 10px;
  }

  .auth-buttons a {
    font-size: 14px;
    min-width: 50px;
    padding: 8px 20px;
  }
}

@media (max-width: 480px) {
  .auth-buttons {
    flex-direction: column; /* stack the buttons */
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .auth-buttons a {
    width: 80%;
    text-align: center;
    font-size: 15px;
    padding: 10px 0;
    border-radius: 8px;
  }
}


body {
    font-family: "Tajawal", "Cairo", Arial, sans-serif !important;
  direction: rtl; /* since it's Arabic */
  background: #faf6ef;
  margin: 0;
  padding: 0;
  flex-wrap: wrap; /* ✅ allow wrapping to prevent overlap */
}

.header-section {
  padding: 50px;
  max-width: 1400px;
  margin: 0 auto; /* centers the section horizontally */
  margin-top: 100px;
    overflow-x: hidden !important;
     overflow-y: hidden;
}


.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.coach-image {
  position: relative;
  width: 100%;
  max-width: 700px;  /* never exceed 700px */
  height: auto;      /* let it scale naturally */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coach-image img {
  width: 100%;
  max-width: 90%;   /* keeps padding inside */
  height: auto;
  border-radius: 20px;
  z-index: 2;
}




.badge.top span {

  color: #6E2753 !important ;
}

.text-content {
  max-width: 500px;

}

.text-content h2 {
  color: #762b67;
  font-size: 38px;
}

.text-content h2 span {
  font-weight: bold;
 color: #6E2753 ;
}

.text-content h3 {
  color: #6E2753;
  font-size:38px;
 
  font-weight: normal;
}

.text-content p {
  color: #444444;
  font-size: 20px;
  line-height: 1.8;
}

.cta-btn {
  margin-top: 20px;
  background: #4a7252;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #69956F;
}
.text-content h2,
.text-content h3,
.text-content p {
  margin: 0; /* remove default margins */
}

.text-content h2 {
  margin-bottom: 3px; /* add custom spacing */
}

.text-content h3 {
  margin-bottom: 10px;
}

.text-content p {
  margin-bottom: 20px;
}



/* ========= Responsive Styles ========= */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
  .header-section {
    padding: 30px;
    margin-top: 100px!important;
  }

  .header-content {
    gap: 20px;
  }

  .coach-image {
    width: 500px;
    height: auto;
  }

  .text-content h2 {
    font-size: 38px;
  }

  .text-content h3 {
    font-size: 30px;
  }

  .text-content p {
    font-size: 18px;
  }


}

/* Mobile (≤768px) */
/* Mobile (≤768px) */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column; /* stack text and image */
    text-align: center;
  }

  .coach-image {
    order: -1; 
    width: 320px;
    height: 320px;
  
  }

  .text-content {
    max-width: 100%;
  }

  .text-content h2 {
    font-size: 28px;
  }

  .text-content h3 {
    font-size: 22px;
  }

  .text-content p {
    font-size: 16px;
    line-height: 1.6;
  }

  .cta-btn {
    font-size: 17px !important;
    padding: 10px 22px;
  }

}

/* Small Phones (≤480px) */
@media (max-width: 480px) {
  .header-section {
    padding: 20px;
    margin-top: 40px;
  }

  .text-content h2 {
    font-size: 24px; /* keep main title same across small phones */
  }

  .text-content h3 {
    font-size: 20px;
  }

  .text-content p {
    font-size: 15px;
  }

  .coach-image {
    margin-top: 40px;
    width: 420px;       /* no fixed 450px */

    height: auto;
  }
}



/* uncombleted media query */


.container3{
   background: url('img/sec2bg.png') no-repeat center center/cover;
   max-height: 500px !important;
}
.program-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 80px;
  border-radius: 12px;
  margin: 60px auto;
  max-width: 1200px;
  direction: rtl;
  overflow-x: hidden;
   overflow-y: hidden;

}

.program-content {
  flex: 1;
  max-width: 600px;
}

.program-content h2 {
  font-size: 32px;
  color: #6E2753;
  margin-bottom: 20px;
}

.program-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

.program-content span {
  font-weight: bold;
  color: #6E2753;
}

.program-illustration {
  flex: 1;
  text-align: center;
}

.program-illustration img {
  max-width: 309px;
  height: 400px;
  width: 100%;
  margin-left: 107px;
}
@media (max-width: 1024px) {
  .program-section {
    flex-direction: column; /* stack image and text */
    text-align: center;
    padding: 40px 30px;
  }

  .program-content {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .program-content h2 {
    font-size: 28px;
  }

  .program-content p {
    font-size: 16px;
  }

  .program-illustration img {
    max-width: 250px;
    height: auto;
  }

  .learn-title {
    font-size: 38px;
    margin-bottom: 50px;
  }

  .learn-grid {
    gap: 40px;
  }

  .learn-card {
    max-width: 280px;
  }

  .learn-card p {
    font-size: 18px;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .program-section {
    padding: 30px 20px;
  }

  .program-content h2 {
    font-size: 24px; /* keep titles consistent on mobile */
  }

  .program-content p {
    font-size: 15px;
    line-height: 1.6;
  }

  .program-illustration img {
    max-width: 200px;
  }

  .learn-title {
    font-size: 28px; /* نفس حجم العناوين بالهيدر */
    margin-bottom: 40px;
  }

  .learn-grid {
    grid-template-columns: 1fr; /* single column */
    gap: 30px;
  }

  .learn-card {
    max-width: 100%;
    margin: 0 auto;
  }

  .learn-card img {
    width: 90px;
    height: 90px;
  }

  .learn-card p {
    font-size: 16px;
  }
}

/* Small Phones (≤480px) */
@media (max-width: 480px) {
  .program-section {
    padding: 20px;
    margin: 40px auto;
  }

  .program-content h2 {
    font-size: 22px;
  }

  .program-content p {
    font-size: 14px;
  }

  .learn-title {
    font-size: 24px;
  }

  .learn-card {
    padding: 20px 15px;
  }

  .learn-card p {
    font-size: 15px;
  }
}



/* new section */







.work-section {
  text-align: center;
  padding: 60px 20px;
  background: #dce8d6;
  direction: rtl;
    font-family: "Tajawal", "Cairo", Arial, sans-serif;
}

.section-title {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #6E2753;
}
.contact-btn {
  text-decoration: none;
}
.contact-btn {
  display: inline-block;
  background: #69956F;
  color: white;
  padding: 10px 25px;
  border-radius: 8px;
  margin-bottom: 40px;
  font-size: 20px;
  font-weight: 700;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  padding: 25px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  text-align: right;
}

.card-title {
  font-size: 28px;
  font-weight: 700;
  color: #6E2753;
  margin-bottom: 15px;
}

.card-desc {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #444;
  font-size: 22px;
  font-weight: 700;
}

.card-list {
  padding-right: 20px;
  line-height: 1.8;
  color: #333;
  font-size: 20px;
}


.card-full {
  grid-column: span 2; /* makes it full width */

}
.card-full .card-title {
  text-align: center;
}

.card-full .card-desc {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.list-row {
  display: flex;
  justify-content: center;   /* center the two lists horizontally */
  gap: 30px;
  width: 100%;
  margin: 0 auto;            /* centers the whole row inside its parent */
  align-items: flex-start;   /* keeps lists aligned at the top */
}


.list-block {
  flex: 1;
  list-style: disc;
  list-style-position: inside;
  text-align: center;
  font-size: 20px;
}


@media (max-width: 768px) {
  .list-row {
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 15px !important;
  }

  .list-block {
    text-align: right !important;
    width: 100% !important;
  }
}
/* Mobile view */
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .card-full {
    grid-column: span 1; /* becomes normal on mobile */
  }
  .list-block {

  text-align: right;
 
}
.list-row {
  display: flex;
  justify-content: right;   /* center the two lists horizontally */
  gap: 30px;
  width: 100%;
  margin: 0 ;            /* centers the whole row inside its parent */
  align-items: flex-start;   /* keeps lists aligned at the top */
}
}

/* Tablets */
@media (max-width: 992px) {
  .card-full .card-title {
    font-size: 36px; /* slightly smaller */
  }

  .card-full .card-desc {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .list-block {
    font-size: 18px;
  }

  .list-row {
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .card-full {
    grid-column: span 1; /* normal width */
  }

  .card-full .card-title {
    font-size: 32px;
    text-align: center;
  }

  .card-full .card-desc {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
  }

  .list-row {
    flex-direction: column; /* stack lists vertically */
    align-items: center;    /* center them */
    gap: 15px;
  }

  .list-block {
    text-align: center;
    font-size: 16px;
    width: 100%;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .card-full .card-title {
    font-size: 28px;
  }

  .card-full .card-desc {
    font-size: 16px;
  }

  .list-block {
    font-size: 14px;
  }

  .contact-btn {
    padding: 8px 20px;
    font-size: 18px;
  }
}
@media (max-width: 1200px) {
  .section-title {
    font-size: 42px;
  }
  .card-title {
    font-size: 26px;
  }
  .card-desc {
    font-size: 20px;
  }
  .card-list,
  .list-block {
    font-size: 18px;
  }
  .contact-btn {
    font-size: 18px;
    padding: 10px 22px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .section-title {
    font-size: 38px;
  }
  .card-title {
    font-size: 24px;
  }
  .card-desc {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .card-list,
  .list-block {
    font-size: 17px;
  }
  .contact-btn {
    font-size: 18px;
    padding: 9px 20px;
  }
  .list-row {
    gap: 20px;
  }
}

/* Large mobile / small tablets */
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .card-full {
    grid-column: span 1;
  }
  .section-title {
    font-size: 34px;
  }
  .card-title {
    font-size: 22px;
    text-align: center;
  }
  .card-desc {
    font-size: 16px;
    text-align: center;
    margin-bottom: 12px;
  }
  .card-list,
  .list-block {
    font-size: 16px;
  }
  .list-row {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .contact-btn {
    font-size: 16px;
    padding: 8px 18px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .section-title {
    font-size: 28px;
  }
  .card-title {
    font-size: 28px;
  }
  .card-desc {
    font-size: 14px;
  }
  .card-list,
  .list-block {
    font-size: 14px;
  }
  .contact-btn {
    font-size: 15px;
    padding: 6px 15px;
  }
}


/* end */




/* Section Wrapper */
.healcards-section {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 0;
  direction: rtl;
  font-family: "Tajawal", sans-serif;
  margin: 0 auto ;
  margin-top: 100px;
}

/* Each Card */
.healcards-card {
  background: #fff;
  padding: 40px 30px 30px;
  border-radius: 16px;
  width: 33%;
  position: relative;
  text-align: center;
  box-shadow: 0 35px 45px rgba(0, 0, 0, 0.18);
  
}


/* Floating Image */
.healcards-img {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.healcards-img img {
  width: 119px;
  height: 119px;
}

/* Title */
.healcards-title {
  color: #6E2753;
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 700;
}

/* Text */
.healcards-text {
  font-size: 20px;
  line-height: 1.8;
  color: #444;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
  .healcards-section {
    flex-direction: column;
    gap: 60px;
  }

  .healcards-card {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .healcards-title {
    font-size: 22px;   /* Smaller title on phones */
  }

  .healcards-text {
    font-size: 16px;   /* Comfortable reading size */
    line-height: 1.7;
  }

  .healcards-img img {
    width: 80px;
    height: 80px;      /* Slightly smaller icons */
  }

  .healcards-card {
    padding: 35px 20px 25px;
  }

  .healcards-section {
    margin-top: 60px;  /* Reduce the big space at the top */
  }
}



.faq-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  direction: ltr;
  font-family: "Cairo", sans-serif;
  align-items: right;
}

.faq-title {
  text-align: center;
  font-size: 46px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #6E2753;
}

.faq-item {
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fff;
}
.arrow-icon img{
  width: 40px;
  height: 40px;

}
.faq-question {
  width: 100%;
  text-align: right;
  padding: 15px 20px;
  background: #fff;
  border: none;
  color: #444444;
  font-weight: bold;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 24px;
  cursor: pointer;
}

.arrow-icon {
  font-size: 1.2rem;
  color: #7a2a67;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
  background: #fafafa;
  font-size: 18px;
  text-align: right;
  direction: rtl;
}

.faq-answer p {
  margin: 15px 0;
  color: #444;
 font-size: 18px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 15px 20px;
}

.faq-item.active .arrow-icon {
  transform: rotate(180deg);
}


@media (max-width: 1024px) {
  .faq-section {
    padding: 15px;
  }

  .faq-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .faq-question {
    font-size: 20px;
    padding: 12px 16px;
  }

  .faq-answer p {
    font-size: 16px;
  }

  .arrow-icon img {
    width: 35px;
    height: 35px;
  }
}

/* Small tablets / large phones (480px - 767px) */
@media (max-width: 767px) {
  .faq-title {
    font-size: 28px;
  }

  .faq-question {
    font-size: 18px;
    padding: 10px 14px;
  }


  .arrow-icon img {
    width: 30px;
    height: 30px;
  }
}

/* Mobile phones (up to 479px) */
@media (max-width: 479px) {
  .faq-section {
    padding: 10px;
  }

  .faq-title {
    font-size: 24px;
  }

  .faq-question {
    font-size: 16px;
    padding: 8px 12px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .arrow-icon img {
    width: 25px;
    height: 25px;
  }
}


.hero-section {
  margin-top: 140px;
  position: relative;
  background: url('img/last section icon.png') center/cover no-repeat;
  padding: 80px 20px 40px;
  overflow: visible;
  margin-bottom: 100px;
  direction: ltr;
}

.container2 {
  display: flex;
  align-items: flex-start; /* align items at the top */
  justify-content: flex-start; /* align everything to the left */
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
  gap: 40px; /* optional: space between content and image */
}

.hero-content {
  max-width: 600px;
  color: #fff;
  z-index: 2;
  text-align: left; /* ensures text is left-aligned */
  text-align: right;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 35px;
  margin-bottom: 30px;
  
}

.hero-buttons a {
  display: inline-block;
  padding: 12px 25px;
  margin-right: 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  
}

.btn-primary1 {
  background-color: #56795B;
  color: #fff;
}

.btn-secondary2 {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.hero-image {
  position: absolute;
  top: -455px;
  right: -50px;

  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: auto;  width: 700px;
  height: 800px;
}
/* Large screens (below 1200px) */
@media (max-width: 1200px) {
  .hero-image img {
    width: 500px;
    height: auto;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content p {
    font-size: 28px;
  }
}

/* Medium screens / tablets (below 992px) */
@media (max-width: 992px) {
  .container2 {
    flex-direction: column;
    align-items: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-buttons a {
    margin-right: 20px;
    margin-bottom: 15px;
  }

  .hero-image {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 20px;
  }
}

/* Small screens / phones (below 768px) */
@media (max-width: 768px) {
  .hero-image {
    display: none; /* hide image on phones */
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 22px;
  }

  .hero-buttons a {
    padding: 10px 20px;
    margin-right: 15px;
    display: block; /* stack buttons vertically */
    text-align: center;
  }
}















.site-footer {
  padding: 40px 20px 20px;
  font-family: "Cairo", sans-serif;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 250px;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.footer-icon {
  width: 30px;
  height: 30px;
}

/* Newsletter */
.newsletter-container {
  display: flex;
  justify-content: flex-end;
  padding: 20px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
}

.newsletter-form input {
  padding: 10px;
  width: 437px;
  border: 1px solid #6E2753;
  min-width: 200px;
  flex: 1;
  text-align: right;
}

.newsletter-form button {
  padding: 10px 20px;
  background-color: #6E2753;
  color: #fff;
  border: none;
  min-width: 200px;
  cursor: pointer;
}

/* Right section */
.footer-right h4 {
  margin-bottom: 10px;
  font-size: 26px;
  text-align: right;
}
.footer-right p {
  text-align: right;
  margin-bottom: 10px;
  font-size: 22px;
}

footer p {
  font-size: 22px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 1px solid #6E2753;
  padding-top: 10px;
  font-size: 14px;
}

.w {
  color: #6E2753;
  font-weight: bold;
  font-size: 24px;
}

.footer-links a {
  color: #6E2753;
  text-decoration: none;
  margin: 0 5px;
  font-size: 16px;
}

.footer-links a:hover {
  text-decoration: underline;
}
/* 🔽 Responsive Footer (Phones & Tablets) */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 20px; /* smaller gap */
    margin-bottom: 20px; /* reduced bottom margin */
    text-align: center; /* Center-align content */
  }

  .footer-left,
  .footer-center,
  .footer-right {
    margin-bottom: 0 !important; /* ❌ stop stacking extra spacing */
  }

  .newsletter-container {
    justify-content: center;
    padding: 10px 0;
    margin-bottom: 20px; /* cap bottom space */
  }

  .newsletter-form {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px; /* reduced */
    width: 100%;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    min-width: auto;
  }

  .footer-right h4 {
    font-size: 20px;
    margin-bottom: 10px; /* keep it tight */
  }

  .footer-right p,
  footer p {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .w {
    font-size: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px; /* limit space */
    text-align: center;
    font-size: 13px;
    margin-top: 20px; /* prevent huge space */
  }
  .footer-center{
    margin-top: 0;
  }

}
@media (max-width: 768px) {
  .footer-left,
  .footer-center,
  .footer-right {
    flex: 1 1 100%; /* take full width */
    max-width: 100%; /* no forced width */
  }
}
