.header {

    padding: 10px 20px;
    z-index: 999;
    height: 70px;

}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}
.logo img {
    height: 70px;
    margin-right: 20px;
}


.nav {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}


.nav a {
    font-family: 'Vazirmatn', sans-serif;
    text-decoration: none;
    color: #033649;
    font-size: 1.2rem;
    transition: color 0.3s;
    padding: 15px;
    font-weight: bold;
}
nav a.login-btn {
    background-color: #033649;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
}
.login-btn:hover {
 background-color: #011f2a;
}
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #033649;
  font-weight: bold;
  position: absolute;
  top: 20px;
  left: 20px; /* 👈 سمت چپ بالا */
  z-index: 1001;
}



footer {
    /* اختیاری: اضافه کن تا مطمئن شوی margin از بالا flex را به ته هل می‌دهد */
    margin-top: auto;
    
    background-color: #033649;
    color: white;
    bottom: 0;
    width: 100%;
    min-height: 70px;   /* ارتفاع حداقلی */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

p{
  font-size: 1.2rem;
     font-family: 'Vazirmatn', sans-serif;


}

h3{
  font-size: 1.2rem;
  line-height: 2rem;
}



/* نسخه موبایل */
@media (max-width: 768px)
 {
  .header-content {
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  .logo img {
    height: 70px;
    margin-right: 20px;
    margin: 0px;
   }
  .menu-toggle {
    display: block;
  }

  .nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  width: 80%;
  background-color:#f3f3f3;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  z-index: 1000;
margin: 0px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-style: solid;
  border-width: 3px;
  border-color: #ddd;
  }

 .nav a{
  padding: 0;
  font-size: 1.2rem;
 }

  .nav.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);

}
}










/*hero section*/

.hero-section {

  display: flex;
  flex-wrap: wrap;
  margin: 10px 30px;
  text-align: center;
  align-items:flex-start;   /* ✅ عمودی وسط */
  justify-content:center; /* ✅ افقی وسط */
  min-height: calc(100vh - 70px); /* 💡 کل ارتفاع ویوپورت */

}

.hero-container {
    width: 100%;
    overflow: hidden; /* ضروری برای حفظ border-radius در child */
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 auto;
    gap: 40px;

}
.hero-text{
      text-align: right;

}
.hero-text, .hero-image {
    flex: 1 1 400px;
    padding: 20px;
}

.hero-text h1 {
  color: #033649;
    font-size:2.5rem;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight:bold;
}

.hero-text h3 {
  line-height: 2.rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 2.3rem;
}

.highlight {
  color: #00B3B7; /* رنگ فیروزه‌ای مثلاً */
}


.cta-button {
    font-family: 'Vazirmatn', sans-serif;
    text-decoration: none; /* ← حذف خط زیر */
    background-color:#DF4854;
    color:white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: bold;
}

.cta-button:hover{
  background-color: #033649;
}


.login-hint {
  font-size: 1rem;
  color: #444;
}

.login-hint a {
  color: #00B3B7;
  text-decoration: none;
  font-weight: bold;
}

.login-hint a:hover {
  color:#033649;
}





.hero-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 15px;
  
 }
/*typed-slider*/ 
.typed-slider {
  background: #f3f3f3;
  color: #5d5d5d;
  padding: 10px 20px;
  max-width: 800px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  text-align: right;
  margin-bottom: 30px;
}

.typed-box {
  font-size: 1.1rem;
  line-height: 2rem;
}


/* Responsive adjustments */
/* ✅ Responsive: show text first, then image on small screens */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column; /* ← متن بالا، عکس پایین */
        text-align: center;
    }

    .hero-text, .hero-image {
        flex: 1 1 100%;
        padding: 10px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }
    .hero-image img {
    max-width: 280px;
  }
  .typed-slider {
    min-height: 65px;
  }

}





/*story-section*/
.story-section {
  background-color:white;
  margin: 20px 30px;
  padding: 10px 30px 30px;
  direction: rtl;
  text-align: right;
}

.section-header  {

  font-size: 2rem;
  color:#033649;
  margin-bottom: 20px;
}

.feature-content {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch; /* 👈 مهم برای هم‌ارتفاع شدن */
  gap: 24px; /* فاصله بین تصویر و اسلایدر */
}

.story-image {
  flex: 0 0 60%;
  max-width: 60%;
  box-sizing: border-box;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 👈 تضمین پر شدن و هم‌ارتفاعی */
  border-radius: 15px;
}

.feature-slider {
  flex: 0 0 40%;
  max-width: 40%;
  box-sizing: border-box;
  background: #f3f3f3;
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 👈 تا نقطه‌ها برن پایین */
}

.feature-slide {
  display: none;
}

