﻿:root {
    --primary-color: #D4AF37;
    --primary-hover: #b5952f;
    --bg-dark: #0d0d0d;
    --bg-darker: #070707;
    --bg-card: #151515;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Inter', sans-serif;
    --transition: 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html[lang="ar"] {
    font-family: var(--font-ar);
}

html[lang="en"] {
    font-family: var(--font-en);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.section-padding {
    padding: 80px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.accent {
    color: var(--primary-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* Header */
header {
    background-color: rgba(13, 13, 13, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links li a {
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

html[dir="ltr"] .nav-links li a::after {
    right: auto;
    left: 0;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-weight: 600;
}

.lang-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 15px;
    max-width: 600px;
}

.hero-content .btn {
    margin-top: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

html[dir="ltr"] .hero-image {
    justify-content: flex-start;
}

.image-wrapper {
    position: relative;
    max-width: 80%;
}

.image-wrapper img {
    width: 100%;
    border-radius: 8px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.title-line {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 15px auto;
}

.section-title p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-text h3, .philosophy h3, .values h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.check-list li {
    margin-bottom: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list li i {
    color: var(--primary-color);
}

.highlight-box {
    margin-top: 20px;
    padding: 15px;
    border-right: 4px solid var(--primary-color);
    background-color: rgba(212, 175, 55, 0.05);
}

html[dir="ltr"] .highlight-box {
    border-right: none;
    border-left: 4px solid var(--primary-color);
}

.highlight-box p {
    font-weight: bold;
    color: var(--text-light);
}

.values {
    grid-column: span 2;
    margin-top: 20px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.values-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.values-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.tag {
    background-color: var(--bg-card);
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary-color);
    font-weight: 600;
}

/* Gallery Placeholders for World Champions */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
}

.placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.1);
    border: 1px dashed rgba(212, 175, 55, 0.3);
}

/* Media Section */
.media-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.media-topics h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.bullet-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
}

.bullet-list li i {
    color: #ff0000;
    font-size: 1.2rem;
}

.media-video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: var(--bg-card);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: var(--transition);
}

.media-video-placeholder:hover {
    border-color: var(--primary-color);
}

.video-mockup {
    text-align: center;
    color: var(--text-muted);
}

.video-mockup i {
    display: block;
    font-size: 4rem;
    color: #ff0000;
    margin-bottom: 10px;
}

/* Masonry Identity */
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
    grid-auto-flow: dense;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.2);
    background-color: var(--bg-card);
}

.masonry-item img:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(212,175,55,0.2);
}

/* Achievements Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    right: 50%;
    margin-right: -1px;
}

html[dir="ltr"] .timeline::after {
    left: 50%;
    right: auto;
    margin-left: -1px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    right: 0;
}

html[dir="ltr"] .timeline-item:nth-child(odd) {
    left: 0;
    right: auto;
}

.timeline-item:nth-child(even) {
    right: 50%;
}

html[dir="ltr"] .timeline-item:nth-child(even) {
    left: 50%;
    right: auto;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--bg-dark);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 30px;
    right: -10px;
    z-index: 1;
}

html[dir="ltr"] .timeline-item:nth-child(odd) .timeline-dot {
    right: auto;
    left: -10px;
}

html[dir="ltr"] .timeline-item:nth-child(even) .timeline-dot {
    left: auto;
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
    right: auto;
}


.timeline-content {
    padding: 20px;
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-muted);
}

/* Qualifications */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.card ul {
    text-align: right; margin-top: 15px; 
}

html[dir="ltr"] .card ul {
    text-align: left;
}

.card ul li {
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-right: 15px;
    position: relative;
}

html[dir="ltr"] .card ul li {
    padding-left: 15px;
    padding-right: 0;
}

.card ul li::before {
    content: "■";
    color: var(--primary-color);
    font-size: 0.6rem;
    position: absolute;
    right: 0;
    top: 6px;
}
html[dir="ltr"] .card ul li::before {
    left: 0;
    right: auto;
}

/* Courses */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
}

.pricing-card .card-header {
    padding: 30px;
    background-color: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.badge.gold {
    background-color: var(--primary-color);
    color: #000;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.duration {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-card .card-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-card ul {
    margin-bottom: auto;
}

.pricing-card ul li {
    margin-bottom: 15px;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-card ul li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 25px;
}

/* Elite Course Active State */
.elite {
    border-color: var(--primary-color);
    transform: scale(1.05);
    position: relative;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.elite-sub {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

/* Sponsors */
.sponsors-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.sponsor-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.sponsor-info ul li {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 15px;
}

.sponsor-info ul li i {
    color: var(--text-light);
    background: rgba(212, 175, 55, 0.2);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-form {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.form-group {
    margin-bottom: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #000;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand .logo {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-motto {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: #000;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    width: 100%;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .about-grid, .media-content, .sponsors-container {
        grid-template-columns: 1fr;
    }
    
    .values {
        grid-column: 1;
    }
    
    .timeline::after {
        right: 31px;
    }
    
    html[dir="ltr"] .timeline::after {
        left: 31px;
        right: auto;
    }

    .timeline-item {
        width: 100%;
        padding-right: 70px;
        padding-left: 20px;
    }
    
    html[dir="ltr"] .timeline-item {
        padding-left: 70px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(even) {
        right: 0;
    }
    
    html[dir="ltr"] .timeline-item:nth-child(even) {
        left: 0;
        right: auto;
    }

    .timeline-dot {
        right: 21px;
    }
    
    html[dir="ltr"] .timeline-dot {
        left: 21px;
        right: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        right: 21px;
    }
    
    html[dir="ltr"] .timeline-item:nth-child(odd) .timeline-dot,
    html[dir="ltr"] .timeline-item:nth-child(even) .timeline-dot {
        left: 21px;
        right: auto;
    }
    
    .elite {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background-color: var(--bg-darker);
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
    
    html[dir="ltr"] .nav-links {
        left: 0;
        right: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
    
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-image {
        justify-content: center;
        width: 100%;
    }
    
    .hero {
        height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
    }
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    overflow: auto;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    animation: zoomIn 0.3s ease-in-out;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

html[dir="ltr"] .lightbox-close {
    right: auto;
    left: 40px;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

html[dir="ltr"] .floating-wa {
    right: auto;
    left: 40px;
}

.floating-wa:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 2px 2px 25px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .floating-wa {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
    
    html[dir="ltr"] .floating-wa {
        right: auto;
        left: 20px;
    }
}


