/* تنظیمات کلی */
@font-face {
    font-family: 'lalezar';
    src:  url('../fonts/Lalezar-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    } 
body {
    font-family: 'lalezar', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    color: #333;
}

/* استایل بخش تماس با ما */
.contact-page {
    background-color: #f4f6f8;
    padding: 60px 0;
}

.contact-info {
    width: 80%;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: #1e3799;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info ul li {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.contact-info ul li i {
    margin-left: 10px;
    color: #1e3799;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    margin: 0 10px;
    font-size: 1.5rem;
    color: #1e3799;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #576574;
    transform: scale(1.2);
}

/* استایل ریسپانسیو برای بخش تماس */
@media (max-width: 768px) {
    .contact-info {
        width: 90%;
        padding: 30px;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-info p {
        font-size: 1rem;
    }

    .social-icons a {
        font-size: 1.2rem;
    }
}


/* General Header Style */
header {
  background: linear-gradient(to right, #576574, #1e3799);
  padding: 10px 30px;
  width: 100%;
 
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-size: 1.8rem;
  color: #ecf0f1;
  text-decoration: none;
  font-weight: 600;
}

.navbar-nav {
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.nav-item {
  margin-left: 30px;
}
.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease-in-out;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3498db; /* تغییر رنگ خط زیر */
  transition: width 0.3s ease-in-out;
}

.nav-link:hover {
  color: #3498db; /* تغییر رنگ متن هنگام هاور */
}

.nav-link:hover::after {
  width: 100%; /* خط زیر متن هنگام هاور نمایش داده می‌شود */
}







/* Search Box */
/* استایل دهی به بخش سرچ باکس */
.search-box input {
  border: 2px solid #ccc;
  padding: 10px 20px;
  font-size: 16px;
  color: #333;
  border-radius: 25px;
  width: 250px;
  outline: none;
  transition: all 0.3s ease-in-out;
  background-color: #fff;
}

/* افکت هاور برای سرچ باکس */
.search-box input:hover {
  border-color: #3498db;  /* تغییر رنگ مرز هنگام هاور */
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.6); /* سایه اطراف */
}

/* تغییر رنگ متن و مرز هنگام فوکوس */
.search-box input:focus {
  border-color: #3498db; /* تغییر رنگ مرز هنگام فوکوس */
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.6); /* سایه اطراف */
  color: #3498db; /* تغییر رنگ متن هنگام فوکوس */
}

/* استایل جایگزینی برای placeholder */
.search-box input::placeholder {
  color: #bbb;
  font-style: italic;
  transition: color 0.3s ease-in-out;
}

/* هنگام فوکوس، رنگ placeholder تغییر می‌کند */
.search-box input:focus::placeholder {
  color: #3498db; /* رنگ placeholder هنگام فوکوس */
}


/* استایل دهی به آیکون‌های شبکه اجتماعی */
.social-links a {
  font-size: 24px;
  color: #ffffff;
  margin: 0 15px;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* افکت هاور برای آیکون‌های شبکه اجتماعی */
.social-links a:hover {
  color: #3498db; /* تغییر رنگ آیکون هنگام هاور */
  transform: scale(1.2); /* بزرگتر شدن آیکون */
}

/* استایل برای آیکون‌های اجتماعی با رنگ‌های مشخص */
.social-links a i {
  transition: transform 0.3s ease;
}

/* تغییر رنگ و سایه در هنگام هاور */
.social-links a:hover i {
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.6); /* سایه اطراف آیکون */
}

/* برای اطمینان از فاصله‌گذاری مناسب */
.social-links {
  display: flex;
  align-items: center;
}

/* Mobile View */
@media (max-width: 768px) {
 
 
  .menu-btn {
    display: block;
    background-color: transparent;
    border: none;
    font-size: 2rem;
    color: #ecf0f1;
  }

  .search-box {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .social-links {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .social-links a {
    font-size: 1.5rem;
  }
}


/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: linear-gradient(to right, #576574, #1e3799);
  padding: 20px;
  transition: left 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 3000;
}

.sidebar.active {
  left: 0;
}

.close-btn {
  font-size: 2rem;
  color: #ecf0f1;
  background: none;
  border: none;
  margin-bottom: 20px;
}

.sidebar .nav-item {
  margin-bottom: 20px; 
}

.sidebar .nav-link {
  font-size: 1.2rem;
  color: #ecf0f1;
  text-decoration: none;
}

  