/* زر التسجيل في الكارت */
.enroll-btn {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 0.8rem 2.2rem;
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(100,181,246,0.13);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.enroll-btn:hover {
    background: linear-gradient(135deg, #42a5f5, #64b5f6);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 32px rgba(100,181,246,0.18);
}
/* صناديق إحصائيات الهيرو Hero Stats Boxes */

/* صناديق إحصائيات الهيرو Hero Stats Boxes (صف واحد بجوار بعض) */

.hero-stats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
    margin: 2.5rem 0 0 0;
}

@media (max-width: 1200px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}


/* إزالة أي grid-template-columns من media queries القديمة */

.stat {
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(100,181,246,0.15);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    min-width: 180px;
    box-shadow: 0 4px 18px rgba(100,181,246,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}
.stat:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 10px 32px rgba(100,181,246,0.13);
}
.stat i {
    font-size: 2.1rem;
    color: #64b5f6;
}
.stat span {
    font-weight: 600;
    color: #fff;
    font-size: 1.08rem;
    text-align: center;
}
/* نبذة تعريفية Hero عن منحة كود بلو */
.about-hero {
    background: rgba(255,255,255,0.07);
    border: 1.5px solid rgba(100,181,246,0.18);
    border-radius: 22px;
    margin: 2.5rem auto 2.5rem auto;
    padding: 2.5rem 2rem 2.5rem 2rem;
    max-width: 900px;
    text-align: right;
    box-shadow: 0 8px 32px rgba(100,181,246,0.08);
    color: #fff;
    font-size: 1.18rem;
    line-height: 2.1;
}

.about-hero-text {
    color: #fff;
    font-size: 1.18rem;
    line-height: 2.1;
    margin-bottom: 1.5rem;
}

.about-hero-list {
    margin: 1.5rem 0 0 0;
    padding-right: 1.5rem;
    list-style: disc inside;
    color: #b0bec5;
    font-size: 1.08rem;
    line-height: 2.1;
}
.about-hero-list li {
    margin-bottom: 0.5rem;
    padding-right: 0.5rem;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #64b5f6;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #64b5f6;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(15, 52, 96, 0.9));
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.course-logo {
    margin-bottom: 2rem;
}

.course-image {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #b0bec5;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat i {
    font-size: 2rem;
    color: #64b5f6;
}

.stat span {
    font-weight: 600;
    color: #ffffff;
}

/* Content Sections */
.content {
    padding: 80px 0;
}

.section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.content-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 3rem;
    color: #64b5f6;
    margin-bottom: 1rem;
}

.content-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.content-card p {
    color: #b0bec5;
    line-height: 1.6;
}

/* Modules Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.module-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.module-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.module-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
    margin-top: 1rem;
}

.module-card p {
    color: #b0bec5;
    font-size: 0.9rem;
}

/* Color variations for modules */
.module-1 { border-left: 4px solid #4fc3f7; }
.module-2 { border-left: 4px solid #e91e63; }
.module-3 { border-left: 4px solid #ff9800; }
.module-4 { border-left: 4px solid #4caf50; }
.module-5 { border-left: 4px solid #9c27b0; }
.module-6 { border-left: 4px solid #f44336; }
.module-7 { border-left: 4px solid #2196f3; }
.module-8 { border-left: 4px solid #ff5722; }
.module-9 { border-left: 4px solid #795548; }
.module-10 { border-left: 4px solid #607d8b; }

/* USMLE Steps */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateX(10px);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-number {
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
}

.step-content p {
    margin-bottom: 1rem;
    color: #b0bec5;
}

.step-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.subject {
    background: rgba(100, 181, 246, 0.2);
    color: #64b5f6;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Instructors Grid */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.instructor-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.instructor-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: #ffffff;
}

.instructor-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.instructor-card p {
    color: #b0bec5;
    font-size: 0.9rem;
}

/* Benefits and Features */
.benefits-grid, .features-grid, .skills-grid, .approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.benefit-item, .feature-item, .skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.benefit-item:hover, .feature-item:hover, .skill-item:hover {
    transform: translateX(5px);
}

.benefit-item i, .feature-item i, .skill-item i {
    color: #4caf50;
    font-size: 1.2rem;
}

.benefit-item span, .feature-item span, .skill-item span {
    color: #ffffff;
    font-weight: 500;
}

.approach-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.approach-icon {
    font-size: 2.5rem;
    color: #64b5f6;
    margin-bottom: 1rem;
}

.approach-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.approach-card p {
    color: #b0bec5;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.2), rgba(66, 165, 245, 0.2));
    border: 1px solid rgba(100, 181, 246, 0.3);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-content p {
    font-size: 1.2rem;
    color: #b0bec5;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(100, 181, 246, 0.4);
}

/* Footer */
.footer {
    background: rgba(26, 26, 46, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer p {
    color: #b0bec5;
}

/* مربع بداية العمل (Work Start Card) */
.work-start-card {
    background: #f1f5f9;
    border: 1.5px solid #2563eb;
    border-radius: 1.1em;
    margin-bottom: 1.5rem;
    padding: 1.2em 1.2em 1.1em 1.2em;
    box-shadow: 0 2px 12px 0 rgba(37,99,235,0.07);
}
.work-start-icon {
    color: #2563eb;
}
.work-start-title {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.18em;
    margin-bottom: 0.7em;
}
.work-start-text {
    font-size: 1.07em;
    color: #222;
    line-height: 1.9;
    margin-bottom: 1.1em;
}
.work-start-note {
    color: #e11d48;
    font-weight: 600;
}
.work-start-link {
    margin: 0 6px;
    padding: 0.25em 1.1em;
    font-size: 1em;
    display: inline-block;
}

/* شبكة صناديق فريق العمل (Work Team Grid) */
.work-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* جميع صناديق فريق العمل بنفس التصميم الأبيض */
.work-team-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(100,181,246,0.18);
    border-radius: 1.1em;
    box-shadow: 0 4px 18px rgba(100,181,246,0.07);
    padding: 2rem 1.2em 1.7em 1.2em;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    color: #fff;
}
.work-team-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 10px 32px rgba(100,181,246,0.13);
}
.work-team-card .card-icon {
    font-size: 2.5rem;
    color: #64b5f6;
    margin-bottom: 0.7em;
}
.work-team-card h3 {
    color: #fff;
    font-weight: 700;
    font-size: 1.18em;
    margin-bottom: 0.7em;
}
.work-team-card p {
    font-size: 1.07em;
    color: #b0bec5;
    line-height: 1.9;
    margin-bottom: 1.1em;
}
.work-team-card .work-start-note {
    color: #e11d48;
    font-weight: 600;
}
.work-team-card .work-start-link {
    margin: 0 6px;
    padding: 0.25em 1.1em;
    font-size: 1em;
    display: inline-block;
}

@media (max-width: 1200px) {
    .work-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .work-team-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav {
        display: none;
    }
    
    .header-content {
        justify-content: center;
    }
    
    .steps-container {
        gap: 1rem;
    }
    
    .step-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .step-header h3 {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* مربع محتويات الصفحة */
.page-contents-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(100, 181, 246, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(100, 181, 246, 0.1);
}

.page-contents-box h3 {
    color: #64b5f6;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contents-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contents-list li {
    margin-bottom: 0.8rem;
}

.contents-list a {
    color: #b0bec5;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease, padding-right 0.3s ease;
}

.contents-list a:hover {
    color: #64b5f6;
    padding-right: 1rem;
}

/* قسم الأسئلة والأجوبة */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 181, 246, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(100, 181, 246, 0.05);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(100, 181, 246, 0.1);
}

.faq-question h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

.faq-question i {
    color: #64b5f6;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    margin-right: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem;
    max-height: 500px;
}

.faq-answer p {
    color: #b0bec5;
    line-height: 1.8;
    margin: 0;
    font-size: 1.1rem;
}

.faq-answer a {
    color: #64b5f6;
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-contents-box {
        margin: 1.5rem auto;
        padding: 1.5rem;
    }
    
    .contents-list a {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem 1.5rem;
    }
    
    .faq-answer p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .content {
        padding: 60px 0;
    }
    
    .section {
        margin-bottom: 60px;
    }
    
    .module-card, .content-card, .instructor-card {
        padding: 1.5rem;
    }
    
    .cta-section {
        padding: 3rem 1.5rem;
    }
    
    .page-contents-box {
        padding: 1rem;
    }
    
    .faq-question {
        padding: 0.8rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-question i {
        align-self: flex-end;
        margin-right: 0;
    }
}

