/* assets/css/xpexam.css */

/* ===== VARIABLES ===== */
:root {
    --primary-blue: #2563eb;
    --secondary-blue: #1d4ed8;
    --accent-orange: #2196f3;
    --dark-blue: #2196f3;
    --light-blue: #dbeafe;
    --success-green: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background-light: #f8fafc;
    --white: #ffffff;
    --gradient-primary: #2196f3;
    --gradient-secondary: linear-gradient(135deg, #2196f3 0%, #144f7e 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    --gradient-dark: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 25px 50px rgba(0, 0, 0, 0.2);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== FULL SCREEN HERO SECTION ===== */
.xpexam-hero-full {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-image: url(../img/33.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
    padding: 100px 20px;
    box-sizing: border-box;
}

/* الخلفية الإضافية */
.hero-background {
    /*position: absolute;*/
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../img/33.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*opacity: 0.4;*/
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/network-pattern.png') center/cover no-repeat;
    opacity: 0.1;
}

/* المحتوى */
.hero-content-full {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 10px;
}

/* العناصر تحت العنوان */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.hero-cta {
    margin-top: 3rem;
}

/* ✅ تجاوب الموبايل */
@media (max-width: 768px) {
    .xpexam-hero-full {
        min-height: auto;
        padding: 120px 20px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }
}


.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: ;
    color: white;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    min-width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-item:hover::before {
    transform: translateX(100%);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    font-size: 2rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.feature-item span {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    flex: 1;
}

/* ألوان متنوعة للكروت */
.feature-item:nth-child(1) {
    background: ;
}

.feature-item:nth-child(2) {
    background: ;
}

.feature-item:nth-child(3) {
    background: ;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        min-height: auto;
        padding: 120px 15px;
    }
    
    .feature-item {
        min-width: 280px;
        padding: 18px 20px;
    }
    
    .feature-item i {
        font-size: 1.8rem;
        width: 50px;
        height: 50px;
    }
    
    .feature-item span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .feature-item {
        min-width: 100%;
        padding: 15px 20px;
    }
    
    .feature-item i {
        font-size: 1.6rem;
        width: 45px;
        height: 45px;
        padding: 10px;
    }
    
    .feature-item span {
        font-size: 0.95rem;
    }
}

/* تأثير إضافي للجمال */
.feature-item {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===== BUTTON STYLES ===== */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    justify-content: center;
}

.cta-btn.primary {
    background: var(--accent-orange);
    color: var(--white);
    box-shadow: var(--shadow);
}

.cta-btn.primary:hover {
    background: #e58e0b;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.cta-btn.secondary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow);
}

.cta-btn.secondary:hover {
    background: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.cta-btn.outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.cta-btn.outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.cta-btn.large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* ===== WHAT IS XPEXAM SECTION ===== */
.what-is-xpexam {
    padding: 100px 0;
    background: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-light);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature i {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature span {
    font-size: 1.1rem;
    line-height: 1.6;
}

.content-image img {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.content-image img:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* ===== IMPROVE SKILLS SECTION ===== */
.improve-skills {
    padding: 100px 0;
    background: var(--white);
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.skills-image img {
    width: 100%;
        height: 400px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.skills-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.learning-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.learning-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.learning-item i {
    color: var(--success-green);
    font-size: 1.3rem;
}

.learning-item span {
    font-size: 1.1rem;
}

/* ===== COMING SOON SECTION ===== */
.coming-soon {
    padding: 100px 0;
    background: var(--background-light);
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

.test-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.test-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.test-icon {
    width: 80px;
    height: 80px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.test-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.test-card h4 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.test-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.status {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.cta-center {
    text-align: center;
}

/* ===== FINAL CTA SECTION ===== */
.final-cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .content-grid,
    .skills-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn.large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 2rem;
    }
    
    .tests-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}