
@font-face {
    font-family: 'Sadara Arabic Black';
    src: url('../fonts/Sadara-Arabic-Light.eot'); /* IE9+ */
    src: url('../fonts/Sadara-Arabic-Light.html') format('woff2'), /* Modern Browsers */
         url('../fonts/Sadara-Arabic-Light.woff') format('woff'),
         url('../fonts/Sadara-Arabic-Light-2.html') format('truetype'),
         url('../fonts/Sadara-Arabic-Light-3.html') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Sadara Arabic Black';
    src: url('../fonts/Sadara-Arabic-SemiBold.eot'); /* IE9+ */
    src: url('../fonts/Sadara-Arabic-SemiBold.html') format('woff2'), /* Modern Browsers */
         url('../fonts/Sadara-Arabic-SemiBold.woff') format('woff'),
         url('../fonts/Sadara-Arabic-SemiBold-2.html') format('truetype'),
         url('../fonts/Sadara-Arabic-SemiBold-3.html') format('opentype');
    font-weight: bold;
    font-style: normal;
}
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: Arial, sans-serif; */
    font-family: 'Sadara Arabic Black', sans-serif;text-align:right
 
}
.fBold{
    font-weight: bold;
}
/* Sticky Navbar */
.navbar {
    transition: background 0.3s ease-in-out;
    background: #00867d;
        font-weight: bolder;
   
}

/* Navbar Items Centered */
.navbar-nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

/* Align the Logo to the Right */
.navbar-brand {
    display: flex;
    align-items: center;
}

/* Active Navbar Link */
.navbar-nav .nav-link.active {
    color: #FFD700 !important;
    font-weight: bold;
    border-bottom: 2px solid #FFD700;
}

/* Full Banner Without Cropping */
.hero img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.w-30{
    width: 30% !important;
}
/* Sections */
.section {
    padding: 40px 0;
    position: relative;
}

/* Left-aligned h2 with Fully Visible Background Image */
.section h2 {
    position: relative;
    text-align: left;
    padding: 20px 80px;
    font-size: 24px;
    color: white;
    z-index: 2;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 5px;
}

/* Background Images for Each h2 */
.section h2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -30px; /* Adjust positioning */
    width: 300px; /* Increase width for full visibility */
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    transform: translateY(-50%);
    z-index: -1;
}

/* Specific Background Images */
#aa h2::before { background-image: url('../images/2022/competiton2022.html'); }
#ab h2::before { background-image: url('../images/2022/sepobjective.png'); }
#ac h2::before { background-image: url('../images/2022/sepcriteria.html'); }
#ad h2::before { background-image: url('../images/2022/septimeline.html'); }
#e h2::before { background-image: url('../images/2022/sepawards.html'); }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .navbar-nav {
        text-align: center;
        flex-direction: column;
    }

    .navbar-collapse {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navbar-brand img {
        height: 40px;
    }

    .section h2 {
        font-size: 20px;
        padding: 15px 60px;
    }

    .section h2::before {
        width: 250px;
        height: 100px;
    }
}

/* Mobile View Fix (No Cropping, Center Image) */
@media (max-width: 768px) {
    .section h2 {
        padding: 15px 40px;
        font-size: 18px;
    }

    .section h2::before {
        width: 200px;
        height: 80px;
        left: 50%; /* Move to center */
        transform: translateX(-50%) translateY(-50%); /* Keep it centered */
        background-position: center center;
    }
}

.mt-4{
   margin-top:  4rem!important;
}
p{
    margin-right: 1rem;
}