/* ======================== */
/* Root Variables (Colors) */
/* ======================== */
:root {
    --gold: #D4AF37; 
    --dark-blue: rgb(1,83,141); 
    --dark-blueone: #01538d;
    --white: #FFFFFF; 
    --light-gray: #F5F5F5; 
    --charcoal-gray: #333333; 
    --ack: #cad7df33; 
    --blow: #a1cfec33; 
    --gold-gradient: linear-gradient(135deg, #FFD700, #D4AF37, #B8860B); 
}

/* ======================== */
/* General Styling */
/* ======================== */
body {
    font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
 
    color: var(--dark-blue); 
}

/* ======================== */
/* Typography */
/* ======================== */
h1, h2, h3 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    color: var(--white); 
}

p {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    color: var(--white); 
}

/* ======================== */
/* Button Styling */
/* ======================== */
.btn-primary {
    background: linear-gradient(135deg, #FFD700, #D4AF37, #B8860B);
    color: var(--dark-blueone); 
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
}

/* ======================== */
/* Navbar Styling */
/* ======================== */
.navbar-custom {
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.05), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); 
    border-bottom: 1px solid rgba(255, 215, 0, 0.5); 
    min-height: 90px;
    padding: 10px 20px;
}

.navbar-custom:hover {
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.2), rgba(255, 255, 255, 0.9));
}

/* Navbar Logo */
.navbar-custom .navbar-brand {
    color: var(--dark-blue); 
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.navbar-custom .navbar-brand img {
    width: 120px;
    max-height: 60px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    position: relative;
    left: 20px;
    display: block;
}



/* Navbar Links */
.navbar-custom .nav-link {
    color: var(--dark-blue); /* Link text color */
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 0.7rem 1rem;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 8px;
}

.navbar-custom .nav-link:hover {
    color: var(--gold); /* Hover text color */
    background-color: rgba(255, 215, 0, 0.1);
}

.navbar-custom .nav-link.active {
    color: var(--gold); /* Active link text color */
}

/* Navbar Toggler (Hamburger Menu) */
.navbar-custom .navbar-toggler {
    border: none;
    color: var(--gold); /* Toggler icon color */
    font-size: 1.5rem;
    padding: 8px;
    transition: transform 0.3s ease;
}

.navbar-custom .navbar-toggler:hover {
    transform: rotate(90deg);
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Search Bar */
.navbar-custom .search {
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid var(--gold); /* Search bar border color */
    border-radius: 30px;
    padding: 0.4rem 1rem;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-custom .search input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    color: var(--dark-blue); /* Input text color */
}

.navbar-custom .search input::placeholder {
    color: var(--charcoal-gray); /* Placeholder text color */
    font-style: italic;
}

.navbar-custom .search button {
    background-color: var(--gold);
    color: var(--white); 
    border: none;
    border-radius: 50%;
    padding: 0.5rem;
    transition: background-color 0.3s ease;
}

.navbar-custom .search button:hover {
    background-color: #D4AF37; 
}

/* ======================== */
/* Offcanvas (Mobile Menu) */
/* ======================== */
.offcanvas {
    height: 100vh !important;
    background: linear-gradient(
        135deg,
        rgba(248, 251, 255, 0.9), 
        rgba(230, 214, 129, 0.9)   
    );
    backdrop-filter: blur(10px); 
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    transition: transform 0.3s ease-in-out; 
}

/* Offcanvas Header */
.offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); 
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offcanvas-header .btn-close {
    font-size: 1.5rem; 
    color: var(--dark-blue);
    transition: transform 0.3s ease; 
}

.offcanvas-header .btn-close:hover {
    transform: rotate(90deg); 
}

/* Offcanvas Body */
.offcanvas-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.offcanvas-body .navbar-nav {
    margin-top: 1rem;
}

.offcanvas-body .nav-link {
    font-size: 1.1rem; 
    font-weight: 500; 
    color: var(--dark-blue);
    padding: 0.75rem 1rem; 
    border-radius: 8px; 
    transition: all 0.3s ease;
    text-align: right; 
}

.offcanvas-body .nav-link:hover {
    background-color: rgba(255, 215, 0, 0.1); 
    color: var(--gold); 
}
/* Offcanvas Footer (Social Icons) */
.offcanvas-footer {
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1); 
    text-align: center;
}

