#home {
    position: relative;
    min-height: 100svh; /* mobile-safe viewport */
    width: 100%;
    overflow: hidden;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-top: var(--header-offset, 120px);
    padding-bottom: var(--bottom-offset, 100px);
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Background */
#home .bg-img-sec {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('../img/banner/home-bg.jpg'); /* absolute path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Dark overlay */
#home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.311);
    z-index: 1;
}

/* Content layer */
#home .home-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}
.patronage-text {
    max-width: 800px;
    margin: 0 auto 24px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.7;
    color: #ffffff;
    letter-spacing: 0.02em;
}

/* Arabic refinement */
html[lang="ar"] .patronage-text {
    font-size: 1.15rem;
    letter-spacing: 0;
}
/* Typography */
.tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.event-date {
    font-size: clamp(1.5rem, 2vw, 1.3rem);
    line-height: 1.6;
    padding: 10px 0;
}

/* Partner logo */
#logo_p_p {
    margin-bottom: 1.2rem;
}

#logo_p_p img {
    max-width: 150px;
}

/* Countdown */
#timer {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.timer-value {
    width: 78px;
    height: 78px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

#timer .timer-value span {
    font-size: 11px;
    letter-spacing: 1px;
}

/* Glass effect */
.glass-morphism {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 22px 28px;
    margin: 20px auto;
    display: inline-block;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: scrollDown 1.8s infinite;
}

@keyframes scrollDown {
    0% { opacity: 0; top: 8px; }
    40% { opacity: 1; }
    100% { opacity: 0; top: 22px; }
}

/* Responsive locks */

@media (max-width: 991px) {
    .timer-value {
        width: 68px;
        height: 68px;
        font-size: 24px;
    }
    .glass-morphism{
        padding: 0;
    }
}

@media (max-width: 575px) {
    .timer-value {
        width: 68px;
        height: 68px;
        font-size: 20px;
    }
    .glass-morphism{
        padding: 0;
    }
}

  #about-us {
        position: relative;
        padding: 80px 0;
        overflow: hidden;
        background: url('../img/banner/about-us.png') center/cover no-repeat fixed;
    }

    #about-us::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 0;
    }

    .summit_objective {
        position: relative;
        z-index: 1;
    }

    /* Gradient Blur Effect (Bottom Right) */
    .gradient-blur-effect {
        position: absolute;
        bottom: -100px;
        right: -100px;
        width: 761.682px;
        height: 761.682px;
        border-radius: 761.682px;
        background: linear-gradient(180deg, rgba(68, 0, 43, 0.21) 0%, rgba(0, 25, 255, 0.21) 100%);
        filter: blur(57.45px);
        z-index: 0;
    }

    .section-header h2 {
        font-size: 36px;
        font-weight: 700;
        color: var(--color-light);
        margin-bottom: 40px;
        text-align: center;
        position: relative;
        animation: fadeIn 1.5s ease-in-out;
        text-transform: uppercase;
    }

    .glass-card {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 30px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        position: relative;
        z-index: 2;
        /* Ensure content stays above gradient blur */
    }

    .text-field {
        font-size: 16px;
        line-height: 1.5;
        color: var(--color-light);
        transition: transform 0.3s ease-in-out;
    }

    .text-field:hover {
        transform: scale(1.02);
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (max-width: 768px) {
        .section-header h2 {
            font-size: 28px;
        }

        .glass-card {
            padding: 20px;
        }

        .gradient-blur-effect {
            width: 400px;
            height: 400px;
            bottom: -50px;
            right: -50px;
        }
    }  /* Import Wallpoet from Google Fonts */
    .counter-content-wrapper {
        height: 100%;
    }

    .counter-items-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }

    .counter-box.clean {
        text-align: center;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 120px;
        border-bottom: #fff solid 1px;
    }

    .count-num {
        font-size: 3.5rem;
        font-weight: 800;
        line-height: 1;
        color: #fff;
        font-family: 'Wallpoet', sans-serif;
    }

    .smalltext {
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.4;
        color: #fff;
        font-family: 'Inter', sans-serif;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-top: 0.5rem;
    }

    .z-index-n1 {
        z-index: -1;
    }

    /* RTL specific styles */
    html[dir="rtl"] .counter-box.clean {
        text-align: center;
        /* Keep centered even in RTL */
    }

    @media (max-width: 992px) {
        .counter-image-wrapper {
            min-height: 350px;
        }

        .count-num {
            font-size: 2.8rem;
        }

        .section-header h2 {
            font-size: 1.5rem;
        }
    }

    @media (max-width: 768px) {
        .row.align-items-center {
            flex-direction: column;
        }

        .col-lg-9,
        .col-md-9,
        .col-lg-3,
        .col-md-3 {
            width: 100%;
            max-width: 100%;
        }

        .counter-content-wrapper {
            padding: 2rem 1rem;
        }

        .counter-items-wrapper {
            max-width: 100%;
        }

        .counter-box.clean {
            min-height: 100px;
        }
    }


