/* 
 * Elraed Modern Egyptian-Themed Styles
 * Version: 2.0.0
 * Egyptian Color Palette & Enhanced Design
 */

/* ===== CSS VARIABLES - EGYPTIAN COLOR THEME (MASTER) ===== */
:root {
    /* Dark Theme Background Colors */
    --bg-primary: #0a0e27;
    --bg-secondary: #1a1f3a;
    --bg-tertiary: #252b48;
    --bg-card: #1e2439;
    --bg-surface: #161b2e;
    
    /* Dark Theme Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --text-muted: #8a8f9d;
    --text-dark: #1a1a1a;
    --text-light: #6C757D;
    
    /* Egyptian Brand Colors */
    --egyptian-lblack: #202020c8;
    --egyptian-blue: #2f86ff;
    --egyptian-blue-dark: #1B365D;
    --egyptian-red: #C73E1D;
    --egyptian-black: #0c0c0cad;
    --egyptian-black-dark: #000000d3;
    --egyptian-sand: #F4E6D1;
    --egyptian-gold: #D4AF37;
    --egyptian-cream: #d6f5d3;
    
    /* Modern Accent Colors */
    --modern-teal: #2b77f2;
    --modern-orange: #fd7e14;
    --modern-purple: #6f42c1;
    --modern-pink: #e83e8c;
    --accent-primary: #ffffff;
    --accent-hover: #e0e0e0;
    
    /* Neutral Colors */
    --dark-charcoal: #2C3E50;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --white: #FFFFFF;
    --black: #000000;
    --bg-light: #F8F9FA;
    
    /* Borders & Shadows */
    --border-color: #2a3150;
    --border-light: #353d5a;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    --hover-shadow: 0 15px 50px rgba(0,0,0,0.15);
    
    /* Gradient Colors */
    --egyptian-gradient: linear-gradient(135deg, #3355FF, #2244DD);
    --sunset-gradient: linear-gradient(135deg, var(--egyptian-red), var(--modern-orange));
    --nile-gradient: linear-gradient(135deg, var(--egyptian-blue), var(--modern-teal));
    
    /* Typography */
    --primary-font: 'Tajawal', 'Cairo', Arial, sans-serif;
    --secondary-font: 'Amiri', serif;
    
    /* Fluid type scale */
    --fs-xs: clamp(0.7rem, 0.68rem + 0.18vw, 0.8rem);
    --fs-sm: clamp(0.8rem, 0.76rem + 0.25vw, 0.9rem);
    --fs-md: clamp(0.9rem, 0.85rem + 0.35vw, 1.0rem);
    --fs-lg: clamp(1.0rem, 0.95rem + 0.5vw, 1.2rem);
    --fs-xl: clamp(1.2rem, 1.1rem + 0.9vw, 1.6rem);
    --fs-2xl: clamp(1.5rem, 1.3rem + 1.5vw, 2.2rem);
    --fs-3xl: clamp(1.8rem, 1.4rem + 2.4vw, 2.8rem);
    --fs-4xl: clamp(2.2rem, 1.6rem + 3.0vw, 3.4rem);
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 15px;
    --border-radius: 12px;
}

/* ===== BASE STYLES ===== */
* {
    box-sizing: border-box;
}



body {
    font-family: "Droid Arabic Kufi Regular", var(--primary-font);
    line-height: 1.6;
    color: var(--dark-charcoal);
    direction: rtl;
    text-align: right;
}

img.wp-smiley, img.emoji {
    display: flex;
    justify-content: center;
    align-content: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===== BUTTON STYLES - EGYPTIAN THEME ===== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--primary-font);
    font-size: 16px;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

/* Primary Button - Egyptian light black */
.btn-primary {
    background: var(--egyptian-gradient);
    color: var(--white);
    border-color: var(--egyptian-lblack);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #C19A68, #0F2A4C);
    color: var(--white);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    color: var(--egyptian-blue);
    border-color: var(--egyptian-blue);
}

.btn-outline:hover {
    background: var(--egyptian-blue);
    color: var(--white);
}

/* Full Width Button */
.btn-full {
    width: 100%;
    display: block;
}

/* Button Sizes */
.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 18px;
}

/* ===== SECTION STYLES ===== */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--egyptian-blue);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-align: center;
}

.section-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--egyptian-gradient);
    border-radius: 2px;
}

