@font-face {
  font-family: 'Vazirmatn';
  src: url('/static/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
/* Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 40px;
  background: #1e1e1e;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin: 20px;
  box-shadow: rgba(229, 184, 74, 0.333) 0px 0px 5px;
  transition: all 0.3s ease;
}

.main-header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;            
  width: 100%;         
  border-radius: 0;       
  z-index: 1000;
}

.main-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #2d3748;
}

.main-logo::before {
    content: 'A';
    background: #2d3748;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
}

.main-nav {
    display: flex;
    gap: 40px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #f3d27a;
}

.main-header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 5px;
}

.main-btn {
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.main-btn-primary {
    background: linear-gradient(135deg, #e5b84a 0%, #e5b84a 100%);
    color: #2d3748;
}

.main-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(198, 243, 68, 0.3);
    color: black;
}

.main-btn-icon {
    background: #2d3748;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
  z-index: 1101;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -260px;   
  width: 250px;
  height: 90vh;   
  background: #1e1e1e;
  box-shadow: -2px 0 10px rgba(0,0,0,0.5);
  transition: right 0.3s ease;
  padding: 60px 20px;
  z-index: 1100;
  border-radius: 10px;
  display: none;
  flex-direction: column;   
  justify-content: flex-start;
}
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column; 
  gap: 20px;
}

.mobile-nav ul li {
  margin: 15px 0;
}
.mobile-nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 10px 10px;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: #7184ad33;
  border-radius: 20px;
}

.mobile-nav ul li a:hover {
  color: #f3d27a;
}

.mobile-nav.active {
  right: 0;
}

/***footer**/

.main-footer-content {
      padding: 4rem 2rem;
      background: #1e1e1e;
      border-radius: 8px;
      box-shadow: 0 0 25px #e5b84a55;
}
.main-footer-section {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.brand-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    transform: rotate(-10deg);
}
.brand-description {
    color: #8c9cbf;
    line-height: 1.6;
    max-width: 300px;
}


.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: #2b2b2b;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-2px);
}

.footer-social-link > img{
  width: 20px;
}

.footer-column h3 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}
.footer-column li {
    margin-bottom: 0.75rem;
}
.footer-column a {
    color: #8c9cbf;
    text-decoration: none;
    transition: color 0.3s 
ease;
    font-size: 0.9rem;
}
.footer-column a:hover {
    color: #f3d27a;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 0.9rem;
}
.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f3d27a;
}

  /* Animated background elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 40px;
    height: 40px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}


/**about us**/
.ab-container {
    max-width: 1400px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: rgba(229, 184, 74, 0.333) 0px 0px 25px;
    overflow: hidden;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ab-hero-section {
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: #222;
    border-bottom: 2px solid #e5b84a;
    border-radius: 16px;
}

.ab-hero-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    position: relative;
}

.ab-image-card {
    background:linear-gradient(135deg, #f3d27a 0%, #7184ad 100%);
    border-radius: 15px;
    padding: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
}

.ab-image-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 20px 40px rgb(229, 184, 74, 0.333);
}

.ab-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 100%);
    border-radius: 15px;
}

.ab-image-content {
    background: #2e2e2e;
    height: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #667eea;
    position: relative;
    z-index: 1;
}

.ab-large-card {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.about-content {
    animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-title {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(1deg, rgb(255, 255, 255), rgb(243, 210, 122)) text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    position: relative;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #f3d27a 0%, #7184ad 100%);
    border-radius: 2px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    margin-bottom: 2rem;
}

.ab-learn-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.ab-learn-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

.ab-services-section {
    padding: 4rem;
    background: #222;
}

.ab-services-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.ab-services-intro {
    background: linear-gradient(135deg, rgb(243, 210, 122) 0%, rgb(113, 132, 173) 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.ab-services-intro::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ab-services-intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.ab-services-intro h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.ab-services-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.ab-nav-arrows {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.ab-nav-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: black;
    font-size: 1.2rem;
}

.ab-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.ab-service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ab-service-card {
    background: #2e2e2e;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.ab-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #7184ad;
}

.ab-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background:linear-gradient(135deg, #f3d27a 0%, #e5b84a 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.ab-service-card:hover::before {
    transform: scaleX(1);
}

.ab-service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f3d27a 0%, #7184ad 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.ab-service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255,255,255,0.3), transparent);
    animation: spin 3s linear infinite;
}

.ab-service-icon > img {
    width: 80%;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ab-service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: white;
}

.ab-service-btn {
    background: linear-gradient(45deg, rgb(255, 255, 255), rgb(243, 210, 122));
    color: black;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    width: fit-content;
    font-family:'Vazirmatn' ;
}

.ab-service-btn:hover {
    transform: translateY(-2px);
    box-shadow: rgba(219, 231, 56, 0.4) 0px 10px 20px;
}

.ab-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.ab-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.black-color{
    color:black;
}




@media (max-width: 768px) {

  .mobile-nav {
    display: flex; 
  }
  .main-nav {
    display: none ; 
  }

  .hamburger {
    display: block; 
  }

  .main-header {
    padding: 10px 20px;
  }
  .hero-title {
      font-size: 2rem;
  }
  
  .main-footer-section {
      grid-template-columns: 1fr;
      gap: 2rem;
  }
  
  .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
  }
  
  .footer-links {
      flex-wrap: wrap;
      justify-content: center;
  }

  .ab-hero-section {
      grid-template-columns: 1fr;
      padding: 2rem;
      gap: 2rem;
  }

  .ab-services-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
  }

  .ab-service-cards {
      grid-template-columns: 1fr;
  }

  .about-title {
      font-size: 2rem;
  }

  .ab-services-intro h3 {
      font-size: 2rem;
  }

  /* .main-header-actions {
    margin-left: auto;
  } */
}

@media (min-width: 769px) {
  .mobile-nav {
    display: none !important; 
  }

  .hamburger {
    display: none; 
  }
}
