﻿body {
  font-family: "Tahoma", sans-serif;
  background-color: #fdfdfd;
  margin: 0;
  padding: 0;
  line-height: 1.8;
  color: #333;
}
h2, h3 {
  text-align: center;
  color: #ff6600;
}
hr {
  border: none;
  border-top: 2px solid #ff6600;
  margin: 20px 0;
}
.highlight {
  color: #ff6600;
}
.contact-box {
  max-width: 700px;
  margin: 40px auto;
  background: #fff;
  border: 2px solid #ff6600;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.contact-box h3 {
  margin-bottom: 20px;
  color: #800080;
}
.contact-links a {
  display: inline-block;
  margin: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  background: linear-gradient(45deg, #ff6600, #ff9900);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.contact-links a:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #ff9900, #ff6600);
}
.video-section {
  text-align: center;
  margin: 40px auto;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  max-width: 900px;
  margin: 40px auto;
}
.gallery img {
  width: 100%;
  border-radius: 15px;
  border: 3px solid #ff6600;
  transition: transform 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
}
.gallery-200 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  max-width: 900px;
  margin: 40px auto;
}
.gallery-200 img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid purple;
  display: block;
  margin: auto;
  transition: transform 0.3s;
}
.gallery-200 img:hover {
  transform: scale(1.05);
}
.three-boxes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  flex-wrap: wrap;
  max-width: 1000px;
}
.three-boxes .box {
  background: #fff;
  border: 2px solid purple;
  border-radius: 15px;
  padding: 20px;
  width: 280px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.three-boxes .box:hover {
  transform: translateY(-5px);
}
.three-boxes a {
  text-decoration: none;
  color: #800080;
  font-weight: bold;
}
.content {
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.box {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 800px; /* حداکثر عرض باکس */
    margin: 15px auto; /* وسط چین کردن */
    padding: 15px; /* کمی کوچکتر از قبل */
    border: 2px solid black;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: white;
    font-size: 16px; /* کمی کوچکتر */
}

.box i {
    margin-right: 15px;
    font-size: 22px;
    flex-shrink: 0;
}

/* رنگ‌های متفاوت برای هر باکس */
.box1 { background-color: #e74c3c; } /* قرمز */
.box2 { background-color: #3498db; } /* آبی */
.box3 { background-color: #2ecc71; } /* سبز */
.box4 { background-color: #f1c40f; color: black; } /* زرد */
.box5 { background-color: #9b59b6; } /* بنفش */
.box6 { background-color: #e67e22; } /* نارنجی */
.box7 { background-color: #1abc9c; } /* فیروزه‌ای */

@media (max-width: 768px) {
    .box {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }
    .box i {
        margin-bottom: 10px;
    }
}
