@font-face {
  font-family: "Vazirmatn";
  src: url("./src/fonts/Vazir-Medium.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("./src/fonts/Vazir-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

.countrycode_search { display: none; }
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Vazirmatn", sans-serif;
}

section {
  padding-left: 40px;
  padding-right: 40px;
}
h2 {
  font-size: 32px;
  color: #0d0d0d;
  margin-bottom: 40px;
  position: relative;
  text-align: center;
  width: 100%;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #c81827; 
  margin: 12px auto 0;
  border-radius: 5px;
}
.bg-circle-1 {
  width: 30vw;
  height: 30vw;
  background-color: #0101334a;
  position: absolute;
  top: -30px;
  right: -10px;
  z-index: -1;
  border-radius: 100%;
}
.bg-circle-2 {
  width: 30vw;
  height: 30vw;
  background-color: #3307014a;
  position: absolute;
  bottom: -30px;
  left: -10px;
  z-index: -1;
  border-radius: 100%;
}
/* ---------------------------------------------*/
/*                 Hero section                 */
/* ---------------------------------------------*/
.hero-section {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  padding: 0px;
}
.hero-section img {
  width: 100%;
  height: auto;
  display: block;
}
/*.hero-section a {*/
/*  position: absolute;*/
/*  text-decoration: none;*/
/*  top: 58.5%;*/
/*  left: 10%;*/
/*  color: white;*/
/*  font-size: clamp(12px, 2vw, 30px);*/
/*  padding: 1vw 5vw;*/
/*}*/
.hero-section a {
  position: absolute;
  text-decoration: none;
  top: 59.5%;
  left: 4%; 
  color: white;
  font-size: clamp(12px, 2vw, 30px);
  padding: 0.5vw 5vw;
  font-weight: bold;
  align-content: center;
      text-align: center;
  transition: all 0.3s ease;
  background: linear-gradient(90deg, #c81827 0%, #ff4b5a 100%);
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(200, 24, 39, 0.4);
  /* فراخوانی انیمیشن جدید */
  animation: heartbeatText 2.5s infinite;
  
  /* تاخیر ۱ ثانیه‌ای برای شروع انیمیشن بعد از لود صفحه */
  animation-delay: 1s; 
}

.hero-section a:hover {
  transform: scale(1.15);
  animation: none; /* توقف انیمیشن وقتی موس روی آن می‌رود */
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* یک سایه ملایم برای حالت هاور */
}

/* انیمیشن تپش متن (در انتهای فایل CSS قرار دهید) */
@keyframes heartbeatText {
  0% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.15); /* بزرگ شدن ملایم متن */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
  }
  20% {
    transform: scale(1);
    text-shadow: 0 0 0px rgba(255, 255, 255, 0);
  }
  30% {
    transform: scale(1.15);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
  }
  40% {
    transform: scale(1);
    text-shadow: 0 0 0px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1); 
    /* فاصله بین 40% تا 100% باعث ایجاد یک مکث طبیعی بین هر بار تکرار انیمیشن می‌شود */
  }
}

