/* Reset و فونت‌ها */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Vazir, sans-serif;
}

:root {
  --primary-color: #25D366;
  --secondary-color: #128C7E;
  --accent-color: #FFA726;
  --dark-color: #333;
  --light-color: #f9f9f9;
  --text-color: #444;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body {
  background-color: #fff;
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* هدر صفحه درباره ما */
.about-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 60px 0 40px;
  text-align: center;
  margin-bottom: 40px;
}

.about-header h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-header h1 span {
  color: var(--accent-color);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  max-width: 300px;
  margin: 0 auto;
}

.breadcrumb li {
  margin: 0 10px;
}

.breadcrumb li a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumb li a:hover {
  color: var(--accent-color);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.6);
}

/* بخش‌های اصلی محتوا */
.about-section {
  padding: 40px 0;
}

.about-intro h2,
.about-mission h2,
.team-section h2,
.location-section h2 {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.about-intro h2::after,
.about-mission h2::after,
.team-section h2::after,
.location-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.about-intro p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* جدول زمانی تاریخچه */
.milestones {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 40px 0;
}

.milestone {
  flex: 0 0 calc(25% - 20px);
  margin-bottom: 30px;
  position: relative;
  padding-right: 30px;
}

.milestone::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background-color: var(--primary-color);
}

.year {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.description {
  font-size: 1rem;
  color: var(--text-color);
}

/* ماموریت و چشم‌انداز */
.mission-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
}

.mission-list li {
  flex: 1 1 300px;
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.mission-list li:hover {
  transform: translateY(-10px);
}

.mission-list i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.mission-list h3 {
  font-size: 1.3rem;
  color: var(--dark-color);
  margin-bottom: 15px;
}

/* بخش تیم */
.team-member {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-bottom: 40px;
}

.member-image {
  flex: 1 1 300px;
}

.member-image img {
  width: 100%;
  height: auto;
  display: block;
}

.member-info {
  flex: 2 1 500px;
  padding: 40px;
}

.member-info h3 {
  font-size: 1.8rem;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.position {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.bio {
  margin-bottom: 30px;
  line-height: 1.8;
}

.member-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link i {
  margin-left: 8px;
  color: var(--primary-color);
}

.contact-link:hover {
  color: var(--primary-color);
}

/* بخش موقعیت مکانی */
.location-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
}

.address-card {
  flex: 1 1 400px;
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.address-card h3 {
  font-size: 1.5rem;
  color: var(--dark-color);
  margin-bottom: 20px;
}

address {
  font-style: normal;
  margin-bottom: 30px;
  line-height: 1.8;
}

address i {
  color: var(--primary-color);
  margin-left: 8px;
}

.working-hours {
  margin-bottom: 30px;
}

.working-hours h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.working-hours p {
  margin-bottom: 5px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.contact-button i {
  margin-left: 8px;
}

.contact-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.map-container {
  flex: 2 1 600px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* فوتر */
.about-footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1 1 300px;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 20px;
}

.footer-links {
  flex: 1 1 200px;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: white;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-right: 5px;
}

.footer-contact {
  flex: 1 1 300px;
}

.footer-contact ul {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-left: 10px;
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent-color);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.copyright strong {
  color: var(--accent-color);
}

/* رسپانسیو */
@media (max-width: 992px) {
  .milestone {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .about-header {
    padding: 40px 0 30px;
  }
  
  .about-header h1 {
    font-size: 2rem;
  }
  
  .team-member {
    flex-direction: column;
  }
  
  .member-info {
    padding: 30px 20px;
  }
  
  .mission-list li {
    flex: 1 1 100%;
  }
  
  .milestone {
    flex: 0 0 100%;
    padding-right: 20px;
  }
}

@media (max-width: 576px) {
  .about-header h1 {
    font-size: 1.8rem;
  }
  
  .about-intro h2,
  .about-mission h2,
  .team-section h2,
  .location-section h2 {
    font-size: 1.6rem;
  }
  
  .member-contact {
    flex-direction: column;
    gap: 15px;
  }
  
  .contact-button {
    width: 100%;
  }
}


/* استایل منوی همبرگری */
.hamburger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
}

#menu-toggle {
    opacity: 0;
}

#menu-toggle:checked ~ .menu-btn > span {
    transform: rotate(45deg);
}
#menu-toggle:checked ~ .menu-btn > span::before {
    top: 0;
    transform: rotate(0);
}
#menu-toggle:checked ~ .menu-btn > span::after {
    top: 0;
    transform: rotate(90deg);
}
#menu-toggle:checked ~ .menu-box {
    visibility: visible;
    right: 0;
}

.menu-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 1000;
}

.menu-btn > span,
.menu-btn > span::before,
.menu-btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition-duration: .25s;
}
.menu-btn > span::before {
    content: '';
    top: -8px;
}
.menu-btn > span::after {
    content: '';
    top: 8px;
}

.menu-box {
    display: block;
    position: fixed;
    visibility: hidden;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    background-color: #f8f9fa;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
    transition-duration: .25s;
    z-index: 999;
    direction: rtl;
}

.menu-item {
    display: block;
    padding: 12px 24px;
    color: #333;
    font-family: 'IranSans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition-duration: .25s;
}

.menu-item:hover {
    background-color: #e9ecef;
    color: #007bff;
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .menu-box {
        width: 250px;
    }
    
    .menu-item {
        font-size: 16px;
        padding: 10px 20px;
    }
}
