body {
   font-family: 'ANDLSO.TTF', Tahoma, Geneva, Verdana, sans-serif; /* فونت مدرن‌تر */
   margin: 0;
   padding: 0;
   background-color: #000000; /* پس‌زمینه روشن‌تر */
   color: #051e36bd; /* رنگ متن تیره‌تر و خواناتر */
   line-height: 1.7;
   -webkit-font-smoothing: antialiased; /* بهبود رندرینگ فونت در مرورگرهای WebKit */
   -moz-osx-font-smoothing: grayscale; /* بهبود رندرینگ فونت در فایرفاکس */
}

before {
   content: '';
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.7);
   z-index: -1;
}

.container {
   max-width: 1222px; /* عرض بیشتر برای محتوا */
   margin: 0 auto;
   padding: 15px; /* فاصله بیشتر از لبه‌ها */
}

header {
   padding: 1px 0;
   position: sticky;
   top: 0;
   z-index: 100;
   background: rgba(194, 190, 190, 0.05);
   backdrop-filter: blur(15px);
   -webkit-backdrop-filter: blur(15px);
   border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

header {
   position: sticky; 
   top: 0; 
   transition: transform 0.3s ease-in-out; 
   transform: translateY(0); 
   background-color: rgba(105, 104, 104, 0.11); 
   z-index: 100; 
}

header.hidden {
   transform: translateY(-100%);
}

header .container {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.logo a {
   text-decoration: none;
   font-size: 1.8em; /* اندازه بزرگتر لوگو */
   color: #ffffffd5;
   font-weight: 600; /* وزن فونت نیمه‌ضخیم */
}

.logo img {
   width: 48px;   /* عرض لوگو */
   height: auto;   /* ارتفاع متناسب با عرض تغییر می‌کنه */
 }
 

nav ul {
   list-style: none;
   padding: 0;
   margin: 0;
   display: flex;
}

nav ul li {
   margin-left: 15px; /* فاصله بیشتر بین لینک‌ها */
}

nav ul li a {
   text-decoration: none;
   color: #ffffffd5; /* رنگ لینک تیره‌تر */
   transition: color 0.1s ease; /* انیمیشن تغییر رنگ */
}

nav ul li a:hover {
   color: #5a0cb4; /* تغییر رنگ در حالت هاور */
}

.hero {
   background-color: #000102;
   padding: 100px 0; /* فاصله بیشتر بالا و پایین */
   text-align: center;
   background-image: url('Logo/image'); /* تصویر پس‌زمینه (فرضی) */
   background-size: cover;
   background-position: center;
   color: #fff; /* رنگ متن سفید برای پس‌زمینه تیره */
   position: relative;
   text-shadow: 0 1px 18px rgba(17, 9, 129, 0.952);
   z-index: 5;
}

.hero::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.4); /* لایه تیره برای خوانایی متن */
   z-index: -1;
}

.hero .container {
   max-width: 800px;
}

.hero h1 {
   font-size: 3.5em; /* اندازه بزرگتر عنوان */
   margin-bottom: 30px;
   font-weight: bold;
}

.hero p {
   font-size: 1.2em;
   margin-bottom: 40px;
   line-height: 1.8;
}

.hero .button {
   display: inline-block;
   padding: 15px 30px;
   background-color: #16073fbe;
   color: #fff;
   text-decoration: none;
   border-radius: 8px; /* لبه‌های گردتر */
   font-size: 1.1em;
   transition: background-color 0.3s ease; /* انیمیشن تغییر رنگ دکمه */
}

.hero .button:hover {
   background-color: #04072a;
}

.about, .services, .contact {
   padding: 80px 0; /* فاصله بیشتر بالا و پایین */
   text-align: center;
}

.about h2, .services h2, .contact h2 {
   font-size: 2.8em;
   margin-bottom: 40px;
   color: #ffffff;
   font-weight: bold;
}

.about p {
   font-size: 1.1em;
   line-height: 1.8;
   margin-bottom: 30px;
   color: #ffffff;
   text-align: left; /* متن درباره ما چپ‌چین */
}

.services-list {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* عرض حداقلی بیشتر برای آیتم‌ها */
   gap: 30px;
   margin-top: 40px;
}

.service-item {
   background-color: #fff;
   padding: 30px;
   border-radius: 8px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); /* سایه قوی‌تر */
   transition: box-shadow 0.3s ease; /* انیمیشن سایه */
}

.service-item:hover {
   box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.service-item h3 {
   font-size: 1.5em;
   margin-bottom: 15px;
   color: #343a40;
}

.service-item p {
   font-size: 1em;
   color: #000000;
   line-height: 1.6;
}

.contact form {
   margin-top: 40px;
   max-width: 600px; /* عرض بیشتر فرم */
   margin-left: auto;
   margin-right: auto;
   text-align: left;
   padding: 30px;
   background-color: #fff;
   border-radius: 8px;
   box-shadow: 0 1px 35px rgba(96, 7, 212, 0.411);
}

.form-group {
   margin-bottom: 25px;
}

.form-group label {
   display: block;
   margin-bottom: 8px;
   font-weight: bold;
   color: #000000dc;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
   width: 100%;
   padding: 12px;
   border: 1px solid #0e03209d;
   border-radius: 6px;
   box-sizing: border-box;
   font-size: em;
   color: #000000;
}

.form-group textarea {
   resize: vertical; /* امکان تغییر اندازه عمودی textarea */
}

.contact .button.primary {
   padding: 18px 35px;
   font-size: 1.2em;
   border: none;
   border-radius: 8px;
   cursor: pointer;
   transition: background-color 0.3s ease;
}

footer {
   background-color: #220542be;
   color: #fff;
   padding: 30px 0;
   text-align: center;
   font-size: 0.9em;
}

footer .container {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

footer .social-links {
   margin-top: 0;
}

footer .social-links a {
   display: inline-block;
   margin-left: 15px;
}

footer .social-links img {
   width: 35px;
   height: 35px;
   opacity: 0.8;
   transition: opacity 0.3s ease;
}

footer .social-links img:hover {
   opacity: 1;
}