.offcanvas-footer .social-icon {
    color: var(--dark-blue); 
    font-size: 1.5rem; 
    margin: 0 0.5rem; 
    transition: all 0.3s ease; 
}
.offcanvas-footer .social-icon:hover {
    color: var(--gold); /* Hover icon color */
    transform: translateY(-3px); 
}

/* ======================== */
/* Responsive Adjustments */
/* ======================== */
@media (max-width: 767.98px) {

    .offcanvas {
        width: 250px; 
    }

    .offcanvas-body .nav-link {
        font-size: 1rem; 
    }
    .offcanvas-footer .social-icon {
        font-size: 1.2rem; 
}

.social-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px); 
    color: #007bff; 
}
}
/* ======================== */
/* Responsive Styles */
/* ======================== */
@media (max-width: 991.98px) {
    .navbar-custom .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .navbar-custom .search {
        margin-top: 1rem;
        max-width: 100%;
    }

    .offcanvas-body {
        padding-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .navbar-custom {
        padding: 0.5rem 1rem;
    }

    .navbar-custom .nav-link {
        font-size: 0.9rem;
    }

    .navbar-custom .search button {
        padding: 0.4rem;
    }

    .offcanvas-body .nav-link {
        font-size: 1rem;
        padding: 0.6rem;
    }
}

/* ======================== */
/* Animations */
/* ======================== */
@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ======================== */
/* Desktop-Only Adjustments */
/* ======================== */
@media (min-width: 992px) {
    .navbar-custom {
        background: linear-gradient(180deg, rgba(255, 215, 0, 0.05), rgba(255, 255, 255, 0.8));
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid rgba(255, 215, 0, 0.5);
    }

    .navbar-custom .navbar-nav {
        margin-left: auto;
    }

    .navbar-custom .nav-link {
        padding: 0.7rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
}

/* ======================== */
/* End Navbar */
/* ======================== */

/* ======================== */
/* Start Landing Section */
/* ======================== */
.landing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

.landing {
    position: relative;
    height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.container {
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.landing h1 {
    font-size: clamp(2.5rem, 6vw, 4rem); 
    font-weight: 700;
    color: #fdfdfd;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

.landing p {
    font-size: clamp(1rem, 2.5vw, 1.4rem); 
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    color: #e8e8e8;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.landing .d-flex {
    margin-top: 30px;
}

.landing .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 30px;
    font-size: clamp(1rem, 2vw, 1.2rem); 
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.btn-yellow {
    background: linear-gradient(135deg, #FFD700, #D4AF37, #B8860B);
}

.btn-yellow:hover {
    background: linear-gradient(135deg, #FFD700, #D4AF37, #B8860B);
}

.btn-dark-blue {
    background-color: #002B5C;
}

.btn-dark-blue:hover {
    background-color: #001a3c; 
}

#carouselExampleInterval {
    height: 100vh; 
    min-height: 500px; 
}

.carousel-item {
    height: 100vh; 
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    background-color: #003B5C; 
}



.carousel-caption {
    position: absolute;
    top: 50%;
    right: 5%; 
    left: auto; 
    transform: translateY(-50%); 
    text-align: right; 
    color: #fff;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    padding: 1.5vw;
    border-radius: 10px;
    max-width: 60%; 
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translateY(-50%);
}


.carousel-caption h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.4;
    text-transform: uppercase;
}


.carousel-caption p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
}

.carousel-caption .btn-more {
    display: inline-block;
    padding: 10px 20px;
    font-size: clamp(1rem, 2vw, 1.2rem); 
    font-weight: bold;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.carousel-caption .btn-more:hover {
    background: #fff;
    color: #000;
}

.position-absolute.w-100.d-flex.justify-content-center {
    bottom: 10%;
    z-index: 10;
}

@media (max-width: 1024px) {
    .landing h1 {
        font-size: 3rem;
    }

    .landing p {
        font-size: 1.2rem;
    }

    .carousel-caption {
        max-width: 90%;
        padding: 2vw;
    }

    .carousel-caption h2 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1.2rem;
    }

    .carousel-caption .btn-more {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .landing h1 {
        font-size: 2.5rem;
    }

    .landing p {
        font-size: 1rem;
    }

    .carousel-caption {
        max-width: 95%;
        padding: 3vw;
    }

    .carousel-caption h2 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-caption .btn-more {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .landing h1 {
        font-size: 2rem;
    }

    .landing p {
        font-size: 0.9rem;
    }

    .carousel-caption {
        max-width: 95%;
        padding: 3vw;
    }

    .carousel-caption h2 {
        font-size: 1.6rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .carousel-caption .btn-more {
        font-size: 0.8rem;
    }
}
.carousel-control-prev,
.carousel-control-next {
    width: 45px; 
    height: 45px;
    background-color: rgba(0, 0, 0, 0.2) !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: background-color 0.3s ease-in-out, opacity 0.3s, transform 0.2s;
    
    position: absolute;
    top: 50%; 
    transform: translateY(-50%);
}


.carousel-control-prev {
    left: 15px; 
}

.carousel-control-next {
    right: 15px; 
}



/* تغيير لون أيقونة السهم */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(80%);
    opacity: 0.9;
}


@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px; 
        height: 35px;
    }
    
    .carousel-control-prev {
        left: 5px; 
    }
    
    .carousel-control-next {
        right: 5px;
    }
}

/* ======================== */
/* End Hero Section */
/* ======================== */

/* ======================== */
/* About Us Section */
/* ======================== */
.aboutus {
    background: #ffffff;
    padding: 4rem 1rem; 
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
}

.image-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.high-quality {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    will-change: transform, filter;
}

.high-quality:hover {
    transform: scale(1.05);
    filter: none;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

.badge.bg-gold {
    background: linear-gradient(135deg, #D4AF37, #FFD700, #B8860B);
    color: var(--dark-blue);
    font-weight: bold;
    border-radius: 10px;
    position: absolute;
    top: -10px;
    right: 10px;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 0.875rem;
    text-align: center;
    border: none;
    transition: 0.3s;
}

.badge.bg-gold:hover {
    background: linear-gradient(135deg, #FFD700, #D4AF37, #B8860B);
    color: white;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.aboutus h2 {
    font-size: 2rem; 
    color: var(--dark-blue);
    margin-bottom: 1.25rem; 
    text-align: center;
}

.aboutus p {
    font-size: 1.1rem; /* 17.6px */
    color: var(--dark-blue);
    line-height: 1.8;
    text-align: center;
    max-width: 800px; 
    margin: 0 auto;
}

.btn-gold {
    background: linear-gradient(135deg, #FFD700, #D4AF37, #B8860B);
    color: var(--dark-blue);
    font-weight: bold;
    border-radius: 20px;
    padding: 0.75rem 1.5rem;
    transition: 0.3s;
    display: inline-block;
    margin-top: 1rem; 
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 1rem; 
}

.btn-gold:hover {
    background: linear-gradient(135deg, #FFD700, #D4AF37, #B8860B);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}



@media (min-width: 769px) and (max-width: 1024px) {
    .aboutus {
        padding: 3rem 2rem; 
    }

    .btn-gold {
        margin-left: 0; 
    }
}

@media (min-width: 1025px) {
    .aboutus {
        padding: 4rem 2rem; 
    }

    .btn-gold {
        margin-left: 235px; 
    }
}





/* ======================== */
/* End About Us Section */
/* ======================== */

/* ======================== */
/* Our Work Section */
/* ======================== */
/* ملف styles.css */

.card-container {
    perspective: 1000px;
    cursor: pointer;

}

.card {
    position: relative;
    width: 100%;
    height: 250px;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
    border-radius: 15px;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.card-front {
    background: linear-gradient(135deg, #FFD700, #D4AF37, #B8860B); 
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-back {
    background:  rgb(44,128,175);
    color: #333;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
}

.card-container:hover .card {
    transform: rotateY(180deg);
}

.card-container:hover .card-front, .card-container:hover .card-back {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.card-front h5, .card-back p {
    margin: 0;
    font-size: 1.25rem;
}

/* تحسين الأداء على الأجهزة المحمولة */
@media (max-width: 768px) {
    .card {
        height: 200px;
    }

    .card-front h5, .card-back p {
        font-size: 1rem;
    }

    .card-front i {
        font-size: 2rem;
    }
}
.text-blue {
    color:#01538d;/* Dark Blue */
}
.main-title .gold-line {
    width: 200px;
    height: 3px;
    background: linear-gradient(135deg, #FFD700, #D4AF37, #B8860B);
    margin: 5px auto 0;
}
/* ======================== */
/* End Our Work Section */
/* ======================== */

/* ======================== */
/* Clients Section */
/* ======================== */
.clients-section {
    background-color: white;
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
    direction: ltr;
    background: var(--white);
    border-top: 5px solid #e6e3e3;
    padding: 50px 20px;
    text-align: center;
}

.clients-section h2 {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 2rem;
    font-weight: bold;
}

.clients-slider {
    overflow: hidden;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    white-space: nowrap;
    direction: ltr;
}

.slider-track {
    display: inline-flex;
    gap: 30px;
    animation: infiniteScroll 50s linear infinite;
}

[dir="rtl"] .clients-slider {
    direction: rtl;
}

[dir="rtl"] .slider-track {
    animation: infiniteScrollRtl 50s linear infinite;
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes infiniteScrollRtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

.client-logo {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.client-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .client-logo {
        width: 140px;
        height: 100px;
    }

    .clients-section h2 {
        font-size: 2rem;
    }

    .slider-track {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .client-logo {
        width: 120px;
        height: 80px;
    }

    .clients-section h2 {
        font-size: 1.8rem;
    }
}

/* ======================== */
/* End Clients Section */
/* ======================== */

/* ======================== */
/* Subscription Section */
/* ======================== */
.subscription-section {
    background: var(--white);
    border-top: 5px solid #e6e3e3;
    padding: 50px 20px;
    text-align: center;
}

.subscription-section h2 {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: bold;
}

.subscription-section p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.subscription-section .form-control {
    font-size: 1rem;
    border: 2px solid #D4AF37;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 1.5rem;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.subscription-section .form-control:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
    outline: none;
}

.subscription-section .btn-gold {
    background: linear-gradient(135deg, #D4AF37, #FFD700, #B8860B);    width: auto;
    border-radius: 30px;
    font-weight: bold;
    max-width: 200px;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.subscription-section .btn-primary:hover {
    background-color: #004080;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

#feedback-message {
    font-size: 1rem;
    color: #28a745;
    animation: fadeIn 1s ease forwards;
    margin-top: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {}
    .subscription-section h2 {
        font-size: 1.8rem;
    }

    .subscription-section p {
        font-size: 1rem;
    }

    .subscription-section .form-control {
        font-size: 0.9rem;
        max-width: 100%;
        /* Full width input on smaller screens */
        padding: 0.7rem 1rem;
    }



    .subscription-section .btn-primary {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
        background-color: #D4AF37; 
        color: #002B5C; 
        border: none;
    }
    
    .subscription-section .btn-primary:hover {
        background-color: #c0a332; 
    }
    
    @media (max-width: 480px) {
        .subscription-section h2 {
            font-size: 1.6rem;
        }
    
        .subscription-section p {
            font-size: 1.5rem;
        }
    
        .subscription-section .btn-primary {
            font-size: 1.5rem;
            padding: 0.5rem 1rem;
        }
    }
    
 /* ======================== Footer Section ======================== */
.footer {
    background-color:   rgb(5, 61, 97);
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    direction: rtl;
}

.footer img {
    width: 120px;
    max-height: 60px;
    object-fit: contain;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    display: block;
    margin-left: -20px;
}

.footer img:hover {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .footer img {
        width: 100px;
        margin-left: -15px;
    }
}

@media (max-width: 480px) {
    .footer img {
        width: 90px;
        margin-left: -10px;
    }
}

.footer .info img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}

@media (min-width: 992px) {
    .footer .info img {
        margin-left: -1000px;
    }
}

.footer h5 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #D4AF37; 
    text-align: center;
}

.footer p,
.footer a {
    font-size: 1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 1rem;
    text-decoration: none;
    text-align: center;
}

.footer p:hover,
.footer a:hover {
    color: #D4AF37;
}

.footer .social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-right: 0;
}

@media (max-width: 768px) {
    .footer .social-icons {
        gap: 10px;
    }

    .footer .social-icons a {
        font-size: 1.2rem;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .footer .social-icons {
        gap: 8px;
    }

    .footer .social-icons a {
        font-size: 1.1rem;
        padding: 6px;
    }
}

.footer .social-icons a {
    color: #fff;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.footer .social-icons a:hover {
    color: #D4AF37; /* اللون الذهبي */
    transform: scale(1.1);
    background-color: rgba(212, 175, 55, 0.2); 
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
}

.footer .col {
    flex: 1 1 300px;
    margin-bottom: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .footer .info img {
        width: 100px;
        height: 100px;
    }

    .footer h5 {
        font-size: 1.3rem;
    }

    .footer p,
    .footer a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 15px;
    }

    .footer h5 {
        font-size: 1.2rem;
    }

    .footer p,
    .footer a {
        font-size: 0.8rem;
    }

    .footer .social-icons a {
        font-size: 1.1rem;
    }
}
.contact ul {
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 0;
}

.contact ul li {
    margin: 0 5px; 
}

.contact ul a i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;  
    height: 40px;
    border-radius: 50%;
    color: white;
}
/* ======================== Breaking News Section ======================== */
.breaking-news {
    font-size: 1.2rem;
    font-weight: 800;
    color: #141414;
    border: 2px solid #D4AF37; 
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 1rem 2rem;
    background: #002B5C; 
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #D4AF37, #FFD700, #B8860B); font-weight: bold;
}
.custom-gradient {
    background: linear-gradient(135deg, #D4AF37, #FFD700, #B8860B);
    color: #002B5C; 
    font-weight: bold;
    padding: 20px; 
    border-radius: 10px; 
    text-align: center; 
}


.contact .btn {
    background: linear-gradient(135deg, #D4AF37, #FFD700, #B8860B);
    color: #002B5C; 
    font-weight: bold;
    text-align: center; 
    
}
.contact .btn :hover {
    color: #D4AF37; 
    transform: scale(1.1);
    background-color: rgba(212, 175, 55, 0.2); 
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.7); 
}
/* للصفحات العربية */
html[lang="ar"] body {
  direction: rtl;
  text-align: right;
}

/* للصفحات الإنجليزية */
html[lang="en"] body {
  direction: ltr;
  text-align: left;
}
/* اجعل أزرار اللغة صفاً واحداً ولا تلتف (تمنع التكدس) */
.language-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap; /* لا تلتف على سطر جديد */
}

/* إذا احتجنا للسماح بالالتفاف على أصغر الشاشات فقط عندما كلا الزرين مرئيان */
@media (max-width: 360px) {
  .language-switcher.allow-wrap { flex-wrap: wrap; gap:6px; }
}

/* صنف لإخفاء الزر الآخر */
.lang-btn.hidden {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}
/* ✅ اجعل نصوص السلايدر بمحاذاة اليسار في النسخة الإنجليزية */
html[lang="en"] .carousel-caption,
body[dir="ltr"] .carousel-caption {
  text-align: left !important;
  direction: ltr !important;
  left: 5%;              /* تحريك النص قليلاً إلى اليسار بدل المنتصف */
  right: auto;           /* إزالة التثبيت من اليمين */
  bottom: 20%;           /* اختياري: لتوزيع المسافة من الأسفل */
  transform: none;       /* إلغاء أي تمركز */
}

/* يمكنك أيضًا تنسيق العناوين والفقرات داخل الكابشن */
html[lang="en"] .carousel-caption h2,
html[lang="en"] .carousel-caption p,
body[dir="ltr"] .carousel-caption h2,
body[dir="ltr"] .carousel-caption p {
  text-align: left !important;
  direction: ltr !important;
}
/* الفوتر يتبع اتجاه الصفحة تلقائيًا */
html[dir="rtl"] footer,
html[dir="rtl"] .footer {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] footer,
html[dir="ltr"] .footer {
  direction: ltr;
  text-align: left;
}

