body {
    background-color: #f4f4f4;
    font-family: 'YourCustomFont', sans-serif;
    /* Soft gray background */
}

/* .header {
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
} */

.header {
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0.9), rgb(255, 255, 255, 0.7)), url('../images/home-bg-13.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.title-section,
.contact-title h1 {
    font-size: 1.5rem;
    text-align: center;
    font-weight: 900;
    /* Base font size */
}

/* Logo Section */
.logo-section {
    position: relative;
    /* For proper positioning of the logo */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    /* Padding around the logo section */
    border-radius: 0.5rem;
}

.logo-image {
    height: 180px;
    /* Increased height for a more prominent logo */
    max-height: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
    /* Smooth transitions for hover effects */
    border-radius: 0.5rem;
    /* Rounded corners for the logo */
    filter: brightness(0.9);
    /* Slightly dim the logo for a soft effect */
}

.logo-image:hover {
    transform: scale(1.05);
    /* Slightly increase size on hover */
    filter: brightness(1);
    /* Brighten logo on hover */
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the logo */
    position: relative;
    z-index: 10;
    /* Ensure the logo is above other elements */
    text-decoration: none;
    /* Remove underline from link */
}

.logo-image-fix {
    /* background-color: #fff; */
    height: 100px;
    /* Increased height for a more prominent logo */
    max-height: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
    /* Smooth transitions for hover effects */
    border-radius: 0.5rem;
    /* Rounded corners for the logo */
    filter: brightness(0.9);
    /* Slightly dim the logo for a soft effect */
}

.logo-image-fix:hover {
    transform: scale(1.05);
    /* Slightly increase size on hover */
    filter: brightness(1);
    /* Brighten logo on hover */
}

.knowledge-image {
    height: 40px;
}

/* Menu Button Styling */
.menu-button {
    font-size: 1.8rem;
    color: #c53a3a;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 1rem;
}

@media (min-width: 960px) {
    .title-section h1 {
        font-size: 2rem;
        /* Larger font on bigger screens */
    }
}

@media (max-width: 960px) {
    .title-section h1 {
        font-size: 1.5rem;
        /* Larger font on bigger screens */
    }
}

/* Responsive Design */
@media (max-width: 640px) {

    .title-section {
        display: flex;
        justify-content: center;
        padding-left: 3rem;
        margin: 0;
    }

    .menu-icon {
        display: flex;
        position: absolute;
        /* left: 15px; */
        /* Positioning the menu button to the left */
    }

    .logo-link-link {
        margin-right: -35px;
        /* Margin to position logo on the right */
    }

    .header img,
    .fixed-header img {
        height: 100px;
        /* Smaller logo size for phones */
    }

    .nav-item {
        padding: 0.5rem;
        /* Even smaller padding for mobile */
        font-size: 0.75rem;
        /* Smaller font size for small devices */
    }

    .hero-section {
        padding-top: 7rem;
        /* Adjusts top padding for mobile */
        padding-bottom: 7rem;
        /* Adjusts bottom padding for mobile */
        min-height: 50vh;
        /* Ensures the section has some height */
    }
}

/* .fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 10%, rgba(194, 1, 1, 1) 70%), url('../images');
} */
.fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    transform: translateY(-100%);
    /* Start hidden by translating up */
    transition: transform 0.3s ease;
    /* Smooth transition */
    z-index: 1000;
    background-color: #c53a3a;
}

.fixed-header.visible {
    transform: translateY(0);
    /* Slide down into view */
}