.feature-slide.active {
  display: block;
}

.slider-dots {
  margin-top: 20px;
  text-align: center;
}

.slider-dots .dot {
  height: 20px;
  width: 20px;
  margin: 0 4px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.slider-dots .dot.active {
  background: #00B3B7;
}

@media (max-width: 768px) {
  .feature-content {
    flex-direction: column; /* 👈 تغییر جهت به عمودی */
    flex-wrap: wrap; /* این اضافه بشه */
  }

  .feature-slider,
  .story-image {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .feature-slider {
    order: 1; /* متن اول */
    margin-bottom: 20px;
  }

  .story-image {
    order: 2; /* عکس بعدش */
  }

  .story-image img {
    height: auto; /* اجازه بده عکس ارتفاع خودشو بگیره */
    max-height: 400px;
    object-fit: cover;
  }
}


/*coaching-section*/

.coaching-section {
  padding: 80px 40px;
}

.coaching-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.coaching-text p{
  font-size: 1rem;
  line-height: 2.3rem;
}

.coaching-text {
  flex: 1;
  text-align: right;
}


.coaching-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.coaching-image img {
  width: 100%;
  max-width: 380px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
@media (max-width: 767px) {
  .coaching-container {
    flex-direction: column;
    text-align: right;
    gap: 30px;
  }

  .coaching-image img {
    max-width: 100%;
  }
  .coaching-text p{
  font-size: 0.8rem;
  line-height: 2rem;
}
}

/* اتمام سکشن کوچینگ*/


/*features-section*/
.features-section {
  background-color: white;
  text-align: center;
  padding: 60px 30px;
  border-radius: 15px;
  margin: 20px 30px;

}


.features-container {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 👈 ۳ ستون مساوی */
  gap: 32px; /* فاصله بین ردیف‌ها و ستون‌ها */
  align-items: stretch; /* ❗ برای کش دادن همه ردیف‌ها */

 
}

.feature-card {
  background-color: white;
  padding: 24px;
  border-style: solid;
  border-width: 3px;
  border-radius: 15px;
  border-color:#ddd;
  min-height: 150px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 👈 متن‌ها ته کارت نمی‌چسبن */}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card .icon {
  font-size: 2rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.4rem;
  color: #033649;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 1.2rem;
  color: #555;
}

@media (max-width: 900px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-container {
    grid-template-columns: 1fr;
  }
}


/*dashboard-section*/
.dashboard-section {
  padding: 80px 20px;
  }

.dashboard-container {
  margin: 0 auto;
  text-align: center;
}

.dashboard-container p {
  font-size: 1.2rem;
  line-height: 2rem;
  margin-bottom: 40px;
}

.dashboard-container img {
  width: 80%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
@media (max-width: 767px) {
  .dashboard-container p {
    font-size: 1rem;
  }
  .dashboard-container img{
    width: 95%;
    max-width: 100%;
  }

}
/*اتمام سکشن داشبورد*/






/*re-engagement CTA*/
.cta-section {
  background: #f7f5f5;
  padding: 60px 30px;
  text-align: center;
  border-radius: 15px;
  margin: 80px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}


.cta-section-button {
  background: #DF4854;
  color: white;
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: bold;
}

.cta-section-button:hover {
  background: #033649;
  color: white;
}



/*privacy section*/
.privacy-faq-section {
  padding: 60px 30px;
  margin: 20px 30px;
  text-align: center;
  margin-bottom: 20px;
  border-radius: 15px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: right;
      

}

.faq-item {
  border-style: solid;
  border-width: 3px;
  border-radius: 15px;
  border-color:#ddd;  
  margin-bottom: 20px;
  padding: 15px;
  
}

.faq-question {
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  color: #033649;
  text-align: right;
  width: 100%;
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.3s ease;
  font-family: 'Vazirmatn', sans-serif;
}

.faq-question:hover {
  color: #00B3B7;
}

.faq-answer {
  font-size: 1rem;
  color: #444;
  padding: 5px 0 10px;
  display: none;
}









/*contact-us*/
.contact-section {
  padding: 60px 30px;
  text-align: center;
  margin: 60px 20px;
  background: #f7f5f5;
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

  .contact-button {
  background-color: #00B3B7;
  color: white;
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contact-button:hover {
  background-color: #028f92;
}




@media (max-width: 768px) {
.section-header{
  font-size: 1.5rem;
}
.hero-text p{
  font-size: 1rem;
}
.typed-box{
  font-size: 1rem;
}
p{
  font-size: 1rem;
}
.feature-card p{
  font-size: 1rem;
}
.feature-card h3{
  font-size: 1.2rem;
}
.faq-question{
  font-size: 1rem;
}
}