/*-------------------------------------------------------------
  # factsandfigure Section 
--------------------------------------------------------------*/
#factsandfigure{
    padding: 4rem 0;
}

.factsandfigure {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

/* Image Container */
.innerbox {
    position: relative;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.9375rem 1.875rem rgba(0, 0, 0, 0.1);
    width: 100%;
}

.factsandfigure img {
    width: 100%;
    margin: 1.875rem 0;
    z-index: 99;
    cursor: pointer;
}

/* Text Overlay */
.text-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 2;
}

.image-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
}

.image-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    line-height: 1.4;
    text-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
}

/* Image Styling */
.bg-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    padding: 1.25rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0 0.3125rem 0.9375rem;
}

/* Hover Effects */
.innerbox:hover {
    transform: translateY(-0.625rem) scale(1.02);
    box-shadow: 0 1.5625rem 2.5rem rgba(0, 0, 0, 0.15);
}

.innerbox:hover .bg-img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(100%);
}

/*-------------------------------------------------------------
  # Owl Carousel - Universal RTL/LTR Support
--------------------------------------------------------------*/
.owl-carousel {
    direction: ltr;
    /* Force LTR direction for carousel controls */
}

[dir="rtl"] .owl-carousel .owl-stage-outer {
    direction: rtl;
    /* Only reverse content direction */
}

/* .owl-carousel .owl-nav {
  position: relative;
  margin-top: 0.3125rem;
} */

.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.5rem !important;
    transition: all 0.3s ease;
    border: none;
    background: rgba(255, 255, 255, 0.1) !important;
    margin: 0;
    padding: 0;
}

/* Default LTR positions */
.owl-carousel .owl-prev {
    left: -1.875rem;
    right: auto;
}

.owl-carousel .owl-next {
    right: -1.875rem;
    left: auto;
}

/* RTL position overrides */
[dir="rtl"] .owl-carousel .owl-prev {
    left: auto;
    right: -1.875rem;
}

[dir="rtl"] .owl-carousel .owl-next {
    right: auto;
    left: -1.875rem;
}

.owl-carousel .owl-nav button:hover {
    background: rgba(161, 196, 253, 0.3) !important;
}

/* Dots */
.owl-carousel .owl-dots {
    margin-top: 0.3125rem;
    display: flex;
    justify-content: center;
    align-items: center;
    direction: ltr;
    /* Force LTR for dots */
}