.nav-item {
    background-color: #c53a3a;
    /* Menu item background */
    border-radius: 0.75rem;
    /* Slightly smaller border radius */
    padding: 0.65rem;
    /* Reduced padding for smaller size */
    font-size: 0.9rem;
    /* Adjust font size to be smaller */
    color: white;
    transition: color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-item:hover {
    background-color: #e16e6e;
    transform: translateY(-2px);
    /* Reduced hover effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: white !important;
    /* Keeps text white on hover */
    text-decoration: none !important;
    /* Ensures no underline on hover */
}

.nav-item.active {
    background-color: #c53a3a;
    transform: translateY(-2px);
    /* Reduced hover effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    /* Optional: Underline effect */
}

@media (min-width: 576px) {

    .nav-item {
        font-size: 0.7rem;
    }
}

@media (min-width: 768px) {

    .nav-item {
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) {

    .nav-item {
        font-size: 1.1rem;
    }
}

/* .social-container {
    position: fixed;
    left: 10px;
    top: 55%;
    transform: translateY(-50%);
    z-index: 20;
} */
/* .social-icon {
    background-color: #c53a3a;
    border-radius: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #fff;
    transition: transform 0.2s, background-color 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
    background-color: #e16e6e;
} */
.social-container {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
}

.social-icon {
    width: 42px;
    height: 42px;
    background-color: #fff;
    color: #c53a3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* match background for soft border */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    /* soft subtle shadow */
    transition: transform 0.2s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    font-size: 1.2rem;
}
/* {
            {
            getIconClass($offer['link'])
        }
    } */

.social-icon:hover {
    transform: scale(1.05);
    background-color: #c53a3a;
    color: #fff;
    border-color: #c53a3a;
    box-shadow: 0 5px 10px rgba(156, 156, 156, 0.35);
}

.Highlights-section {
    background-color: #ffffff;
    color: white;
    border-radius: 0.5rem;
    padding: 2.2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}



footer {
    background-color: #2a2a2a;
    /* Darker gray */
    color: #ffffff;
}

footer .footer-card {
    background-color: #c53a3a;
    /* Muted blue for footer cards */
}

main {
    padding: 0 15px;
    /* Add left and right padding */
}

.section-title {
    margin: 0 auto;
    /* Center title */
}

.navbar-container {
    display: flex;
    justify-content: center;
    /* Center the navbar */
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    /* Responsive grid */
    gap: 1rem;
    /* Space between grid items */
}

/* .update-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    padding: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.update-card a:hover {
    background-color: #e16e6e;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
} */

.card-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-top: 12px;
    text-align: center;
}

.description {
    flex-grow: 1;
    font-size: 1rem;
    color: #555;
    margin-top: 8px;
    text-align: center;
}

.visit-button {
    margin-top: 12px;
    display: block;
    text-align: center;
    background-color: #c53a3a;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.visit-button:hover {
    background-color: #e16e6e;
}

/* Mobile Menu Slide Down Effect */
/* #mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    display: flex;
    flex-direction: column;
}

#mobileMenu.show {
    max-height: 500px;
    display: flex;
}

#knowledgeMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    display: flex;
    flex-direction: column;
}

#knowledgeMenu.show {
    max-height: 500px;
    display: flex;
}


.mobile-nav-item {
    padding: 1rem;
    font-size: 1rem;
    color: #c53a3a;
    transition: background-color 0.3s ease;
}

.mobile-nav-item:hover {
    color: #fff;
    background-color: #c53a3a;
    width: auto;
    border-radius: 0.5rem;
    text-align: center;
}

.mobile-nav-item:last-child {
    margin-bottom: 0;
}

.mobile-nav-item:not(:last-child) {
    border-bottom: 1px solid #ddd;
} */

/* Mobile Menu Slide Down Effect */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    display: flex;
    flex-direction: column;
}

#mobileMenu.show {
    max-height: 100%;
    display: flex;
}

#knowledgeMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

#knowledgeMenu.show {
    max-height: 200px;
    /* أقل من 500px */
    padding: 1rem 0;
    display: flex;
}

/* Knowledge image inside menu */
#knowledgeMenu img {
    width: 80px;
    height: auto;
    object-fit: contain;
}

/* Mobile Nav Items */
.mobile-nav-item {
    padding: 1rem;
    font-size: 1rem;
    color: #c53a3a;
    text-decoration: none;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-bottom: 1px solid #ddd;
    display: block;
}

.mobile-nav-item:hover {
    background-color: #c53a3a;
    color: #fff;
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

/* Custom dropdown container: no extra styles needed — just spacing and transition */
.custom-dropdown {
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    background-color: #fff;
}

/* Make dropdown items identical to the main mobile nav items */
.custom-dropdown .mobile-nav-item {
    padding: 1rem;
    font-size: 1rem;
    color: #c53a3a;
    text-decoration: none;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-bottom: 1px solid #ddd;
    display: block;
}

.custom-dropdown .mobile-nav-item:hover {
    background-color: #c53a3a;
    color: #fff;
}

.custom-dropdown .mobile-nav-item:last-child {
    border-bottom: none;
}

.slider {
    position: relative;
    overflow: hidden;
}

.description-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.slide {
    min-width: 100%;
    /* Each slide takes the full width */
    height: 100%;
    /* Ensure slides fill the height */
    display: flex;
    /* Flexbox for centering content */
    justify-content: center;
    /* Center content horizontally */
    align-items: center;
    /* Center content vertically */
    color: white;
    /* Text color for better visibility */
}

/* Hide navigation buttons by default */
.owl-prev,
.owl-next {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show buttons when hovering over the slider */
.slider:hover .owl-prev,
.slider:hover .owl-next {
    opacity: 1;
    visibility: visible;
}

.text-background {
    background-color: rgba(255, 255, 255, 0.65);
    /* White background with some opacity */
    padding: 1rem;
    /* Add padding around the text */
    border-radius: 0.5rem;
    /* Rounded corners */
}

.news-line {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 8px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
}

h2,
p {
    position: relative;
    /* To ensure text is above the overlay */
    z-index: 10;
    /* Make sure text appears above the overlay */
}

.about-us .container {
    max-width: 1200px;
}

.about-us i {
    color: #c53a3a;
}


/* Enhance shadows and transitions for the images */
.flag img {
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.flag img:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

/* Section titles */
.flag h2 {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section styling */
.flag section {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
}

.flag section:hover {
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.princes img {
    transition: transform 0.5s ease;
}

.princes img:hover {
    transform: scale(1.05);
}

/* Section shadows */
.princes section {
    transition: box-shadow 0.3s ease;
}

.princes section:hover .shadow-lg {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@font-face {
    font-family: 'YourCustomFont';
    src: url('/fonts/alfont_com_خط-مريم.ttf') format('opentype');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: 'title-font';
    src: url('/fonts/DroidNaskh-Bold.ttf') format('opentype');
    /* Update to your font's path */
    font-weight: normal;
    font-style: normal;
}
