/* Additional styles specific to home page */
.hero {
    position: relative;
    overflow: hidden;
    background-image: url(../img/logs.png);
    background-size: cover;
    background-position: center;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.9) 0%, rgba(13, 71, 161, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Animation for feature cards */
.feature-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonials slider animation */
.testimonials-slider {
    display: flex;
    overflow: hidden;
}

.testimonial-card {
    flex: 0 0 100%;
    transition: transform 0.5s ease;
}

/* Statistics counter */
.stats-section {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item h3 {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--white);
}

.stat-item p {
    font-size: 18px;
    opacity: 0.8;
}

/* News hover effect */
.news-card .news-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 115, 232, 0.2);
    opacity: 0;
    transition: var(--transition);
}

.news-card:hover .news-image:after {
    opacity: 1;
}

/* Pulsating CTA button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(26, 115, 232, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
    }
}

.cta .btn-primary {
    animation: pulse 2s infinite;
}

/* Parallax effect for sections */
.testimonials {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Typography */
.section-title {
  font-family: 'IRANSans', sans-serif;
  font-size: 2.5rem;
  color: #003366;
}

.name {
  font-size: 1.125rem;
  font-weight: bold;
  color: #004080;
}

.type, .bio {
  font-size: 0.875rem;
  color: #555;
}

/* Consultant Card */
.consultant-card {
  background-color: #f0f8ff;
  border-radius: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 50, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.consultant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 50, 0.2);
}

/* Avatar Image */
.avatar img {
  aspect-ratio: 1;
  object-fit: cover;
}

/* Button */
.btn-view {
  transition: background-color 0.3s ease;
}

/* Animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.8s ease-out forwards;
}