.section-desc-text {
    display: flex;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== HERO SECTIONS ===== */
.elraed-landing-hero,
.elraed-about-hero {
    /* background: var(--nile-gradient); */
    background-image: url(blue-white-water-wave.jpg);
    background-clip: border-box;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.elraed-landing-hero::before,
.elraed-about-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 1000 300"><polygon fill="%23ffffff0a" points="0,300 1000,300 1000,0 0,100"/></svg>');
    background-size: cover;
}

.hero-content {
    width: 100%;
}

.hero-main-title,
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.hero-subtitle-text,
.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 25px;
    opacity: 0.9;
    font-weight: 300;
    text-align: center;
}

.hero-description-text,
.hero-description {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.8;
    line-height: 1.7;
    text-align: center;
}

.hero-action-buttons,
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.4s ease;
    display: inline-block;
}

.hero-floating-elements {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.fc-1 { top: 10%; right: 20%; animation-delay: 0s; }
.fc-2 { top: 60%; right: 10%; animation-delay: 1s; }
.fc-3 { top: 30%; left: 15%; animation-delay: 0.5s; }
.fc-4 { bottom: 20%; left: 30%; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}


/* ===== TEXT CONTENT ===== */
.hero-text-content {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.hero-text-content {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

/* ===== FEATURES SECTION ===== */
.elraed-landing-features,
.elraed-features-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
    /* Prevent small extra scrollbars caused by animate-on-scroll transforms before IntersectionObserver runs */
    overflow: hidden;
}

.features-grid,
.features-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item,
.feature-box-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.feature-item:hover,
.feature-box-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-item::before,
.feature-box-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: var(--egyptian-gradient);
    transition: left 0.6s ease;
}

.feature-item:hover::before,
.feature-box-card:hover::before {
    left: 0;
}

.feature-icon,
.feature-box-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: block;
    color: var(--egyptian-blue);
}

.feature-title,
.feature-box-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--egyptian-blue);
    margin-bottom: 20px;
}

.feature-description,
.feature-box-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* ===== STATISTICS SECTION ===== */
.elraed-landing-stats,
.elraed-stats-section {
    background: var(--egyptian-gradient);
    color: var(--white);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.elraed-landing-stats::before,
.elraed-stats-section::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 1000 100"><polygon fill="%23ffffff0a" points="0,0 1000,100 1000,0"/></svg>');
}

.stats-grid,
.stats-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.stat-item,
.stat-box {
    text-align: center;
    padding: 30px 20px;
}

.stat-number,
.stat-box-number {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 15px;
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stat-box-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.stat-label,
.stat-box-label {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ===== TESTIMONIALS SECTION ===== */
.elraed-landing-testimonials,
.elraed-testimonials-section {
    background: var(--bg-secondary);
    padding: var(--section-padding);
}

.testimonials-grid,
.testimonials-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-item,
.testimonial-box-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    position: relative;
    transition: all 0.4s ease;
    border-left: 5px solid var(--egyptian-blue);
    border: 1px solid var(--border-color);
}

.testimonial-item:hover,
.testimonial-box-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--egyptian-blue);
}

