/* --------------------- Fonts ---------------------- */
@font-face {
  font-family: 'Tajawal';
  src: url('../../fonts/tajawal/Tajawal-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tajawal';
  src: url('../../fonts/tajawal/Tajawal-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tajawal';
  src: url('../../fonts/tajawal/Tajawal-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tajawal';
  src: url('../../fonts/tajawal/Tajawal-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tajawal';
  src: url('../../fonts/tajawal/Tajawal-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tajawal';
  src: url('../../fonts/tajawal/Tajawal-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tajawal';
  src: url('../../fonts/tajawal/Tajawal-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/*---------------- layout combined --------------*/
/*---------------- layout ----------------------*/

html {
    overflow-y: scroll;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Tajawal', sans-serif !important;

}


body {
    font-family: "Tajawal", sans-serif;
    width: 100%;
    padding-top: 80px;
    min-height: 100vh;
}

@media (max-width:480px) {
    body{
        padding-top: 0;
        /*padding-bottom: 70px;*/
    }
}
.main-page-content-wrapper{
    display: flex;
    flex:1;
    min-height: calc(100vh - 80px);
    flex-direction: column;
    justify-content: space-between;
}
.container {
    max-width: 1350px;
    margin-inline: auto;
    padding-inline: 15px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
}

.swiper-pagination-bullet{
    width: 8px;
    height: 8px;
    background-color: rgba(47, 148, 204, 0.68);
}
.swiper-pagination-bullet-active{
    background-color: #2F94CC;
    width: 20px;
    border-radius: 10px;
}
@media (min-width: 768px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

nav li {
    list-style-type: none;
}

a {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

input:focus {
    outline: none;
}

/*Variables*/
:root {
    /* Color Variables */
    --color-primary: #f03d3d;
    --color-primary-dark: #d32f2f;
    --color-text: #000;
    --color-text-light: #333;
    --color-text-lighter: #555;
    --color-text-lightest: #666;
    --color-bg-light: #f8f8f8;
    --color-bg-lighter: #f9f9f9;
    --color-bg-lightest: #f0f0f0;
    --color-border: rgba(0, 0, 0, 0.25);
    --color-overlay: rgba(0, 0, 0, 0.5);

    /* Typography */
    --font-weight-normal: 500;
    --font-weight-bold: 700;
    --font-size-base: 20px;
    --font-size-medium: 18px;
    --font-size-small: 16px;
    --font-size-smaller: 15px;

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-xxl: 40px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Z-index */
    --z-index-nav: 100;
    --z-index-overlay: 998;
    --z-index-submenu: 999;

    --global-desktop-gap: 22px;
    --global-tablet-gap: 18px;
    --global-mobile-gap: 16px;

    --global-section-title-gap: 20px;

    --global-section-padding: 55px;


    --global-border-radius: 20px;

    --global-btn-primary: rgba(245, 245, 245, 0.73);


    --title-font-size: 20px;
    --description-font-size: 18px;


    --global-shadow-padding:5px;
}


.section-title-global {
    font-weight: 500;
    font-size: 25px;
    line-height: 100%;
    position: relative;
    display: inline-block;
    width: fit-content;
    padding-bottom: 12px;
    text-align: start;
}

.page-section-title-global {
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    position: relative;
    display: inline-block;
    width: fit-content;
    text-align: start;
}

.section-title-global::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #E76D50 0%, #C72127 100%);
    bottom: 0;
    left: 0;
}


.section-description-global {
    font-weight: 300;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0;
}

/*---------------- Navbar --------------------*/
/* ======================
   NAVIGATION COMPONENT
   ====================== */


/* Base Navigation Container */
nav {
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;

}

.mobile-navbar {
    width: 100%;
    height: 80px;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

nav .nav-container {
    height: 100%;
    margin-inline: auto; /* centers horizontally */
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    overflow: visible;
    align-items: center;
}

.nav-logo-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo Styles */
.logo {
    width: 102px;
    height: 80%;
    transition: transform var(--transition-normal);
}


/* Main Navigation Links */
.nav-container .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-xxl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links .nav-link-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link-main-item {
    vertical-align: middle;
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-base);
    line-height: 100%;
    letter-spacing: 0;
    transition: color var(--transition-normal);
    position: relative;
}


.nav-link-main-item:hover {
    color: var(--color-primary);
}

/*.nav-link-main-item::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: -10px;*/
/*    left: 0;*/
/*    width: 0;*/
/*    height: 2px;*/
/*    background-color: var(--color-primary);*/
/*    transition: width var(--transition-normal);*/
/*}*/

/*.nav-link-main-item:hover::after {*/
/*    width: 100%;*/
/*}*/

.nav-link-item.active .nav-link-main-item {
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
}

/* Navigation Icons */
.nav-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-xs);
}

.nav-icons-image-container {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0.25px solid var(--color-border);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.nav-icons-image-container img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

@media (max-width: 1280px) {
    .nav-container .nav-links {
        gap: var(--spacing-md);

    }

    .nav-link-main-item {
        font-size: var(--font-size-medium);

    }

    .nav-icons-image-container {
        width: 25px;
        height: 25px;
    }

    .logo {
        width: 102px;
        height: 80%;
        transition: transform var(--transition-normal);
    }

    .nav-icons-image-container img {
        width: 14px;
        height: 14px;
        object-fit: contain;
    }
}

/*.nav-icons-image-container:hover {*/
/*    background-color: var(--color-bg-light);*/
/*    !*transform: translateY(-2px);*!*/
/*    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
/*}*/


/* Submenu Overlay */
/* Submenu Styles */
.submenu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.submenu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.submenu {
    position: fixed;
    top: 0;
    width: 250px;
    max-width: 100%;
    height: 100%;
    background-color: #d73d3d;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

/* Add this at the top of your CSS */
.submenu {
    display: none;
    /* Hide by default */
}

.submenu.active {
    display: flex;
    /* Only show when active */
}

.submenu {
    transition: all 0.5s ease;
}

/* RTL/LTR handling */
html[dir="rtl"] .submenu {
    display: flex;
    left: -100%;
    opacity: 0;
}

html[dir="ltr"] .submenu {
    display: flex;

    right: -100%;
    opacity: 0;
}

html[dir="rtl"] .submenu.active {
    left: 0;
    opacity: 100;
}

html[dir="ltr"] .submenu.active {
    right: 0;
    opacity: 100;
}

.submenu-header {
    padding: 15px;
    display: flex;
    justify-content: flex-end;
}

.submenu-close {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.submenu-close:hover {
    transform: rotate(90deg);
}


.submenu-items {
    list-style: none;
    margin: 0;
    /*flex-grow: 1;*/
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    gap: 30px;
}

.submenu-items li {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submenu-items li:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -3px; /* Position it at the bottom */
    left: 0;
    width: 100%;
    height: 1px; /* Thinner border */
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fa6767 50%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.submenu-items li:hover::after {
    opacity: 1;
}

.submenu-items li a {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    color: white;
    text-decoration: none;
    font-family: var(--font-family);
    font-size: var(--font-size-medium);
    border-radius: 6px;
    transition: all var(--transition-normal);
}


.submenu-icon {
    margin-left: var(--spacing-sm);
    font-size: var(--font-size-base);
    min-width: 30px;
    text-align: center;
}

/* Responsive Behavior */
@media (max-width: 1024px) {
    nav .nav-container .nav-links {
        display: none;
    }

    .nav-icons-image-container:first-child {
        display: flex;
    }
}

@media (min-width: 1025px) {
    .nav-icons-image-container:first-child {
        /* Intentionally empty - placeholder for potential future styles */
    }
}


/* Container must be relative for dropdown */
.nav-link-item {
    position: relative;
}

/* Dropdown */
.dropdown-under-nav {
    position: absolute;
    top: 120%;
    inset-inline-start: 0;
    min-width: 150px;
    background-color: #d73d3d;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    pointer-events: none;

}

/* Show dropdown on hover */
.nav-link-item:hover .dropdown-under-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dropdown Items */
.dropdown-under-nav li {
    display: flex;
    align-items: center;
    padding: 0;
}

.dropdown-under-nav li a {
    display: block;
    padding: 10px 20px;
    color: #ffffff;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

/*.dropdown-under-nav li a:hover {*/
/*    background-color: #d64e4e;*/
/*}*/

/* Optional: divider between items */
.dropdown-under-nav li {
    position: relative;
    padding-bottom: 8px; /* optional spacing */
}

.dropdown-under-nav li:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fa6767 50%, rgba(255, 255, 255, 0) 100%);
}

.mobile-navbar {
    display: none;
}


.nav-icons .nav-logo-wrapper {
    display: none;
}
#mainmenu-toggle{
    display: none;
}

@media (min-width: 480px) and (max-width:1024px) {
    #mainmenu-toggle{
        display: flex;
    }
}
@media (max-width: 480px) {
    nav {
        width: 100%;
        height: 80px;
        position: relative;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;

    }

    nav .nav-logo-wrapper.desktop {
        display: none;
    }

    nav .nav-container .nav-links {
        display: none;
    }

    .nav-icons-image-container:first-child {
        display: none;
    }

    .nav-container .search-container {
        display: none;
    }

    .nav-icons {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: center;
    }

    .nav-icons .nav-logo-wrapper {
        display: flex;
    }

    nav .submenu {
        width: 100%;
    }

    #localization {
        display: none;
    }
    #mainmenu-toggle{
        display: none;
    }
    .logo {
        width: 125px;
        height: 100%;
        transition: transform var(--transition-normal);
    }
}


/*-------------------- Footer ----------------------*/
footer {
    width: 100%;
    height: auto;
    position: relative;
    color: #fff;
    padding-top: var(--global-desktop-gap);
    display: flex;
    flex-direction: column;
    gap: 21px;

}

.footer-blurred {
    position: relative;
    overflow: hidden;
    color: #fff;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-blurred::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #174A66 58%, rgba(143, 150, 172, 0) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 17%;
}

.footer-columns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.footer-logos {
    width: 245px;
    height: 122px;
    display: flex;
    flex-direction: column;
    gap: 21px;

}

.footer-logos p {
    font-weight: 500;
    font-size: 20px;
    line-height: 171%;
    letter-spacing: 0;

}

.footer-logo-container {
    width: 245px;
    height: 67px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.footer-logo {
    height: 67px;
    width: 94px;
    gap: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
}

.footer-logo:first-child {
    width: 143px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo:first-child img {
    width: 143px;
    height: 44px;
    object-fit: contain;
    margin: auto 0;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    line-height: 171%;
    letter-spacing: 0;
    text-wrap: nowrap;
}

.subscription-container {
    display: flex;
    flex-direction: column;
    gap: 17px;
}


.subscription-container h3 {
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
}

.subscription-container p {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
}

.subscription-container p a {
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
}

.footer-bottom.container p a {
    color: #fff !important;
    padding-top: 5px;

}

.footer-bottom {
    position: relative;
}

.footer-bottom::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #174A66 58%, rgba(143, 150, 172, 0) 100%);
}


.subscription-form {
    display: flex;
    align-items: center;
    height: 40px;
    background-color: #fff;
    border-radius: 14px;
    max-width: 420px;
    width: 100%;
    border: 1px solid #ccc;
    overflow: hidden;
    max-height: 40px;
}

@media (max-width: 480px) {
    .subscription-container {
        display: flex;
        flex-direction: column;
        gap: 17px;
        flex: 1;
    }

    .subscription-form {
        flex: 1;
        max-height: 40px;
    }
}

.subscription-form input {
    flex-grow: 1;
    border: none;
    font-size: 14px;
    outline: none;
    padding: 0 10px;
    height: 40px;

}

.subscription-form button {
    width: 80px;
    height: 100%;
    background-color: rgba(23, 74, 102, 1);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 14px 0 0 14px;
    /* Rounded on the left side only */
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.subscription-form button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.footer-bottom {
    justify-content: space-between;
    display: flex;
    align-items: center;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.footer-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.footer-social a {
    padding: 4px;
    border: 0.5px solid rgba(253, 253, 253, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;

}

.footer-bottom p {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 1);
}

.footer-blue-wrapper{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 10px;
    transform: translateY(-20px);
    justify-content: start;

}

.footer-blue-link{

    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color:rgba(255, 255, 255, 1) ;
    font-size: 14px;
}
@media (max-width: 1800px) {
    .footer-columns {
        display: flex;
        flex-direction: row;
        gap: 40px;
        justify-content: space-between;
    }
}

@media (max-width: 1024px) {
    footer {
        gap: 40px;
    }

    .footer-columns {
        flex-direction: row;
        flex-wrap: wrap;
        height: auto;
        gap: 40px;
    }


    .footer-logo-container {
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
    }

    .footer-logo {
        width: 50%;
        height: auto;
        padding: 10px;
    }

    .footer-logo:first-child {
        width: 50%;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }


    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
        width: 100%;
    }

    .footer-social {
        gap: 10px;
        justify-content: center;
    }

    .footer-bottom p {
        font-size: 14px;
    }
}

@media (max-width:480px){
    .footer-social a{
        padding:8px;
    }
    .footer-social a img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }
}
/* -------------------------------------- */

/* Hover effect for footer links */
.footer-links a,
.footer-bottom p a {
    position: relative;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-bottom p a:hover {
    color: #CE5656;
    /* Brand accent or highlight */
}


/* Hover effect for footer form button */
/*.footer-form button {*/
/*    transition: background 0.3s ease, transform 0.3s ease;*/
/*}*/

.footer-social a img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Hover effect for social icons */
.footer-social a img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-social a:hover img {
    transform: scale(1.1);
    filter: brightness(1.3);
}

.footer-columns-links {
    display: none;
}

@media screen and  (max-width: 480px) {
    footer {
        margin-bottom: 55px;
    }

    /*.footer-background {*/
    /*    display: none;*/
    /*}*/

    .footer-links.footer-columns-table {
        display: none !important;
    }

    .footer-blurred::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(90deg, #174A66 58%, #174A66 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .footer-columns-links {
        display: flex;
        flex-direction: column;
        position: relative;
        width: 100%;
    }

    .accordion-header {
        width: 100%;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--bg-primary);
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
    }

    .accordion-header::before {
        content: '';
        position: absolute;
        top: 0;
        inset-inline-end: -100%;
        width: 100%;
        height: 100%;
        /*background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);*/
        transition: all 0.4s ease;
    }

    .accordion-header:hover::before {
        left: 100%;
    }

    .accordion-header h2 {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--text-primary);
        margin: 0;
        transition: all 0.4s ease;
    }

    .accordion-header:hover h2 {
        color: var(--accent-color);
    }

    .toggle-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--primary-gradient);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: 300;
        transition: all 0.4s ease;
        box-shadow: var(--shadow-medium);
    }

    .accordion-content {
        max-height: 0;
        overflow: hidden;
        background: var(--bg-secondary);
        transition: all 0.4s ease;
        opacity: 0;
    }

    .accordion-content.active {
        opacity: 1;
        display: flex;
        flex-direction: column;
        padding-top: 10px;
        width: 100%;
        gap: 15px;
        color: white;
    }

    .accordion-content a {
        color: white;
        display: none;
    }

    .accordion-content.active a {
        display: block;
        color: white;
    }
}

/*----------------------- social links --------------------*/
.social-links {
    position: fixed;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 999;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 35px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 0.25px solid rgba(186, 186, 186, 1);
    background: rgba(226, 226, 226, 0.39);
    border-start-end-radius: 12px;
    border-end-end-radius: 12px;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: linear-gradient(180deg, #2F94CC 0%, #29688B 100%);
    transform: translateX(3px) scale(1.02);
    box-shadow: 0 5px 15px rgba(47, 148, 204, 0.25);
}

.social-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-link:hover img {
    transform: scale(1.1);
}

.show-social-links-buttons {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0.25px solid rgba(186, 186, 186, 1);
    background: rgba(226, 226, 226, 0.39);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(8px);
    transform: scale(1) rotate(0deg);
    opacity: 1;
    z-index: 10;
}

.show-social-links-buttons.hiding {
    transform: scale(0) rotate(180deg);
    opacity: 0;
    pointer-events: none;
}

.show-social-links-buttons img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.show-social-links-buttons:hover {
    background: linear-gradient(180deg, #2F94CC 0%, #29688B 100%);
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 8px 25px rgba(47, 148, 204, 0.3);
}

.show-social-links-buttons:hover img {
    transform: rotate(90deg);
}

.social-links-container {
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
}

.social-item {
    transform: scale(0) translateX(-50px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: left center;
}

/* Hide button specific styles */
#hide-social-links {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

#hide-social-links img {
    transition: transform 0.2s ease;
}

#hide-social-links:hover img {
    transform: rotate(90deg) scale(1.1);
}

/* Animation states */
.social-links-container.show .social-item {
    transform: scale(1) translateX(0);
    opacity: 1;
    pointer-events: all;
    animation: slideFromCenter 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: var(--delay);
}

.social-links-container.hide .social-item {
    animation: slideToCenter 0.2s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
    animation-delay: calc(var(--delay) * 0.5);
}

@keyframes slideFromCenter {
    0% {
        transform: scale(0) translateX(-50px) rotate(-180deg);
        opacity: 0;
        filter: blur(5px);
    }
    30% {
        transform: scale(0.3) translateX(-25px) rotate(-90deg);
        opacity: 0.3;
        filter: blur(3px);
    }
    60% {
        transform: scale(0.8) translateX(-5px) rotate(-20deg);
        opacity: 0.7;
        filter: blur(1px);
    }
    80% {
        transform: scale(1.05) translateX(2px) rotate(5deg);
        opacity: 0.9;
        filter: blur(0px);
    }
    100% {
        transform: scale(1) translateX(0) rotate(0deg);
        opacity: 1;
        filter: blur(0px);
    }
}

@keyframes slideToCenter {
    0% {
        transform: scale(1) translateX(0) rotate(0deg);
        opacity: 1;
        filter: blur(0px);
    }
    20% {
        transform: scale(1.1) translateX(-10px) rotate(-15deg);
        opacity: 0.8;
        filter: blur(0px);
    }
    60% {
        transform: scale(0.6) translateX(-30px) rotate(-90deg);
        opacity: 0.4;
        filter: blur(2px);
    }
    100% {
        transform: scale(0) translateX(-50px) rotate(-180deg);
        opacity: 0;
        filter: blur(5px);
    }
}

/* Pulse effect for show button */
@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(47, 148, 204, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(47, 148, 204, 0);
    }
}

.show-social-links-buttons.pulse {
    animation: gentlePulse 2.5s ease-in-out infinite;
}

/* Responsive behavior */
@media (max-width: 480px) {
    .show-social-links-buttons {
        display: flex;
    }

    .social-links-container:not(.show) .social-item {
        display: none;
    }


}

@media (min-width: 481px) {


    .social-item {
        transform: scale(1) translateX(0);
        opacity: 1;
        pointer-events: all;
        position: static;
    }

    .social-links-container {
        display: flex;
    }
    .show-social-links-buttons,.hide-social-links-buttons {
        display: none !important;
    }
}

.social-link:focus-visible {
    outline: 2px solid #2F94CC;
    outline-offset: 2px;
}

.social-link img[data-light] {
    transition: opacity 0.3s ease;
}

.social-links-container:not(.initialized) .social-item {
    visibility: hidden;
}

.social-links-container.initialized .social-item {
    visibility: visible;
}
/* -------------------- mobile bottom nav --------------------*/
/* Your existing mobile bottom nav styles remain unchanged */
.mobile-bottom-nav {
    display: none;
}


.mobile-bottom-nav.nav-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.mobile-bottom-nav ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    width: 100%;
    height: 100%;
    margin: 0;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    gap: 10px;
    padding: 10px 0;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.mobile-bottom-nav .nav-item:not(:last-child) {
    border-inline-end: 1px solid rgba(197, 197, 197, 0.91);
}

.mobile-bottom-nav .nav-item.active {
    position: relative;
}

.mobile-bottom-nav .nav-item:active {
    transform: scale(0.95);
}

.mobile-bottom-nav .nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.mobile-bottom-nav .nav-item.active .nav-icon {
    animation: bounce 0.4s ease;
}

.mobile-bottom-nav .nav-label {
    font-size: 12px;
    font-weight: 500;
    margin: 0;
    transition: all 0.2s ease;
    opacity: 1;
    color: white;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}


/* Menu Overlay Styles */
.menu-overlay {
    position: fixed;
    top: 0;
    inset-inline-end: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;

}

.menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    align-items: center;
    position: fixed;
    inset-inline-end: 0;
    top: 0;
    width: 100%;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    display: flex;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.menu-item-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-container {
    background-color: #fff;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

}


.close-menu {
    background: none;
    border: none;
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
}

.menu-items {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 100%;
    margin: auto 0;
    overflow: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.menu-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    flex: 1;
    text-decoration: none;
    font-family: var(--font-family);
    font-size: var(--font-size-medium);
    border-radius: 6px;
    transition: all var(--transition-normal);
    padding: var(--spacing-sm) var(--spacing-md);
    width: 100%;
}

.menu-item-container {
    width: 80%;
    padding-bottom: 10px;
    position: relative;
}

.menu-item-wrapper {
    position: relative;

}

.menu-item-container:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -3px;
    inset-inline-end: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #555151 50%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.menu-item img {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
}

.menu-item span {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: var(--font-size-medium);
}

/* Enhanced Menu Overlay Styles */
.menu-overlay {
    position: fixed;
    top: 0;
    inset-inline-end: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


.close-menu {
    background: none;
    border: none;
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.close-menu:hover {
    transform: rotate(90deg);
}

.menu-item-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
}


.mobileSubmenu-toggle {
    position: absolute;
    inset-inline-end: 0;
    background: none;
    border: none;
    margin-inline-end: 10px;
    cursor: pointer;
    color: #666;
    transition: transform 0.2s ease;
}

.menu-item-container.open .mobileSubmenu-toggle {
    transform: rotate(180deg);
}

.mobileSubmenu-chevron {
    transition: transform 0.2s ease;
}

.mobileSubmenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fafafa;
    width: 100%;
}

.menu-item-container.open .mobileSubmenu {
    max-height: 1000px;
}

.mobileSubmenu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    border-inline-end: 3px solid transparent;
}


.mobileSubmenu-item-icon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
}


@media (max-width: 360px) {
    .menu-items {
        padding-top: 20px;
        overflow: scroll;
        min-height: 80vh;
    }
    .menu-item {
        padding: var(--spacing-xs) var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .menu-items {
        padding-top: 20px;
        overflow: scroll;
    }
    .mobileSubmenu-toggle {
        position: absolute;
        inset-inline-end: 0;
        background: none;
        border: none;
        margin-inline-end: 10px;
        width: 40px;
        height: 100%;
        padding: 8px;
        cursor: pointer;
        color: #666;
        transition: transform 0.2s ease;
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-item-container.open .mobileSubmenu-toggle {
        transform: rotate(180deg) translateY(15px);
    }
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        inset-inline-end: 0;
        right: 0;
        height: 55px;
        background: #e94f1d;
        width: 100%;
        z-index: 500;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .menu-container {
        background-color: #fff;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        overflow-y: auto;
        transform: translateY(100vh);
        transition: transform 0.5s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        display: flex;
        flex-direction: column;
    }

    .mobileSubmenu-toggle {
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-overlay.active .menu-container {
        transform: translateY(0);
    }

    .menu-container {
        background-color: #fff;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100vh;
    }

    .menu-container {
        transform: translateY(100vh);
    }

    .menu-overlay.active .menu-container {
        transform: translateY(0);
    }
}


@media (768px <= width <= 1024px) {
    .menu-container {
        background-color: #fff;
        width: 50%;
        max-width: 50%;
        height: 100%;
        max-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    html[dir="rtl"] .mobileSubmenu-toggle {
        inset-inline-end: 0;
        transform: translateX(-50%);
    }

    html[dir="rtl"] .menu-container {
        transform: translateX(-50vw);
    }

    html[dir="ltr"] .mobileSubmenu-toggle {
        inset-inline-end: 0;
        transform: translateX(50%);
    }

    html[dir="ltr"] .menu-container {
        transform: translateX(50vw);
    }

    .menu-overlay.active .menu-container {
        transform: translateX(0);
        inset-inline-end: 0;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        inset-inline-end: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 2000;
        justify-content: end;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        display: none;
        transition: all 0.3s ease;
        backdrop-filter: blur(1px);
    }
}
/* ---------------------- home Combined -------------------*/
/* ---------------------- hero ----------------------------*/
.slider-container {
    position: relative;
    height: 630px;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.slider-container.grabbing {
    cursor: grabbing;
}

.slide {
    position: absolute;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: translateY(0);
    will-change: transform, opacity;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide:not(.active) {
    z-index: 0;
}

/* Video specific styles */
.slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-overlay {
    position: absolute;
    bottom: 10%;
    left: 50%;
    width: 40%;
    background: rgba(0, 0, 0, 0.7);
    transform: translateX(-50%);
    color: #fff;
    padding: 15px 20px;
    text-align: start;
    border-radius: 20px;
    z-index: 2;
}

.slide-overlay h2 {
    font-size: 24px;
    margin-bottom: 10px;
}
.slide-overlay h2 a{
    color:rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}
.slide-overlay h2 a:hover{
    color:rgba(255,255,255,1);
    transition: color 0.3s ease;
}
.slide-overlay p {
    font-size: 16px;
    line-height: 1.6;
}

.dots {
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    inset-inline-end: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, height 0.3s, border-radius 0.3s;
}

.dot.active {
    background-color: #e94f1d;
    height: 30px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .slider-container {
        height: 450px;
    }
    .slide {
        height: 100%;
    }
    .slide-overlay {
        width: 80%;
        bottom: 5%;
        padding: 10px 15px;
        font-size: 14px;
    }
    .slide-overlay h2 {
        font-size: 20px;
    }

    .slide-overlay p {
        font-size: 14px;
    }
    .dots {
        inset-inline-end: 10px;
        gap: 8px;
    }
    .dot {
        width: 6px;
        height: 6px;
    }
    .dot.active {
        height: 25px;
    }
}
/* ----------------------- homepage (stations , news,videos,qrcode,services) --------------*/
.card-default-imaeg {
    transition: transform 0.4s ease;
    object-fit: contain;
    width: 100%;
    height: 225px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* Sections Design */

.homepage-wrapper {
    padding-top: 45px;
}

.home-section {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 20px;
    margin-bottom: var(--global-section-padding);
}

/*.home-section:first-child {*/
/*    padding-top: 1145px;*/
/*}*/

.section-header {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    position: relative;
    height: 50px;
}

.section-header h2 {
    height: 100%;
    font-weight: 500;
    font-size: 25px;
    line-height: 1.2;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.section-header h2::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #E76D50 0%, #C72127 100%);
    bottom: -2px;
    left: 0;
}


.section-header .header_link_only {
    width: 100px;
    height: 35px;
    border-radius: 15px;
    background: rgba(245, 245, 245, 0.73);
    border: none;
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset-inline-end: 0;
    transform: translateY(-40%);
    top: 50%;
    /* --------------------------------------------------------------- */
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    color: #000; /* Ensure text is visible */
    text-decoration: none;
}

/* Professional hover effect */
.section-header .header_link_only:hover {
    background: #ce5656; /* Brand accent or darker tone */
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header_title_link {
    display: none;
}

.section-header .header_title_link {
    display: none;
}

@media (max-width: 480px) {

    .section-header h2 {
        display: none;
    }

    .section-header .header_title_link {
        display: block;
    }

    .section-header .header_link_only {
        display: none;
    }

    .section-header .header_title_link {
        height: 100%;
        font-weight: 500;
        font-size: 25px;
        line-height: 1.2;
        text-align: center;
        position: relative;
        display: inline-block;
        padding-bottom: 8px;
    }

    .section-header .header_title_link::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, #E76D50 0%, #C72127 100%);
        bottom: -2px;
        left: 0;
    }

    .section-header .qrcode-header-title {
        display: inline-block !important;
    }

}


/*News*/
.news-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--global-desktop-gap);
    padding-bottom: var(--global-shadow-padding);
}

.news-list .news-item {
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures the item stretches to the height of its container */
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    border-radius: var(--global-border-radius);
    overflow: hidden;
    transition: all 0.3s ease;

}

@media (max-width: 480px) {
    .news-list .news-item:nth-child(3) {
        display: none;
    }

    .news-list .news-item:nth-child(4) {
        display: none;
    }
}

.news-list .news-item:hover {
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
    border-radius: var(--global-border-radius);
}

.news-list .news-item .card-image {
    width: 100%;
    height: 225px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, #FFFFFF 0%, #D9D9D9 49.99%, #FFFFFF 100%);
    border-image-slice: 1;
}
.news-list .news-item .card-default-imaeg {
    width: 100%;
    height: 225px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, #FFFFFF 0%, #D9D9D9 49.99%, #FFFFFF 100%);
    border-image-slice: 1;
}

.callendar {
    width: 16px;
    height: 16px;
}

.new-date {
    width: 108px;
    gap: 8px;
    display: flex;
    flex-direction: row;
}

.new-date p {
    white-space: nowrap;
    font-size: 12px;
}

.news-content {
    width: 100%;
    padding-right: var(--global-mobile-gap);
    padding-left: var(--global-mobile-gap);
    padding-bottom: var(--global-mobile-gap);
    margin-top: var(--global-mobile-gap);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;

}

.news-content-title {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: auto; /* pushes <p> to the bottom */

}

.news-content p {
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: rgba(129, 129, 129, 1);
    display: flex;
    flex: 1;
    flex-direction: column;
    display: inline; /* Important: make text + link inline */

}


.new-date-text-style {
    font-weight: 500;
    font-size: 12px !important;
    line-height: 140%;
    color: rgba(129, 129, 129, 1);
    display: flex;
    flex: 1;
    flex-direction: column;
    display: inline; /* Important: make text + link inline */

}

.news-content p .learn-more-link {
    color: rgba(206, 86, 86, 1);
    transition: color 0.7s ease;
}

.news-content p .learn-more-link:hover {
    color: rgb(198, 48, 48);
}


.news-content h3 {
    font-weight: 700;
    font-size: 18px;
}

/* --------------------------------------------------- */
.news-list .news-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    cursor: pointer;
}

.news-list .news-item:hover {
    transform: translateY(-8px);
}

/* Image zoom effect */
.news-list .news-item .card-image {
    transition: transform 0.4s ease;
    object-fit: cover;
}

.news-list .news-item:hover .card-image {
    transform: scale(1.05);
}

/* Subtle title color shift on hover */
.news-list .news-item:hover h3 {
    color: #ce5656;
    transition: color 0.3s ease;
}

/* Optional: Fade in effect on entire card */
.news-list .news-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
    animation-delay: calc(var(--i) * 0.1s);
    /* You can control staggered animation */
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .news-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .news-list {
        grid-template-columns: repeat(1, 1fr);
    }
}


/*Stations*/
.swiper {
    height: auto;
    width: 100%;
}

.section-header-one {
    display: flex;
    width: 100%;
    justify-content: center;
}


.stations-list {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    width: 100%;
    border-radius: 12px;
    gap: var(--global-desktop-gap);
    height: auto;
}

.stations-page-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
    border-radius: 12px;
    gap: var(--global-desktop-gap);
    height: auto;
}

@media screen and (min-width: 1024px) {
    .stations-list {
        height: 376px;
    }

    .stations-page-list {
        min-height: 376px;
    }

}

@media screen and (max-width: 1280px) {
    .stations-page-list {
        grid-template-columns: repeat(4, 1fr);

    }

    .stations-page-list .animated-section {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .stations-page-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .stations-page-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .stations-page-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

.swiper-slide {
    margin: auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, -5px);
}

.station-card {
    width: 100%;
    aspect-ratio: 1/1;
    background: rgba(255, 255, 255, 1);
    border: 0.5px solid rgba(129, 129, 129, 0.25);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
    align-items: center;
    align-self: center;
}

.station-card h3 {
    font-weight: 500;
    font-size: 20px;
    line-height: 146%;
    text-align: center;

}

.station-card-image {
    width: 132px;
    height: 132px;
    border-radius: 90px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.station-card-image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.station-arrow-image {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .animated-section {
        display: none;
    }

    .stations-list {
        height: auto;
    }

    .home-section.station-wrapper {
        gap: 0 !important;
    }
}

/* ------------------------------------------------------ */
/* Hover effect for station card */
.station-card {
    /*transition: transform 0.3s ease, box-shadow 0.3s ease;*/
    cursor: pointer;
}

.station-card:hover {
    /*transform: translateY(-8px);*/
    /*box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);*/
}

/* Image zoom on hover */
.station-card-image img {
    transition: transform 0.3s ease;
}

.station-card:hover .station-card-image img {
    transform: scale(1.1);
}

/* Title subtle highlight */
.station-card h3 {
    transition: color 0.3s ease;
}

.station-card:hover h3 {
    color: #ce5656;
    /* Optional: Match brand color */
}

/*Videos*/
.video-gallery {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 275px);
    gap: var(--global-desktop-gap);
}

.video-card {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    display: block;
    angle: -0.35deg;
    border-radius: 20px;
    border-top-width: 7px;
    border-right-width: 7px;
    background: rgba(0, 0, 0, 0.07);
    /*box-shadow: 0px -60px 4px 0px rgba(0, 0, 0, 0.46) inset;*/

}

.video-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: contain;
    filter: brightness(0.85);
    transition: transform 0.3s ease;
    background: rgba(0, 0, 0, 0.07);
    box-shadow: 0px -40px 4px 0px rgba(0, 0, 0, 0.23) inset;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 16px;
    z-index: 2;
}

.video-title {
    margin: 0;
    font-weight: bold;
    font-size: 1rem;
    text-align: start;
}


/* Grid positioning per your design */
.video-1 {
    grid-column: 1 / span 2;
    grid-row: 1;
}

.video-2 {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.video-3 {
    grid-column: 1;
    grid-row: 2 / span 2;
}

.video-4 {
    grid-column: 2;
    grid-row: 2;
}

.video-5 {
    grid-column: 2;
    grid-row: 3;
}

.video-6 {
    grid-column: 3;
    grid-row: 3;
}

@media (max-width: 1024px) {
    .video-gallery {
        width: 100%;
        display: flex;
        margin: 0 auto;
        gap: var(--global-desktop-gap);
        flex-wrap: wrap; /* Allow the cards to wrap to the next row */
        justify-content: center;
    }

    .video-card {
        display: flex;
        max-width: 49%;
        aspect-ratio: 16/9;
        width: 48%;

    }
}

@media (max-width: 768px) {
    .video-gallery {
        width: 100%;
        display: flex;
        margin: 0 auto;
        gap: var(--global-desktop-gap);
        flex-wrap: wrap; /* Allow the cards to wrap to the next row */
    }

    .video-card {
        display: flex;
        max-width: 49%;
        aspect-ratio: 16/9;
        width: 48%;

    }
}

@media (max-width: 580px) {
    .video-gallery {
        width: 100%;
        display: flex;
        margin: 0 auto;
        gap: var(--global-desktop-gap);
        flex-wrap: wrap; /* Allow the cards to wrap to the next row */
    }

    .video-card {
        display: flex;
        max-width: 49%;
        aspect-ratio: 16/9;
        width: 47%;

    }
}

@media (max-width: 480px) {
    .section-header a {
        display: none;
    }

    .video-gallery {
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(2, 275px);
        gap: var(--global-desktop-gap);
    }

    .video-card {
        display: flex;
        flex: 1; /* Make each card take 50% of the container width */
        max-width: 100%;
        width: 100%;
        height: 275px;
    }

    /* Grid positioning per your design */
    .video-1 {
        grid-column: 1;
        grid-row: 1;
    }

    .video-2 {
        grid-column: 1;
        grid-row: 2;
    }

    .video-3 {
        display: none;
    }

    .video-4 {
        display: none;

    }

    .video-5 {
        display: none;

    }

    .video-6 {
        display: none;

    }


}

.home-play-btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset-inline-end: 10px;
    top: 10px;
    /*background: rgba(206, 86, 86, 0.64);*/
    width: 60px;
    height: 60px;
    border-radius: 77px;
    z-index: 20;
}

.application-wrapper {
    width: 100%;
    margin-bottom: var(--global-section-padding);
    position: relative;
    padding-top: 32px;
}

@media (max-width: 1024px) {
    .application-wrapper {
        padding-top: 0;

    }
}

.application-container {
    width: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(217, 217, 217, 0.15) 79.9%, rgba(62, 65, 74, 0.15) 100%);
    padding: 50px 40px;
    display: flex;
    flex-direction: row;
}

.application-content {
    display: flex;
    flex-direction: column;
    gap: var(--global-mobile-gap);
    width: 60%;
}

.application-content h3 {
    font-weight: 700;
    font-size: 20px;
    leading-trim: Cap height;

    color: rgba(27, 27, 27, 1);
    display: flex;
    flex-direction: column;
}

.application-content p {
    font-weight: 400;
    font-size: var(--description-font-size);
    leading-trim: Cap height;
    vertical-align: middle;
    color: rgba(27, 27, 27, 1);
}

.application-content-download {
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    gap: var(--global-mobile-gap);
}

.application-content-download a {
    width: 150px;
    height: 50px;
    border-radius: 10px;
    background: rgba(8, 28, 39, 1);
    top: 11px;
    right: -12.73px;
    gap: var(--global-mobile-gap);
    display: flex;
    flex-direction: row;
    align-items: center;

}


.download-button-wrapper {
    color: rgba(255, 255, 255, 1);
    width: 180px;
    height: 45px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 12px;
}

.download-text-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.download-text-content p {
    font-family: Inter;
    font-weight: 400;
    font-size: 10px;
    line-height: 8px;
    letter-spacing: 0px;
    color: rgba(255, 255, 255, 1);
    text-align: left;
}

.download-text-content h3 {
    font-family: Inter;
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    color: rgba(255, 255, 255, 1);
    text-align: left;
}

.application-image {
    position: absolute;
    bottom: 20px;
    height: 90%;
    aspect-ratio: calc(348 / 398);
    inset-inline-end: 80px;
    object-fit: cover;
}

/* ----------------------------------------- */
/* Smooth transitions */
.application-content-download a {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/*.application-content-download a:hover {*/
/*    !*transform: translateY(-4px) scale(1.02);*!*/
/*    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);*/
/*    background: rgba(14, 45, 63, 1); !* Slightly lighter than original for visual feedback *!*/
/*}*/

/* Icon animation on hover */
.application-content-download a:hover img {
    transform: scale(1.1) rotate(2deg);
    transition: transform 0.3s ease;
}

/* Optional: text color stays white, but we can animate underline or opacity */
.download-text-content h3,
.download-text-content p {
    transition: opacity 0.3s ease;
}

.application-content-download a:hover .download-text-content h3,
.application-content-download a:hover .download-text-content p {
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .application-container {
        flex-direction: column;
        padding: 50px 40px;
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    .application-image {
        display: none;
    }

    .application-content {
        width: 100%;
        align-items: center;
    }

    .application-content h1,
    .application-content p {
        text-align: center;
    }

    .application-content-download {
        justify-content: center;
        flex-wrap: wrap;
    }

}

@media (max-width: 480px) {
    .application-content-download a {

        padding: 10px;
    }

    .download-button-wrapper {
        gap: 10px;
    }

    .download-text-content h3 {
        font-size: 16px;
    }

    .download-text-content p {
        font-size: 9px;
    }

    .application-container {
        padding: 30px 20px;
    }
}

/*!* AI Section *!*/
.ai-container {
    width: 100%;
    max-width: 1350px;

}

.ai-home-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--global-section-padding);
    overflow: hidden;
    /* padding-right: 285px; */
    gap: 80px;
}

.ai-main-section-bg-image {
    position: absolute;
    inset-inline-end: 0;
    top: 0;
    z-index: -1;
    width: 700px;
    height: 440px;
    object-fit: cover;
}

.ai-home-images-wrapper {
    position: relative;
    width: 1000px;
    display: flex;
    justify-content: start;
}

/* Floating keyframes */
@keyframes floatBg {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Reset default */
.ai-main-section-bg-image {
    transition: transform 3s ease;
    will-change: transform;
}

/* Trigger animation on hover of intro-image */
.intro-image:hover {
    animation: floatBg 3s ease-in-out infinite;
}

/* Services Section*/
.section-header {
    height: 37px;
}

.services-list {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    border-radius: 12px;
    gap: 20px;
    padding: 20px 0;
}


.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--global-desktop-gap);
}

.service:not(:last-child) {
    border-inline-end: 1px solid;
    border-image-source: linear-gradient(180deg, #FFFFFF 0%, #D9D9D9 49.99%, #FFFFFF 100%);
    border-image-slice: 1;
}


.home-service-image {
    width: 120px;
    height: 120px;
    gap: 10px;
    border-radius: 500px;
    padding: 10px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-service-image img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.home-service-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.service h4 {
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    text-align: center;

}

.service h4 span {
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
    color: rgba(206, 86, 86, 1);
}

.service h4 .counter {
    color: rgba(0, 0, 0, 1);
}

.header_title_link {
    display: none;
}

/*QRcodes*/

.qrcode-home-section {
    padding-bottom: var(--global-section-padding);
}

.qrcode-home-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qrcodes-list {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    border-radius: 12px;
    gap: var(--global-desktop-gap);
    padding: 20px 0;
}

.qrcode {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.qrcode:not(:last-child) {
    border-inline-end: 1px solid;
    border-image-source: linear-gradient(180deg, #FFFFFF 0%, #D9D9D9 49.99%, #FFFFFF 100%);
    border-image-slice: 1;
}

.qrcode-image img {
    width: 151px;
    height: 151px;
    object-fit: contain;
    overflow: hidden;
}

.qrcode-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.qrcode-content h3 {
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    color: rgba(0, 0, 0, 1);
}

.qrcode-content p {
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    text-align: center;
    color: rgba(0, 0, 0, 1);
}
/* ----------------------- stations --------------*/
.animated-section {
    position: absolute;
    z-index: -3;
    top: 0;
    width: 100%;
    max-width: 1100px;
    height: 100%;
    transform: translateX(-50%);
    left: 50%;
}

svg {
    width: 100%;
    height: auto;
    display: block;
}

path {
    transition: stroke-dashoffset 0.5s ease;
}
/* ----------------------- ai --------------------*/
.ai-content-descriptions p {
    margin: 0 0 16px 0; /* Adjust the 16px to your preferred spacing */
}

.ai-content-descriptions p:last-child {
    margin-bottom: 0;
}

.ai-content-descriptions {
    display: inline;
}

.ai-content-descriptions a {
    display: inline;
    margin-left: 5px;
    color: rgba(242, 183, 5, 1);

}
.intro-section {
    display: flex;
    align-items: start;
    gap: 30px;
}

.intro-text {
    display: flex;
    flex-direction: column;
    max-width: 57%;
    gap: 20px;
    width: 100%;
    /* No centering — keep start alignment */
}


.intro-text h2::after {
    width: 0px !important;
}

.line-divider {
    width: 100%;
    height: 0.5px;
    background: rgba(202, 202, 202, 1);
}

.ai-page-content-container {
    display: flex;;
    flex-direction: column;
    gap: var(--global-desktop-gap);
}

.intro-text h2 {
    font-weight: 500;
    font-size: 25px;
    line-height: 100%;
    position: relative;
    display: inline-block;
    width: fit-content;
    /* <--- THIS makes the after line match text */
    padding-bottom: 12px;
    text-align: start;
    /* Optional: follows RTL or LTR */
}

.intro-text h2::after {
    content: "";
    position: absolute;
    width: 100%;
    /* 100% of the h1 text width */
    height: 2px;
    background: linear-gradient(90deg, #E76D50 0%, #C72127 100%);
    bottom: 0;
    left: 0;
}



.intro-image {
    inset-inline-end: 0;
    width: 588px;
    height: 307px;
    transform: rotate(-12deg);
}


.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    transform: scaleX(-1);
}

@media screen and (max-width: 1024px) {

    .intro-section {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 30px;
    }

    .intro-text {
        max-width: 100%;
    }

    .intro-image {
        width: 100vw;
        aspect-ratio: calc(307 / 588);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .intro-image img {
        width: 100%;
        aspect-ratio: calc(307 / 588);
    }
}

/* ---------------- live the atmosphere -----------------*/

.no-videos-message {
    text-align: center;
    padding: 40px 0;
}

.no-videos-text {
    color: #666;
    font-size: 18px;
    font-weight: 400;
}


.live-the-atmosphere-wrapper {
    padding-top: var(--global-section-padding);
    padding-bottom: var(--global-section-padding);
    display: flex;
    flex-direction: column;
    gap: var(--global-section-padding);
}

.live-the-atmosphere-videos {
    display: flex;
    flex-direction: column;
    gap: var(--global-desktop-gap);
}

.live-the-atmosphere-short-videos {
    display: flex;
    flex-direction: column;
    gap: var(--global-desktop-gap);
}

.live-the-atmosphere-video-gallery,
.live-the-atmosphere-short-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--global-desktop-gap);
}

.section-header-sub-page {
    width: 100% !important;
    display: flex !important;
    text-align: start !important;
    position: relative;
    height: 37px;
}

.section-header-sub-page h2 {
    height: 100%;
    font-weight: 500;
    font-size: 25px;
    line-height: 1.2;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.section-header-sub-page a {
    width: 100px;
    height: 35px;
    border-radius: 15px;
    background: rgba(245, 245, 245, 0.73);
    border: none;
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset-inline-end: 0;
    transform: translateY(-40%);
    top: 50%;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    color: #000;
    text-decoration: none;
}

.video-modal-container {
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.short-modal-container {
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 9/16;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header-secondary-title:after {
    width: 0% !important;
}

.live-video-card,
.live-short-card {
    position: relative;
    overflow: hidden;
}

.live-video-card {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    display: block;
    angle: -0.35deg;
    border-radius: 20px;
    border-top-width: 7px;
    border-right-width: 7px;
    background: rgba(0, 0, 0, 0.07);
}

.live-short-card {
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    display: block;
    angle: -0.35deg;
    border-radius: 20px;
    border-top-width: 7px;
    border-right-width: 7px;
    background: rgba(0, 0, 0, 0.07);
}

.live-play-btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset-inline-end: 10px;
    top: 10px;
    /*background: rgba(206, 86, 86, 0.64);*/
    width: 60px;
    height: 60px;
    border-radius: 77px;
    z-index: 20;
}

.live-video-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: contain;
    filter: brightness(0.85);
    transition: transform 0.3s ease;
    background: rgba(0, 0, 0, 0.07);
    box-shadow: 0px -40px 4px 0px rgba(0, 0, 0, 0.23) inset;
}

.live-video-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 16px;
    z-index: 2;
}

@media (max-width: 1024px) {
    .live-the-atmosphere-video-gallery,
    .live-the-atmosphere-short-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--global-desktop-gap);
    }
}

@media (max-width: 480px) {
    .live-the-atmosphere-video-gallery,
    .live-the-atmosphere-short-gallery {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: var(--global-desktop-gap);
    }
}

/* -------------- home videos --------------------*/
.play-svg {
    width: 50px;
    height: 50px;
    display: block;
    margin: 40px auto;
    cursor: pointer;
}

.video-bg {
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.arc {
    stroke-dasharray: 1256;
    stroke-dashoffset: 1256;
    transition: stroke 0.3s;
}

@keyframes arc-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.triangle {
    transform-origin: 60% 50%;
    transition: transform 0.35s cubic-bezier(.4, 2, .6, 1), stroke 0.3s;
}

.play-svg:hover .triangle {
    transform: scale(1.12);
    stroke: #b80101;
}

.play-svg:hover .arc {
    stroke: #b80101;
}

.video-card:hover .arc {
    animation: arc-draw 1.2s cubic-bezier(.4, 2, .6, 1) forwards;
}

/* Video Overlay Styles */
.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
    z-index: 1;
}

.video-title {
    margin: 0;
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Modal Styles */
/* Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-container {
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    z-index: 1;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.85);
}

.video-info {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    z-index: 2;
}

#modalVideoTitle {
    margin: 0;
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Additional styles for new video players */
.video-player {
    width: 100%;
    height: 100%;
    background: #000;
}

.video-player iframe {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain;
}

#externalVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#socialMediaIframe {
    border: none !important;
    overflow: hidden !important;
    background: #000;
}

/* Instagram Reel specific styles */
.short-modal-container[data-instagram-reel="true"] {
    max-width: 400px;
}

.video-modal-container[data-instagram-reel="true"] {
    max-width: 400px;
}

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        height: 60vh;
    }

    .short-modal-container[data-instagram-reel="true"] {
        max-width: 300px;
    }

    .video-modal-container[data-instagram-reel="true"] {
        max-width: 300px;
    }

    #modalVideoTitle {
        font-size: 1.2rem;
    }

    .video-title {
        font-size: 0.8rem;
    }
    .live-play-btn-wrapper{
        inset-inline-end: 5px;
        top: 5px;
    }
}


