body {
  font-family: 'Yekan', sans-serif;
  direction: rtl;
  margin: 0;
  padding: 0;
  line-height: 1.8;
  background-color: #f9f9f9;
  color: #333;
}

h1, h2, h3 {
  color: #4472C4;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

header img{
  max-width: 50px;
  height: 50px;
}


.custom-navbar {
  position: sticky;
  top: 0;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.navbar-logo {
  max-width: 70px;
  height: auto;
}

.main-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.main-nav a {
  color: #333;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #FFBF00;
}

@media (max-width: 768px) {
  .navbar-content {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .contact-box {
    justify-content: center;
    font-size: 0.9rem;
  }
}

/* ==== عکس اصلی ==== */
.main-picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==== سکشن دوم (معرفی و تاریخچه) ==== */
.second-picture {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.second-picture img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.5;
}

.company-intro.with-animation {
  background: linear-gradient(135deg, #f7f9fc, #e9eef8);
  padding: 5rem 2rem;
  overflow: hidden;
  border-top: 6px solid #FFBF00;
}

.intro-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.intro-text {
  flex: 1 1 500px;
  color: #333;
}

.intro-text h2 {
  color: #4472C4;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 4px solid #FFBF00;
  display: inline-block;
  padding-bottom: 0.4rem;
}

.intro-text p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1rem;
  color: #444;
}

.intro-image {
  flex: 0 0 320px;
  text-align: center;
}

.intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
}

.intro-image img:hover {
  transform: scale(1.03);
}

.fade-in-right {
  animation: fadeInRight 1s ease forwards;
  opacity: 0;
}
.fade-in-left {
  animation: fadeInLeft 1s ease forwards;
  opacity: 0;
}

@keyframes fadeInRight {
  0% {
    transform: translateX(80px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInLeft {
  0% {
    transform: translateX(-80px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .intro-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .intro-text h2 {
    font-size: 1.6rem;
  }
}

/* دکمه همبرگر */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #4472C4;
  margin-right: 1rem;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    background-color: #fff;
    padding: 1rem;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }



  .main-nav.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .navbar-content {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-logo {
    max-width: 120px;
    display: none;
  }
}


.hero-parallax {
  position: relative;
  height: 85vh;
  background-image: url('https://www.parspeyfater.ir/image/tehran-cityscape.jpg'); /* آدرس عکس */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* افکت پارالاکس */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-parallax {
    background-attachment: scroll !important;
  }
}

.hero-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* افکت تیره روی تصویر */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
  animation: fadeInUp 1.5s ease-out forwards;
  opacity: 0;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #FFBF00;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-btn {
  background-color: #4472C4;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.cta-btn:hover {
  background-color: #3358a0;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* ==== فرم مشاوره ==== */
.consultation-form {
  padding: 3rem 10%;
  background-color: #fff;
  text-align: center;
  border-top: 5px solid #FFBF00;
  border-bottom: 5px solid #4472C4;
  margin-top: 3rem;
}

.consultation-form h2 {
  color: #4472C4;
  margin-bottom: 1rem;
}

.consultation-form p {
  color: #555;
  margin-bottom: 2rem;
}

.consultation-form form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row input {
  flex: 1;
}

.consultation-form input,
.consultation-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
}

.consultation-form button {
  background-color: #FFBF00;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.consultation-form button:hover {
  background-color: #cc9c00;
}

/* ==== صفحات داخلی (درباره ما، تماس با ما، هیئت مدیره) ==== */
.about-page,
.contact-page,
.board-page {
  padding: 2rem 10%;
}

.about-page section,
.contact-page section,
.board-page section {
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-values ul {
  list-style: disc;
  padding-right: 1.5rem;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.map-container {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.board-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.about-flex-section {
  padding: 4rem 10%;
  background-color: #f9f9f9;
}

.about-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.about-row.row-reverse {
  flex-direction: row-reverse;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  color: #4472C4;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .about-row,
  .about-row.row-reverse {
    flex-direction: column !important;
    text-align: center;
  }

  .about-text,
  .about-image {
    width: 100%;
  }
}

.board-header {
  text-align: center;
  padding: 3rem 1rem 1rem;
  background-color: #f9f9f9;
  background-image: url("data:image/svg+xml,%3Csvg width='100%' height='100' viewBox='0 0 1440 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%234472C4' fill-opacity='0.15' d='M0,0 C360,100 1080,0 1440,100 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  color: #222;
  border-bottom: 4px solid #FFBF00;
}


.board-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #4472C4;
}

.board-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: auto;
  color: #555;
  line-height: 1.8;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 3rem 5%;
  background-color: #f7f7f7;
}

.member-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member-card:hover {
  transform: translateY(-8px);
}

.member-card h3 {
  color: #4472C4;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.member-card .position {
  color: #888;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.member-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
}


.about-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 4rem 10%;
  background: #f9f9f9;
  gap: 3rem;
}

.about-text {
  flex: 1 1 50%;
}

.about-text h1 {
  color: #4472C4;
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 4px solid #FFBF00;
  display: inline-block;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 2;
  color: #333;
}

.about-image {
  flex: 1 1 40%;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 3rem 10%;
  background: linear-gradient(135deg, #eef1f6, #ffffff);
}

.feature {
  background: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature h3 {
  color: #FFBF00;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.feature p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-quote {
  text-align: center;
  padding: 4rem 2rem;
  background: #4472C4;
  color: white;
}

.about-quote blockquote {
  font-size: 1.5rem;
  font-style: italic;
  border-right: 4px solid #FFBF00;
  padding-right: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .about-hero {
    flex-direction: column;
    padding: 2rem 5%;
  }
}


.hero-overlay h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #FFBF00;
}

.hero-overlay p {
  font-size: 1.2rem;
}

/* ====== درباره ما - بدنه صفحه ====== */
.about-section {
  padding: 3rem 10%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  background-color: #f4f4f4;
}

.about-box {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.about-box:hover {
  transform: translateY(-6px);
}

.about-box h2 {
  color: #4472C4;
  margin-bottom: 1rem;
}

.about-box p,
.about-box ul {
  color: #444;
  font-size: 1rem;
  line-height: 1.9;
}

.about-box ul {
  list-style: disc;
  padding-right: 1.5rem;
}


.board-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)),
              url('../image/board-bg.jpg') center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.board-hero h1 {
  font-size: 2.8rem;
  color: #FFBF00;
  margin-bottom: 1rem;
}

.board-hero p {
  font-size: 1.2rem;
}

/* ====== بخش اعضا ====== */
.board-section {
  padding: 3rem 10%;
  background-color: #f4f4f4;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #4472C4;
  margin-bottom: 3rem;
  border-bottom: 4px solid #FFBF00;
  display: inline-block;
  padding-bottom: 0.4rem;
}

.mission-section{
  text-align: center;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.contact-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h1 {
  color: #4472C4;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-header p {
  font-size: 1.1rem;
  color: #333;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.contact-info, .contact-form {
  flex: 1 1 45%;
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.contact-info h3, .contact-form h3 {
  color: #FFBF00;
  margin-bottom: 1.5rem;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #444;
}

.contact-info i {
  color: #4472C4;
  margin-left: 0.5rem;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.contact-form button {
  background-color: #4472C4;
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background-color: #FFBF00;
}

.social-icons a {
  font-size: 1.5rem;
  margin-left: 1rem;
  color: #4472C4;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #FFBF00;
}

.map-container {
  margin-top: 3rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}


/* ====== فوتر ====== */
.site-footer {
  background-color: #222;
  color: #eee;
  padding-top: 3rem;
  font-size: 0.95rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 0 10% 2rem 10%;
}

.footer-column h3 {
  color: #FFBF00;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #ccc;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #FFBF00;
  text-decoration: none;
}

.footer-bottom {
  background-color: #111;
  text-align: center;
  padding: 1rem;
  color: #aaa;
  font-size: 0.85rem;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.social-icons a {
  background-color: #FFBF00;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: #cc9c00;
}

.consultation-modern {
  background: linear-gradient(135deg, #f0f4ff, #e7ecff); /* رنگ ملایم و روشن */
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.consultation-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  padding: 3rem 2rem;
  max-width: 700px;
  width: 100%;
  animation: slideUpFade 1s ease forwards;
  opacity: 0;
}

.consultation-card h2 {
  color: #4472C4;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.consultation-card p {
  color: #333;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 2rem;
}

.consultation-card form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-row input,
textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #d0d7e5;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background-color: #f9faff;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  resize: none; /* 👈 جلوگیری از تغییر اندازه دستی */
  box-sizing: border-box; /* اطمینان از اینکه از باکس بیرون نزنه */
}

.form-row input:focus,
textarea:focus {
  border-color: #4472C4;
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(68, 114, 196, 0.15);
}


button[type="submit"] {
  background-color: #FFBF00;
  color: #000;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #e0aa00;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .consultation-card {
    padding: 2rem 1rem;
  }
}

.services-section {
  background: #fdfdfd;
  padding: 4rem 2rem;
  text-align: center;
}

.services-section h2 {
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  background: white;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-item .svg-icon {
  margin-bottom: 1rem;
  color: #4472C4;
}

.service-item h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 0.7rem;
}

.service-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

.mission-section {
  padding: 6rem 2rem;
  background-color: #f4f7fb;
  position: relative;
  z-index: 1;
}


.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.mission-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.mission-card .icon {
  margin-bottom: 1rem;
}

.mission-card h3 {
  color: #4472C4;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.mission-card p {
  color: #333;
  line-height: 1.8;
  font-size: 0.95rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-top: -1rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 2;
}

.pattern-bg {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f4f4f4' fill-opacity='0.6'%3E%3Ccircle cx='1' cy='1' r='0.5'/%3E%3Ccircle cx='5' cy='5' r='0.5'/%3E%3Ccircle cx='9' cy='9' r='0.5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 50px 50px;
}

.features-section {
  background-color: #f9f9f9;
  padding: 5rem 2rem;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  color: #FFBF00;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: #4472C4;
  margin-bottom: 0.8rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

.cta-section {
  background: linear-gradient(135deg, #4472C4, #FFBF00);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 1.5rem;
  margin: 4rem 10%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: 0;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #fefefe;
}

.cta-btn {
  background-color: #fff;
  color: #4472C4;
  padding: 0.75rem 2rem;
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-btn:hover {
  background-color: #FFBF00;
  color: white;
}


@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ریسپانسیو فوتر */
@media (max-width: 768px) {
  .footer-content {
    padding: 0 5% 2rem 5%;
    grid-template-columns: 1fr;
    text-align: center;
  }
}


/* ====== ریسپانسیو ====== */
@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2rem;
  }
}


/* ====== ریسپانسیو ====== */
@media (max-width: 768px) {
  .board-hero h1 {
    font-size: 2rem;
  }
}


/* ====== ریسپانسیو ====== */
@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 2rem;
  }
  .about-section {
    padding: 2rem 5%;
  }
}

/* ==== ریسپانسیو ==== */
@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .navbar-logo{
    display: none;
  }

  .about-page,
  .contact-page,
  .board-page,
  .consultation-form {
    padding: 1.5rem 5%;
  }

  .form-row {
    flex-direction: column;
  }

  .info-box {
    width: 95%;
    padding: 1.5rem;
    font-size: 0.95rem;
  }

  .info-box h2 {
    font-size: 1.2rem;
  }
}