.owl-carousel button.owl-dot {
    margin: 0 0.3125rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.owl-carousel button.owl-dot.active {
    background: var(--hover);
}

/* Responsive Styles */
@media (max-width: 992px) {
    
}

@media (max-width: 768px) {   

    .image-title {
        font-size: 1.2rem;
    }

    .image-description {
        font-size: 1.2rem;
    }

    .owl-carousel .owl-nav button {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem !important;
    }

    .owl-carousel .owl-prev {
        left: -0.625rem;
    }

    .owl-carousel .owl-next {
        right: -0.625rem;
    }

    [dir="rtl"] .owl-carousel .owl-prev {
        right: -0.625rem;
    }

    [dir="rtl"] .owl-carousel .owl-next {
        left: -0.625rem;
    }
}

@media (max-width: 576px) {  
    .text-overlay {
        padding: 1rem;
    }
}

   /* RTL adjustments */
   html[dir="rtl"] .expect-container {
       text-align: right;
   }

   html[dir="rtl"] .expect-icon {
       margin-left: 0;
       margin-right: -15px;
   }

   /* Keep all existing styles */
   .expect-container {
       padding: 20px;
       height: 100%;
       border-radius: 8px;
       transition: all 0.3s ease;
   }

   .expect-icon {
       margin-bottom: 15px;
   }

   .expect-title {
       font-size: 1.2rem;
       margin-bottom: 10px;
       color: var(--dark);
   }

   .expect-desc {
       color: var(--gray);
       font-size: 0.9rem;
   }

   .section {
       padding: 5rem 0;
   }

   .section-header h2 {
       font-size: 2.5rem;
       font-weight: 700;
       margin-bottom: 1rem;
       text-align: center;
   }

   .section-header p {
       font-size: 1.2rem;
       max-width: 700px;
       margin: 0 auto;
   }

   .expect-container {
       background: white;
       border-radius: 12px;
       border: 1px solid rgba(0, 0, 0, 0.1);
       box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
       padding: 30px;
       height: 100%;
       transition: all 0.3s ease;
       text-align: center;
   }

   .expect-container:hover {
       transform: translateY(-5px);
       box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
       border-color: var(--main);
   }

   .expect-icon {
       width: 70px;
       height: 70px;
       border-radius: 50%;
       background: rgba(0, 123, 255, 0.1);
       display: inline-flex;
       align-items: center;
       justify-content: center;
       margin-bottom: 20px;
       color: var(--main);
       font-size: 1.5rem;
   }

   .expect-title {
       font-size: 1.3rem;
       font-weight: 600;
       margin-bottom: 15px;
       color: #2c3e50;
   }

   .expect-desc {
       font-size: 1rem;
       line-height: 1.6;
       color: #555;
       margin-bottom: 0;
   }

   /* Responsive adjustments */
   @media (max-width: 991px) {
       .section-header h2 {
           font-size: 2rem;
       }

       .expect-container {
           padding: 25px;
       }

       .expect-icon {
           width: 60px;
           height: 60px;
       }
   }

   @media (max-width: 767px) {
       .section-header h2 {
           font-size: 1.8rem;
       }

       .expect-title {
           font-size: 1.2rem;
       }
   }

   @media (max-width: 575px) {
       .section {
           padding: 3rem 0 !important;
       }

       .expect-icon {
           width: 50px;
           height: 50px;
           font-size: 1.2rem;
       }

       .expect-title {
           font-size: 1.1rem;
       }

       .expect-desc {
           font-size: 0.9rem;
       }
   }/* ===============================
   BASE STYLES
================================ */

#partners,
.media-partners-section {
    background: #fff;
    padding: 5rem 0;
    color: #000;
    position: relative;
    overflow: hidden;
}

.section-header h2 {
    color: #000;
    margin-bottom: 2.5rem;
    position: relative;
}

/* ===============================
   GRID LAYOUT
================================ */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 1.25rem 0;
    position: relative;
    z-index: 2;
}

/* ===============================
   MEDIA PARTNER CARDS
================================ */

.media-partner-card {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.6s ease;
}

.media-partner-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   LOGO
================================ */

.logo-container {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.logo-container img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: transform 0.4s ease, filter 0.4s ease;
    background-color: white;
}

/* ===============================
   HOVER EFFECTS
================================ */

.media-partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: rgba(161,196,253,0.3);
}

.media-partner-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ===============================
   CAROUSEL (OPTIONAL)
================================ */

.media-partner-carousel {
    display: none;
}

.media-partner-carousel .owl-stage {
    display: flex;
    align-items: center;
}

.media-partner-carousel .owl-item {
    padding: 0 0.625rem;
}

.media-partner-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.media-partner-carousel .owl-prev,
.media-partner-carousel .owl-next {
    background: rgba(255,255,255,0.1) !important;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.5rem !important;
    transition: background 0.3s ease;
}

.media-partner-carousel .owl-prev:hover,
.media-partner-carousel .owl-next:hover {
    background: rgba(161,196,253,0.3) !important;
}

/* ===============================
   SPONSOR SECTION (THEME)
================================ */

.sponsors-container {
    background: var(--mainbg);
    padding: 80px 0;
    color: var(--color-light);
}

.sponsor-section h2 {
    font-weight: 700;
    color: var(--hover);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    position: relative;
}

.sponsor-section h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    margin: 10px auto 0;
    background: var(--hover);
    border-radius: 3px;
}

/* ===============================
   SPONSOR CARD
================================ */

