:root {
    --primary-color: #DE5C36;
    --secondary-color: #3E529F;
    --dark-bg: #0B0E1C;
    --light-bg: #161A2A;
    --text-color: #F2F2F5;
    --text-secondary: #C2C5D1;
    --text-third: #7A7F91;
    --hover-bg: #C44527;
}

/* ===== طبقة الخلفية الرئيسية (مجرة ناعمة جداً) ===== */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
  
    background:
      radial-gradient(ellipse at 30% 40%, rgba(62, 82, 159, 0.10), transparent 75%),
      radial-gradient(ellipse at 70% 70%, rgba(222, 92, 54, 0.07), transparent 75%),
      radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.015), transparent 90%),
      var(--dark-bg);
  
    background-repeat: no-repeat;
    background-size: cover;
    animation: subtleShift 80s ease-in-out infinite;
  }
  
  /* حركة خفيفة للتدرجات */
  @keyframes subtleShift {
    0%, 100% {
      background-position: 0% 0%;
    }
    50% {
      background-position: 1% 2%;
    }
  }

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Tajawal', sans-serif;
    overflow-x: hidden;
}

/* Header Section Styles */
.navbar {
    background-color: transparent;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--light-bg);
    backdrop-filter: blur(10px);
    padding: 8px 0;
  }

.navbar-brand img {
    height: 40px;
    width: 40px;
}

.nav-link {
    color: var(--text-color);
    margin: 0 8px;
    transition: opacity 0.2s ease;
    position: relative;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--text-secondary);
}

.btn-register {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    font-size: 16px;
    font-weight: 400;
    transition: background-color 0.3s ease;
}

.btn-register:hover {
    background-color: var(--hover-bg);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive Header Section Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--light-bg);
        padding: 16px;
        border-radius: 8px;
        margin-top: 16px;
        text-align: center;
    }

    .nav-link {
        padding: 8px 0;
        margin: 4px 0;
    }

    .navbar-nav {
        margin: 0 auto;
    }

    .btn-register {
        margin: 16px auto 0;
        width: 200px;
        display: block;
    }
}

/* Hero Section Styles */
.hero-section {
    display: flex;
    margin: 72px 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 ;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    background-color: var(--light-bg);
    padding: 4px 6px 4px 16px;
    border: none;
    border-radius: 50px;
    gap: 8px;
    animation: fadeInDown 0.8s ease;
}

.hero-badge img {
    width: 40px;
    height: 40px;
}

.badge {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    color: var(--text-secondary);

}

.hero-title {
    color: var(--text-color);
    font-size: 48px;
    line-height: 74px;
    font-weight: 700;
    margin: 24px 0 16px;
    animation: fadeInUp 0.8s ease;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
  }

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(222, 92, 54, 0.4);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.btn-primary:hover {
    background-color: var(--hover-bg);
    transform: translateY(-5px);
    box-shadow: 0 7px 20px rgba(222, 92, 54, 0.6);
  }

/* Responsive Hero Section Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 42px;
    }
  }
  
  @media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
    }
    .hero-description {
        font-size: 18px;
    }
  }
  
  @media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
        padding: 0 16px;
    }
    .hero-description {
        font-size: 16px;
        padding: 0 16px;
    }
    .btn-primary {
        font-size: 16px;
        padding: 10px 14px;
    }
  }
  
  @media (max-width: 576px) {
    .hero-section {
        margin: 48px 0;
        padding: 0 8px;
    }
    .hero-badge {
        padding: 4px 4px 4px 8px;
        gap: 2px;
    }
    .hero-badge img {
        width: 30px;
        height: 30px;
    }
    .hero-title {
        font-size: 28px;
        line-height: 48px;
    }
    .badge {
        font-size: 12px;
    }
  }

  /* Trusted by Section Styles */
.logos-section {
    display: flex;
    flex-wrap: wrap;
    height: fit-content;
    margin: 0 auto;
}

.trust-logo {
    transition: all 0.3s ease;
    max-height: 60px;
    width: auto;
    padding: 8px;
}

.neom {
    transition: all 0.3s ease;
    height: 70px;
    width: auto;
    padding: 8px;
}

