/* وارد کردن فونت ساحل */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/sahel-font@v3.4.0/dist/font-face.css');

/* متغیرهای CSS برای مدیریت رنگ‌ها */
:root {
  --primary-color: #000247;
  --text-primary: #1A1A1A;
  --text-secondary: #6B7280;
  --background-primary: #E8E9ED;
  --background-card: #FFFFFF;
  --accent-color: #000247;
  --shadow-light: rgba(0, 0, 0, 0.08);
  --shadow-medium: rgba(0, 0, 0, 0.12);
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --dark-gray: #333333;
}

/* Reset و تنظیمات پایه */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Sahel', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background-color: var(--background-primary);
  color: var(--text-primary);
  line-height: 1.6;
  direction: rtl;
}

/* تایپوگرافی */
h1 {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* کانتینر اصلی */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-fluid {
  width: 100%;
  padding: 0 2rem;
}

/* هدر و ناوبری */
.header {
  background: var(--background-card);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow-light);
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  height: 80px;
}

.logo {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover {
  background-color: var(--light-gray);
  color: var(--primary-color);
}

.nav-link.active {
  background-color: var(--primary-color);
  color: var(--white);
}

/* زیرمنوها */
.submenu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--background-card);
  box-shadow: 0 15px 35px var(--shadow-medium);
  border-radius: 16px;
  padding: 1.5rem;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1001;
  border: 1px solid rgba(91, 127, 255, 0.1);
}

.nav-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-item {
  display: block;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--text-primary);
  border-radius: 12px;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.submenu-item:last-child {
  margin-bottom: 0;
}

.submenu-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(91, 127, 255, 0.1), transparent);
  transition: right 0.5s ease;
}

.submenu-item:hover::before {
  right: 100%;
}

.submenu-item:hover {
  background: linear-gradient(135deg, rgba(91, 127, 255, 0.05), rgba(91, 127, 255, 0.1));
  border-color: var(--accent-color);
  transform: translateX(-5px);
  box-shadow: 0 8px 25px rgba(91, 127, 255, 0.15);
}

.submenu-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.submenu-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* مگامنو برای دپارتمان‌ها */
.megamenu {
  position: fixed;
  top: 80px;
  left: 2rem;
  right: 2rem;
  background: var(--background-card);
  box-shadow: 0 20px 40px var(--shadow-medium);
  border-radius: 20px;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1001;
  border: 1px solid rgba(91, 127, 255, 0.1);
  backdrop-filter: blur(10px);
}

.nav-item:hover .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-height: 600px;
  overflow-y: auto;
  padding: 10px;
}

.megamenu-item {
  display: block;
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(245, 245, 245, 0.5));
  position: relative;
  overflow: hidden;
  text-align: center;
}

.megamenu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(91, 127, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.megamenu-item:hover::before {
  left: 100%;
}

.megamenu-item:hover {
  background: linear-gradient(135deg, rgba(91, 127, 255, 0.08), rgba(91, 127, 255, 0.15));
  border-color: var(--accent-color);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(91, 127, 255, 0.2);
}

.megamenu-item-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.megamenu-item-icon i {
  transition: transform 0.3s ease;
}

.megamenu-item:hover .megamenu-item-icon i {
  transform: scale(1.1);
}

.megamenu-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.megamenu-item p {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.megamenu-item .service-title {
  color: #6B7280;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-style: italic;
  display: block;
  -webkit-line-clamp: 1;
}

/* منوی موبایل */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a237e 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(91, 127, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: float 20s ease-in-out infinite;
  z-index: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(-10px) rotate(240deg); }
}

/* Animated geometric shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: floatShapes 15s infinite ease-in-out;
}

.hero-shape:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  background: rgba(91, 127, 255, 0.1);
}

.hero-shape:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 5s;
  background: rgba(255, 215, 0, 0.08);
}

.hero-shape:nth-child(3) {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 20%;
  animation-delay: 10s;
  background: rgba(255, 255, 255, 0.06);
}

.hero-shape:nth-child(4) {
  width: 100px;
  height: 100px;
  top: 40%;
  right: 40%;
  animation-delay: 3s;
  background: rgba(91, 127, 255, 0.08);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border-radius: 0;
}

@keyframes floatShapes {
  0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
  25% { transform: translateY(-30px) translateX(20px) rotate(90deg); }
  50% { transform: translateY(-20px) translateX(-15px) rotate(180deg); }
  75% { transform: translateY(-40px) translateX(10px) rotate(270deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* دکمه‌ها */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Sahel', sans-serif;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* تنظیمات فرم‌ها */
input, select, textarea, button {
  font-family: 'Sahel', sans-serif;
}

select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: left 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-left: 40px !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(91, 127, 255, 0.3);
}

