/* ========================================
   SECTIONS CSS - MULTILINGUAL SUPPORT
   ======================================== */

/* RTL Support for Arabic */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .hero-content {
  text-align: right;
}

[dir="rtl"] .section-header {
  text-align: center;
}

/* LTR Support for English */
[dir="ltr"] {
  text-align: left;
}

[dir="ltr"] .hero-content {
  text-align: left;
}

[dir="ltr"] .section-header {
  text-align: center;
}

/* ========================================
   CALL TO ACTION SECTION
   ======================================== */
.call-to-action-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.call-to-action-section .btn {
  background: white;
  color: #667eea;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.call-to-action-section .btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

/* ========================================
   BLOG SECTION
   ======================================== */
.blog-section {
  background: white;
}

.blog-item {
  background: #f8f9fa;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-item:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  font-size: 0.9rem;
  color: #666;
}

.blog-date {
  margin-right: 1rem;
}

.blog-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ========================================
   PARTNER SECTION
   ======================================== */
.partner-section {
  background: #f8f9fa;
}

.partner-item {
  background: white;
  border-radius: 50px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.partner-item img {
  max-width: 100%;
  max-height: 60px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-item:hover img {
  filter: grayscale(0%);
}

/* ========================================
   SUBSCRIBE SECTION
   ======================================== */
.subscribe-section {
  background: #343a40;
  color: white;
}

.subscribe-form .input-group {
  max-width: 500px;
  margin: 0 auto;
}

.subscribe-form .form-control {
  border: none;
  border-radius: 50px;
  padding: 1rem;
  font-size: 1rem;
}

.subscribe-form .btn {
  border: none;
  border-radius: 0 10px 10px 0;
  background: #667eea;
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
  transition: background 0.3s ease;
}

.subscribe-form .btn:hover {
  background: #764ba2;
}

/* ========================================
   FOOTER SECTION
   ======================================== */
.footer-section {
  background: #343a40;
  color: white;
}

.footer-title {
  color: #667eea;
  margin-bottom: 1.5rem;
}

.footer-description {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #667eea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #764ba2;
  transform: translateY(-2px);
}

.footer-menu {
  list-style: none;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 0.5rem;
}

.footer-menu a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #667eea;
}

.contact-info p {
  color: #ccc;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  color: #667eea;
  margin-right: 0.5rem;
  width: 20px;
}

.footer-divider {
  border-color: #555;
  margin: 2rem 0;
}

.footer-copyright {
  color: #ccc;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-social .social-link {
  width: 35px;
  height: 35px;
  font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  .subscribe-form .input-group {
    flex-direction: column;
  }
  
  .subscribe-form .form-control {
    border-radius: 50px;
    margin-bottom: 1rem;
  }
  
  .subscribe-form .btn {
    border-radius: 50px;
    width: 100%;
  }
  
  .footer-social {
    justify-content: center;
    margin-top: 1rem;
  }
} 