.RCU {
    transition: all 0.3s ease;
    height: 70px;
    width: auto;
    padding: 8px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.trust-logo:hover {
    animation: float 2s ease-in-out infinite;
}
.neom:hover {
    animation: float 2s ease-in-out infinite;
}
.RCU:hover {
    animation: float 2s ease-in-out infinite;
}

/* Responsive Trusted by Section Styles */
@media (max-width: 768px) {
    .trust-logo {
        max-height: 50px;
    }
    .neom {
        max-height: 60px;
    }
    .RCU {
        max-height: 60px;
    }
}

@media (max-width: 576px) {
    .trust-logo {
        max-height: 40px;
    }
    .neom {
        max-height: 50px;
    }
    .RCU {
        max-height: 50px;
    }
}

/* Problem Section Styles */
.problem-comparison {
    position: relative;
    overflow: hidden;
    margin: 48px 32px;
}

.problem-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 24px;
    line-height: 1.3;
}

.problem-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.comparison{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.comparison-card, .hackspace-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.hackspace-card {
    background: var(--light-bg);
    border-radius: 24px;
    border: 1px solid rgba(242, 242, 245, 0.10);
    box-shadow: 0px 5px 10px 0px rgba(11, 14, 28, 0.05), 0px 15px 30px 0px rgba(11, 14, 28, 0.15), 0px 20px 40px 0px rgba(11, 14, 28, 0.25);
    backdrop-filter: blur(10px);
}

.hackspace-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(11, 14, 28, 0.2);
}

.card-title {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 700;
    text-align: center;
    line-height: 20px;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 16px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px; 
}

.fail-icon-icon {
    display: flex;
    width: 24px;
    height: 24px;
    padding: 1.25px;
}

.check-icon{
    display: flex;
    width: 25px;
    height: 25px;
    padding: 0;
}

.motivational-title {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 24px;
    font-weight: 600;
}

.motivational-text {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
}

.btn-motivational {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 18px;
    border: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(222, 92, 54, 0.4);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.btn-motivational:hover {
    background-color: var(--hover-bg);
    transform: translateY(-5px);
    box-shadow: 0 7px 20px rgba(222, 92, 54, 0.6);
}

/* Responsive Problem Section Styles */
@media (max-width: 992px) {
    .problem-title {
        font-size: 32px;
    }
    
    .comparison-card.highlighted {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .problem-title {
        font-size: 28px;
    }
    
    .problem-description {
        font-size: 16px;
    }
    
    .card-title {
        font-size: 14px;
    }

    .feature-list li {
        font-size: 14px;
    }
    
    .motivational-title {
        font-size: 24px;
    }

    .motivational-text {
        font-size: 16px;
    }

    .btn-motivational {
        font-size: 16px;
        padding: 10px 14px;
    }
}

@media (max-width: 576px) {
    .problem-comparison {
        margin: 24px 0;
        padding: 0 16px;
    }
    .problem-title {
        font-size: 26px;
    }
    
    .comparison-card {
        padding: 24px 16px;
    }

    .hackspace-card {
        padding: 24px 16px;
    }
}

/* Solution Section Styles */
.solution-section {
    position: relative;
    overflow: hidden;
}

.solution-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 24px;
    line-height: 1.3;
}

.stage-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    height: fit-content;
    text-align: center;
}

.stage-header {
    display: flex;
    align-items: right;
    justify-content: right;
    text-align: right;
}

.stage-icon {
    width: 46px;
    height: 46px;
    margin-left: 8px;
}

.stage-number {
    color: var(--text-third);
    font-size: 14px;
}

.stage-name {
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
}

.stage-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 18px;
    font-weight: 400;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    width: 24px;
    height: 5px;
    border-radius: 10px;
    background-color: var(--light-bg);
    border: none;
    margin: 0 5px;
}

.carousel-indicators button.active {
    background-color: var(--secondary-color);
    width: 24px;
    height: 5px;
}

/* Responsive Solution Section Styles */
@media (max-width: 992px) {
    .solution-title {
        font-size: 32px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 26px;
        height: 26px;
    }
}
@media (max-width: 768px) {
    .solution-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .solution-title {
        font-size: 26px;
    }

    .stage-icon {
        width: 40px;
        height: 40px;
    }

    .stage-number {
        font-size: 12px;
    }
    
    .stage-name {
        font-size: 14px;
    }
    
    .stage-description {
        font-size: 16px;
    }
}

/* Subscribe Section Styles */
.subscribe-section {
    display: flex;
    margin: 72px 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 ;
    text-align: center;
}

.subscribe-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 24px;
    line-height: 1.3;
}

.subscribe-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto ;
    line-height: 1.6;
}