.btn-primary:hover {
  background: #000125;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 127, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary-color);
}

.btn-white:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
}

/* کارت‌ها */
.card {
  background: var(--background-card);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-medium);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  background: var(--light-gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* گرید لایوت */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid-6 {
  grid-template-columns: repeat(6, 1fr);
}

/* Responsive grid-6 */
@media (max-width: 1024px) {
  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* بخش‌ها */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-with-bg {
  background: linear-gradient(135deg, rgba(0, 2, 71, 0.95), rgba(26, 35, 126, 0.9));
}

.section-with-pattern {
  position: relative;
}

.section-with-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(91, 127, 255, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 215, 0, 0.015) 0%, transparent 50%);
  z-index: -1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.section-title {
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* فوتر */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--white);
}
.footer-social-link{
  font-size: 2rem;
  margin-left: 10px;
}
.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* صفحه دپارتمان */
.department-banner {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 2rem;
}

.department-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.department-icon {
  width: 80px;
  height: 80px;
  background: var(--light-gray);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
}

.department-video {
  width: 100%;
  max-width: 600px;
  height: 300px;
  border-radius: 16px;
  margin: 2rem 0;
}

.services-list {
  list-style: none;
  padding: 0;
}

.services-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--light-gray);
  position: relative;
  padding-right: 2rem;
}

.services-list li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.partner-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--background-card);
  border-radius: 12px;
  border: 1px solid var(--light-gray);
}

.partner-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: var(--light-gray);
  border-radius: 50%;
}

/* انیمیشن‌ها */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

/* کروسل مقالات */
.articles-carousel-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin: 2rem 0;
}

.articles-carousel {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
  padding: 1rem 0;
}

.article-card {
  min-width: 350px;
  max-width: 350px;
  background: var(--background-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid rgba(91, 127, 255, 0.1);
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow-medium);
  border-color: var(--accent-color);
}

.article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 1.5rem;
}

.article-category {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), #4a90e2);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.article-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.article-meta i {
  font-size: 0.75rem;
}

/* دکمه‌های کروسل */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--background-card);
  color: var(--accent-color);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--shadow-light);
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--accent-color);
  color: white;
  box-shadow: 0 6px 20px rgba(91, 127, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  right: -25px;
}

