@font-face {
    font-family: 'jazzera';
    src: url('../fonts/jazeera.ttf');
}

:root {
    --eucarbon-blue: #081F2C;
    --eucarbon-yellow: #fcc138;
    --eucarbon-gray: #F2F1EF;
    --font-main: 'jazzera', sans-serif !important;
}

h1,h2{
    font-size: 1.5rem !important;
}
h3,h4,h5{
    font-size: 1.2rem !important;
}
.object-fit-cover {
    object-fit: cover;
}
body {
    font-family: var(--font-main);
    color: var(--eucarbon-blue);
    overflow-x: hidden;
    font-size: 1rem !important;
    overflow-x: hidden !important;
}

.navbar {
    background-color: var(--eucarbon-yellow);
}

.navbar-brand img {
    max-height: 50px;
}

.nav-link {
    font-weight: 700;
    color: var(--eucarbon-blue) !important;
}

.btn-brand {
    background-color: var(--eucarbon-blue);
    color: var(--eucarbon-yellow);
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 800;
    transition: all 0.3s;
}

.btn-brand:hover {
    background-color: var(--eucarbon-yellow);
    color: var(--eucarbon-blue);
    transform: translateY(-2px);
}

/* --- Hero Slider (السلايدر المتحرك) --- */
#heroCarousel {
    height: 100vh;
    /* ملء الشاشة */
    position: relative;
}

.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
}

/* طبقة التعتيم لضمان قراءة النص */
.carousel-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(rgba(8, 31, 44, 0.6), rgba(8, 31, 44, 0.7));
}

.carousel-caption {
    bottom: 0;
    text-align: right;
    /* محاذاة النص لليمين للعربية */
}



.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--eucarbon-yellow);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.5rem;
    color: #fff;
    max-width: 600px;
    margin-bottom: 30px;
}

footer {
    background-color: var(--eucarbon-blue);
    color: white;
    padding: 60px 0 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--eucarbon-yellow);
    text-decoration: none;
    transition: 0.3s;
}

.social-link:hover {
    background: var(--eucarbon-yellow);
    color: var(--eucarbon-blue);
}

.transition-hover {
    transition: all 0.3s ease;
}

.hover-up {
    transition: transform 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-10px);
}

.scroll-down-anim {
    animation: bounce 2s infinite;
    display: inline-block;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.border-hover:hover {
    border: 2px solid var(--eucarbon-yellow);
    transform: scale(1.02);
    transition: all 0.3s;
}
/* Media Queries */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        text-align: center;
            width: 100%;
    }

    .carousel-caption {
        bottom: -1%;
        text-align: center;
    }

    .hero-text {
        margin: 0 auto 20px;
        font-size: 1.1rem;
    }
  
    .carousel-item .d-flex {
        align-items: center !important;
        /* توسيط النص في الموبايل */
        text-align: center;
    }

    .btn-brand {
        margin: 20px auto 0;
        /* توسيط الزر في الموبايل */
    }
}
