/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Banner at the top */
.banner {
    background: linear-gradient(90deg, #043541, #0b6774);
    height: 100px;
    display: flex;
    left: 20px; /* Adjust for RTL *//* Align content to the right for RTL */
    align-items: center;
    padding-right: 20px; /* Add padding to the right for spacing */
    gap: 20px;
}


.logo {
    height: 90px;
}

/* Fullscreen video container */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Background video styling */
.background-video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Overlay content on top of video */
.content-overlay {
    position: absolute;
    top: 50%;
    right: 50%; /* Adjust for RTL */
    transform: translate(50%, -50%); /* Mirror translate */
    text-align: center; /* Keep text centered */
    color: white;
}

/* Fade-in animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-overlay h1 {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
    animation-delay: 0s;
    direction: rtl; /* Ensure Arabic text flows correctly */
}

.content-overlay h2 {
    font-size: 32px;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
    animation-delay: 1s;
    direction: rtl; /* Ensure Arabic text flows correctly */
}

/* KPI Container */
.kpi-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
    animation-delay: 1.5s;
    direction: rtl; /* Adjust for RTL layout */
}

.kpi {
    text-align: center;
}

.kpi span {
    display: block;
    font-size: 36px;
    font-weight: bold;
}

.kpi p {
    margin-top: 10px;
    font-size: 18px;
    direction: rtl; /* Ensure Arabic text flows correctly */
}

/* Button styling */
.content-overlay button {
    background-color: #004b4d;
    color: white;
    border: none;
    border-radius: 30px; /* Rounder edges */
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
    animation-delay: 2s;
    transition: background-color 0.3s;
    direction: rtl; /* Ensure Arabic button text aligns correctly */
}

.content-overlay button:hover {
    background-color: #002850;
}

@font-face {
    font-family: 'GE SS Two Bold';
    src: url('fonts/GE SS Two Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'GE SS Two Light';
    src: url('fonts/GE SS Two Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'GE SS Two Medium';
    src: url('fonts/GE SS Two Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Frutiger LT Arabic';
    src: url('/crowdrnd/static/fonts/FrutigerLTArabic45Light.ttf') format('truetype');
    font-weight: 300; /* Light */
    font-style: normal;
}

@font-face {
    font-family: 'Frutiger LT Arabic';
    src: url('/crowdrnd/static/fonts/FrutigerLTArabic55Roman.ttf') format('truetype');
    font-weight: 400; /* Normal */
    font-style: normal;
}

@font-face {
    font-family: 'Frutiger LT Arabic';
    src: url('/crowdrnd/static/fonts/FrutigerLTArabic65Bold.ttf') format('truetype');
    font-weight: 700; /* Bold */
    font-style: normal;
}

@font-face {
    font-family: 'Frutiger LT Arabic';
    src: url('/crowdrnd/static/fonts/frutigerltarabic75black.ttf') format('truetype');
    font-weight: 900; /* Black */
    font-style: normal;
}
.flippable-card .back {
    transform: rotateY(180deg);
    background-color: #0b6774; /* Ensure this color is applied */
    z-index: 2; /* Ensure it is above the front when flipped */
}
body, p, button {
    font-family: 'Frutiger LT Arabic', Arial, sans-serif;
    font-weight: 400; /* Normal */
}

h1 {
    font-family: 'Frutiger LT Arabic', Arial, sans-serif;
    font-weight: 700; /* Bold */
}

h2 {
    font-family: 'Frutiger LT Arabic', Arial, sans-serif;
    font-weight: 300; /* Light */
}