.sponsor-card {
    border: 1px solid var(--hover);
    border-radius: 18px;
    background: var(--color-light);
    color: var(--color-dark);
    overflow: hidden;
    text-align: center;
    position: relative;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sponsor-card img {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
    padding: 0 20px;
    background: var(--hoverbg);
    margin: auto;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.sponsor-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.sponsor-card:hover img {
    transform: scale(1.06);
    filter: contrast(1.15);
}

/* ===============================
   BUTTON
================================ */

.btn-know-more {
    background: transparent;
    border: 2px solid var(--hover);
    color: var(--hover);
    border-radius: 30px;
    padding: 8px 18px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-know-more:hover {
    background: var(--hover);
    color: var(--button-color);
}

.btn-know-more::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 40%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
}

.btn-know-more:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* ===============================
   MODAL
================================ */

.modal-content {
    border-radius: 16px;
    background: var(--mainbg);
    color: var(--color-light);
    border: 1px solid var(--hover);
    backdrop-filter: blur(8px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.modal-header {
    background: var(--hover);
    color: var(--color-light);
    border-bottom: none;
    letter-spacing: 0.3px;
}

.modal-body p {
    letter-spacing: 0.25px;
    line-height: 1.75;
}

.modal-footer {
    background: var(--mainbg);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.visit-website-btn {
    background: var(--hover);
    color: var(--button-color);
    border-radius: 30px;
    padding: 8px 20px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease, color 0.3s ease;
}

.visit-website-btn:hover {
    background: var(--color-light);
    color: var(--main);
}

.btn-outline-secondary {
    color: var(--color-light);
    border-color: var(--hover);
}

.btn-outline-secondary:hover {
    background: var(--hover);
    color: var(--color-light);
}

/* ===============================
   PREMIUM SECTION POLISH
================================ */

.sponsor-section {
    position: relative;
    isolation: isolate;
    margin-bottom: 110px;
}

.sponsor-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,0.06), transparent 40%),
        radial-gradient(circle at 80% 90%, rgba(255,255,255,0.04), transparent 45%);
    z-index: -1;
    pointer-events: none;
}

/* ===============================
   ANIMATION
================================ */

@keyframes premiumFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.sponsor-card {
    animation: premiumFadeUp 0.8s ease both;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .logo-container {
        height: 80px;
    }
}

@media (max-width: 768px) {
    .media-partners-section {
        padding: 2.5rem 0;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.75rem;
    }

    .logo-container {
        height: 60px;
    }

    .sponsor-section {
        margin-bottom: 70px;
    }

    .sponsor-card {
        border-radius: 14px;
    }

    .sponsor-card img {
        max-height: 90px;
    }
}
#footer {
  padding: 20px 0;
  background: var(--color-light);
  color: var(--color-dark);
  position: relative;
  z-index: 10;
}

#footer .footer-top {
  padding: 60px 0 30px;
}

#footer h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
  letter-spacing: 0.5px;
}

#footer p,
#footer a {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-dark);
}

#footer a:hover {
  color: var(--color-accent);
}

/* Footer links */
#footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-links ul li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

#footer .footer-links ul i {
  color: var(--color-accent);
  font-size: 16px;
}

/* Social icons */
#footer .social-links {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

#footer .social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), var(--color-hover));
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

#footer .social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Logos spacing */
#footer img {
  margin: 10px 0;
}

/* Copyright */
#footer .cr {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
}

/* RTL Support */
html[dir="rtl"] #footer .footer-links ul li {
  flex-direction: row-reverse;
}

html[dir="rtl"] #footer .social-links {
  justify-content: flex-end;
}
.button1 {
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 15px 30px;
    border-radius: 10px;
    /* width: 100%;
    height: 100%; */
    background: linear-gradient(45deg, var(--main), var(--hover));
    color: var(--color-light);
    border: none;
    box-shadow: 0 8px 20px var(--main);
    transform: translateY(0);
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.button1:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px var(--hover);
    background: linear-gradient(45deg, var(--hover), var(--main));
}

.button1:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 4px 12px var(--main);
}
 .button2 {
    display: inline-block;
    padding: 0.6rem 1.5rem !important;
    background: var(--button-color);
    color: var(--main) !important;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: capitalize;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Shimmer Overlay */
.button2::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    z-index: 2;
}

/* Hover Effects */
.button2:hover::before {
    animation: shimmer 0.8s ease-in-out forwards;
}

@keyframes shimmer {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

.button2:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 14px 28px rgba(154, 20, 203, 0.3), 0 10px 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--hover), var(--main));
    color: var(--color-light) !important;
}

