/* CSS Variables */
:root {
    --primary-blue: #007bff;
    --yellow: #ffc107;
    --gray-light: #f8f9fa;
    --gray-dark: #333;
    --white: #fff;
    --blue-light: #e7f1ff;
    --success-green: #28a745;
    --gradient-primary: linear-gradient(135deg, #007bff, #0056b3);
    --gradient-secondary: linear-gradient(135deg, #ffc107, #e0a800);
    --shadow-light: 0 4px 20px rgba(0, 123, 255, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 123, 255, 0.2);
    --shadow-heavy: 0 12px 40px rgba(0, 123, 255, 0.3);
}

/* General Styles */
body {
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
    color: var(--gray-dark);
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-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" fill="rgba(255,255,255,0.1)"><polygon points="0,100 1000,0 1000,100"/></svg>');
    background-size: 100% 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section .lead {
    color: var(--white);
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--yellow);
    margin: 1rem auto;
    border-radius: 2px;
}

/* About Cards Section */
.about-section {
    background-color: var(--gray-light);
    padding: 5rem 0;
}

.about-card {
    background: linear-gradient(145deg, var(--white), var(--gray-light));
    transition: all 0.3s ease;
    margin: 0;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.left-card {
    border-top: 6px solid var(--yellow);
    border-left: 6px solid var(--yellow);
    border-bottom: 6px solid var(--yellow);
}

.right-card {
    border-top: 6px solid var(--yellow);
    border-right: 6px solid var(--yellow);
    border-bottom: 6px solid var(--yellow);
}

.right-card, .left-card {
    height: 25rem !important;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.taller-card {
    max-height: 550px;
    background: linear-gradient(145deg, var(--blue-light), var(--white));
    box-shadow: var(--shadow-heavy);
    z-index: 1;
    margin-top: -30px;
    border: 6px solid var(--yellow) !important;
}

.taller-card:hover {
    box-shadow: 0 15px 50px rgba(0, 123, 255, 0.4);
}

.taller-card .card-img-top {
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.taller-card:hover .card-img-top {
    transform: scale(1.05);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

.card-title {
    color: var(--primary-blue);
    font-size: 1.5rem;
    position: relative;
    font-weight: 700;
}

.card-text {
    color: var(--gray-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.icon-accent {
    font-size: 2.5rem;
    color: var(--yellow);
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.icon-accent:hover {
    transform: scale(1.2);
}

/* Statistics Section */
.statistics-section {
    background: var(--gradient-primary);
    padding: 4rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    position: relative;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--yellow);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Our Work Section */
.work-section {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray-dark);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.work-tabs {
    margin-bottom: 3rem;
}

.work-tabs .nav-link {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 25px;
    padding: 10px 25px;
    margin: 0 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.work-tabs .nav-link.active {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.05);
}

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

.work-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.work-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-item-content {
    padding: 1.5rem;
}


.work-item p {
    color: var(--primary-blue);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.work-badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--gray-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Video Section */
.video-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--gray-dark);
}

.video-item video {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

/* Team Section */
.team-section {
    background: var(--gray-light);
    padding: 5rem 0;
}

.team-member {
    text-align: center;
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.team-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--gray-dark);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.team-experience {
    background: var(--yellow);
    color: var(--gray-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Booking Section */
.booking-section {
    text-align: center;
    padding: 4rem 0;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.booking-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" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,100 0,100"/></svg>');
    background-size: 100% 100%;
}

.booking-cta {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.booking-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.booking-cta p {
    font-size: 1.3rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background-color: #20b858;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

.whatsapp-btn i {
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .about-section {
        padding: 3rem 0;
    }

    .about-card{
        border: 1px solid var(--yellow);
    }
    .taller-card{
        border: 1px solid var(--yellow) !important;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .booking-cta h3 {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

