/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', 'Tajawal', 'IBM Plex Sans Arabic', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    direction: rtl;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: #1a252f;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: #5a6c7d;
}

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

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

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a252f;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #3498db;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Navigation */
.nav {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list a:hover,
.nav-list a.active {
    color: #3498db;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.cta-button.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    min-width: 300px;
    text-align: center;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-list a {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.mobile-nav-list a:hover {
    color: #3498db;
}

.mobile-cta {
    margin-top: 1rem;
    padding: 1rem 2rem;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0 2rem;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a252f, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #5a6c7d;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #1a252f;
}

.cta-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #5a6c7d;
}

.cta-image {
    text-align: center;
}

.cta-image img {
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: white;
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a252f;
}

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

.stat-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 1rem;
}

.stat-card p {
    font-size: 0.95rem;
    color: #5a6c7d;
    margin: 0;
}

/* Mission Section */
.mission-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.mission-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a252f;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #5a6c7d;
    line-height: 1.8;
}

/* Coaches Section */
.coaches-section {
    padding: 4rem 0;
    background: white;
}

.coaches-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.coaches-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a252f;
}

.coaches-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #5a6c7d;
}

.coaches-image {
    text-align: center;
}

.coaches-image img {
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Video Section */
.video-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-wrapper video {
    width: 100%;
    height: auto;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
    background: white;
}

.pricing-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a252f;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    transform: scale(1.05);
    border: 2px solid #3498db;
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
}

.pricing-card.featured .price {
    color: white;
}

.badge {
    background: #e74c3c;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

.pricing-description {
    color: #5a6c7d;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.pricing-card.featured .pricing-description {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-note {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.pricing-note p {
    margin-bottom: 0.5rem;
    color: #5a6c7d;
}

.pricing-note strong {
    color: #1a252f;
}

/* Location Section */
.location-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.location-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a252f;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.location-info h3 {
    margin-bottom: 1rem;
    color: #1a252f;
}

.location-info p {
    margin-bottom: 1rem;
    color: #5a6c7d;
}

.contact-details a {
    color: #3498db;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #2980b9;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Reviews Section */
.reviews-section {
    padding: 4rem 0;
    background: white;
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a252f;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.review-rating {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #f39c12;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #5a6c7d;
    line-height: 1.6;
}

.review-author {
    font-weight: 600;
    color: #1a252f;
    font-size: 0.9rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a252f;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #1a252f;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #5a6c7d;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
    font-weight: 500;
}

/* Legal Pages */
.legal-page {
    padding: 4rem 0;
    background: white;
}

.legal-page h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a252f;
}

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

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: #1a252f;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.legal-section h3 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

.legal-section ul {
    margin-right: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: #5a6c7d;
}

.last-updated {
    text-align: center;
    color: #95a5a6;
    font-style: italic;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* Contacts Page Specific */
.contacts-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0 2rem;
}

.contact-info-section {
    padding: 4rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.contact-card h3 {
    margin-bottom: 1rem;
    color: #1a252f;
}

.contact-card p {
    margin-bottom: 0.5rem;
    color: #5a6c7d;
}

.working-hours p {
    font-weight: 500;
}

.map-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-info {
    text-align: center;
    margin-top: 2rem;
}

.map-info p {
    color: #5a6c7d;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: #1a252f;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    max-width: 120px;
    height: auto;
    filter: brightness(0) invert(1); /* Makes logo white for dark footer */
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: #3498db;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 0.75rem 0;
    }

    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content,
    .cta-content,
    .coaches-content,
    .location-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-image img {
        height: 250px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
        margin: 0 -0.5rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .container {
        padding: 0 15px;
    }

    main {
        margin-top: 70px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .cta-text h2,
    h2 {
        font-size: 1.8rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .mobile-nav {
        min-width: 280px;
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .mobile-menu-toggle,
    .cta-button {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    .container {
        max-width: none;
        padding: 0;
    }
}
