/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: #1a3a4a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Background Video Styles */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    /* Removed background-color and backdrop-filter */
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 8rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7); /* Added text shadow for better readability */
}

/* Main Content Styles */
main {
    flex: 1;
}

.cards-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    height: 200px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-content {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.logo-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    order: 1;
    border-radius: 0;
}

.operations-logo {
    background: linear-gradient(135deg, #4ecca3, #ffffff);
}

.logistics-logo {
    background: linear-gradient(135deg, #0b2c7e, #0a555b);
}

.logo-container img {
    max-width: 50%;
    max-height: 50%;
}

/* Hide the text elements */
.card-text {
    display: none;
}

/* Footer Styles */
footer {
    text-align: center;
    margin-top: 3rem;
    padding: 1rem 0;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7); /* Added text shadow for better readability */
}

/* Responsive Styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
    
    .card {
        max-width: 100%;
    }
}