
  body { font-family: "Tajawal", sans-serif; }
/* ===== Section Background ===== */
section.stats-section.speech-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background: linear-gradient(180deg, #fcfcfc 84%, transparent);
    z-index: 0;
}
section.stats-section.speech-section .container{
    position: relative;
}
.stats-section{
    background:#f4f4f4;
    padding:100px 0;
}

/* ===== Title ===== */
.section-title{
    text-align:center;
    color:#1f5c8a;
    font-weight:700;
    margin-bottom:40px;
}

/* ===== Stats Cards ===== */
.stat-card{
    position:relative;
    height:312px;
    border-radius:11px;
    overflow:hidden;
    color:#fff;
    border: 3px solid #038E86;
}
.stat-card:hover img{
    transform: scale(1.2);
}

.stat-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition-duration: 0.5s;
}

.stat-overlay{
    position:absolute;
    inset:0;
    background:#038e86ab;
}

.stat-content{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:2;
    text-align:center;
}

.stat-title{
    font-size:16px;
    margin-bottom:10px;
}

.stat-number{
    font-size:36px;
    font-weight:700;
}

.stat-sub{
    font-size:14px;
    margin-top:5px;
}

/* ===== Speech Section ===== */
.speech-section{
    background:url('../img/bg-speech.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom;
    padding:100px 0;
    position:relative;
}

.speech-title{
    color:#1f5c8a;
    font-weight:700;
    margin-bottom:20px;
}

.speech-text{
    color:#606060;
    line-height:1.9;
    font-size:15px;
}
.speech-div a {
    color: #15598E !important;
    text-decoration: none;
}

.circle-img {
        width: 400px;
    height: 400px;
    border-radius:50%;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    color:#1f5c8a;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.footer {
    background:#245f8f;
    color:#fff;
    padding:60px 0 20px;
    font-size:15px;
}

.footer h5 {
    font-weight:700;
    margin-bottom:20px;
}

.footer a {
    color:#fff;
    text-decoration:none;
    display:block;
    margin-bottom:10px;
    transition:0.3s;
}

.footer a:hover {
    opacity:.8;
    padding-right:5px;
}

.footer .icon {
    margin-left:8px;
}

.footer-divider {
    border-top:1px solid rgba(255,255,255,.3);
    margin-top:40px;
    padding-top:15px;
}

.footer-logo {
    margin-top:20px;
    opacity:.9;
}

.footer-logo img {
    max-height:80px;
}

.social-icons a {
    font-size:18px;
    margin-left:15px;
    color:#fff;
    transition:.3s;
}

.social-icons a:hover {
    opacity:.7;
}

/* ================= HEADER ================= */

.main-header{
    position:fixed;
    top:0;
    width:100%;
    z-index:999;
    transition:0.4s;
    background:rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
}

.main-header.scrolled{
    background:#ffffff;
    box-shadow:0 4px 20px rgba(0,0,0,0.08);
}

.navbar-nav .nav-link{
    font-weight:500;
    color:#222;
    margin:0 10px;
}

.navbar-nav .nav-link:hover{
    color:#0d6efd;
}

.top-icons{
    font-size:14px;
}

.top-icons i{
    margin-left:15px;
    cursor:pointer;
}

/* ================= HERO VIDEO ================= */

.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.hero video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position: bottom;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(2 2 2 / 53%), transparent);
}

.hero-content{
    position:relative;
    z-index:2;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
}

.hero-content h1{
    font-size:48px;
    font-weight:700;
}

.hero-content p{
    font-size:18px;
    margin-top:15px;
}
.social-icons {
    display: flex;
}
.footer-logo img {
    filter: brightness(0) invert(1);
}
.top-icons {
    text-align: left;
    position: absolute;
    left: 0;
    top: -30px;
    border-bottom: 1px solid #7070702b;
    width: 90%;
    padding: 5px 0;
}

.navbar-expand-lg .navbar-collapse {
    position: relative;
}
.navbar-nav li.nav-item:last-child a {
    margin-left: 0;
    padding-left: 0;
}
.speech-div{
    padding: 100px 0;
}


/* ================= TOP SERVICE BOXES ================= */

.quick-services{
    background:#f3f4f6;
    padding:60px 0 40px;
    position:relative;
    z-index:2;
}

.service-card{
    background:#fff;
    border-radius:12px;
    padding:30px 20px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    transition:0.3s;
}