.carousel-btn-next {
  left: -25px;
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

.carousel-btn:disabled:hover {
  background: var(--background-card);
  color: var(--accent-color);
  box-shadow: 0 4px 15px var(--shadow-light);
}

/* رسپانسیو */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .navbar {
    padding: 0.75rem 1rem;
    height: 70px;
    justify-content: space-between;
  }
  
  .logo {
    height: 40px;
    margin-right: 1rem;
  }
  
  .mobile-menu-toggle {
    display: block;
    margin-left: 1rem;
    z-index: 1002;
  }
  
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--background-card);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow-medium);
    z-index: 1001;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-item {
    width: 100%;
    margin-bottom: 0;
  }
  
  .nav-link {
    padding: 1rem;
    justify-content: space-between;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 0.5rem;
  }
  
  .submenu {
    position: static;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border-radius: 8px;
    padding: 0;
    margin-top: 0;
    background: transparent;
    border: none;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .submenu.active {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
    padding: 0.5rem 0;
  }
  
  .submenu-item {
    padding: 0.75rem 1.5rem;
    margin-bottom: 0.25rem;
    background: var(--light-gray);
    margin-left: 1rem;
    border-radius: 6px;
  }
  
  .megamenu {
    position: static;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border-radius: 8px;
    padding: 0;
    margin-top: 0;
    background: transparent;
    border: none;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .megamenu.active {
    opacity: 1;
    visibility: visible;
    max-height: 600px;
    padding: 0.5rem 0;
  }
  
  .megamenu-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0 1rem;
  }
  
  .megamenu-item {
    background: var(--light-gray);
    margin-bottom: 0.5rem;
    text-align: right;
    padding: 1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.125rem;
  }
  
  .department-header {
    flex-direction: column;
    text-align: center;
  }
  
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-6 {
    grid-template-columns: 1fr;
  }
  
  .departments-preview {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
  
  .articles-carousel-container {
    margin: 1rem 0;
  }
  
  .article-card {
    min-width: 280px;
    max-width: 280px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .carousel-btn-prev {
    right: -20px;
  }
  
  .carousel-btn-next {
    left: -20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* کلاس‌های کمکی */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.hidden { display: none; }
.visible { display: block; }

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  border: 2px solid var(--light-gray);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-left: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* استایل‌های سکشن برندهای مورد اعتماد - طرح اول */
.trusted-brands-section-v1 {
  background: var(--light-gray);
  padding: 4rem 0;
}

.trusted-brands-grid-v1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.brand-card-v1 {
  background: var(--background-card);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px var(--shadow-light);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-card-v1:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px var(--shadow-medium);
  border-color: var(--accent-color);
}

.brand-card-v1 .brand-logo {
  margin-bottom: 1.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card-v1 .brand-logo img {
  max-height: 100%;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.3s ease;
}

.brand-card-v1:hover .brand-logo img {
  filter: grayscale(0);
}

.brand-card-v1 .brand-info h4 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.brand-card-v1 .service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.brand-card-v1 .brand-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.brand-card-v1 .brand-stats span {
  background: linear-gradient(135deg, var(--accent-color), #1a0b4e);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-card-v1 .brand-stats i {
  font-size: 1rem;
}

/* استایل‌های سکشن برندهای مورد اعتماد - طرح دوم */
.trusted-brands-section-v2 {
  background: linear-gradient(135deg, #000247 0%, #1a0b4e 50%, #2d1b69 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.trusted-brands-section-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1564513259943-b2b0b4b99a1e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center center;
  background-size: cover;
  opacity: 0.1;
  z-index: 1;
}

.trusted-brands-section-v2 .container {
  position: relative;
  z-index: 2;
}

.brands-carousel-container {
  margin-top: 3rem;
}

.brands-logos-slider {
  display: flex;
  gap: 2rem;
  overflow: hidden;
  padding: 2rem 0;
  animation: slideLogos 30s linear infinite;
}

@keyframes slideLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-slide {
  flex: 0 0 auto;
  min-width: 200px;
}

.brand-logo-premium {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2rem;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.brand-logo-premium:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 1);
}

.brand-logo-premium img {
  max-width: 100px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.brand-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 1rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.brand-logo-premium:hover .brand-overlay {
  transform: translateY(0);
}

.brand-overlay h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: white;
}

.brand-overlay span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

.brands-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat-badge {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.stat-badge .stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #D4AF37;
  margin-bottom: 0.5rem;
}

.stat-badge .stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

/* استایل‌های Hero Section صفحه دپارتمان */
.department-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #000247 0%, #1a0b4e 50%, #2d1b69 100%);
}

.department-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/herobg.jpg') center center;
  /* background: url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center center; */
  background-size: cover;
  opacity: 0.08;
  z-index: 1;
}

.department-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.department-hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 3;
  min-height: 80vh;
}

.hero-video-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-player-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  transition: all 0.3s ease;
}

.video-player-container:hover {
  transform: translateY(-4px);
}

.department-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 20px;
  background: transparent;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 20px;
}

.video-overlay i {
  font-size: 5rem;
  color: white;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
  filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.1));
}

.video-player-container:hover .video-overlay {
  opacity: 1;
}

.hero-info-section {
  color: white;
  padding: 3rem 0;
}

