@font-face {
   font-family: 'IRANSans';
   src: url('fonts/IRANSans/IRANSans.woff2') format('woff2'),
        url('fonts/IRANSans/IRANSans.woff') format('woff'),
        url('fonts/IRANSans/IRANSans.ttf') format('truetype');
   font-weight: normal;
   font-style: normal;
 }

 body {
   font-family: 'IRANSans', sans-serif;
   margin: 0;
   padding: 0;
   background-color: #000000;
   color: #051e36bd;
   line-height: 1.7;
   -webkit-font-smoothing: antialiased;
   -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: 1185px; 
   margin: 0 auto;
   padding: 15px; 
}

header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   background: rgba(194, 190, 190, 0.089);
   backdrop-filter: blur(10px);
   transition: top 0.5s ease;
   z-index: 999;
   padding: 10px 20px;
 }

 header.hidden {
   top: -100px; /* به اندازه ارتفاع هدر */
 }

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: 65px;  
   height: auto;   
 }
 

nav ul {
   list-style: none;
   padding: 0;
   margin: 0;
   display: flex;
}

nav ul li {
   margin-left: 30px; 
}

nav ul li a {
   text-decoration: none;
   color: #ffffffd5; 
   transition: color 0.3s 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(96, 7, 212, 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: #2f085cbe;
   color: #fff;
   text-decoration: none;
   border-radius: 8px; 
   font-size: 1.1em;
   transition: background-color 0.3s ease; 
}

.hero .button:hover {
   background-color: #041629;
}

.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: 555px;
   max-width: 450px; 
   margin-left: auto;
   margin-right: auto;
   transform: scale(0.8);
   text-align: left;
   padding: 30px;
   background-color: #72707018;
   border-radius: 12px;
   box-shadow: 0 1px 35px rgba(96, 7, 212, 0.24);
}

.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; 
}

.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: #000000be;
   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;
}

.aura-frame{
  position: relative;
  border-radius: 22px;
  background: rgba(236, 236, 236, 0.021);
  padding: 24px;
  isolation: isolate;
}

.aura-frame::after{
  content:"";
  position:absolute;
  inset:-18px;
  border-radius: inherit;
  background:
    radial-gradient(60% 80% at 25% 50%, rgba(124,58,237,.55), transparent 60%),
    radial-gradient(60% 80% at 75% 50%, rgba(8, 17, 43, 0.55), transparent 60%);
  filter: blur(22px);
  opacity:.9;
  z-index:-2;
  animation: aura-breathe 3.2s ease-in-out infinite alternate;
}

@keyframes aura-rotate{
  to{ --angle: 360deg; }
}

@keyframes aura-breathe{
  from{ transform: scale(0.98); opacity:.8; }
  to  { transform: scale(1.02); opacity:1; }
}

@media (prefers-reduced-motion: reduce){
  .aura-frame::before,
  .aura-frame::after{ animation: none; }
}

* {
   font-family: 'IRANSans', sans-serif !important;
 }
 