@media (max-width:480px){
    #modalVideoTitle {
        font-size: 1.2rem;
    }
    .live-play-btn-wrapper{
        inset-inline-end: 5px;
        top: 5px;
    }
    .video-title {
        font-size: 1.1rem;
    }
}

/* Short video specific styles */
.video-modal-container[data-short-video="true"] {
    max-width: 400px;
    height: 70vh;
}

/* Instagram Reel specific styles */
.video-modal-container[data-instagram-reel="true"] {
    max-width: 400px;
    height: 80vh;
}

.video-modal-container[data-instagram-reel="true"] #socialMediaIframe {
    border-radius: 8px;
    overflow: hidden;
}

/* Facebook Reel specific styles */
.video-modal-container[data-facebook-reel="true"] {
    max-width: 530px;
    height: 80vh;
}

.video-modal-container[data-facebook-reel="true"] #socialMediaIframe {
    border-radius: 8px;
    overflow: hidden;
}

/* Facebook Video specific styles */
.video-modal-container[data-facebook-video="true"] {
    max-width: 800px;
    height: 80vh;
}

.video-modal-container[data-facebook-video="true"] #socialMediaIframe {
    border-radius: 8px;
    overflow: hidden;
}

/* Instagram Reel specific styles */
.video-modal-container[data-instagram-reel="true"] #socialMediaIframe {
    background: transparent;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .video-modal-container[data-facebook-reel="true"],
    .video-modal-container[data-instagram-reel="true"],
    .video-modal-container[data-facebook-video="true"] {
        max-width: 300px;
        height: 70vh;
    }
}
li:not(nav li) {
    margin-inline-start: 1rem;
}