.service-card:hover{
    transform:translateY(-6px);
}

.service-card img{
    height:60px;
    margin-bottom:15px;
}

.service-card h6{
    font-weight:600;
    color:#1f4e79;
}

/* ================= WILAYAT SECTION ================= */

.wilayat-section{
    position:relative;
    background:url('../img/wilayat-bg.jpg') center/cover no-repeat;
    padding:120px 0;
    color:#fff;
}

.wilayat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #15598E, #038E86);
    opacity: 0.3;
}

.wilayat-content{
    position:relative;
    z-index:2;
    margin-top: 50px;
}

.section-title{
    text-align:center;
    font-weight:700;
    margin-bottom:50px;
    font-size:28px;
}

/* Glass Cards */

.wilayat-card{
    position:relative;
    height:200px;
    border-radius:12px;
    overflow:hidden;
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    font-size:22px;
    font-weight:600;
    transition:0.3s;
    border: 1px solid #fff;
}

.wilayat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
}

.wilayat-card span{
    position:relative;
    z-index:2;
}
.container.services-cont {
    margin-top: -225px;
    position: relative;
    z-index: 9;
}
.wilayat-card:hover{
    transform:scale(1.05);
}
section.wilayat-section .section-title {
    color: #fff;
    font-weight: bold;
}
.w-card-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 75%;
    margin: auto;
    gap: 15px;
}
.wilayat-card {
    width: 300px;
    height: 220px;
    text-decoration: none;
    color: #fff;
}
.event-box img {
    width: 100%;
    height: 100%;
    transition-duration: 0.5s;
}
.event-box:hover img {
    transform: scale(1.2);
}
.event-box {
    height: 300px;
    margin: 0 10px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.event-box a {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    z-index: 2;
}
section.events {
    padding: 100px 0;
    padding-bottom: 25px;
}
.event-box:after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgb(21 89 142 / 84%), transparent);
}
.event-slider ul.slick-dots button {
    font-size: 0;
    border: 1px solid #038E86;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgb(3 142 134 / 18%);
    margin-top: 20px;
}
.event-slider ul.slick-dots li.slick-active button {
    background: rgb(3 142 134 / 100%);
}
.event-slider ul.slick-dots {
    display: flex;
    list-style: none;
    margin: 0 auto;
    justify-content: center;
    gap: 5px;
}
.p-slide-box {
    height: 100px;
    background: rgb(216 216 216 / 80%);
    border-radius: 8px;
    margin: 0 5px;
}
.partners{
    padding-top: 0;
    padding: 50px 0;
}
.top-icons a {
    text-decoration: none;
    color: #000;
    margin: 5px;
}




@media (min-width:1601px){
    .navbar-expand-lg .navbar-collapse{
        margin-top: 30px;
    }
}

@media (min-width:1200px) and (max-width:1600px){
    .circle-img {
        width: 350px;
        height: 350px;
    }
    a.navbar-brand img {
        width: 150px;
    }
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 10px 5px !important;
    }
    .w-card-wrap{
        width: 85%;
    }
     .navbar-expand-lg .navbar-collapse{
        margin-top: 30px;
    }
}


@media (min-width:992px) and (max-width:1199px){
    .circle-img {
        width: 250px;
        height: 250px;
    }
    a.navbar-brand img {
        width: 150px;
    }
    .navbar-nav .nav-link {
        font-size: 0.8rem;
        padding: 10px 1px !important;
    }
    section.stats-section.speech-section {
        background-size: cover;
    }
    ul.navbar-nav.me-auto {
        margin-top: 20px;
    }
    .top-icons {
        top: -10px;
    }
}

@media (max-width:767px){
    .circle-img {
        width: 300px;
        height: 300px;
        margin: auto;
    }
    .speech-div {
        padding: 100px 15px;
    }
    section.stats-section.speech-section {
        background-size: cover;
    }
    footer .col-md-3 {
        width: 50%;
    }
    .footer-logo img {
        width: 175px;
    }
    .speech-text{
        text-align: center;
    }
    .speech-div a {
        color: #15598E !important;
        text-decoration: none;
        text-align: center;
        display: block;
        margin-bottom: 20px;
    }
    .speech-title{
        text-align: center;
    }
    .hero {
        position: relative;
        height: 50vh;
        overflow: hidden;
    }
}