.testimonial-content,
.testimonial-box-content {
    margin-bottom: 25px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.testimonial-stars {
    color: var(--egyptian-lblack);
    display: flex;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar-circle {
    width: 50px;
    height: 50px;
    background: var(--egyptian-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.2rem;
}

.author-name-text {
    font-weight: 600;
    color: var(--egyptian-blue);
    margin-bottom: 5px;
}

.author-role-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== COURSES GRID SECTION ===== */
.elraed-courses-grid {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.course-item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.course-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.course-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.course-placeholder {
    width: 100%;
    height: 100%;
    background: var(--egyptian-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.course-price {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--egyptian-black);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.course-content {
    padding: 30px 25px;
    background-color: var(--bg-tertiary);
}

.course-title a {
    color: var(--egyptian-blue);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.course-title a:hover {
    color: var(--egyptian-red);
}

.course-instructor {
    color: var(--text-muted);
    margin: 10px 0 20px 0;
    font-size: 0.9rem;
}

.course-meta {
    margin-bottom: 25px;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.course-rating i {
    color: var(--egyptian-lblack);
}

.rating-number {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.course-info {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.course-actions {
    display: flex;
    gap: 15px;
}

.course-actions .btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 0.9rem;
    text-align: center;
}

/* ===== FORM STYLES ===== */
.elraed-student-signup,
.elraed-student-signin,
.elraed-instructor-signup,
.elraed-instructor-signin {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.signup-form-wrapper,
.signin-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: var(--egyptian-blue);
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.form-section h3 {
    color: var(--egyptian-blue);
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group,
.form-group-wrapper {
    margin-bottom: 25px;
}

.form-group label,
.form-label-text {
    display: block;
    margin-bottom: 8px;
    color: var(--egyptian-blue);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-input-field,
.form-select-field,
.form-textarea-field {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--primary-font);
    background: var(--bg-surface);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-input-field:focus,
.form-select-field:focus,
.form-textarea-field:focus {
    border-color: var(--egyptian-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.1);
}

.checkbox-group {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--egyptian-blue);
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-actions,
.form-submit-wrapper {
    text-align: center;
    margin-top: 35px;
}

.form-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.btn-google {
    background: #db4437;
    color: var(--white);
}

.btn-facebook {
    background: #4267B2;
    color: var(--white);
}

/* ===== CONTACT SECTION ===== */
.elraed-contact-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.contact-hero-header {
    text-align: center;
    margin-bottom: 60px;
    background: var(--bg-card);
    padding: 60px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-hero-title {
    color: var(--egyptian-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-hero-description {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.contact-quick-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.quick-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--egyptian-blue);
}

.quick-stat-icon {
    font-size: 1.5rem;
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form-header {
    margin-bottom: 40px;
}

.contact-form-header h2 {
    color: var(--egyptian-blue);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card,
.social-media-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-info-title,
.social-media-title {
    color: var(--egyptian-blue);
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-icon {
    font-size: 1.3rem;
    color: var(--egyptian-blue);
    margin-top: 3px;
}

.contact-info-label {
    font-weight: 600;
    color: var(--egyptian-blue);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-info-value {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== MISSION VISION SECTION ===== */
.elraed-mission-vision {
    background: var(--bg-secondary);
    padding: var(--section-padding);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.mission-card {
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-tertiary);
}

.mission-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: block;
}

.mission-card-title {
    color: var(--egyptian-blue);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.mission-card-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== TEAM SECTION ===== */
.elraed-team-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.team-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-member-image {
    padding: 30px 30px 0 30px;
}

.team-avatar-circle {
    width: 120px;
    height: 120px;
    background: var(--egyptian-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.team-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    bottom: -15%;
}

.team-member-content {
    padding: 30px;
}

.team-member-name {
    color: var(--egyptian-blue);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-member-role {
    color: var(--egyptian-lblack);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-member-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid,
    .features-grid-container,
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .section-main-title {
        font-size: 2.5rem;
    }
    
    .hero-main-title,
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle-text,
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description-text,
    .hero-description {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .signup-form-wrapper,
    .signin-form-wrapper {
        padding: 40px 30px;
    }
    
    .stats-grid,
    .stats-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .testimonials-grid,
    .testimonials-grid-container {
        grid-template-columns: 1fr;
    }
    
    .contact-quick-stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-main-title,
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle-text,
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description-text,
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-main-title {
        font-size: 2rem;
    }
    
    .signup-form-wrapper,
    .signin-form-wrapper,
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
      .stat-number,
    .stat-box-number {
        font-size: 3rem;
    }
}

/* Larger tablets and small desktops */
@media (max-width: 992px) {
    .hero-main-title,
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle-text,
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-main-title {
        font-size: 2.8rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-main-title,
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle-text,
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description-text,
    .hero-description {
        font-size: 0.85rem;
    }
    
    .section-main-title {
        font-size: 1.6rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* === HOMEPAGE FULL PAGE FIXES === */

.elraed-homepage-full {
    width: 100%;
    overflow-x: hidden;
}

.elraed-homepage-full section {
    margin-bottom: 0;
    padding: var(--section-padding);
}

.elraed-homepage-full .elraed-landing-hero {
    display: flex;
    align-items: center;
    height: 90vh;
}

.elraed-homepage-full .elraed-landing-features {
    background: var(--bg-primary);
}

.elraed-homepage-full .elraed-landing-stats {
    background: var(--egyptian-blue-dark);
    color: white;
}

.elraed-homepage-full .elraed-landing-stats .stat-label,
.elraed-homepage-full .elraed-landing-stats .stat-number {
    color: var(--white);
}

.elraed-homepage-full .elraed-courses-grid {
    background: var(--bg-primary);
}

.elraed-homepage-full .elraed-landing-testimonials {
    background: var(--bg-secondary);
}

/* Statistics Grid - 4 columns responsive */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-box-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: var(--primary-font);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    font-family: var(--primary-font);
}

/* Responsive stats */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Section spacing consistency */
.section-header-center {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-family: var(--primary-font);
}

.section-desc-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-family: var(--primary-font);
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.p-0 { padding: 0; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
.p-4 { padding: 40px; }
.p-5 { padding: 50px; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }
.gap-4 { gap: 40px; }
.gap-5 { gap: 50px; }

/* === TUTOR LMS COURSE LIST STYLES === */

.tutor-course-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.tutor-grid-1 { grid-template-columns: 1fr; }
.tutor-grid-2 { grid-template-columns: repeat(2, 1fr); }
.tutor-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tutor-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Course Card Styling */
.elraed-course-card {
    background: #000;
    border-radius: 2%;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 3px solid var(--egyptian-blue);
    position: relative;
}

.elraed-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Thumbnail Wrapper */
.course-thumbnail-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.elraed-course-card:hover .course-thumbnail {
    transform: scale(1.05);
}

/* Course Overlay */
.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(27, 54, 93, 0.3));
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.elraed-course-card:hover .course-overlay {
    opacity: 1;
}

.course-badge {
    background: var(--egyptian-gradient);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--primary-font);
}

.course-rating {
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars {
    font-size: 14px;
}

.rating-text {
    font-size: 12px;
    color: var(--text-color);
    font-weight: 500;
}

.course-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.4;
}

.course-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.course-title a:hover {
    color: var(--egyptian-blue);
}

.course-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.tutor-card {
    background-color: var(--egyptian-black);
}

/* Course Meta */
.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #ddd;
}

.meta-icon {
    font-size: 16px;
}

.meta-text {
    font-weight: 500;
}

/* Course Footer */
.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 3px solid var(--egyptian-blue);
    background: var(--egyptian-blue-dark);
}

.price-amount {
    color: var(--egyptian-red);
    font-family: var(--primary-font);
}

.price-free {
    color: var(--success-color);
    font-family: var(--primary-font);
}

.course-actions .btn-view-course {
    background: var(--egyptian-gradient);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--primary-font);
}

.btn-view-course:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
    color: white;
}

/* Pagination Styling */
.tutor-course-pagination {
    text-align: center;
    padding: 40px 0 20px;
}

.tutor-course-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 5px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: var(--primary-font);
}

.tutor-course-pagination .page-numbers:hover,
.tutor-course-pagination .page-numbers.current {
    background: var(--egyptian-gradient);
    border-color: var(--egyptian-lblack);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

/* No Courses Found */
.tutor-no-courses-found {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    margin: 40px 0;
}

.tutor-no-courses-found p {
    font-size: 18px;
    color: var(--text-light);
    margin: 0;
    font-family: var(--primary-font);
}

/* TutorLMS Notice */
.tutor-notice {
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    text-align: center;
}

.notice-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.notice-warning p {
    margin: 0;
    font-family: var(--primary-font);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .tutor-grid-3,
    .tutor-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .course-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .tutor-grid-2,
    .tutor-grid-3,
    .tutor-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .course-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .tutor-course-grid {
        gap: 20px;
    }
}

/* ===== RESPONSIVE TYPOGRAPHY OVERRIDES ===== */
.elraed-landing-hero .hero-main-title,
.elraed-landing-hero .hero-title,
.elraed-about-hero .hero-main-title,
.elraed-about-hero .hero-title,
.elraed-homepage-full .hero-main-title,
.elraed-homepage-full .hero-title,
.section-main-title,
.contact-hero-title {
    font-size: var(--fs-3xl);
    line-height: 1.15;
}

.elraed-landing-hero .hero-subtitle-text,
.elraed-landing-hero .hero-subtitle,
.elraed-about-hero .hero-subtitle-text,
.elraed-about-hero .hero-subtitle,
.section-desc-text,
.contact-hero-description {
    font-size: var(--fs-lg);
    line-height: 1.5;
}

.elraed-landing-hero .hero-description-text,
.elraed-landing-hero .hero-description,
.elraed-about-hero .hero-description-text,
.elraed-about-hero .hero-description,
.testimonial-text,
.feature-description,
.feature-box-description,
.mission-card-text,
.team-member-description,
.contact-info-value,
.course-excerpt {
    font-size: var(--fs-md);
    line-height: 1.7;
}

.feature-title,
.feature-box-title,
.mission-card-title,
.team-member-name,
.contact-info-title,
.social-media-title,
.contact-form-header h2,
.form-header h2 {
    font-size: var(--fs-xl);
    line-height: 1.3;
}

.form-header p,
.contact-form-header p,
.contact-info-label,
.author-role-text {
    font-size: var(--fs-sm);
}

.stat-number,
.stat-box-number {
    font-size: var(--fs-3xl);
}

.stat-label,
.stat-box-label {
    font-size: var(--fs-md);
}

.course-title a {
    font-size: var(--fs-lg);
}

.course-instructor,
.course-info,
.rating-number,
.course-actions .btn {
    font-size: var(--fs-sm);
}

.btn,
.btn-view-course {
    font-size: var(--fs-sm);
}

.btn-lg {
    font-size: var(--fs-md);
}

.btn-sm {
    font-size: var(--fs-xs);
}