.pricing-card {
    background-color: var(--light-bg);
    transition: transform 0.3s ease;
    border: none;
    overflow: hidden;
    border-radius: 16px;
    text-align: right;
    margin: 16px;
    padding: 24px;
    width: fit-content;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.subscription-icon{
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
}

.price-name {
    font-size: 24px;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.price-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.price {
    font-size: 48px;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 16px;
}

.check-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.btn-price {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
}

.btn-price:hover {
    background-color: var(--hover-bg);
    color: var(--text-color);
}

.features {
    color: var(--text-secondary);
    font-size: 14px;
    padding: 0;
    margin: 0;
}

/* Responsive Subscribe Section Styles */
@media (max-width: 992px) {
    .subscribe-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .subscribe-title {
        font-size: 28px;
    }
    
    .subscribe-description {
        font-size: 16px;
    }

    .subscription-icon {
        width: 48px;
        height: 48px;
    }
    
    .price-name {
        font-size: 18px;
    }

    .price-text {
        font-size: 14px;
    }

    .price {
        font-size: 36px;
    }

    .check-icon {
        width: 16px;
        height: 16px;
    }
    
    .features {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .subscribe-section {
        margin: 24px 0;
        padding: 0 16px;
    }
    .subscribe-title {
        font-size: 26px;
    }

    .pricing-card {
        padding: 16px 12px;
    }

}

/* Testimonials Section Styles */
.testimonials-section {
    display: flex;
    margin: 72px 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 ;
    text-align: center;
}

.testimonials-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 24px;
    line-height: 1.3;
}

.card {
    background-color: var(--light-bg);
    color: var(--text-color);
    border-radius: 16px;
    border: 1px solid rgba(242, 242, 245, 0.10);
    box-shadow: 0px 5px 10px 0px rgba(11, 14, 28, 0.05), 0px 15px 30px 0px rgba(11, 14, 28, 0.15), 0px 20px 40px 0px rgba(11, 14, 28, 0.25);
    backdrop-filter: blur(10px);
  }

  .name {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
  }

  .comment{
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  /* Responsive Testimonials Section Styles */
@media (max-width: 992px) {
    .testimonials-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .testimonials-title {
        font-size: 28px;
    }
    .name {
        font-size: 16px;
    }
    .comment {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        margin: 24px 0;
        padding: 0 16px;
    }
    .testimonials-title {
        font-size: 26px;
    }

}

/* FAQ Section Styles */
.faq-section {
    display: flex;
    margin: 72px 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 ;
    text-align: center;
}

.faq-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 24px;
    line-height: 1.3;
}

.accordion {
    width: 100%;
    margin: 0 auto;
    padding: 24px;
}

.accordion-item {
    background-color: var(--light-bg);
    color: var(--text-secondary);
    border: none;
    border-radius: 16px;
    margin-bottom: 16px;
    padding: 24px;
    text-align: right;
}

.accordion-header {
    background-color: transparent;
    color: var(--text-secondary);
    border: none;
    text-align: right;
}

.accordion-button {
    padding: 20px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
    background-color: transparent;
}

.accordion-button:not(.collapsed) {
    color: var(--text-secondary);
    background-color: transparent;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 0 0 20px 0;
    color: var(--text-secondary);
    font-size: 16px;
    text-align: right;
}


/* Responsive FAQ Section Styles */
@media (max-width: 992px) {
    .faq-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 28px;
    }
    .accordion-button {
        font-size: 16px;
    }
    .accordion-body {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .faq-section {
        margin: 24px 0;
        padding: 0 16px;
    }
    .faq-title {
        font-size: 26px;
    }

    .accordion {
        padding: 16px 12px;
    }

    .accordion-item {
        padding: 16px;
    }

}

/* Call to Action Section Styles */
.gradient-bg {
    background: linear-gradient(135deg, rgba(62, 82, 159, 0.8), rgba(222, 92, 54, 0.8));
    background-size: cover;
    padding: 60px 0;
    text-align: center;
    border-radius: 24px;
}

.cta-title {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 24px;
    font-weight: 700;
}

.cta-text {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
}

.btn-cta {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease-in-out;
}

.btn-cta:hover {
    background-color: var(--light-bg);
    color: var(--text-color);
}



/* Footer Section Styles */
.footer {
    padding: 20px 0;
    margin-top: 82px;
}

.social-icons a {
    color: var(--text-third);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

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

.footer-text {
    color: var(--text-third);
    font-size: 12px;
}