body {
  font-family: 'Estedad', sans-serif;
  line-height: 1.9;
}

p {
  font-weight: 500;
}


/* وقتی لینک فعال است، خط زیر کامل باشد */
.active-link span {
    width: 30px !important; 
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.nav-link span {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #0f766e;
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}

.nav-link:hover span {
    width: 30px; /* عرض یکسان برای همه لینک‌ها */
}
/* Gradient متحرک روی hover */
.btn-gradient {
    background: linear-gradient(90deg, #0f766e, #06b6d4, #facc15);
    background-size: 300% 300%;
    color: white;
    transition: all 0.4s ease;
}
  
  .btn-gradient:hover {
    animation: gradientMove 3s ease infinite;
}
  
  @keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

/*=========== timeline styles for about page=============*/
  .timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
  }

  .timeline-point {
    width: 14px;
    height: 14px;
    background: #1d4ed8;
    border-radius: 50%;
    box-shadow: 0 0 0 6px #dbeafe;
    transition: 0.3s;
  }

  .timeline-card {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.4);
    transition: 0.3s;
  }

  /* Hover */
  .timeline-card:hover {
    transform: scale(1.06);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  }

  /* ACTIVE حالت */
  .timeline-item.active .timeline-point {
    transform: scale(1.6);
    box-shadow: 0 0 25px #2563eb;
    background: #2563eb;
  }

  .timeline-item.active .timeline-card {
    transform: scale(1.08);
    box-shadow: 0 25px 50px rgba(37,99,235,0.25);
    border-color: #2563eb;
  }

/* style for cards and nav links */
.group {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.group:hover {
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    transform: translateY(-4px);
}

/* Nav Link Uniform Width */
.nav-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 100px; /* عرض یکسان برای همه تب‌ها */
    text-align: center;
}
  

/* WhatsApp-style background pattern */
.whatsapp-pattern {
    background-color: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000' fill-opacity='0.03'%3E%3Cpath d='M10 10h10v10H10zM30 30h10v10H30zM50 50h10v10H50zM70 70h10v10H70z' /%3E%3Ccircle cx='15' cy='45' r='5'/%3E%3Ccircle cx='45' cy='15' r='5'/%3E%3Cpath d='M60 20l10 10-10 10-10-10zM20 60l10 10-10 10-10-10z'/%3E%3Ccircle cx='85' cy='15' r='3'/%3E%3Ccircle cx='15' cy='85' r='3'/%3E%3Cpath d='M80 40h10v2H80zM40 80h2v10h-2z'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
}

/* Glassmorphism for cards on patterned background */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Popup Notification */
.popup-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    z-index: 9999;
    padding: 16px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
    font-family: 'Estedad', sans-serif;
}

.popup-notification.show {
    transform: translateX(-50%) translateY(20px);
    opacity: 1;
}

.popup-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.popup-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.popup-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.popup-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Icon Box styling for footer social links */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.icon-box:hover {
    background: #2563eb;
    transform: translateY(-3px);
    color: white;
}