.department-icon-hero {
  margin-bottom: 3rem;
}

.department-icon-hero i {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.1));
  transition: all 0.3s ease;
}

.department-icon-hero i:hover {
  transform: scale(1.1);
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

/* استایل‌های جدید برای هیرو دپارتمان */
.main-service-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #F4E7C1;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #F4E7C1 0%, #E8D5A3 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.department-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  margin-bottom: 1rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}

.department-name {
  color: #2e2e2e;
  font-weight: 600;
  text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.5);
}

.service-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
  margin-bottom: 3rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.5;
  font-style: italic;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  margin-top: 2.5rem;
  font-weight: 500;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

.breadcrumb .current {
  color: #F4E7C1;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(244, 231, 193, 0.3);
}

/* استایل‌های کمکی */
.service-title-small {
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0.5rem;
}

/* ریسپانسیو برای Hero Section */
@media (max-width: 768px) {
  .department-hero {
    min-height: auto;
    padding: 6rem 0 4rem;
  }
  
  .department-hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .main-service-title {
    font-size: 2.8rem;
  }
  
  .department-subtitle {
    font-size: 1.1rem;
  }
  
  .service-description {
    font-size: 1rem;
  }
  
  .video-player-container {
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .department-hero-content {
    gap: 2rem;
  }
  
  .main-service-title {
    font-size: 2.2rem;
  }
  
  .department-subtitle {
    font-size: 1rem;
  }
  
  .service-description {
    font-size: 0.95rem;
  }
  
  .video-player-container {
    max-width: 320px;
  }
}

/* باکس‌های پروموت برنامه‌های پیش رو */
.promo-section {
  padding: 0;
  margin: -5rem 0 0 0;
  position: relative;
  z-index: 10;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.promo-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #D4AF37, #E8D5A3, #F4E7C1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.promo-card:hover::before {
  opacity: 1;
}

.promo-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-color: rgba(212, 175, 55, 0.3);
}

.promo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 2, 71, 0.02), rgba(212, 175, 55, 0.03));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 24px;
}

.promo-card:hover .promo-overlay {
  opacity: 1;
}

.promo-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-color), rgba(0, 2, 71, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.promo-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.promo-card:hover .promo-icon::before {
  left: 100%;
}

.promo-icon i {
  font-size: 1.8rem;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 2;
  position: relative;
}

.promo-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.promo-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.promo-status {
  margin-bottom: 1.5rem;
}

.status-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid;
}

.status-badge.upcoming {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
  color: #1e40af;
  border-color: rgba(59, 130, 246, 0.2);
}

.status-badge.active {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.05));
  color: #15803d;
  border-color: rgba(34, 197, 94, 0.2);
}

.status-badge.live {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.2);
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), rgba(0, 2, 71, 0.9));
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-btn:hover {
  background: linear-gradient(135deg, rgba(0, 2, 71, 0.9), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 2, 71, 0.3);
  color: white;
}

.promo-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.promo-btn:hover i {
  transform: translateX(3px);
}

/* تخصیص رنگ‌های مختلف برای هر کارت */
.event-card .promo-icon {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.magazine-card .promo-icon {
  background: linear-gradient(135deg, #10b981, #047857);
}

.podcast-card .promo-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* ریسپانسیو */
@media (max-width: 1024px) {
  .promo-grid {
    gap: 1.5rem;
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .promo-section {
    margin: -2rem 0 0 0;
  }
  
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .promo-card {
    padding: 2rem 1.5rem;
    height: auto;
  }
}

@media (max-width: 480px) {
  .promo-card {
    padding: 1.5rem 1rem;
  }
  
  .promo-icon {
    width: 56px;
    height: 56px;
  }
  
  .promo-icon i {
    font-size: 1.5rem;
  }
  
  .promo-content h3 {
    font-size: 1.2rem;
  }
}

/* کلاس‌های کمکی برای فرم‌ها */
.fw-700 {
  font-weight: 700;
}

.ltr {
  direction: ltr;
}

.text-start {
  text-align: start;
}

.w-100 {
  width: 100%;
}

.mt-xs {
  margin-top: 0.5rem;
}

.gap-xxs {
  gap: 0.25rem;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

/* Overlay شیشه‌ای برای فرم‌های غیرفعال */
.form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.25) 0%, 
    rgba(255, 255, 255, 0.15) 50%, 
    rgba(248, 250, 252, 0.2) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: inherit;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: all 0.3s ease;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.form-overlay-content {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.4) 0%, 
    rgba(248, 250, 252, 0.3) 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

.form-overlay-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.form-overlay-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), rgba(0, 2, 71, 0.8));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  box-shadow: 
    0 15px 35px rgba(0, 2, 71, 0.3),
    0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-overlay-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #D4AF37, #E8D5A3, #F4E7C1);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 4s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.form-overlay-icon i {
  font-size: 2rem;
  color: white;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 2;
  position: relative;
}

