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

/* متغيرات CSS للألوان والخصائص المشتركة */
:root {
  --primary-color: #1a1f5c; /* أزرق داكن للعناصر الرئيسية - من موقع HDTC */
  --secondary-color: #1a1f5c; /* تم تغييره بناءً على طلب المستخدم - نفس اللون الأزرق الداكن */
  --accent-color: #e6b54a; /* ذهبي للعناصر التي تحتاج إبراز - من موقع HDTC */
  --dark-color: #1a202c; /* أسود مائل للأزرق للنصوص */
  --light-color: #f7fafc; /* أبيض مائل للأزرق للخلفيات */
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  ); /* تدرج لوني للعناصر البارزة */
  --section-padding: 80px 0;
  --card-border-radius: 10px;
  --transition-speed: 0.3s;
}

/* إعادة تعيين الخصائص الافتراضية */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* خصائص عامة للجسم */
body {
  font-family: "Tajawal", sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #fff;
}

/* تنسيق العناوين */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* تنسيق الروابط */
a {
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: var(--secondary-color);
}

/* تنسيق الأزرار */
.btn {
  font-family: "Cairo", sans-serif;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
  text-align: center;
}

.btn-primary {
  background: var(--accent-color);
  border: none;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(230, 181, 74, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(230, 181, 74, 0.3);
  background: var(--accent-color);
  opacity: 0.9;
}

.btn-outline-light {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* تنسيق الأقسام */
section {
  padding: var(--section-padding);
  position: relative;
}

.section-title {
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.title-line {
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  margin: 0 auto;
  border-radius: 2px;
}

/* القسم الرئيسي (Hero Section) */
.hero-section {
  background: var(--primary-color);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://via.placeholder.com/1920x1080");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.main-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: white;
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 400;
}

.hero-cta {
  margin-top: 30px;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

/* نبذة عن المبادرة */
.about-section {
  background-color: white;
}

.about-content {
  padding: 20px;
}

.about-content .lead {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.highlight {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.8rem;
}

.organizers {
  padding: 20px;
  background-color: var(--light-color);
  border-radius: var(--card-border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.organizers h3 {
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary-color);
}

.organizers-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.logo-item {
  text-align: center;
  padding: 15px;
  transition: all var(--transition-speed) ease;
}

.logo-item:hover {
  transform: translateY(-5px);
}

.logo-item p {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* لماذا تدرب وارتقِ؟ */
.why-section {
  background-color: var(--light-color);
}

.feature-card {
  background-color: white;
  padding: 30px 20px;
  border-radius: var(--card-border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  height: 100%;
  transition: all var(--transition-speed) ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.prize-banner {
  background: white !important;
  padding: 30px;
  border-radius: var(--card-border-radius);
  color: white;
  box-shadow: 0 10px 30px rgba(26, 31, 92, 0.3);
  border-right: 5px solid var(--accent-color);
}

.prize-banner h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
}
.contact-info a {
  color: white !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--accent-color) !important;
}
.footer-contact a {
  color: white !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent-color) !important;
}

/* ركائز تميز المبادرة */
.pillars-section {
  background-color: white;
}

.pillar-item {
  display: flex;
  margin-bottom: 30px;
  background-color: var(--light-color);
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed) ease;
}

.pillar-item:hover {
  transform: translateX(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pillar-number {
  width: 80px;
  height: 80px;
  background: var(--secondary-color);
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-content {
  padding: 20px;
}

.pillar-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* ماذا ستحصل عليه؟ */
.benefits-section {
  background-color: var(--light-color);
}

.benefit-card {
  background-color: white;
  padding: 25px 20px;
  border-radius: var(--card-border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  height: 100%;
  transition: all var(--transition-speed) ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.special-card {
  background: var(--primary-color);
  color: white;
  border-right: 5px solid var(--accent-color);
}

.special-card h3,
.special-card p {
  color: white;
}

.special-card .benefit-icon {
  background: var(--accent-color);
}

.special-card .benefit-icon i {
  color: var(--primary-color);
}

/* لمن هذه المبادرة؟ */
.target-section {
  background-color: white;
}

.target-card {
  background-color: var(--light-color);
  padding: 30px 20px;
  border-radius: var(--card-border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  height: 100%;
  transition: all var(--transition-speed) ease;
}

.target-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.target-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.target-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.target-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.special-target {
  background: var(--primary-color);
  color: white;
  border-right: 5px solid var(--accent-color);
}

.special-target h3,
.special-target p {
  color: white;
}

.special-target .target-icon {
  background: var(--accent-color);
}

.special-target .target-icon i {
  color: var(--primary-color);
}

/* أنماط التدريب */
.training-styles-section {
  background-color: var(--light-color);
}

.style-card {
  background-color: white;
  padding: 30px 20px;
  border-radius: var(--card-border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  height: 100%;
  transition: all var(--transition-speed) ease;
}

.style-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.style-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.style-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.style-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.style-features {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: right;
}

.style-features li {
  padding: 5px 0;
  position: relative;
  padding-right: 25px;
}

.style-features li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--secondary-color);
  position: absolute;
  right: 0;
}

.featured-style {
  border: 2px solid var(--accent-color);
  position: relative;
}

.featured-style::before {
  content: "الأكثر مرونة";
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* لماذا HDTC؟ */
.why-hdtc-section {
  background-color: white;
}

.hdtc-content {
  padding: 20px;
}

.hdtc-feature {
  display: flex;
  margin-bottom: 30px;
  align-items: flex-start;
}

.hdtc-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  flex-shrink: 0;
}

.hdtc-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.hdtc-text {
  flex-grow: 1;
}

.hdtc-text h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.hdtc-logo {
  padding: 20px;
  background-color: var(--light-color);
  border-radius: var(--card-border-radius);
  transition: all var(--transition-speed) ease;
}

.hdtc-logo:hover {
  transform: scale(1.05);
}

/* التسجيل والتواصل */
.register-section {
  background: var(--primary-color);
  color: white;
}

.register-section .section-title h2,
.register-section .lead {
  color: white;
}

.register-form {
  background-color: white;
  padding: 30px;
  border-radius: var(--card-border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-label {
  color: var(--dark-color);
}

.contact-info {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: var(--card-border-radius);
  backdrop-filter: blur(10px);
  border-right: 5px solid var(--accent-color);
}

.contact-info h3 {
  color: white;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
  font-size: 1.2rem;
}

.contact-item p {
  margin-bottom: 5px;
}

.social-media {
  margin-top: 30px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed) ease;
}

.social-icon:hover {
  transform: translateY(-5px);
  background: white;
  color: var(--secondary-color);
}

/* الشركاء والرعاة */
.partners-section {
  background-color: var(--light-color);
}

.partner-logo {
  padding: 20px;
  text-align: center;
  transition: all var(--transition-speed) ease;
}

.partner-logo:hover {
  transform: scale(1.1);
}

/* تذييل الصفحة */
.footer-section {
  background-color: var(--primary-color);
  color: white;
  padding-top: 60px;
}

.footer-section h3 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
}

.footer-info,
.footer-links,
.footer-contact {
  margin-bottom: 30px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #cbd5e0;
  transition: all var(--transition-speed) ease;
}

.footer-links ul li a:hover {
  color: white;
  padding-right: 5px;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-left: 10px;
  color: var(--accent-color);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  margin-top: 40px;
}

/* تصميم متجاوب */
@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;
  }
}

@media (max-width: 767.98px) {
  .main-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .feature-card,
  .benefit-card,
  .target-card,
  .style-card {
    margin-bottom: 20px;
  }

  .pillar-item {
    flex-direction: column;
  }

  .pillar-number {
    width: 100%;
    height: 50px;
  }

  .contact-info {
    margin-top: 30px;
  }
}

@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;
  }
}

/* تأثيرات إضافية */
.zoom-effect {
  transition: transform 0.5s ease;
}

.zoom-effect:hover {
  transform: scale(1.05);
}

.float-effect {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* إضافات جديدة لتتناسب مع تصميم HDTC */
.section-title h2 {
  color: var(--primary-color);
  position: relative;
  padding-right: 15px;
}

.section-title h2::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.btn-accent {
  background: var(--accent-color);
  color: var(--primary-color);
  font-weight: 700;
  border: none;
}

.btn-accent:hover {
  background: var(--accent-color);
  opacity: 0.9;
  transform: translateY(-3px);
  color: var(--primary-color);
}

.card-accent-border {
  border-right: 5px solid var(--accent-color);
}

/* شريط التنقل */
.navbar {
  background-color: var(--primary-color);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 80px;
}

.navbar-nav .nav-link {
  color: white;
  font-weight: 600;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color);
}

.navbar-nav .nav-link.active {
  color: var(--accent-color);
}

/* زر العودة للأعلى */
.back-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.sponsors-section {
  padding: var(--section-padding);
  background-color: var(--light-color);
}

.sponsor-logo {
  margin-bottom: 30px;
  padding: 20px;
  transition: all 0.3s ease;
}

.sponsor-logo img {
  max-height: 100px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.sponsor-logo:hover img {
  transform: scale(1.05);
}

.sponsor-logo p {
  margin-bottom: 5px;
  font-weight: 500;
}

.social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.social-links h4 {
  margin-bottom: 0;
  margin-left: 10px;
  font-size: 1.1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent-color);
  color: var(--primary-color);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(230, 181, 74, 0.3);
}

.prize-banner h3 {
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
}

.prize-medal {
  max-width: 150px;
  margin: 0 auto 20px;
}

.inspiration-text {
  text-align: center;
  padding: 50px 0;
  background-color: rgba(230, 181, 74, 0.1);
  margin: 30px 0;
  border-radius: 10px;
}

.inspiration-text p {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--primary-color);
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto;
}
html,
body {
  overflow-x: hidden !important;
}
.hero-image img {
  display: block;
  max-width: 100%;
  height: auto;
}
