/* ==============================================
   صفحة التدريس الخاص - تصميم متجاوب
   ============================================== */

/* المتغيرات */
:root {
    --gold-primary: #FFD700;
    --gold-dark: #DAA520;
    --gold-light: #FFF8DC;
    --gold-orange: #FFA500;
    --green-primary: #2E8B57;
    --green-dark: #228B22;
    --green-light: #32CD32;
    --green-forest: #228B22;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

/* Hero Section */
.tutoring-hero {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.tutoring-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-icon {
    font-size: 4rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    animation: bounceIn 1s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-actions {
    margin-top: 20px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-orange));
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-btn:hover {
    background: linear-gradient(135deg, var(--gold-orange), var(--gold-dark));
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: white;
}

.hero-btn i {
    font-size: 1.3rem;
}

/* Registration Section */
.registration-section {
    padding: 80px 0;
    background: linear-gradient(45deg, #f8f9fa, var(--gold-light));
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--green-primary);
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-orange));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.registration-form-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    transition: var(--transition);
}

.registration-form-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

/* Form Steps */
.form-step {
    text-align: center;
}

.form-step h3 {
    font-size: 1.8rem;
    color: var(--green-primary);
    margin-bottom: 30px;
}

.hidden {
    display: none !important;
}

/* Stage Grid */
.stage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stage-card {
    background: linear-gradient(135deg, var(--gold-light), white);
    border: 2px solid var(--gold-primary);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: var(--transition);
}

.stage-card:hover::before {
    left: 100%;
}

.stage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-orange);
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
}

.stage-card i {
    font-size: 3rem;
    color: var(--green-primary);
    margin-bottom: 15px;
    transition: var(--transition);
}

.stage-card:hover i {
    color: var(--green-dark);
    transform: scale(1.1);
}

.stage-card h4 {
    font-size: 1.3rem;
    color: var(--green-primary);
    margin-bottom: 10px;
    transition: var(--transition);
}

.stage-card:hover h4 {
    color: var(--green-dark);
}

.stage-card p {
    color: #666;
    font-size: 1rem;
    transition: var(--transition);
}

.stage-card:hover p {
    color: #555;
}

/* Grade and Subject Grids */
.grade-grid,
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.grade-card,
.subject-card {
    background: linear-gradient(135deg, var(--green-light), var(--green-primary));
    color: white;
    border-radius: var(--border-radius);
    padding: 25px 15px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.grade-card:hover,
.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-orange));
    border-color: var(--gold-dark);
}

.grade-card i,
.subject-card i {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.grade-card h4,
.subject-card h4 {
    font-size: 1.2rem;
    margin: 0;
}

/* Back Button */
.btn-back {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-orange));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-back:hover {
    background: linear-gradient(135deg, var(--gold-orange), var(--gold-dark));
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Teachers Section */
.teachers-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, var(--green-light));
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.teacher-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.teacher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), var(--green-primary));
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-primary);
}

.teacher-image {
    text-align: center;
    margin-bottom: 20px;
}

.teacher-avatar {
    font-size: 4rem;
    display: inline-block;
    padding: 20px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.teacher-info h3 {
    color: var(--green-primary);
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-align: center;
}

.teacher-experience {
    color: var(--gold-dark);
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.teacher-bio {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: center;
}

.teacher-rating {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--gold-orange);
    font-weight: bold;
}

.trial-slots h5 {
    color: var(--green-primary);
    margin-bottom: 10px;
    text-align: center;
}

.slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.time-slot {
    background: linear-gradient(135deg, var(--green-light), var(--green-primary));
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.book-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.book-btn:hover {
    background: linear-gradient(135deg, var(--green-dark), var(--green-forest));
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Study Plan Section */
.study-plan-section {
    padding: 80px 0;
    background: white;
}

.study-plan-card {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--gold-light), white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
}

.plan-timeline {
    position: relative;
}

.plan-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    width: 4px;
    background: linear-gradient(180deg, var(--green-primary), var(--gold-primary));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow);
    margin: 0 30px;
}

.timeline-content {
    flex: 1;
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    text-align: right;
    border: 2px solid var(--gold-light);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.timeline-content h4 {
    color: var(--green-primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    color: #555;
    padding: 5px 0;
    position: relative;
    padding-right: 20px;
}

.timeline-content li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--green-primary);
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--green-light), var(--gold-light));
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--gold-light), white);
    transition: var(--transition);
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
}

.faq-question h4 {
    color: var(--green-primary);
    margin: 0;
    font-size: 1.1rem;
    flex: 1;
}

.faq-question i {
    color: var(--gold-orange);
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-answer {
    display: none;
    padding: 20px 25px;
    background: white;
    border-top: 1px solid #eee;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Animations */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .registration-form-card {
        padding: 25px;
        margin: 0 15px;
    }
    
    .stage-grid {
        grid-template-columns: 1fr;
    }
    
    .grade-grid,
    .subjects-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .teachers-grid {
        grid-template-columns: 1fr;
        margin: 0 15px;
    }
    
    .plan-timeline::before {
        right: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        text-align: center;
    }
    
    .timeline-icon {
        margin: 0 0 20px 0;
    }
    
    .timeline-content {
        text-align: center !important;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .tutoring-hero {
        padding: 60px 0;
    }
    
    .hero-icon {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .registration-section,
    .teachers-section,
    .study-plan-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .stage-card {
        padding: 20px 15px;
    }
    
    .teacher-card {
        padding: 20px;
    }
    
    .study-plan-card {
        padding: 25px 20px;
    }
} 