.button2:active {
    transform: scale(0.98);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

/*--------------------------------------------------------------
# Root Variables (Theme System)
--------------------------------------------------------------*/
:root {
  /* Colors */
  --color-primary: #000;
  --color-accent: #775fe7;
  --color-bg: #000;
  --color-text: #fff;
  --color-hover: #4bbae6;
  --main: #000;
  --hover: #775fe7;
  --mainbg: #000;
  --hoverbg: #ffffff;
  --button-color: #fff;
  --color-light: #fff;
  --color-dark: #000;
  --gradient-primary: linear-gradient(45deg, var(--main), var(--hover));
  --gradient-secondary: linear-gradient(45deg, var(--hover), var(--main));
  --gradient-custom: linear-gradient(135deg, #4BBAE6 0%,  #775FE7 30%, #00D4AA 70%, #4BBAE6 100%);
  /* Typography */
  --font-primary: 'Poppins', 'Inter', sans-serif;
  --font-arabic: 'Cairo', sans-serif;

  /* Layout */
  --header-height: 80px;
}

/*--------------------------------------------------------------
# Direction Handling
--------------------------------------------------------------*/
html {
  overflow-x: hidden;
  direction: ltr;
}

html[dir="rtl"] {
  direction: rtl;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

/*--------------------------------------------------------------
# Arabic / RTL Global Handling
--------------------------------------------------------------*/
html[dir="rtl"] body,
html[dir="rtl"] * {
  font-family: var(--font-arabic) !important;
  text-transform: none !important;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
  font-weight: 600;
  letter-spacing: 0;
}

/*--------------------------------------------------------------
# Global Elements
--------------------------------------------------------------*/
a {
  color: #942581;
  text-decoration: none;
  transition: 0.3s;
}

a:hover,
a:focus {
  color: var(--color-hover);
}

p {
  margin: 0 0 10px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  margin: 0 0 10px 0;
}

img {
  max-width: 100%;
  display: block;
}

/*--------------------------------------------------------------
# Utility
--------------------------------------------------------------*/
.d-none {
  display: none;
}

.v-hidden {
  visibility: hidden;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: 0.4s;
  display: flex;
  align-items: center;
}

#header.header-scrolled,
#header.header-inner {
  background: var(--color-primary);
}

#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

#header #logo img {
  max-height: 100px;
  transition: 0.3s;
}

@media (max-width: 992px) {
  #header #logo img {
    max-height: 80px;
  }
}

/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  color: var(--color-text);
  font-weight: 400;
  font-size: 18px;
  white-space: nowrap;
  transition: 0.3s;
  padding: 6px 4px;
  margin-left: 20px;
  text-transform: capitalize;
}

.navbar a:hover,
.navbar li:hover > a {
  color: var(--color-accent);
}

/* RTL Fix */
html[dir="rtl"] .navbar a {
  margin-left: 0;
  margin-right: 20px;
}

/*--------------------------------------------------------------
# Mobile Navigation Toggle
--------------------------------------------------------------*/
.mobile-nav-toggle {
  color: var(--color-text);
  font-size: 32px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.3s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation Menu
--------------------------------------------------------------*/
.navbar-mobile {
  position: fixed;
  overflow: hidden;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  inset: 60px 15px 15px 15px;
  padding: 10px 0;
  background: var(--color-primary);
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile > ul > li {
  padding: 0;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 12px 20px;
  font-size: 16px;
  color: #fff;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: var(--color-accent);
}


/*--------------------------------------------------------------
# Back To Top with Scroll Progress Ring
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-accent),
    var(--color-hover)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;

  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: all 0.35s ease;

  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Arrow */
.back-to-top .arrow {
  position: absolute;
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  z-index: 2;
}

/* Progress Ring */
.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.progress-ring__circle {
  stroke-dasharray: 163;
  stroke-dashoffset: 163;
  transition: stroke-dashoffset 0.2s linear;
  opacity: 0.9;
}

/* Progress Ring */
.progress-ring {
  position: absolute;
  transform: rotate(-90deg);
}

.progress-ring__circle {
  stroke: rgba(255,255,255,0.7);
  stroke-dasharray: 138;
  stroke-dashoffset: 138;
  transition: stroke-dashoffset 0.2s linear;
}.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.progress-ring__circle {
  transition: stroke-dashoffset 0.15s linear;
  opacity: 0.95;
}


/* RTL support */
html[dir="rtl"] .back-to-top {
  right: auto;
  left: 22px;
}


/*--------------------------------------------------------------
# Media Section
--------------------------------------------------------------*/
#mediac {
  padding: 5rem 0;
  text-align: center;
  background: url('../img/banner/feature-section-1-bg.png') top center no-repeat;
  background-size: cover;
  background-color: var(--color-primary);
  position: relative;
}

#mediac .count-num {
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -1px;
  margin-top: 20px;
  color: var(--color-text);
}

#mediac .smalltext {
  font-size: 20px;
  text-transform: capitalize;
  color: var(--color-text);
  font-weight: 600;
}
.sponsor-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eaeaea;
}

.sponsor-row:hover {
    background: #f9f9f9;
}

.sponsor-left {
    min-width: 220px;
}

.sponsor-logo {
    max-height: 50px;
    object-fit: contain;
}

.sponsor-field {
    width: 160px;
}

@media (max-width: 768px) {
    .sponsor-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .sponsor-field {
        width: 100%;
    }
}