.form-overlay-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
}

.form-overlay-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.6);
}

.form-overlay-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary-color), rgba(0, 2, 71, 0.9));
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  direction: ltr;
  font-family: 'Sahel', sans-serif;
}

.form-overlay-phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.6s ease;
}

.form-overlay-phone:hover::before {
  left: 100%;
}

.form-overlay-phone:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 15px 40px rgba(0, 2, 71, 0.4),
    0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(212, 175, 55, 0.5);
  color: white;
}

.form-overlay-phone i {
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* استایل برای حالت فعال بودن فرم */
.form-container {
  position: relative;
}

.form-container.disabled {
  pointer-events: none;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .form-overlay-content {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .form-overlay-icon {
    width: 60px;
    height: 60px;
  }
  
  .form-overlay-icon i {
    font-size: 1.5rem;
  }
  
  .form-overlay-title {
    font-size: 1.1rem;
  }
  
  .form-overlay-phone {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

/* استایل‌های سکشن محتوا */
.department-content-section {
  background: linear-gradient(135deg, #FAFBFC 0%, #F8FAFC 50%, #F1F5F9 100%);
  position: relative;
  padding: 6rem 0;
  margin-top: 0;
}

.department-content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(0, 2, 71, 0.03) 0%, transparent 100%);
  z-index: 1;
}

.department-content-section .container {
  position: relative;
  z-index: 2;
}

.department-content-section .grid {
  gap: 4rem;
}

.department-content-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.department-content-section .card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.department-content-section .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

/* استایل‌های آیکون‌های دپارتمان با رنگ‌های حرفه‌ای */
.department-icon-container {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.department-icon-container:hover {
  transform: translateY(-8px) scale(1.05);
  filter: brightness(1.1);
}

.megamenu-item-icon {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.megamenu-item-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.megamenu-item:hover .megamenu-item-icon::before {
  opacity: 1;
}

.card .department-icon-preview {
  transition: all 0.3s ease;
}

.card:hover .department-icon-preview {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* ریسپانسیو برای سکشن‌های برندهای اعتماد */
@media (max-width: 768px) {
  .trusted-brands-grid-v1 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .brand-card-v1 {
    padding: 1.5rem;
  }
  
  .brand-card-v1 .brand-logo {
    height: 60px;
  }
  
  .brand-card-v1 .brand-logo img {
    max-width: 150px;
  }
  
  .brands-stats {
    gap: 1.5rem;
  }
  
  .stat-badge {
    padding: 1rem 1.5rem;
  }
  
  .stat-badge .stat-number {
    font-size: 1.5rem;
  }
  
  .brand-slide {
    min-width: 150px;
  }
  
  .brand-logo-premium {
    height: 120px;
    padding: 1.5rem;
  }
  
  .brand-logo-premium img {
    min-height: 100px;
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  .trusted-brands-section-v1,
  .trusted-brands-section-v2 {
    padding: 3rem 0;
  }
  
  .brands-logos-slider {
    gap: 1rem;
  }
  
  .brand-slide {
    min-width: 120px;
  }
  
  .brand-logo-premium {
    height: 100px;
    padding: 1rem;
  }
  
  .brand-logo-premium img {
    min-height: 100px;
    max-width: 100px;
  }
} 