/* .hero-info{
    width: 40%;
    align-items: center;
    display: flex;
    flex-direction: column;
}
.hero-info a{
    background-color:#0080ff;
    padding: 10px 60px;
    text-decoration: none;
    color: white;
    border-radius: 30px;
}

.hero-img-section{
    width: 60%;
    position: relative;
    justify-content: center;
    flex-direction: row;
    display: flex;
}
.hero-img-section img{
    width: 70%;
    border: #0080ff 5px dashed;
    border-radius: 50%;
}
.hero-item{
    position: absolute;
    padding: 30px 50px;
    background-color: rgba(255, 255, 255, 0.428);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(109, 109, 109, 0.5);
    z-index: 10;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); 
    animation: floating 4s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(15px, 10px); }
    50%      { transform: translate(-5px, 20px); }
    75%      { transform: translate(-15px, -5px); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0); }
    33%      { transform: translate(-20px, -15px); }
    66%      { transform: translate(15px, -20px); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(10px, -20px); }
    50%      { transform: translate(-15px, 10px); }
    75%      { transform: translate(15px, 15px); }
}

#hero-item-1{
    top: 10%;
    left: 10%;
    animation: floatShape1 6s ease-in-out infinite;
    animation-delay: 0s;
}
#hero-item-2{
    top: 35%;
    left: 70%;
    animation: floatShape2 7s ease-in-out infinite;
    animation-delay: -2s;
}
#hero-item-3{
    top: 85%;
    left: 25%;
    animation: floatShape3 8s ease-in-out infinite;
    animation-delay: -4s;
} */
/* ---------------------------------------------*/
/*             Description section              */
/* ---------------------------------------------*/
.desc-section {
  padding-top: 40px;
  padding-bottom: 40px;
  align-items: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.desc-section-text {
  width: 80%;
}
.desc-section-text p {
  text-align: justify;
}
.desc-section ifram {
  width: 80%;
  border-radius: 20px;
}

/* ---------------------------------------------*/
/*                 Why section                  */
/* ---------------------------------------------*/
.why-section {
  padding-bottom: 80px;
  padding-top: 80px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.why-section p {
  width: 80%;
  text-align: justify;
}


/* ---------------------------------------------*/
/*            Course info section               */
/* ---------------------------------------------*/
.course-info-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.course-info-section-item {
  background: #ffffff;
  border: 1px solid #e9e9e9;
  border-radius: 18px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-info-section-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.course-info-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  /* background: linear-gradient(135deg, #0f62fe, #5f8cff); */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.course-info-section-item h3 {
  font-size: 18px;
  margin: 0 0 10px;
  color: #222;
  line-height: 1.6;
}

.course-info-section-item p {
  font-size: 15px;
  margin: 0;
  color: #555;
  line-height: 1.9;
}
/* ---------------------------------------------
/*             Course title section             */
/* ---------------------------------------------*/
.course-title-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
  padding-bottom: 60px;
  padding-top: 60px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}



.course-title-section-div {
  width: 80%;
  max-width: 1000px;
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-bottom: 40px;
}

.course-list {
  list-style: none;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  width: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.course-list:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.course-list li {
  position: relative;
  padding-right: 30px;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

.course-list li:last-child {
  margin-bottom: 0;
}

.course-list li::before {
  content: "✔";
  position: absolute;
  right: 0;
  top: 0;
  color: #c81827;
  font-size: 16px;
}

.surprise-box {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  padding: 15px 40px;
  background: linear-gradient(90deg, #c81827 0%, #ff4b5a 100%);
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(200, 24, 39, 0.4);
  text-align: center;
  transition: transform 0.3s ease;
}
.cta-section {
    width: 100%;
    flex-direction:row;
    display:flex;
    justify-content:center;
    margin-bottom:50px;
}

.cta-section a{
    width:40%;
    text-decoration:none;
}

.surprise-box:hover {
  transform: scale(1.05);
}


/* ---------------------------------------------*/
/*               For whose section              */
/* ---------------------------------------------*/
.for-whose-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.for-whose-section-div {
    width: 100%;
    max-width: 950px;
    background: #fff;
    border-radius: 30px;
    padding: 50px 60px;
    box-shadow: 0 15px 50px rgba(0,0,0,.08);
}

.for-whose-section-div ul {
    list-style: none;
    padding: 0;
    margin: 0;
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.for-whose-section-div li {
    background: #f8f8f8;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 18px 45px 18px 55px;
    position: relative;
    line-height: 1.9;
    transition: all .3s ease;
}

.for-whose-section-div li:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.for-whose-section-div li::before {
    content: "✓";
    position: absolute;
    right: 10px;
    top: 18px;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg,#c81827,#ff4b5a);
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
}

@media(max-width:768px){

    .for-whose-section-div{
        padding:30px 20px;
    }

    .for-whose-section-div ul{
        grid-template-columns:1fr;
    }

}

/* ---------------------------------------------*/
/*              road map section                */
/* ---------------------------------------------*/
.roadmap-section{
    width: 100%;
    height: auto;
    padding: 0px;
}

.roadmap-section img{
    width: 100%;
    height: auto;
    display: block;
}



/* ---------------------------------------------*/
/*              testimonial section             */
/* ---------------------------------------------*/

.testimonial-section {
  padding-top: 40px;
  padding-bottom: 40px;
  align-items: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-section video {
  width: 80%;
  border-radius: 20px;
}
/* ---------------------------------------------*/
/*                 FAQ section                  */
/* ---------------------------------------------*/
.faq-section{
  background-color: black;
}
.faq-section-div {
  width: 50%;
  display: flex;
  flex-direction: column;
}
.faq-section-form {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.faq-section {
  gap: 50px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: start;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 40px;
  padding-top: 40px;
  color: white;
}
.faq-section-main-div {
  width: 100%;
  display: flex;
  gap: 30px;
  flex-direction: row;
}
.faq-section-main-div .faq-div {
  width: 50%;
  display: flex;
  flex-direction: column;
}
.faq-section-main-div .image-div {
  width: 50%;
  display: flex;
  flex-direction: column;
}
.faq-section-main-div .image-div img {
  border-radius: 30px;
}
.faq-section-main-div .image-div h2 {
  margin-top: 20px;
  text-align: center;
}

.faq-container {
  flex: 2;
  /* background-color: #c81827; */
  overflow: hidden;
  padding: 0;
}

.faq-item {
  border-bottom: 1px solid #c81827;
  margin-bottom: 0;
    border: 1px solid #c81827;
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.faq-item:hover {
  box-shadow: 0 4px 15px rgba(200, 24, 39, 0.2); 
  transform: translateY(-2px); 
}
.faq-item:last-child {
  border-bottom: 1px solid #c81827; 
}

.faq-header {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  /* background-color: #c81827; */
}

.faq-header:hover {
  background-color: #c81827;
}

.faq-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-left: 15px;
  position: relative;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: #ffffff;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.faq-icon::before {
  width: 4px;
  height: 16px;
  top: 4px;
  left: 10px;
}

.faq-icon::after {
  width: 16px;
  height: 4px;
  top: 10px;
  left: 4px;
}

.faq-question {
  flex-grow: 1;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: #ffffff18;
  transition:
    max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    padding 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-sizing: border-box;
    background-color: #0d0d0d;
  border-top: 1px solid #c81827; 
}

.faq-answer p {
  margin: 0;
  padding: 0 0 18px 0;
  text-align: justify;
  font-size: 1rem;
    color: #bebebe;
  line-height: 1.8;
}

.faq-item.active .faq-header {
  background-color: #c81827;
}


.faq-item.active .faq-icon::before {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.active .faq-icon::after {
  transform: rotate(180deg);
  opacity: 1;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.faq-section-form .gform_wrapper,
.faq-section-form .gform_wrapper form,
.faq-section-form .gform_body,
.faq-section-form .gform_fields,
.faq-section-form .gfield,
.faq-section-form .ginput_container,
.faq-section-form input,
.faq-section-form textarea,
.faq-section-form select {
    width: 100% !important;
    max-width: 100% !important;
}
.faq-section-form .gfield_label, .faq-section-form .gform-field-label {
  color: #ffffff !important;
}
.faq-section-form #gform_submit_button_24{
  background-color:#c81827;
  border-radius: 10px
}
@media screen and (max-width: 800px) {
  h2 {
    font-size: 20px;
  }

  section {
    padding-left: 20px;
    padding-right: 20px;
  }
  /* ---------------------------------------------*/
  /*             Description section              */
  /* ---------------------------------------------*/
  .desc-section {
    flex-direction: column;
  }

  .desc-section-text {
    width: 90%;
    font-size: 0.8rem;
  }
  .desc-section video {
    width: 100%;
  }

/* ---------------------------------------------*/
/*                 Why section                  */
/* ---------------------------------------------*/
.why-section {
  padding-bottom: 50px;
  padding-top: 20px;
}

.why-section p {
  margin-top: 20px;
  width: 90%;
  font-size: 14px;
  text-align: justify;
}
/* ---------------------------------------------
/*             Course title section             */
/* ---------------------------------------------*/


.course-title-section-div {
  width: 80%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
}

.course-list {
    width: 100%;
    padding: 20px;
}

.course-list li {
  font-size: 0.8rem;
}


.course-list li::before {
  content: "✔";
  position: absolute;
  right: 0;
  top: 0;
  color: #c81827;
  font-size: 16px;
}


  .course-title-section-div {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .surprise-box {
    font-size: 16px;
    padding: 12px 25px;
    
  }
  /* ---------------------------------------------*/
  /*             For whose section             */
  /* ---------------------------------------------*/
  .for-whose-section {
    flex-direction: column;
  }
  .for-whose-section-div {
    justify-items: start;
    width: 100%;
    padding: 20px 30px;
  }
  .for-whose-section-div h2{
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .for-whose-section-div li{
    font-size: 0.8rem;
  }

.cta-section a{
    width:70%;
    text-decoration:none;
}


/* ---------------------------------------------*/
/*              testimonial section             */
/* ---------------------------------------------*/


.testimonial-section video {
  width: 90%;
  border-radius: 20px;
}

  /* ---------------------------------------------*/
/*                 FAQ section                  */
/* ---------------------------------------------*/
.faq-section {
  flex-direction: column;
  padding-left: 20px;
  padding-right: 20px;
}
.faq-section-form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.faq-header {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  /* background-color: #c81827; */
}

.faq-header:hover {
  background-color: #c81827;
}

.faq-icon {
  width: 12px;
  height: 12px;
  margin-left: 10px;
}

.faq-question {
  font-size: 0.8rem;
}

.faq-answer p {
  font-size: 0.8rem;
}

.faq-item.active .faq-header {
  background-color: #c81827;
}


.faq-item.active .faq-icon::before {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.active .faq-icon::after {
  transform: rotate(180deg);
  opacity: 1;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 18px;
  padding-bottom: 18px;
}
}

@media screen and (max-width: 500px) {

.hero-section a {
    width:45%;
    height:7%;
  top: 39.5%;
  left: 8%;
  font-size: clamp(12px, 2vw, 30px);
  padding: 1vw 5vw;
}
    
}

@media (max-width: 992px) {
  .course-info-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .course-info-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 14px;
  }

  .course-info-section-item {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .course-info-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .course-info-section-item h3 {
    font-size: 16px;
  }

  .course-info-section-item p {
    font-size: 14px;
  }
}
