/* استایل عمومی برای صفحه */
@font-face {
    font-family: 'lalezar';
    src:  url('../fonts/Lalezar-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    } 
body {
    font-family: lalezar;
    margin: 0;
    padding: 0;
    background-color:   #f8f9fa;
  }


  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* بخش‌های رزومه */
.resume-section {
    background: #ffffff;
    padding: 40px 30px;
    margin: 30px auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resume-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.resume-section::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(30, 55, 153, 0.05);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.resume-section h2 {
    font-size: 2.5rem;
    color: #1e3799;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.resume-list {
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1;
    position: relative;
    direction: rtl;
    
}

.resume-list li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #f9f9f9;
    transition: all 0.3s ease;
    position: relative; 
}

.resume-list li:hover {
    background: #1e3799;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.resume-list li::before {
    content: "✔";
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #1e3799;
    opacity: 0.8;
    transition: color 0.3s ease;

    
}

.resume-list li:hover::before {
    color: #fff;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .resume-section {
        padding: 30px 20px;
    }

    .resume-section h2 {
        font-size: 2rem;
    }

    .resume-list li {
        font-size: 1rem;
    }
}

/* General Header Style */
/* 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;
}

  /* Footer Section */
.footer {
    background: linear-gradient(to right, #576574, #1e3799);
    color: #ecf0f1;
    padding: 40px 20px;
    font-size: 1rem;
    position: relative;
    z-index: 10;
  }
  
  .footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
  }
  
  .footer-logo a {
    font-size: 1.8rem;
    color: #ecf0f1;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-logo a:hover {
    color: #3498db;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer-links li {
    font-size: 1.1rem;
  }
  
  .footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: #3498db;
  }
  
  /* New contact section */
  .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-contact .contact-link {
    color: #ecf0f1;
    font-size: 1.2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .footer-contact .contact-link:hover {
    color: #3498db;
    transform: scale(1.1);
  }
  
  .footer-contact .contact-link i {
    font-size: 1.6rem;
  }
  
  /* Footer bottom */
  .footer-bottom {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 20px;
    margin-top: 20px;
  }
  
  .footer-bottom p {
    font-size: 1rem;
    color: #ecf0f1;
  }
  
  .footer-bottom a {
    color: #3498db;
    text-decoration: none;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer-links ul {
      justify-content: center;
    }
  
    .footer-social {
      justify-content: center;
    }
  
    .footer-contact {
      align-items: center;
    }
  }
  
  

