/* 
 * تصميم صفحة هبوط لمبادرة "تدرب وارتق"
 * ملف CSS للتصميم المتجاوب - محدث ليتناسب مع ألوان موقع HDTC Academy
 */

/* تصميم متجاوب للشاشات الكبيرة */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .main-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
}

/* تصميم متجاوب للشاشات المتوسطة */
@media (max-width: 1199.98px) {
  .main-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.6rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
}

/* تصميم متجاوب للأجهزة اللوحية */
@media (max-width: 991.98px) {
  .main-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .pillar-number {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .feature-card, .benefit-card, .target-card, .style-card {
    margin-bottom: 20px;
  }
  
  .navbar-collapse {
    background-color: var(--primary-color);
    padding: 15px;
    border-radius: 0 0 10px 10px;
  }
}

/* تصميم متجاوب للهواتف الذكية */
@media (max-width: 767.98px) {
  .main-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .pillar-item {
    flex-direction: column;
  }
  
  .pillar-number {
    width: 100%;
    height: 50px;
  }
  
  .contact-info {
    margin-top: 30px;
  }
  
  .feature-icon, .benefit-icon, .target-icon, .style-icon {
    width: 70px;
    height: 70px;
  }
  
  .feature-icon i, .benefit-icon i, .target-icon i, .style-icon i {
    font-size: 1.8rem;
  }
  
  .hdtc-feature {
    flex-direction: column;
    text-align: center;
  }
  
  .hdtc-icon {
    margin: 0 auto 15px;
  }
}

/* تصميم متجاوب للهواتف الصغيرة */
@media (max-width: 575.98px) {
  .main-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .feature-icon, .benefit-icon, .target-icon, .style-icon {
    width: 60px;
    height: 60px;
  }
  
  .feature-icon i, .benefit-icon i, .target-icon i, .style-icon i {
    font-size: 1.5rem;
  }
  
  .partner-logo {
    margin-bottom: 15px;
  }
  
  .footer-section h3 {
    font-size: 1.3rem;
  }
}

/* تحسينات إضافية للتصميم المتجاوب */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.hero-image img {
  max-height: 400px;
  object-fit: contain;
}

.logo-item img {
  max-height: 80px;
  object-fit: contain;
}

.partner-logo img {
  max-height: 60px;
  object-fit: contain;
}

/* تحسينات للأجهزة ذات الشاشات اللمسية */
@media (hover: none) {
  .btn:hover {
    transform: none !important;
  }
  
  .feature-card:hover, .benefit-card:hover, .target-card:hover, .style-card:hover {
    transform: none !important;
  }
  
  .pillar-item:hover {
    transform: none !important;
  }
  
  .social-icon:hover {
    transform: none !important;
  }
}

/* تحسينات للطباعة */
@media print {
  .navbar, .hero-section, .footer-section, .register-section, .back-to-top {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
  }
  
  section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  .feature-card, .benefit-card, .target-card, .style-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .feature-icon, .benefit-icon, .target-icon, .style-icon {
    background: #f5f5f5 !important;
    color: #333 !important;
  }
  
  a {
    text-decoration: none !important;
    color: #333 !important;
  }
}
