:root {
    --primary-yellow: #FFD700;
    --primary-blue: #1E3A5F;
    --dark-gray: #2C2C2C;
    --black: #000000;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Arial', sans-serif;
    overflow-x: hidden;
}

body[dir="ltr"] {
    font-family: 'Poppins', 'Arial', sans-serif;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-gray) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-yellow) !important;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-inline-end: 10px;
}

.brand-text {
    color: var(--primary-yellow);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-yellow) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.lang-switcher .btn {
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
}

.lang-switcher .btn:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue);
}

/* Hero Section */
.hero-section {
    margin-top: 76px;
    position: relative;
}

.hero-section .carousel-item {
    height: 600px;
    position: relative;
}

.hero-section .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.7);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.carousel-caption h1 {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.carousel-caption .lead {
    color: var(--primary-yellow);
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-blue));
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
#about {
    background: var(--white);
    padding: 80px 0;
}

/* About Content */
.about-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-subtitle {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.about-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-blue));
    border-radius: 2px;
}

.about-text {
    color: #555;
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.company-details {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05), rgba(255, 215, 0, 0.05));
    padding: 2rem;
    border-radius: 10px;
    border-right: 4px solid var(--primary-yellow);
    margin-top: 2rem;
}

[dir="ltr"] .company-details {
    border-right: none;
    border-left: 4px solid var(--primary-yellow);
}

.detail-item {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item strong {
    color: var(--primary-blue);
    font-weight: 600;
    margin-inline-end: 10px;
}

.detail-item span {
    color: #666;
    font-weight: 500;
}

/* Vision, Mission, Goals Cards */
.vision-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-gray) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    color: var(--white);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.vision-card:hover {
    transform: translateY(-10px);
}

.vision-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
    font-size: 2rem;
}

.vision-card h4 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    font-weight: 600;
}

.vision-card p {
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}

/* Gym Card */
.gym-card {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #FFA500 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.gym-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
}

.gym-title {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gym-text {
    color: var(--primary-blue);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 500;
}

/* Products Section */
#products {
    padding: 80px 0;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--light-gray);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9), rgba(255, 215, 0, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay i {
    color: var(--white);
    font-size: 3rem;
}

/* Partners Section */
#partners {
    padding: 80px 0;
    background: var(--white);
}

.partner-logo {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.partner-logo img {
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form .form-label {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-gray) 100%);
    padding: 3rem;
    border-radius: 15px;
    color: var(--white);
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h5 {
    color: var(--primary-yellow);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-details a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-yellow);
}

.contact-info-card .social-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-info-card .social-links h5 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

/* Form Alert */
.form-alert {
    margin-bottom: 2rem;
    border-radius: 8px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .contact-info-card {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
}

/* Footer */
.footer-main {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
    color: var(--white);
    margin-top: 50px;
}

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget {
    height: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-brand-name {
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    transform: translateY(-5px);
    border-color: var(--primary-yellow);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.social-link i {
    font-size: 1.1rem;
}

.footer-title {
    color: var(--primary-yellow);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-yellow);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-right: 10px;
}

[dir="ltr"] .footer-links a {
    padding-right: 0;
    padding-left: 10px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    right: 0;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-yellow);
}

[dir="ltr"] .footer-links a::before {
    content: '←';
    right: auto;
    left: 0;
}

.footer-links a:hover {
    color: var(--primary-yellow);
    padding-right: 20px;
    transform: translateX(-5px);
}

[dir="ltr"] .footer-links a:hover {
    padding-right: 0;
    padding-left: 20px;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    right: -15px;
}

[dir="ltr"] .footer-links a:hover::before {
    right: auto;
    left: -15px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary-yellow);
    font-size: 1.1rem;
    margin-top: 3px;
    min-width: 20px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-yellow);
}

.footer-contact strong {
    color: var(--primary-yellow);
    font-weight: 600;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-brand {
    color: var(--primary-yellow);
    font-weight: 700;
}

.footer-bottom .text-danger {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-top {
        padding: 40px 0 30px;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption .lead {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gym-title {
        font-size: 1.8rem;
    }
    
    .gym-card {
        padding: 2rem;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-gray) 100%);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-gray));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-yellow), #FFA500);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.nav-link.active {
    color: var(--primary-yellow) !important;
}

.arrow-icon {
    transition: all 0.3s ease;
}

/* RTL/LTR Support */
[dir="rtl"] .navbar-nav {
    margin-right: 0;
}

[dir="ltr"] .navbar-nav {
    margin-left: 0;
}

[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

[dir="ltr"] .ms-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

[dir="rtl"] .me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

[dir="ltr"] .me-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .ms-3 {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

[dir="ltr"] .ms-3 {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