.events .inner-content {
  width: calc(50vw + 50%);
  margin-left: calc(50% - 50vw);
}

@media (max-width: 767.98px) {
  .events .inner-content {
    width: 100%;
    margin-left: 0;
  }
}
/* Mega Menu */
.mega-menu {
  min-width: 200px;
  top: 100%;
  margin-top: 0 !important;
}

.mega-title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 15px;
}
.navbar .container{
  position: relative;
}
.mega-link {
  display: block;
  padding: 6px 0;
  color: #333;
  text-decoration: none;
  transition: 0.3s;
}
.mem-navlinks .mem-navlink {
    padding-bottom: 15px;
    padding-top: 15px;
}
.mega-link:hover {
  color: #0d6efd;
  padding-left: 5px;
}
.mega-box {
  background: #f8f9fa;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.navbar-expand-lg .navbar-nav .dropdown-menu {
    background: rgb(255 255 255);
}
.mega-menu ul.inn-mega {
    display: grid;
    margin: 0;
    padding: 0;
    max-width: 100%;
    gap: 5px;
    list-style: none;
    margin-top: 12px;
}
.mega-menu h2{
  color: #15598E;
  text-align: start;
  font-size: 1.25rem;
}
.mega-menu ul.inn-mega a {
    padding: 0.5rem 0rem;
    color: #222;
    font-weight: normal;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    background: transparent;
    border: 0px solid #e9ecef;
    text-align: right;
    line-height: 1.4;
    min-height: 50px;
    font-weight: 500;
    margin: 0 8px;
}
.dropdown .mem-navlink i{
    display: inline-block;
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.dropdown-menu{
  display: none !important;
  left: unset;
}
.dropdown-menu.show{
  display: block !important;
  left: unset;
}
.dropdown-toggle::after{
  display: none;
}
/* Hover support for desktop */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}
@media (max-width:767px){
  .mega-menu ul.inn-mega{
        grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width:1200px){
    .navbar-nav .nav-link{
        font-weight:500;
        color:#222;
        margin: 0 8px;
    }
}

ul.navbar-nav.me-auto {
    padding-right: 0 !important;
}

@media (min-width: 768px) and (max-width: 992px){
    .footer-logo img {
        max-height: 60px !important;
    }
}
.service-card{
    background:#fff;
    border-radius:12px;
    padding:30px 20px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    transition:0.3s;
    height: 100%;
}

/* bug sheet changes 26 apr */

.to-top-btn {
    position: fixed;
    bottom: 20px;
    left: 20px; 

    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 6px;
    background: #038e86;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-left:10px;

    display: flex;
    align-items: center;
    justify-content: center;

    /* hidden by default */
    opacity: 0;
    visibility: hidden;

    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.to-top-btn:hover {
    background: #007b74;
}

.to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.social-icons {
    display: flex;
    flex-direction: row-reverse;
}
.footer span a {
    display: inline-block;
}
.top-icons {
    direction: ltr;
}
@media (max-width: 425px) {
    .footer-logo img {
        width: 145px;
    }
}
section.stats-section .stat-title{
    font-size: 22px;
    margin-bottom:15px;
    font-weight: 500;
}
section.stats-section .stat-sub{
    font-size: 20px;
    margin-top:10px;
    font-weight: 500;
}
.wilayat-card::before {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}
.speech-div a:hover {
    color: #4584b6 !important;
    text-decoration: none;
}
@media (min-width: 767px) and (max-width: 992px) {
    .w-card-wrap {
        display: flex;
        align-items: unset;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        margin: 0;
        gap: 15px;
    }
}

.top-icons a {
    text-decoration: none;
    color: #000;
    margin: 5px;
    font-weight: 500;
}

@media (max-width: 991px) {  
    .top-icons {
        text-align: right;
        position: absolute;
        right: 0px;
        top: unset;
        bottom: -30px;
        border-top: 1px solid #7070702b;
        border-bottom: none;
        width: 100%;
        padding: 5px 0;
    } 
    .main-header{
        position:fixed;
        top:0;
        width:100%;
        z-index:999;
        transition:0.4s;
        background:rgba(255,255,255,0.85);
        backdrop-filter: blur(8px);
    }
    .main-header .navbar-collapse{
        margin-bottom: 25px;
    }
    .top-icons.d-none {
        display: block !important;
    }
    .navbar-nav li.nav-item:last-child a {
        padding-bottom: 20px;
    }
}