/* style.css */

body {
  font-family: Arial, sans-serif;
  color: #333;
}

.hero {
  height: 100vh;
  background: #000; /* Black background */
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero .container {
  position: relative;
  z-index: 2;
}

header h1,
header p.lead {
  color: #fff;
}

.navbar {
  background: #000;
}

.navbar .nav-link {
  color: #fff;
  position: relative;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
}

#about img {
  max-width: 200px;
}

#services img {
  display: block;
  margin: 0 auto 20px;
}

#contact form input,
#contact form textarea {
  border-radius: 0;
}

#contact button {
  border-radius: 0;
}
.progress {
  background-color: #eee;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  background-color: #007bff; /* آبی Bootstrap */
  height: 100%;
}
.about h2 {
  position: relative;
  display: inline-block;
}

.about h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 50px;
  height: 3px;
  background: #007bff;
}
#resume h2 {
  position: relative;
  display: inline-block;
  font-weight: bold;
}

#resume h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background: #007bff;
}

.resume-item h4 {
  font-weight: bold;
}

.resume-item h5 {
  font-size: 0.9rem;
  color: #666;
}

.resume-item p em {
  display: block;
  font-style: normal;
  font-weight: bold;
  margin-bottom: 5px;
}

#resume {
  background: #f8f9fa;
}

#resume .resume-item {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid #007bff;
}

#resume .resume-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: #007bff;
  border-radius: 50%;
}

/* Services */
.service-box {
  border-radius: 12px;
  background: #fff;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.service-box .icon {
  width: 60px;
  height: 60px;
  background: #007bff;
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
}

.service-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: #007bff;
  transition: width 0.3s ease-in-out;
  opacity: 1;
}

.service-box:hover::after {
  width: 100%;
}

.contact .section-title h2 {
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 3px solid #007bff;
}

.contact .info-box {
  background: #fff;
  padding: 30px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  border-radius: 10px;
}

.contact .info-box i {
  font-size: 28px;
  color: #007bff;
  margin-bottom: 15px;
  display: inline-block;
}

.contact .info-box h4 {
  font-weight: 700;
  margin-bottom: 10px;
}

.contact .info-box p {
  margin-bottom: 0;
  color: #555;
}

.contact .form input,
.contact .form textarea {
  border-radius: 6px;
  border: 1px solid #ccc;
}

.contact .form button {
  border-radius: 30px;
  background: #007bff;
  border: none;
}

.contact .form button:hover {
  background: #0056b3;
}
/* جعبه کلی شامل 3 info-box */
.info-container {
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 30px;
  gap: 20px;
}

/* هر باکس تکی */
.contact .info-box {
  transition: all 0.3s ease;
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
}

/* آیکون و متن آبی در حالت hover */
.contact .info-box:hover {
  background: #007bff;
  color: #fff;
}

.contact .info-box:hover i {
  color: #fff;
}

.contact .info-box:hover p,
.contact .info-box:hover h4 {
  color: #fff;
}

#footer {
  background: #007bff;
  color: white;
  font-size: 14px;
}

#footer .social-links a {
  color: white;
  font-size: 20px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  color: #000;
}
#hero {
  padding-top: 300px; /* به اندازه ارتفاع navbar */
}
body {
  font-family: 'Poppins', sans-serif;
}

/* مخصوص بخش hero */
.hero h1 {
  font-size: 3.5rem;
  font-weight: 700; /* Bold like DevFolio */
  text-transform: uppercase;
}

.hero p.lead {
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 2px;
}
#services {
  background-color: #f2f2f2; /* یک خاکستری بسیار ملایم */
}
#services .service-box {
  border-radius: 10px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

#services .service-box:hover {
  background-color: #007bff;
  color: white;
  transform: translateY(-5px);
}

#services .service-box:hover i {
  color: white;
}
.info-box:hover {
  background-color: #007bff;
  color: white;
  transition: 0.3s ease;
}

.info-box:hover i,
.info-box:hover h4,
.info-box:hover p {
  color: white;
}




