/*
Theme Name: ELAN Group Theme
Theme URI: https://www.elan.qa/
Author: ELAN Group
Author URI: https://www.elan.qa/
Description: ELAN Group is an innovative group, committed to enriching city life by delivering world-class experiences - Media, Events, Entertainment, Urban.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elan-group
Tags: custom-colors, custom-logo, featured-images, full-site-editing, block-patterns, accessibility-ready, business, portfolio, entertainment, news, media, urban
*/

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400&display=swap');

:root {
  --primary-blue: #0075c9;
  --dark-blue: #274d78;
  --text-dark: #231f20;
  --text-light: #ffffff;
  --bg-light-gray: rgba(114, 188, 215, 0.02);
  --font-main: 'Tahoma', sans-serif;
  --font-alt: 'Inter', sans-serif;
}



@font-face {
  font-family: "tahoma";
  src: url("assets/fonts/tahoma.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "tahoma";
  src: url("assets/fonts/tahoma-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
    font-family: "Lusail";
    src: url("assets/fonts/Lusail-Regular.otf") format("opentype");
    font-weight: 400; 
    font-style: normal;
    font-display: swap; 
}

/*//////////////////////////////////*/

p {
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0 !important;
}

ul li,
ol li {
  font-size: 16px;
}

a {
  color: inherit;
}

a:hover {
  color: inherit;
  text-decoration: none;
}

.fa-brands,
.fab,
.fa {
  font-family: "Font Awesome 6 Brands" !important;
}

/*-------------------------------------------------
    [ ## Heading ]
---------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a {
  color: inherit;
  text-decoration: none;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover {
  color: inherit;
  text-decoration: none;
}

.font-thin {
  font-weight: 100;
}

.font-extralight {
  font-weight: 200;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-black {
  font-weight: 900;
}

/*-------------------------------------------------
    [ ## Fields ]
---------------------------------------------------*/
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus {
  outline: none;
  box-shadow: none;
}

input[type=time]::-webkit-inner-spin-button,
input[type=time]::-webkit-outer-spin-button,
input[type=date]::-webkit-inner-spin-button,
input[type=date]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type=search] {
  -webkit-appearance: textfield;
}

input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0) inset;
  -webkit-box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0) inset;
  -webkit-text-fill-color: black !important;
}

input:-webkit-autofill:focus {
  box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0) inset;
  -webkit-box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0) inset;
  -webkit-text-fill-color: black !important;
}

textarea.form-control {
  width: 100%;
  display: block;
  min-height: 150px;
}

textarea.form-control:focus {
  outline: none;
  box-shadow: none;
}

.form-floating>.form-control {
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

::-webkit-input-placeholder {
  color: black;
}

.widget_newsletter::-webkit-input-placeholder {
  color: #808080;
}

:-moz-placeholder {
  color: black;
  opacity: 1;
}

::-moz-placeholder {
  color: black;
  opacity: 1;
}

:-ms-input-placeholder {
  color: black;
}

/**
 * Hide element while making it readable for screen readers
 */
.figure {
  display: block;
}

.topbutton {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border-radius: 0.5rem;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
}

.topbutton.btn-show {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
    [ ## Container ]
--------------------------------------------------------------*/
.container {
  width: 100%;
  padding: 0 20px; /* Mobile-il kurachu koodi nalla padding */
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (min-width: 676px) {
    .container, .container-sm {
        max-width: 640px;
    }
}

/* Tablets */
@media screen and (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

/* Small Laptops / Large Tablets */
@media screen and (min-width: 992px) {
  .container {
    max-width: 940px;
  }
}

/* Laptops */
@media screen and (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Desktop Standard */
@media screen and (min-width: 1300px) {
  .container {
    max-width: 1200px;
  }
}

/* Desktop Large */
@media screen and (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Extra Large Screens */
@media screen and (min-width: 1600px) {
  .container {
    max-width: 1480px;
  }
}

/* Ultra Wide Screens */
@media screen and (min-width: 1750px) {
  .container {
    max-width: 1600px;
  }
}

/* 1900+ Screens */
@media screen and (min-width: 1900px) {
  .container {
    max-width: 1720px;
  }
}



:root {
  --primary-blue: #0075c9;
  --dark-blue: #274d78;
  --text-dark: #231f20;
  --text-light: #ffffff;
  --bg-light-gray: rgba(114, 188, 215, 0.02);
  --font-main: 'Tahoma', sans-serif;
  --font-alt: 'Inter', sans-serif;

  --font-main-ar: 'Sakkal Majalla', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--text-light);
  color: var(--text-dark);
  overflow-x: hidden;
}
[dir="rtl"] body{
  direction: rtl;
  text-align: right;

  font-family: var(--font-main-ar);
  font-weight: 400;
  font-style: normal;
}

.page-wrapper {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px 50px;
  border-radius: 65px;
  font-weight: 700;
  text-align: center;
  /* transition: background-color 0.5s, color 0.5s; */
}

.btn-dark {
  background-color: var(--text-dark);
  color: var(--text-light);
  font-size: 12px;
}

.btn-outline-white {
  border: 2px solid var(--text-light);
  color: var(--text-light);
  background-color: transparent;
  font-size: 14px;
}
[dir="rtl"] .btn-outline-white{
  font-size: 20px;
}

.btn:hover {
  background-color: var(--primary-blue);
  transition: all .2s;
  border-color: inherit;
}


::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 117, 201, 0.35);
  border-radius: 100px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 117, 201, 0.7);
}

::-webkit-scrollbar-corner {
  background: transparent;
}


.top-bar-section {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 0 20px;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
}

@media (max-width: 976px) {
    .top-bar-text {
        overflow: hidden;
        white-space: nowrap;
        display: flex;
        width: 100%;
    }

    .top-bar-text span.marquee-content {
        display: inline-block;
        padding-left: 100%;
        animation: marquee 20s linear infinite;
    }

    .top-bar-text:hover span.marquee-content {
        animation-play-state: paused;
    }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.top-bar-container {
  display: flex;
  justify-content: right;
  align-items: center;
  height: 44px;
  max-width: 1700px;
  margin: auto;
}

.top-bar-text {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 14px;
  line-height: 45px;
  white-space: nowrap;
  letter-spacing: .01rem;
  color: #fff;
  margin-bottom: 0;
}
[dir="rtl"] .top-bar-text{
  font-family: var(--font-main-ar);
}

.top-bar-text .data-highlight {
  font-weight: 700;
}

.top-bar-text .data-increase {
  font-weight: 700;
  color: var(--primary-blue);
  /* This color is from the figma data, but it's blue on blue. Let's use a lighter shade for visibility */
  color: #a9d7f4;
}

@media (max-width: 1200px) {
  .top-bar-text {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 768px) {
  .top-bar-section {
    /* display: none; */
  }

  .site-header {
    margin-top: 0;
    /* Removing top margin since top-bar is hidden */
  }
}

/************************************************  Site Header  ********************************************************/

.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
  overflow: hidden;
}



.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.3); */
  background: rgb(35 31 32 / 75%);
  z-index: 2;
}

.hero-section {
    position: relative;
    height: 100vh; 
    min-height: 600px; 
    width: 100%;
    overflow: hidden;
}

.hero-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.site-header {
  position: fixed;
  /* top: 44px; */
  top: 0;
  width: 100%;
  z-index: 4000;
  background-color: var(--text-light);
  box-shadow: 0px 1px 11px 0px rgba(0, 0, 0, 0.1);
}

.site-header.fixed,
header.sticky_header {
  position: fixed !important;
  /* top: 44px; */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9909;
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  /* Smooth Transition */
  transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), backdrop-filter 0.5s ease !important;
}

header.sticky_header {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-20%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.site-header.relative {
  /* position: relative; */
}

.header-container {
    max-width: 95%;
    margin: 0 auto;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 480px) {
    .header-container {
        height: 65px;
    }
}

@media (min-width: 768px) {
    .header-container {
        height: 75px;
        max-width: 90%;
    }
}

@media (min-width: 1024px) {
    .header-container {
        height: 80px;
    }
}

@media (min-width: 1200px) {
    .header-container {
        height: 75px;
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .header-container {
        height: 75px;
        max-width: 1420px;
    }
}

@media (min-width: 1680px) {
    .header-container {
        height: 93px;
        max-width: 1560px;
    }
}





.header-container .logo {
  flex-shrink: 0;
}

.header-container .right-section {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.header-container .main-nav ul {
  display: flex;
  gap: 20px;
}

.header-container .main-nav a {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  padding: 10px;
}
[dir="rtl"] .header-container .main-nav a{
  font-family: var(--font-main-ar);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-actions a.btn {
  padding: 15px 25px;
  text-transform: uppercase;
  font-size: 12px;
}

@media(max-width: 1400px){
    .header-actions a.btn { padding: 10px 15px; }
}

.header-actions a.btn:hover,
.btn:hover {
  background-color: var(--primary-blue);
  transition: all .2s;
  border-color: inherit;
}

.header-container .actions-divider {
  width: 1px;
  height: 49px;
  background-color: rgba(114, 188, 215, 0.5);
  display: none;
}

.search-icon img {
  width: 25px;
  height: 25px;
}

/* Mobile Menu Toggle (Hidden by default) */
.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-blue);
  padding: 10px;
  z-index: 5001;
}



@media (max-width: 992px) {
  .header-container {
    padding: 0 20px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 5000;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 80px 20px 40px;
    transition: right 0.3s ease;
    display: block !important;
    /* Override display: none from simplified media query if exists */
  }

  .main-nav.active {
    right: 0;
  }

  .header-container .main-nav ul {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .header-container .main-nav a {
    font-size: 18px;
    display: block;
    width: 100%;
    border-bottom: 1px solid #eee;
  }
}

/* Search Overlay Styling */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
  width: 100%;
  max-width: 800px;
  padding: 0 30px;
  text-align: center;
}

.search-input-group {
  position: relative;
  border-bottom: 2px solid var(--primary-blue, #0075c9);
  display: flex;
  align-items: center;
}

.search-field {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 48px;
  font-weight: 700;
  padding: 20px 0;
  color: var(--text-dark, #231f20);
  outline: none !important;
}

.search-field::placeholder {
  color: rgba(35, 31, 32, 0.2);
}

.search-submit {
  background: transparent;
  border: none;
  cursor: pointer;
}

.search-submit img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.search-submit:hover img {
  transform: scale(1.1);
}

.search-overlay-close {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 32px;
  cursor: pointer;
  color: var(--text-dark);
  transition: transform 0.3s ease;
}

.search-overlay-close:hover {
  transform: rotate(90deg);
}

.search-hint {
  margin-top: 20px;
  font-size: 14px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.search-hint span {
  color: var(--primary-blue);
  font-weight: 700;
}

/* Prevent scrolling when search is open */
body.search-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .search-field {
    font-size: 28px;
  }
}


.lang-switcher {
  font-family: "Lusail";
  /* font-weight: 700; */
  font-size: 20px;
  color: var(--text-dark);
  /* display: none; */
}
[dir="rtl"] .lang-switcher {
  font-family: var(--font-main-ar);
}

@media(max-width: 1440px){
  .lang-switcher{
    display: none;
  }
}

/* Container & Wrapper */
.megamenu_wrapper {
  background-color: #f9fafc;
  padding: 190px 0 50px;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1023;
  transition: all 0.3s linear;
  transform: translateY(-100%);
  height: 75vh;
  box-shadow: 0 6px 12px 1px rgb(0 0 0 / 19%);
}

.megamenu_wrapper.visible {
  transform: translateY(0);
}

.megamenu_wrapper .megamenu {
  padding: 180px 0 90px;
  position: absolute;
  inset: 0;
  overflow-y: scroll;
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
}

.megamenu_wrapper .megamenu.show {
  opacity: 1;
  visibility: visible;
}

/* Mega Menu Section */
.megamenu_wrapper .megamenu-block {
  /* gap: 40px; */
  flex-wrap: wrap;
}

/* Image Styling */
.megamenu_wrapper .megamenu-block-img img {
  width: 100%;
  max-width: 710px;
  height: auto;
  border-radius: 10px;
  display: block;
  transition: transform 0.3s ease;
}

.megamenu_wrapper .megamenu-block-img img:hover {
  /* transform: scale(1.05); */
}

/* Content Styling */
.megamenu_wrapper .mega-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.megamenu_wrapper .megamenu-block-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary-blue);
}

.megamenu_wrapper .megamenu-block-links {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid rgba(114, 188, 215, 0.50);
  padding-left: 15px !important;
}

.megamenu_wrapper .megamenu-block-links li {
  margin-bottom: 12px;
}

.megamenu_wrapper .megamenu-block-links a {
  font-size: 15px;
  font-weight: 600;
  color: #274D78;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.megamenu_wrapper .megamenu-block-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #0075C9;
  transition: width 0.3s ease;
}

.megamenu_wrapper .megamenu-block-links a:hover {
  color: #0075C9;
}

.megamenu_wrapper .megamenu-block-links a:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
  .megamenu_wrapper .megamenu-block {
    flex-direction: column-reverse;
    text-align: center;
  }

  .megamenu_wrapper .mega-content {
    align-items: center;
  }

  .megamenu_wrapper .megamenu-block-title {
    font-size: 2.5rem;
  }

  .megamenu_wrapper .megamenu-block-links a {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .megamenu_wrapper {
    padding: 30px 10px;
  }

  .megamenu_wrapper .megamenu-block-title {
    font-size: 2rem;
  }

  .megamenu_wrapper .megamenu-block-links a {
    font-size: 1rem;
  }
}




/* Hero Banner Section */
.hero-content {
  /* position: relative; */
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  /* Header height */
  gap: 40px;
  position: absolute;
  /* top: calc(50% - 70px); */
  top: calc(65% - 70px);
  max-width: 90%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
    .hero-content {
        /* top: 25%;  */
        padding-top: 20px;
    }
}

/* Mobile height */
.hero-content a.btn {
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 1. Cinematic Backdrop with Primary Blue Tint */
.home .fancybox__backdrop {
    background: radial-gradient(circle, rgba(0, 117, 201, 0.12) 0%, rgba(3, 7, 18, 0.98) 100%) !important;
    backdrop-filter: blur(12px) saturate(160%) !important;
}

/* 2. Modern Video Frame - Deep Navy instead of Black */
.home .fancybox__content {
    background: rgba(10, 25, 41, 0.95) !important; /* Deep Navy Blue */
    color: #ffffff !important; 
    border-radius: 20px;
    border: 1px solid rgba(0, 117, 201, 0.4); 
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(0, 117, 201, 0.1); 
    padding: 0 !important; /* Ensures the video fills the navy frame */
}

/* 3. Enhanced Close Button */
.home .fancybox__content > .f-button.is-close-btn {
    background: rgba(0, 117, 201, 0.2) !important;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 117, 201, 0.4);
    color: #ffffff !important;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.home .fancybox__content > .f-button.is-close-btn:hover {
    background: #0075c9 !important; 
    transform: scale(1.1);
    border-color: #ffffff;
}

/* The animation definition */
@keyframes customFadeUp {
    from {
        opacity: 0;
        transform: translateY(120px); /* Starts 20px lower */
    }
    to {
        opacity: 1;
        transform: translateY(0);    /* Ends at original position */
    }
}

@media(max-width: 1024px){
  .fancybox__slide{
    max-width: 80%;
    margin: auto;
  }
}

/* The class to apply to your button */
.hero-fade-up {
    opacity: 0; /* Hidden initially */
    animation: customFadeUp 1s ease-out forwards;
    animation-delay: 1.8s; /* Matches your original 400ms delay */
}

/* Tablet height */
@media (min-width: 768px) {
    .hero-content a.btn {
        height: 60px;
    }
}

/* Desktop height (1200px and up) */
@media (min-width: 1200px) {
    .hero-content a.btn {
        height: 70px;
    }
}

.hero-content a.btn:hover {
  background-color: var(--text-dark);
  color: var(--text-light);
  transition: all .2s;
  border: 1px solid var(--text-light);
}


.hero-title {
  font-family: var(--font-main);
  font-weight: 700;
  text-transform: uppercase;
}
[dir="rtl"] .hero-title{
  font-family: var(--font-main-ar);
}

.hero-title .line-1 {
  display: block;
  font-size: 55px;
  line-height: 1.1;
}

.hero-title .line-2 {
  display: block;
  font-size: 25px;
  /* font-weight: 400; */
  letter-spacing: 1.25px;
  margin-top: 25px;
  line-height: 35px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}
[dir="rtl"] .hero-title .line-2 {
  font-family: var(--font-main-ar);
}

.scroll-down-indicator {
  position: absolute;
  bottom: 2rem;
  z-index: 3;
  text-align: center;
}

.scroll-down-indicator a {
  display: inline-block;
  line-height: 40px;
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  animation: bounce 2s infinite;
  opacity: 0.8;
}
[dir="rtl"] .scroll-down-indicator a{
  font-size: 16px;
}

/* Bounce animation */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(8px);
  }

  60% {
    transform: translateY(4px);
  }
}

.scroll-down-indicator img {
  width: 30px;
  margin: auto;
}

@media (max-width: 1440px) {
  .header-container {
    padding: 0 40px;
  }

  .main-nav {
    display: none;
  }

  /* Simplified for demo, would be a hamburger menu */
}

@media (max-width: 1200px) {
    .hero-section {
        height: 85vh;
        /* height: 60vh; */
      }
    .hero-title .line-1 {
      font-size: 48px;
    }
    .hero-title .line-2 {
      font-size: 22px;
      line-height: 30px;
    }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
  }

  .header-container {
    padding: 0 20px;
  }

  .header-actions .btn,
  .header-actions .actions-divider,
  .header-actions .lang-switcher {
    display: none;
  }

  .hero-title .line-1 {
    font-size: 48px;
  }

  .hero-title .line-2 {
    font-size: 18px;
  }

  .hero-content {
    gap: 30px;
    padding: 0 20px;
  }
}

@media (max-width: 690px) {
    .hero-content{
      max-width: 100%;
    }
    .hero-title .line-1 {
      font-size: 38px;
    }
    .hero-title .line-1 br, .hero-title .line-2 br {
      display: none;
    }
    .hero-title .line-2 {
        letter-spacing: 0;
        line-height: 27px;
    }
}

@media (max-width: 476px) {
    .hero-title .line-1 {
        font-size: 35px;
    }
    .hero-title .line-2 {
        font-size: 14px;
    }
}


.site_logo img {
    max-width: 130px;
    height: auto;
}

@media (min-width: 480px) {
    .site_logo img {
        max-width: 140px;
    }
}

@media (min-width: 768px) {
    .site_logo img {
        max-width: 150px;
    }
}

@media (min-width: 1024px) {
    .site_logo img {
        max-width: 160px;
    }
}

@media (min-width: 1200px) {
    .site_logo img {
      max-width: 150px;
    }
}

@media (min-width: 1400px) {
    .site_logo img {
        max-width: 180px;
    }
}

.stats-section {
  background-color: var(--bg-light-gray);
  padding: 75px 0;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.stat-item {
  text-align: center;
  position: relative;
  flex: 1;
  padding: 0 20px;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5px;
  height: 140px;
  background-color: rgba(114, 188, 215, 0.5);
}

.stat-number {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 40px;
  color: var(--primary-blue);
  line-height: 1.1;
  margin-bottom: 15px;
}
[dir="rtl"] .stat-number{
  font-family: var(--font-main-ar);
}

.stat-label {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 12px;
  color: var(--text-dark);
  letter-spacing: 0.24px;
}
[dir="rtl"] .stat-label{
  font-family: var(--font-main-ar);
  font-size: 18px;
}

.elan-swiper--grid {
    display: grid;
    grid-template-columns: 1fr;
    background: #0071ce;
    overflow: hidden;
    min-height: auto;
}
@media (min-width: 1200px) {
    .elan-swiper--grid {
        grid-template-columns: minmax(280px, 35%) 1fr;
        min-height: 460px;
    }
}

@media (min-width: 1768px) {
    .elan-swiper--grid {
        grid-template-columns: minmax(200px, 29%) 1fr;
    }
}

@media(max-width:1200px){
  .stat-item:not(:last-child)::after{
    height: 70px;
  }
}


.elan-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.elanSwiper .swiper-slide {
  display: flex;
  width: 100%;
  height: 100%;
}

.elanSwiper .swiper-slide .single-slider-section {
  position: relative;
  overflow: hidden;
  background-size: 100%;
  width: 100%;
  height: 100%;
}

.single-slider-section .bg-image {
  height: 100%;
}

.single-slider-section .container {
  position: relative;
  z-index: 1;
  /* ensure content stays above background */
  height: 100%;
}

/* Zoom only when slide is active */
.swiper-slide-active .bg-image {
  /* transform: scale(1.1); */
  /* zoom background */
}

.elan-left {
  position: relative;
}

.elan-left:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--primary-blue);
  right: 99%;
  top: 0;
}

.elan-left h2 {
    font-size: 20px; /* Default for mobile */
    font-weight: 700;
    margin-bottom: 20px;
    z-index: 10;
}

/* Tablet and up */
@media (min-width: 768px) {
    .elan-left h2 {
        font-size: 22px;
        margin-bottom: 45px;
    }
    [dir="rtl"] .elan-left h2{
      font-size: 30px;
    }
}

/* Desktop and up */
@media (min-width: 1200px) {
    .elan-left h2 {
        font-size: 24px;
        margin-bottom: 45px;
    }
}
.elan-left p {
  line-height: 1.7;
  margin-bottom: 40px;
  font-size: 17px;
  font-weight: 500;
  z-index: 10;
  color: #fff;
}
[dir="rtl"] .elan-left p{
  font-size: 18px;
}

.elan-left .elan-btn {
  background: #231F20;
  padding: 15px;
  border-radius: 30px;
  color: #fff;
  display: inline-block;
  margin-bottom: 40px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  text-align: center;
  max-width: 135px;
  z-index: 10;
}

.elan-pagination-wrap {
  position: absolute;
  bottom: 0px;
  left: 40px;
  z-index: 100;
  width: auto;
}
@media (min-width: 768px) {
    .elan-pagination-wrap {
        left: 40px;
    }
}
@media (min-width: 1200px) {
    .elan-pagination-wrap {
        left: 38%;
    }
}
@media (min-width: 1768px) {
    .elan-pagination-wrap {
        left: 32%;
    }
}

.elan-carousel .swiper-pagination {
  /*position: relative;
  background: rgb(114 188 215 / 50%);
  width: auto;
  padding: 5px;
  border-radius: 65px;
  min-width: 100px;
  text-align: center;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  bottom: inherit !important;*/

  left: 0;
}

.swiper-pagination-bullet {
  background: none !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 4px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-pagination-bullet-active svg circle {
  fill: #fff;
  /* change active color if needed */
}


/* Hide default (regular) bullet always */
.swiper-pagination-bullet .dot-default {
  display: none !important;
}

/* Hide active outline unless this bullet is active */
.swiper-pagination-bullet .dot-active,
.swiper-pagination-bullet-active svg {
  display: none !important;
}

/* Show the outline ONLY for the active bullet */
.swiper-pagination-bullet-active .dot-active {
  display: block !important;
}

.swiper-pagination-bullet-active .dot-active {
  display: block !important;
  border: 1px solid #fff;
  width: 14px;
  height: 14px;
  padding: 2px;
  border-radius: 50%;
}

.elan-carousel .swiper-slide {
  transition: opacity 1s ease, filter 1s ease;
  /* match Swiper speed */
}

.elan-carousel .swiper-slide-prev,
.elan-carousel .swiper-slide-next {
  filter: blur(4px);
  /* blurred neighboring slides */
}


/* Section Styling */

.section--padding-top {
    padding-top: 20px;
}

.section--padding-bottom {
    padding-bottom: 30px;
}

@media (min-width: 480px) {
    /* .section--padding-top {
        padding-top: 50px;
    }
    .section--padding-bottom {
        padding-bottom: 50px;
    } */
}

@media (min-width: 768px) {
    /* .section--padding-top {
        padding-top: 30px;
    }
    .section--padding-bottom {
        padding-bottom: 30px;
    } */
}

@media (min-width: 1024px) {
    /* .section--padding-top {
        padding-top: 65px;
    }
    .section--padding-bottom {
        padding-bottom: 65px;
    } */
}

@media (min-width: 1200px) {
    .section--padding-top {
        padding-top: 25px;
    }
    .section--padding-bottom {
        padding-bottom: 25px;
    }
}

@media (min-width: 1400px) {
    .section--padding-top {
        padding-top: 30px;
    }
    .section--padding-bottom {
        padding-bottom: 30px;
    }
}


@media (min-width: 1600px) {
    .section--padding-top {
        padding-top: 75px;
    }
    .section--padding-bottom {
        padding-bottom: 75px;
    }
}

.xps-ad-solution {
  /* background-color: #f4f5f7; */
}

.section_title {
    text-align: center;
    color: #0075C9;
    font-family: Tahoma, sans-serif;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 1.2;
    padding: 0 15px;
}
[dir="rtl"] .section_title{
  font-family: var(--font-main-ar);
}

@media (min-width: 480px) {
    .section_title {
        font-size: 22px;
    }
}

@media (min-width: 768px) {
    .section_title {
        font-size: 25px;
        margin-bottom: 40px;
    }
}

@media (min-width: 1024px) {
    .section_title {
        font-size: 30px;
    }
}

@media (min-width: 1200px) {
    .section_title {
        font-size: 38px;
        line-height: 50px;
        margin-bottom: 20px;
    }
}

@media (min-width: 1400px) {
    .section_title {
        margin-bottom: 35px;
    }
}

@media (min-width: 1600px) {
    .section_title {
        font-size: 40px;
        line-height: 55px;
        margin-bottom: 50px;
    }
}

/* Grid for the solution cards */

/* Base Style (Mobile First Approach) */
.ad-solutions-grid {
  display: grid;
  grid-template-columns: 1fr; /* Default mobile-il 1 column */
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* 768px-nu mukalil (Tablets) */
@media (min-width: 768px) {
  .ad-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* 1200px-nu mukalil (Small Laptops) */
@media (min-width: 1200px) {
  .ad-solutions-grid {
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
  }
}

/* 1400px-nu mukalil (Desktops) */
@media (min-width: 1400px) {
  .ad-solutions-grid {
    gap: 40px;
  }
}

/* 1600px-nu mukalil (Large Screens) */
@media (min-width: 1600px) {
  .ad-solutions-grid {
    gap: 60px; 
  }
}

/* Individual Card Styling */
.ad-solution-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: transform 0.3s ease-in-out;
}

.ad-solution-card:hover {
  /* transform: scale(1.04); */
  cursor: pointer;
}

.ad-solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark overlay for text readability */
.ad-solutions-grid .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: end;
  padding-bottom: 1rem;
}

.ad-solutions-grid .card-title {
    color: white;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    margin: 0;
    padding: 0 15px;
}

@media (min-width: 480px) {
    .ad-solutions-grid .card-title {
        font-size: 1.7rem;
    }
}

@media (min-width: 768px) {
    .ad-solutions-grid .card-title {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
    }
}

@media (min-width: 1024px) {
    .ad-solutions-grid .card-title {
        font-size: 1.7rem;
        letter-spacing: 2px;
    }
}

@media (min-width: 1200px) {
    .ad-solutions-grid .card-title {
        font-size: 1.9rem;
        letter-spacing: 2.5px;
        padding: 0 20px;
    }
}

@media (min-width: 1400px) {
    .ad-solutions-grid .card-title {
        font-size: 2rem;
        letter-spacing: 3px;
    }
}

@media (min-width: 1600px) {
    .ad-solutions-grid .card-title {
        font-size: 2.4rem;
        letter-spacing: 3px;
    }
}


.ad-solutions-grid .ad-hover-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255 255 255 / 90%);
  padding: 2rem;
  /* display: flex; */
  /* flex-direction: column; */
  /* justify-content: center; */
  transform: translateY(125%) scale(1.5);
  transition: all .4s ease;
  overflow-y: auto;
}

.ad-solutions-grid .ad-solution-card:hover .ad-hover-content {
  transform: translateY(0) scale(1);
  transition: all .4s ease;
}

.ad-solutions-grid .ad-hover-content h4 {
  color: #0075C9;
  text-shadow: 0 0 13px rgba(39, 77, 120, 0.25);
  font-family: Tahoma;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
}
[dir="rtl"] .ad-solutions-grid .ad-hover-content h4{
  font-family: var(--font-main-ar);
}

/* Small Tablets / Large Phones (481px - 767px) */
@media (min-width: 481px) {
    .ad-solutions-grid .ad-hover-content h4 {
        font-size: 20px;
    }
}

/* Tablets (768px - 1024px) */
@media (min-width: 768px) {
    .ad-solutions-grid .ad-hover-content h4 {
        font-size: 22px;
    }
}

/* Small Laptops (1025px - 1200px) */
@media (min-width: 1025px) {
    .ad-solutions-grid .ad-hover-content h4 {
        font-size: 24px;
    }
}

/* Standard Desktops (1201px - 1400px) */
@media (min-width: 1201px) {
    .ad-solutions-grid .ad-hover-content h4 {
        font-size: 25px; /* Slightly reduced from your original 27px */
    }
}

/* Large Screens (1401px and up) */
@media (min-width: 1401px) {
    .ad-solutions-grid .ad-hover-content h4 {
        font-size: 26px; 
        max-width: 90%; /* Prevents text from hitting the edges of the card */
    }
}

@media(max-width: 1400px){
  .ad-solutions-grid .ad-hover-content{
      display: inherit;
    }
}

@media(max-width: 1200px){
  .ad-solutions-grid{
      gap: 30px;
    }
    .ad-solution-card a.btn{
      padding: 10px 15px;
    }
}

.ad-solutions-grid .ad-hover-content .ad-grid-content {
  margin-top: 15px;
  color: #231F20;
  font-family: Tahoma;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}
[dir="rtl"] .ad-solutions-grid .ad-hover-content .ad-grid-content{
  font-family: var(--font-main-ar);
  font-size: 18px;
}

.ad-solutions-grid .ad-hover-content .ad-grid-content .ad-grid-content-col{
  /* Line Clamp Logic */
  display: -webkit-box;
  -webkit-line-clamp: 7; /* Ethra lines venam ennu ivide fix cheyyam */
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis;
}

.ad-solution-card a.btn {
  height: 50px;
  padding: 15px 25px;
  background: #231F20;
  color: #fff;
  /* position: absolute; */
  /* bottom: 20px; */
  /* left: 50%; */
  /* transform: translateX(-50%); */
  font-size: 11px;
  text-transform: uppercase;
  z-index: 10;
  margin: 30px auto 0;
  display: block;
  width: 150px;
  /* visibility: hidden; */
  transition: all .4s;
}
[dir="rtl"] .ad-solution-card a.btn{
  font-size: 15px;
}

.ad-solution-card a.btn:hover {
  visibility: visible;
  background: var(--primary-blue);
  transition: all 1.6s;
}

/* Responsive Design */

/* Tablet: 2 columns */
@media (max-width: 992px) {
  .card-title {
    font-size: 2rem;
  }
}

/* Mobile: 1 column */
@media (max-width: 768px) {
  .xps-ad-solution {
    padding: 40px 15px;
  }

  .section_title {
    /* font-size: 2rem; */
  }
}

/* Mobile: 1 column */
@media (max-width: 576px) {
  .ad-solutions-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}



/* Our Partners */
section.elan-partners {
  margin-top: clamp(30px, 6vw, 75px);
}

/* ===== Elan Partners Carousel ===== */
section.elan-partners {
  padding: 60px 0;
  position: relative;
  background-color: #fff;
  /* optional */
}

section.elan-partners .section_title {
  margin-bottom: 55px;
}

section.elan-partners .swiper-partners-carousel_u9k3 {}

/* ---- Partner Card ---- */
section.elan-partners .partner-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.4s ease;
    width: 100%;
    height: 140px;
}

@media (min-width: 480px) {
    section.elan-partners .partner-card {
        height: 180px;
    }
}

@media (min-width: 768px) {
    section.elan-partners .partner-card {
        height: 240px;
    }
}

@media (min-width: 1200px) {
    section.elan-partners .partner-card {
        height: 258px;
    }
}

section.elan-partners img {
  width: 165px;
  height: 90px;
  object-fit: contain;
  display: block;
  margin: auto;
  transition: transform 0.4s ease;
}

/* ---- Overlay ---- */
section.elan-partners .partner-hover-box {
  /* position: absolute;
  inset: 0;
  border-radius: 14px;
  background: #fff; */
  /* border: 2px solid var(--primary-blue); */
  /* display: flex; */
  /* flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0; */
  /* text-align: center; */
  /* padding: 1rem;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d5d7d8 transparent; */
}

/* Webkit (Chrome, Safari, Edge) - Ultra Thin Customization */
section.elan-partners .partner-hover-box::-webkit-scrollbar {
  width: 2px; /* Reduced from 4px/5px to 2px for a needle look */
}

section.elan-partners .partner-hover-box::-webkit-scrollbar-track {
  background: transparent;
  margin: 15px 0; 
}

section.elan-partners .partner-hover-box::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 10px;
}

section.elan-partners .partner-hover-box::-webkit-scrollbar-thumb:hover {
  background: #0056a3;
}

section.elan-partners .partner-hover-box h4 {
  font-size: 18px;
  margin-bottom: 14px;
  font-weight: 600;
  text-align: center;
  color: var(--primary-blue);
}

section.elan-partners .partner-hover-box p {
  font-size: 14px;
  line-height: 1.5;
  text-align: justify;
}

section.elan-partners .partner-hover-box::before{
    content: '';
    position: absolute;
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: none;
}

@media(max-width: 1200px){
  section.elan-partners .partner-hover-box p{
    text-align: left;
  }
  
}

/* ---- Hover Effects ---- */
section.elan-partners .partner-card:hover img {}

section.elan-partners .partner-card:hover .partner-hover-box {
  opacity: 1;
}

/* ---- Navigation Buttons ---- */
section.elan-partners .next-btn-partners_j2,
section.elan-partners .prev-btn-partners_j2 {
  color: #000;
  transition: color 0.3s ease;
}

section.elan-partners .next-btn-partners_j2:hover,
section.elan-partners .prev-btn-partners_j2:hover {
  color: #b30000;
  /* accent color */
}

/* 1. Ensure the swiper container can hold absolute children */
section.elan-partners .swiper-partners-carousel_u9k3 {
    position: relative;
    padding: 0 50px; /* Adds breathing room so arrows don't cover logos */
}

/* 2. Base styles for both arrows */
section.elan-partners .next-btn-partners_j2,
section.elan-partners .prev-btn-partners_j2 {
    position: absolute;
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Offset by half its own height for perfect centering */
    z-index: 10;
    cursor: pointer;
    font-size: 24px;
    color: #000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

/* 3. Specific horizontal placement */
section.elan-partners .prev-btn-partners_j2 {
    left: 10px;
}

section.elan-partners .next-btn-partners_j2 {
    right: 10px;
}

/* 4. Hover states */
section.elan-partners .next-btn-partners_j2:hover,
section.elan-partners .prev-btn-partners_j2:hover {
    color: #0075C9;
    transform: translateY(-50%) scale(1.2); /* Keeps vertical alignment while scaling */
}

/* 5. Handle Swiper's disabled state (start/end of loop) */
.swiper-button-disabled {
    opacity: 0.2;
    pointer-events: none;
}


/* ---- Responsive Swiper Layout ---- */
@media (max-width: 1200px) {
  section.elan-partners .swiper-partners-carousel_u9k3 .swiper-slide {
    width: calc(100% / 4);
  }
}

@media (max-width: 992px) {
  section.elan-partners .swiper-partners-carousel_u9k3 .swiper-slide {
    width: calc(100% / 3);
  }
}

@media (max-width: 768px) {
  section.elan-partners .swiper-partners-carousel_u9k3 .swiper-slide {
    width: calc(100% / 2);
  }
}

@media (max-width: 480px) {
  section.elan-partners .swiper-partners-carousel_u9k3 .swiper-slide {
    width: 100%;
  }
}

/* ==========================================================================
   1. EXPLORE MORE BUTTON & HOVER (IN THE SLIDER)
   ========================================================================== */
/* #elan-partners .partner-card {
    position: relative;
    overflow: hidden;
}

#elan-partners .partner-hover-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( 135deg, rgba(0, 117, 201, 0.95) 0%, rgba(0, 85, 145, 0.98) 100% );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    border-radius: 14px;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

#elan-partners .partner-card:hover .partner-hover-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#elan-partners .view-partner-btn {
    background: transparent;
    color: #ffffff !important;
    border: 2px solid #ffffff;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px; 
    cursor: pointer;
    position: relative;
    overflow: hidden; 
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

#elan-partners .view-partner-btn::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: none;
    z-index: -1;
}

#elan-partners .view-partner-btn:hover {
    background: #ffffff;
    color: #0075c9 !important;
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#elan-partners .view-partner-btn:hover::before {
    left: 100%;
    transition: all 0.6s ease;
} */


/* --- CONTAINER & CARD BASE --- */
#elan-partners .partner-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

#elan-partners .partner-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 50px rgba(0, 117, 201, 0.15);
}

/* --- THE HOVER OVERLAY (Premium Glassmorphism) --- */
#elan-partners .partner-hover-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Elegant soft white to deep blue gradient */
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.85) 0%, 
        rgba(0, 117, 201, 0.1) 100%
    );
    
    /* High-end blur effect */
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    opacity: 0;
    visibility: hidden;
    border-radius: 24px;
    
    /* Smooth "Pop & Scale" entrance */
    transform: scale(0.9) translateY(10px);
    transition: 
        opacity 0.4s ease,
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        visibility 0.4s;
    
    /* Inner "shimmer" border */
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.4);
    z-index: 10;
}

#elan-partners .partner-card:hover .partner-hover-box {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

/* --- THE BUTTON (Interactive & Modern) --- */
#elan-partners .view-partner-btn {
    position: relative;
    background: #0075c9;
    color: #ffffff !important;
    border: none;
    padding: 13px 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    border-radius: 100px; /* Pill shape */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 20px rgba(0, 117, 201, 0.3);
}
[dir="rtl"] #elan-partners .view-partner-btn{
  font-size: 15px;
}

/* Shine effect on button */
#elan-partners .view-partner-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(35deg);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

#elan-partners .view-partner-btn:hover {
    background: #005591;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 85, 145, 0.4);
}

#elan-partners .view-partner-btn:hover::after {
    left: 130%;
}

/* --- OPTIONAL: Subtle Zoom on the Partner Logo/Image --- */
#elan-partners .partner-card img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#elan-partners .partner-card:hover img {
    transform: scale(1.08) blur(2px);
}





/* ==========================================================================
   2. THE POPUP BOX (MODAL) DESIGN
   ========================================================================== */
#elanPartnerModal.elan-custom-modal {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999 !important; /* Force to the very front */
    display: none; /* JS toggles to flex */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#elanPartnerModal.is-visible {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

/* Glassmorphism Background */
#elanPartnerModal .elan-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

#elanPartnerModal.is-visible .elan-modal-overlay {
    opacity: 1;
}

/* The White Content Box */
#elanPartnerModal .elan-modal-content {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    padding: 60px 40px 40px; /* Space for the floating logo */
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    text-align: center;
    transform: translateY(50px) scale(0.9); /* Start lower and slightly smaller */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1.2);
}

#elanPartnerModal.is-visible .elan-modal-content {
    transform: translateY(0) scale(1);
}

/* Floating Logo Wrapper */
#elanPartnerModal .logo-wrapper {
    background: #ffffff;
    width: 130px; /* Slightly larger for better impact */
    height: 130px;
    margin: -135px auto 25px; 
    
    /* 1. Squircle Shape: More organic than a simple rounded square */
    border-radius: 35px; 
    
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
    /* 2. Layered Shadows: One for depth, one for the "glow" on the modal */
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12), 
        0 0 0 8px rgba(255, 255, 255, 0.8); /* Thick white outer ring */
    
    /* 3. Subtle internal border */
    border: 1px solid rgba(0, 117, 201, 0.1); 
    
    /* 4. Smooth Arrival Animation */
    transform: translateY(20px) scale(0.8);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.15s;
    
    z-index: 20;
}

/* Triggered when modal is visible */
#elanPartnerModal.is-visible .logo-wrapper {
    transform: translateY(0) scale(1);
}

/* 5. Inner Glow Effect */
#elanPartnerModal .logo-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}


#elanPartnerModal #modal-img {
    max-height: 80px;
    max-width: 85%;
    object-fit: contain;
}

/* Typography */
#elanPartnerModal #modal-title {
    color: #0075c9;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

#elanPartnerModal .elan-modal-line {
    width: 60px;
    height: 4px;
    background: #0075c9;
    margin: 0 auto 20px;
    border-radius: 10px;
}

#elanPartnerModal #modal-desc {
    color: #475569;
    line-height: 1.8;
    font-size: 16px;
}

/* Close "X" Button */
#elanPartnerModal .elan-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    color: #cbd5e1;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

#elanPartnerModal .elan-modal-close:hover {
    color: #0075c9;
}

/* Close button rotation on hover */
#elanPartnerModal .elan-modal-close {
    transition: transform 0.3s ease, color 0.3s ease !important;
}

#elanPartnerModal .elan-modal-close:hover {
    transform: rotate(90deg);
    color: #0075c9;
}

#elanPartnerModal.is-visible .logo-wrapper {
    transform: translateY(0);
}

.bln_prt_link{
    background-color: var(--text-dark);
    color: #fff;
    padding: 12px 25px;
    border-radius: 65px;
    font-size: 75%;
    text-transform: uppercase;
    font-weight: 700;
}

.bln_prt_link:hover{
  color: #fff;
  background-color: #0075c9;
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    #elanPartnerModal .elan-modal-content {
        padding: 30px 20px 20px;
        max-width: 90%;
        margin-top: 40px;
    }

    #elanPartnerModal .logo-wrapper {
        width: 80px;
        height: 80px;
        margin: -70px auto 10px;
        border-radius: 20px;
    }

    #elanPartnerModal #modal-img {
        max-height: 45px;
    }

    #elanPartnerModal #modal-title {
        font-size: 20px;
        margin-bottom: 5px;
    }

    #elanPartnerModal .elan-modal-line {
        margin-bottom: 10px;
    }

    #elanPartnerModal #modal-desc {
        font-size: 14px;
        line-height: 1.4;
    }

    #elanPartnerModal {
        align-items: flex-start;
        overflow-y: auto;
        padding-top: 80px;
    }
}


/* Our Latest News */
section.latest-news {
  background: rgba(0, 0, 0, 0.02);
  padding-bottom: 140px;
}

section.latest-news .section_title {
  margin-top: 25px;
  margin-bottom: 100px;
}


section.latest-news .news-section {}

section.latest-news .news-grid {
  margin: 0 auto;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
  section.latest-news .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  section.latest-news .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  section.latest-news .news-grid {
    grid-template-columns: 1fr;
  }
}

section.latest-news .news-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
}

section.latest-news .news-card:hover {
  border-color: var(--primary-blue);
  transition: all .2s;
}

/* IMAGE PART */
section.latest-news .news-img {
    position: relative;
    width: 100%;
    height: 250px;
    transition: all .6s;
}

@media (min-width: 768px) {
    section.latest-news .news-img {
        height: 250px;
    }
}

@media (min-width: 1200px) {
    section.latest-news .news-img {
        height: 250px;
    }
}

section.latest-news .news-img img {
  transition: all .4s;
}

section.latest-news .news-card:hover .news-img img {
  transform: scale(1.04);
  transition: all .6s;
}

section.latest-news .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

section.latest-news .news-date {
  position: absolute;
  bottom: -10px;
  left: 0;
  background: var(--primary-blue);
  color: #fff;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 500;
}

/* CONTENT */
section.latest-news .news-content {
  padding: 25px;
  flex: 1;
}

section.latest-news .news-content h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #1a1a1a;
    height: 80px;
    transition: all .4s;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    section.latest-news .news-content h3 {
        font-size: 17px;
        height: 70px;
    }
}

@media (min-width: 1301px) {
    section.latest-news .news-content h3 {
        font-size: 16px;
        height: 80px;
        -webkit-line-clamp: unset; 
    }
}

@media (max-width: 1300px) {
    section.latest-news .news-content h3 {
        -webkit-line-clamp: 2;
        height: 43px; 
    }
}

section.latest-news .news-card:hover .news-content h3 {
  color: var(--primary-blue);
  text-decoration: underline;
  transition: all .4s;
}

section.latest-news .news-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}

section.latest-news .readmore {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: underline !important;
  display: block;
  text-align: center;
  width: auto;
}

/* RESPONSIVE */
@media(max-width: 1200px) {
  section.latest-news .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width: 900px) {
  section.latest-news .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 600px) {
  section.latest-news .news-grid {
    grid-template-columns: 1fr;
  }
}




/************************************************  Site Footer  ********************************************************/


/* Site Footer */
.site-footer {
  font-family: inherit;
}

.site-footer .site-footer-inner {
  background: #0075C9;
  margin: 0 auto;
  padding: 60px 0;
  color: #fff;
}

/* TOP SECTION LAYOUT */
.site-footer .site-footer-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Mobile: 1 column */
    gap: 30px;
}

/* Tablet: 3 columns */
@media (min-width: 768px) {
    .site-footer .site-footer-top {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .site-footer .site-footer-top {
        grid-template-columns: repeat(5, 1fr);
        /* gap: 30px; */
    }
}

@media (min-width: 1200px) {
    .site-footer .site-footer-top {
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
    }
    .site-footer-col{
      padding-left: 15px;
    }
}

@media (min-width: 1600px) {
    .site-footer .site-footer-top {
        grid-template-columns: repeat(5, 1fr);
        gap: 60px;
        /* max-width: 1300px; */
        margin: 0 auto;
    }
}



/* .site-footer-col {
  border-left: 2px solid #fff;
  padding-left: 20px;
} */

.site-footer-col {
  position: relative; /* Required to anchor the line */
  padding-left: 20px;  /* Space for the line + gap */
  border-left: none;   /* Remove the old full-height border */
}

.site-footer-col::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;            
  /* transform: translateY(-50%);  */
  
  /* --- Adjust these to your liking --- */
  width: 2px;          /* Thickness */
  height: 178px;        /* FIXED HEIGHT */
  background-color: #fff; 
  /* ----------------------------------- */
  
  opacity: 0.8;        /* Optional: Makes it look more professional */
}

/* BRAND COLUMN */
.site-footer .site-footer-logo {
  width: 176px;
  height: 55px;
  margin-bottom: 40px;
}

.site-footer .site-footer-address {
  margin: 60px 0 25px;
  line-height: 1.6;
  font-size: 14px;
  color: #fff;
}
[dir="rtl"] .site-footer .site-footer-address{
  font-size: 16px;
}

.site-footer-social {
  display: flex;
  align-items: center;
}

.site-footer .site-footer-social img {
  width: 20px;
  height: 20px;
  margin-right: 14px;
}

/* DIVIDERS */
.site-footer .site-footer-divider {
  width: 2px;
  height: 180px;
  background: rgba(255, 255, 255, 255);
  margin-top: 10px;
}

.site-footer-col:first-child {
  border: none;
  padding: 0;
}

.site-footer-col:first-child::before{
  display: none;
}

/* COLUMNS */
.site-footer .site-footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 700;
}
[dir="rtl"] .site-footer .site-footer-col h4{
  font-size: 22px;
}

.site-footer .site-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .site-footer-col li {}

.site-footer .site-footer-col li.brochure-link {
  margin-top: 45px;
}

.site-footer .site-footer-col li.brochure-link a {
  text-underline-offset: 2px;
  font-size: 16px;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
}

.site-footer .site-footer-col a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
[dir="rtl"] .site-footer .site-footer-col a{
  font-size: 18px;
}

.site-footer .site-footer-col a:hover {
  text-decoration: underline !important;
}

/* Download Brochure */
.site-footer .site-footer-download {
  text-decoration: underline;
  font-weight: 700;
  text-decoration-thickness: 2px;
}

/* BOTTOM BAR */
.site-footer .site-footer-bottom {
  background-color: #fff;
  padding: 18px 0;
}

.site-footer .site-footer-bottom-link {
  display: flex;
  gap: 16px;
  font-size: 12px;
  line-height: 25px;
}

.site-footer .site-footer-bottom p {
  color: #274D78;
  font-size: 12px;
  margin-bottom: 0;
}

.site-footer .site-footer-bottom a {
  color: #274D78;
  text-decoration: none;
  font-size: 12px;
}

.site-footer .site-footer-bottom a:hover {
  text-decoration: underline;
}

@media(max-width: 1300px){
    .site-footer .site-footer-logo {
      width: 130px;
      height: auto;
    }
    .site-footer .site-footer-address,.site-footer .site-footer-col a,.elan-newsletter-footer .enf-desc{
      font-size: 12px;
    }
}

@media(max-width: 480px){
  .site-footer .site-footer-bottom{
      padding: 8px 0;
  }
  .site-footer .site-footer-bottom-link{
    display: block;
    text-align: center;
  }
}

/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */







/************************************************  Who we Are  ********************************************************/
.xps__page_banner {
  margin-top: 44px;
  height: 475px;
  overflow: hidden;
}

.xps__page_banner img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.breadcrumbs {
  margin: 1rem 0;
  text-align: center;
}

.breadcrumbs span,
.breadcrumbs span a {
  font-size: 13px;
}

.breadcrumbs span a {
  color: var(--primary-blue);
}

[dir="rtl"] .breadcrumbs span,
[dir="rtl"] .breadcrumbs span a,
[dir="rtl"] .breadcrumbs span.sep,
[dir="rtl"] .breadcrumbs span.current-item{
  font-size: 18px;
}

.breadcrumbs span.sep,
.breadcrumbs span.current-item {
  color: #231F20;
  font-family: Tahoma;
  font-size: 13px;
}
[dir="rtl"] .breadcrumbs span.sep,
[dir="rtl"] .breadcrumbs span.current-item {
  font-family: var(--font-main-ar);
}
[dir="rtl"] .breadcrumbs span.sep{
  transform: rotate(180deg);
  display: inline-block;
}


.breadcrumbs span.current-item {}

p {
  color: #231F20;
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
  margin-bottom: 15px;
}

@media screen and (max-width: 576px){
    .xps__page_banner{
      margin-top: 105px;
      height: auto;
    }
    .xps__page_banner img{
      object-fit: contain;
    }
}

/* Tablets (768px+) */
@media screen and (min-width: 768px) {
    p {
        font-size: 15px;
        margin-bottom: 25px;
    }
}

/* Laptops & Desktops (1200px+) */
@media screen and (min-width: 1200px) {
    p {
        font-size: 16px;
        line-height: 25px; 
        margin-bottom: 30px;
    }
}

p:last-child {
  margin-bottom: 0;
}

.who-we-are__content .row {
  --bs-gutter-x: 7.5rem;
}

.who-we-are__column {
  padding-left: 2rem;

}

.who-we-are__column {
  padding-left: 2rem;
  border-left: 1px solid rgb(114 188 215 / 50%);
}

.section-video {
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.section-video__wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-video__media {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Play Button Styling */
.section-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.section-video__play:hover {
  opacity: 0.9;
}

.section-video__play svg {
  pointer-events: none;
}

section.section.about-group {
  position: relative;
  z-index: 10;
}

.about-group__intro {
  max-width: 815px;
  margin: auto;
  text-align: center;
}

.about-group__logo {
  text-align: center;
  margin-bottom: 4rem;
}

.about-group__logo img {
  display: inline-block;
  margin: auto;
}

a.about-group__website-link {
  color: #231F20;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.24px;
  text-decoration-line: underline;
  display: inline-block;
}

p.about-group__description {
  margin-top: 1.5rem;
  text-align: left;
  font-size: 18px
}

.about-group__divisions {
  margin-top: 5rem;
  border-bottom: 1px solid rgb(114 188 215 / 50%);
}

.about-group__divisions-header h3 {
  position: relative;
  text-align: center;
  color: #231F20;
  font-size: 24px;
}

.about-group__divisions-header h3::before {
  content: '';
  position: absolute;
  left: 0;
  width: calc(40% - 50px);
  top: 18px;
  height: 1px;
  background: rgb(114 188 215 / 50%);
}

.about-group__divisions-header h3::after {
  content: '';
  position: absolute;
  right: 0;
  width: calc(40% - 50px);
  top: 18px;
  height: 1px;
  background: rgb(114 188 215 / 50%);
}

.about-group__division-hover {
  display: none;
}

.about-group__division-list {
  margin: auto;
  padding: 4rem 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1300px;
  /* space between items */
}

/* Individual division item */
.about-group__division-item {
  position: relative;
  background: #fff;
  /* optional card background */
  border-radius: 8px;
  /* optional rounded corners */
  /* text-align: center; */
  z-index: 9;
}

.about-group__division-item:hover {
  z-index: 10;
}

.about-group__division-item img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

/* Hover overlay */
.about-group__division-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scaleX(0);
    opacity: 0;
    transition: all .4s ease;
    background: #FFF;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.20);
    display: flex;
    /* Default for mobile: stack elements vertically */
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-radius: 15px;
    visibility: hidden;
    z-index: 25;
    height: auto;
    width: 90vw;
    padding: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .about-group__division-hover {
        /* Tablet: switch to side-by-side layout */
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        width: 450px;
        gap: 20px;
    }
}

@media (min-width: 1200px) {
    .about-group__division-hover {
        width: 600px;
        padding: 37px 47px;
    }
}

@media (min-width: 1400px) {
    .about-group__division-hover {
        width: 700px;
    }
}

@media (min-width: 480px) {
    .about-group__division-hover {
        width: 300px;
        padding: 25px;
    }
}

@media (min-width: 768px) {
    .about-group__division-hover {
        width: 400px;
        padding: 30px;
    }
}

@media (min-width: 1024px) {
    .about-group__division-hover {
        width: 500px;
    }
}

@media (min-width: 1200px) {
    .about-group__division-hover {
        width: 600px;
        padding: 37px 47px;
    }
}

@media (min-width: 1400px) {
    .about-group__division-hover {
        /* If 230% was intended for a very large design, cap it here */
        width: 700px; 
    }
}

.about-group__division-item:hover .about-group__division-hover {
  transition: all .4s ease;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scaleX(1);
}

.about-group__division-thumb {
  min-width: 120px;
}

.about-group__division-thumb img {
  aspect-ratio: 109/120;
  width: 109px;
  height: 120px;
}

.contact-us__content.row {
  --bs-gutter-x: 7.5rem;
}

.contact-us__item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 2rem;
  font-size: 18px;
}

@media(max-width: 992px){
    .contact-us__details {
      margin-top: 2rem;
  }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
  
}


/* Responsive Breakpoints */

/* Medium screens: 2 items per row */
@media (max-width: 991px) {
  .about-group__division-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Small screens: 1 item per row */
@media (max-width: 575px) {
  .about-group__division-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}


/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */



/************************************************  Management Team  ********************************************************/
.management-container{
  max-width: 1400px;
}

.management-team {
  text-align: center;
}

.management-team__grid {
  display: grid;
  /* Force 3 columns */
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  margin-top: 2.5rem;
  /* Centers the 3 columns if the container is wider than 3 x 250px */
  justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .management-team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .management-team__grid {
    grid-template-columns: 1fr;
  }
}

.management-team__member {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 8px 0 rgb(0 0 0 / 20%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.management-team__member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.management-team__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.management-team__image {
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 6.5;
}

.management-team__member:hover .management-team__image img {
  transform: scale(1.06);
  object-position: top;
}

.member--info {
  padding: 1rem;
  text-align: center;
  
}

@media(min-width:1300px){
  .member--info{
    min-height: 150px;
  }
}

.management-team__name {
  font-size: 1.125rem;
  font-weight: 600;
}

.management-team__designation {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.mgmt-modal { display: none; position: fixed; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.4s ease; overflow-y: scroll;}
    .mgmt-modal-content { background: #fff; margin: 5% auto; padding: 50px; width: 90%; max-width: 950px; position: relative; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); transform: translateY(30px); transition: transform 0.4s ease; }
    .mgmt-modal.active { display: flex; align-items: center; justify-content: center; opacity: 1; }
    .mgmt-modal.active .mgmt-modal-content { transform: translateY(0); margin: auto; }
    .mgmt-modal-close { position: absolute; top: 20px; right: 25px; font-size: 35px; line-height: 1; cursor: pointer; color: #231F20; transition: all 0.3s ease; z-index: 10; }
    .mgmt-modal-close:hover { color: var(--primary-blue); transform: rotate(90deg); }
    .mgmt-modal-name { font-size: 32px; font-weight: 700; color: #231F20; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
    .mgmt-modal-pos { font-size: 18px; color: var(--primary-blue); font-weight: 600; margin-bottom: 25px; display: block; border-bottom: 1px solid #eee; padding-bottom: 15px; }
    .mgmt-modal-bio { font-size: 16px; line-height: 1.8; color: #555; max-height: 400px; overflow-y: auto; padding-right: 15px; }
    .mgmt-modal-bio::-webkit-scrollbar { width: 4px; }
    .mgmt-modal-bio::-webkit-scrollbar-thumb { background: var(--primary-blue); border-radius: 10px; }
    .mgmt-modal-content img { border-radius: 2px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); width: 100%; height: auto; object-fit: cover; aspect-ratio: 3/4.5; }
    @media (max-width: 768px) {
        .mgmt-modal-content { padding: 30px 20px; margin: 10% 5%; margin-top: 85px !important; }
        .mgmt-modal-name { font-size: 24px; margin-top: 20px; }
        .mgmt-modal-bio { max-height: 300px; }
        .mgmt-modal-close {
          background: #fff;
          width: 30px;
          height: 30px;
          text-align: center;
          font-size: 23px;
          font-weight: 600;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          border: 1px solid var(--primary-blue);
          right: 12px;
      }
    }


/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */



/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

.text-inherit {
  text-align: inherit !important;
}

/************************************************  Ad Solutions  ********************************************************/
.axis-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Tablets */
@media screen and (min-width: 768px) {
  .axis-container {
    max-width: 720px;
  }
}

/* Laptops */
@media screen and (min-width: 1200px) {
  .axis-container {
    max-width: 1140px;
  }
}

/* Large Desktops (1400px+) */
@media screen and (min-width: 1400px) {
  .axis-container {
    max-width: 1320px;
  }
}

.axis-container-2 {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .axis-container {
    max-width: 960px;
  }
}

/* Small screens (mobiles) */
@media (max-width: 768px) {
  .axis-container {
    max-width: 100%;
    padding: 0 15px;
  }
}


.media-showcase {
  /* padding: 80px 0; */
}

.media-showcase__title {
    text-align: center;
    color: #0071ce;
    font-weight: 700;
    font-size: 24px;      /* Mobile Default */
    margin-bottom: 25px; /* Mobile Default */
}

@media (min-width: 768px) {
    .media-showcase__title {
        font-size: 28px;
        margin-bottom: 25px;
    }
}

@media (min-width: 1200px) {
    .media-showcase__title {
        font-size: 34px;
        margin-bottom: 30px;
    }
}

@media (min-width: 1600px) {
    .media-showcase__title {
        font-size: 34px;
        margin-bottom: 50px;
    }
}

.media-showcase__desc {
    color: #333;
    /* line-height: 1.6; */
    margin: 0 auto 30px; 
    /* padding: 0 15px;      */
}

@media(max-width: 576px){
  .media-showcase__desc{
    padding: 0 35px;
  }
}

@media (min-width: 768px) {
    .media-showcase__desc {
        margin-bottom: 45px;
        /* max-width: 80%; */
    }
}

@media (min-width: 1200px) {
    .media-showcase__desc {
        margin-bottom: 60px;
        /* max-width: 800px; */
    }
}

.media-showcase__tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 65px;
  flex-wrap: wrap;
  border-bottom: none;
  align-items: start;
}

.location--tabs.media-showcase__tabs {
    align-items: center !important;
}


.media-showcase__tabs.mb--extra {
    margin-bottom: 30px; /* Mobile */
}

@media (min-width: 768px) {
    .media-showcase__tabs.mb--extra {
        margin-bottom: 30px; /* Tablet */
    }
}

@media (min-width: 1200px) {
    .media-showcase__tabs.mb--extra {
        margin-bottom: 75px; /* Desktop */
    }
    .media-showcase__tab {
      flex: 0 0 21.333%; 
    }
}

.media-showcase__tab {
  position: relative;
  color: #231F20;
  text-align: center;
  font-family: Tahoma;
  /* height: 50px; */
  font-size: 13px;
  font-weight: 700;
  /* line-height: 40px; */
  padding: 15px 10px;
  background: none;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  border-radius: 65px;
  border: 1px solid rgba(35, 31, 32, 0.10);
  /* flex: 0 0 30.333%; */
  min-width: 120px;
}
[dir="rtl"] .media-showcase__tab {
  font-family: var(--font-main-ar);
}

@media (max-width: 1560px) {
    .media-showcase__tab {
        font-size: 12px;
    }
    .media-showcase__tab {
        font-size: 10px;
    }
}

@media (max-width: 1400px) {
    .media-showcase__tabs {
        gap: 1rem;
        padding: 0;
    }
    .media-showcase__tab {
        min-width: 150px;
    }
}

@media (max-width: 1028px) {
    .media-showcase__tabs{
      margin-bottom: 30px;
    }
}

@media (max-width: 850px) {
    .media-showcase__tabs {
        gap: 10px; 
        margin-bottom: 25px;
    }
    
    .media-showcase__tab {
        /* flex: 1 1 calc(50% - 10px); */
        text-align: center;
    }
}

@media (max-width: 576px) {
    .media-showcase__tab {
        flex: 0 0 calc(75%);
        padding: 10px;
    }
}

/* Mobile (Default: 1 per row) */
.media-showcase__tab:nth-last-child(4):first-child, 
.media-showcase__tab:nth-last-child(4):first-child ~ .media-showcase__tab,
.media-showcase__tab:nth-last-child(5):first-child, 
.media-showcase__tab:nth-last-child(5):first-child ~ .media-showcase__tab {
    /* flex: 0 0 100%; */
}

/* Medium Screens (Tablets: 2 per row) */
@media (min-width: 768px) {
    .media-showcase__tab:nth-last-child(4):first-child, 
    .media-showcase__tab:nth-last-child(4):first-child ~ .media-showcase__tab,
    .media-showcase__tab:nth-last-child(5):first-child, 
    .media-showcase__tab:nth-last-child(5):first-child ~ .media-showcase__tab {
        /* flex: 0 0 48%;  */
    }
}

/* Big Screens (Desktop: Row distribution) */
@media (min-width: 1200px) {
    /* If exactly 4 items */
    .media-showcase__tab:nth-last-child(4):first-child, 
    .media-showcase__tab:nth-last-child(4):first-child ~ .media-showcase__tab {
        flex: 0 0 21.333%; 
    }

    /* If exactly 5 items - Use 18% to fit all 5 in one row with gaps */
    .media-showcase__tab:nth-last-child(5):first-child, 
    .media-showcase__tab:nth-last-child(5):first-child ~ .media-showcase__tab {
        flex: 0 0 18%; 
    }
}

/* Show asset count below the active button */
.media-showcase__tab.data-count.active::after {
  content: "Total assets: ";
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  color: #222;
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-transform: capitalize;
  display: none;
}

.media-showcase__tab.data-count.active::before {
  content: attr(data-count);
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(calc(-50% + 75px));
  /* adjust to position after "Total assets:" */
  font-size: 24px;
  font-weight: bold;
  color: #222;
  white-space: nowrap;
  display: none;
}

/* Optional: spacing for where the label appears */
.media-showcase__tabs.data-count::after {
  content: "";
  display: block;
  height: 40px;
}

.media-showcase__tab.active {
  background: #222;
  color: #fff;
}

.media-showcase__grid {
    display: grid;
    grid-template-columns: 1fr;
    background: #0071ce;
    overflow: hidden;
    min-height: auto;
}

@media (min-width: 1200px) {
    .media-showcase__grid {
        /* grid-template-columns: 350px 1fr; */
        grid-template-columns: minmax(200px, 35%) 1fr;
        min-height: 460px;
    }
}

/* @media (min-width: 1768px) {
    .media-showcase__grid {
        grid-template-columns: minmax(200px, 29%) 1fr;
    }
} */

@media (min-width: 1400px) {
    .media-showcase__grid {
        grid-template-columns: minmax(200px, 32%) 1fr;
    }
}



.media-showcase__info {
    background: #0071ce;
    color: #fff;
    /* display: flex; */
    /* flex-direction: column; */
    /* justify-content: center; */
    
    max-height: 700px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px;
    padding-inline-end: 30px;
    margin-inline-end: 15px;
}

.media-showcase__info.has-overflow {
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.media-showcase__info::-webkit-scrollbar {
    width: 6px;
}

.media-showcase__info::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.media-showcase__info::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .media-showcase__info {
        /* Tablet Padding */
        margin: 50px 40px;
        max-height: 650px;
        margin-inline-end: 25px;
    }
}

@media (min-width: 1200px) {
    .media-showcase__info {
        margin: 40px 60px;
        /* max-height: 650px; */
        max-height: 570px;
        margin-inline-end: 30px;
    }
    body:not(.home) .page .media-showcase__info {
        max-height: 590px;
    }
}

@media (min-width: 1400px) {
    .media-showcase__info {
        /* Standard Desktop Padding */
        margin: 40px 60px;
        margin-inline-end: 50px;
    }
}

@media (min-width: 1768px) {
    .media-showcase__info {
        /* Ultra-wide Screen Padding */
        margin: 70px 60px;
        margin-inline-end: 50px;
    }
}

.media-showcase__info p {
  color: #fff;
}

@media (max-width: 1400px) {
  .media-showcase__info p{
    font-size: 16px;
  }
}

@media (max-width: 540px) {
  .media-showcase__info{
    padding: 15px;
    margin-inline-end: 0;
    overflow-y: initial;
  }
}

.media-showcase__heading {
    text-transform: capitalize;
    font-weight: 700;
    font-size: 20px;      /* Mobile */
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .media-showcase__heading {
        font-size: 20px;  /* Tablet */
        margin-bottom: 30px;
    }
}

@media (min-width: 1400px) {
    .media-showcase__heading {
        font-size: 24px;  /* Desktop */
        margin-bottom: 20px;
    }
}

@media (min-width: 1600px) {
    .media-showcase__heading {
        font-size: 24px;  /* Desktop */
        margin-bottom: 45px;
    }
}

.media-showcase__assets {
    color: #fff;
    margin-bottom: 20px; 
}

/* Tablets (768px+) */
@media screen and (min-width: 768px) {
    .media-showcase__assets {
        margin-bottom: 35px;
    }
}

/* Laptops & Desktops (1200px+) */
@media screen and (min-width: 1200px) {
    .media-showcase__assets {
        margin-bottom: 45px; 
    }
}

.media-showcase__slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 715px;
}

@media(max-width: 1768px){
  .media-showcase__slider img{
    /* max-height: 100%; */
  }
}

.media-showcase__slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* max-height: 400px;  */
}

@media screen and (min-width: 1200px) {
  .media-showcase__slider img {
    /* max-height: 650px; */
  }
}

@media screen and (min-width: 1600px) {
  .media-showcase__slider img {
    /* max-height: 650px; */
  }
}


@media screen and (min-width: 1900px) {
  .media-showcase__slider img {
    max-height: 715px; 
  }
}

.media-showcase__slider .swiper-pagination, .elan-pagination-wrap .swiper-pagination {
  /* left: 50px;
  bottom: 16px !important;
  border-radius: 65px;
  background: rgba(255, 255, 255, 0.40);
  height: 45px;
  width: auto !important;
  padding: 5px 20px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px; */
    display: inline-flex;
    left: 50px;
    padding: 9px 10px;
    height: 35px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: rgba(0, 0, 0, 0.18) 0px 10px 30px, rgba(255, 255, 255, 0.25) 0px 1px 0px inset;
    transition: 0.35s;
    bottom: 24px !important;
    width: auto !important;
}

.elan-pagination-wrap .swiper-pagination {
  left: 0;
}

.swiper-pagination svg circle {
  fill: #0075C9;
}
.swiper-pagination-bullet-active svg circle {
  fill: #231F20;
}
.swiper-pagination-bullet-active .dot-active {
  border-color: #231F20;
}

/* Responsive */
@media (max-width: 768px) {
  .media-showcase__grid {
    grid-template-columns: 1fr;
    /* stack columns vertically */
    min-height: auto;
    /* let height adjust */
  }
}

@media (max-width: 576px) {
  .media-showcase__grid {
    /* padding: 10px; */
    gap: 15px;
  }

  .media-showcase__slider img {
    width: 100%;
    /* make images full-width */
    height: auto;
    aspect-ratio: 1.5 / 1;
  }
  .page-template-template-radio .media-showcase__slider img, 
  .page-template-template-elan-live .media-showcase__slider img {
    aspect-ratio: auto;
  }
}


@media (max-width: 576px) {
  .media-showcase__slider .swiper-pagination{
    height: 24px;
    padding: 5px 6px;
    gap: 3px;
  }
}

.swiper-pointer-events {
  max-width: 100%;
}

.section_title.mb-half {
  margin-bottom: 25px;
}

.ready-to-help_wrap {
  position: relative;
  z-index: 10;
  text-align: center;
}

.ready-to-help__desc {
  margin-bottom: 50px;
  text-align: center;
}

.btn.btn-dark.btn-large {
    font-size: 13px;
    line-height: 36px;
    padding: .3rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .btn.btn-dark.btn-large {
        font-size: 14px;
        line-height: 40px;
        padding: .5rem 2.5rem;
    }
}

@media (min-width: 1400px) {
    .btn.btn-dark.btn-large {
        font-size: 14px;
        line-height: 44px;
    }
}

.ready-to-help a {}

.media-showcase-cta{
  /* display: none; */
}

.media-showcase-cta__images {
  position: relative;
}

img.media-showcase-cta__img--front {
  width: 100%;
}

.media-showcase-cta__img--back {
  position: absolute;
  z-index: -1;
  left: calc(50% + 45px);
  top: calc(50% - 70px);
  transform: translate(-50%, -50%);
  max-width: 1140px;
}

.media-showcase-cta__images .media-showcase-cta__img--front img {
  width: 100%;
}

.media-showcase-cta__img--back img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.media-showcase-cta__img--front img {
    max-height: 450px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .media-showcase-cta__img--back img {
        max-width: 80%;
    }
}

@media (min-width: 1200px) {
    .media-showcase-cta__img--back img {
        max-width: 1140px;
    }
}


/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/************************************************  Cinema  ********************************************************/
.media-showcase__title.mt--extra {
    margin-bottom: 90px;
}

/* Large Desktop */
@media (max-width: 1600px) {
    .media-showcase__title.mt--extra {
        margin-bottom: 72px;
    }
}

/* Laptop / Small Desktop */
@media (max-width: 1366px) {
    .media-showcase__title.mt--extra {
        margin-bottom: 60px;
    }
}

/* Tablet Landscape */
@media (max-width: 1199px) {
    .media-showcase__title.mt--extra {
        margin-bottom: 48px;
    }
}

/* Tablet Portrait */
@media (max-width: 991px) {
    .media-showcase__title.mt--extra {
        margin-bottom: 38px;
    }
}

/* Mobile Large */
@media (max-width: 767px) {
    .media-showcase__title.mt--extra {
        margin-bottom: 28px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .media-showcase__title.mt--extra {
        margin-bottom: 22px;
    }
}

.media-showcase__tabs.location--tabs {
  gap: 2.0rem;
  flex-wrap: 1;
}

@media(max-width:1440px){
  .media-showcase__tabs.location--tabs{
    gap: 1rem;
  }
}

.media-showcase__tabs.location--tabs .media-showcase__tab {
  position: relative;
  color: #231F20;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  /* 171.429% */
  letter-spacing: 0.28px;
  text-transform: uppercase;
  border-radius: 0;
  background: none;
  border: none;
  flex: 1;
  z-index: 1
}

.media-showcase__tabs.location--tabs .media-showcase__tab.active,
.media-showcase__tabs.location--tabs .media-showcase__tab:hover {
  color: var(--primary-blue)
}

.media-showcase__tabs.location--tabs .media-showcase__tab::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-image: url('assets/image/cinema/loc-inactive.svg');
  /* your image path */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
  /* behind text */
  pointer-events: none;
  /* lets text remain clickable */
  width: 55px;
  height: 55px;
  visibility: visible;
  transition: all .3s;
}

.media-showcase__tabs.location--tabs .media-showcase__tab.active::after,
.media-showcase__tabs.location--tabs .media-showcase__tab:hover::after {
  visibility: hidden;
  /* transition: all .3s; */
}


.media-showcase__tabs.location--tabs .media-showcase__tab::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  background-image: url('assets/image/cinema/loc-active.svg');
  /* your image path */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
  /* behind text */
  pointer-events: none;
  /* lets text remain clickable */
  width: 55px;
  height: 55px;
  visibility: hidden;
  /* transition: all .3s; */
}

.media-showcase__tabs.location--tabs .media-showcase__tab.active::before,
.media-showcase__tabs.location--tabs .media-showcase__tab:hover::before {
  visibility: visible;
  transition: all .5s;
}

.media-showcase__stats {
  margin-top: 15px;
}

.media-showcase__stats p {
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.media-showcase__stats .stat-number {
  font-size: 28px;
  color: #fff
}

.media-showcase__map {
  margin-top: 50px;
}

.media-showcase__map img,
.media-showcase__map iframe {
  height: 215px;
  border-radius: 15px;
  width: auto;
  object-fit: cover;
}

@media (max-width: 1200px) {
    .media-showcase__tabs.location--tabs {
        row-gap: 42px;
        column-gap: 20px;
    }

    .media-showcase__tabs.location--tabs .media-showcase__tab {
        min-width: 145px;
        padding-top: 32px;
        font-size: 13px;
    }

    .media-showcase__tabs.location--tabs .media-showcase__tab::before,
    .media-showcase__tabs.location--tabs .media-showcase__tab::after {
        width: 46px;
        height: 46px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .media-showcase__tabs.location--tabs {
        row-gap: 34px;
        column-gap: 12px;
    }

    .media-showcase__tabs.location--tabs .media-showcase__tab {
        min-width: calc(50% - 12px);
        padding-top: 28px;
        font-size: 12px;
    }

    .media-showcase__tabs.location--tabs .media-showcase__tab::before,
    .media-showcase__tabs.location--tabs .media-showcase__tab::after {
        width: 38px;
        height: 38px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .media-showcase__tabs.location--tabs {
        row-gap: 28px;
    }

    .media-showcase__tabs.location--tabs .media-showcase__tab {
        /* min-width: 100%; */
        padding-top: 24px;
    }

    .media-showcase__tabs.location--tabs .media-showcase__tab::before,
    .media-showcase__tabs.location--tabs .media-showcase__tab::after {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 1200px) {
  .media-showcase__map iframe{
    width: 100%;
  }
}

.cinema--locations .media-showcase__slider img {
  max-height: 750px;
}

@media(min-width: 1820px) {
  .cinema--locations .media-showcase__slider img {
    /* max-height: 730px; */
  }
}





/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */



/************************************************  Online  ********************************************************/

.media-showcase__slider {
  width: 100%;
}

.media-showcase__slide img {
  width: 100%;
  height: auto;
  display: block;
}


.swiper-wrapper {
  /* transform: none !important; */
}

.campaign-reporting-insights {
    padding-top: 40px; /* Mobile */
}

@media (min-width: 768px) {
    .campaign-reporting-insights {
        padding-top: 70px; /* Tablet */
    }
}

@media (min-width: 1200px) {
    .campaign-reporting-insights {
        padding-top: 100px; /* Desktop */
    }
}

.media-showcase__pagination.social-media-advertising__pagination {
  position: relative;
  width: 140px;
  margin: 36px auto 0;
  display: flex;
  justify-content: center;
  height: 45px;
  align-items: center;
  border-radius: 65px;
  background: rgba(114, 188, 215, 0.15);
  gap: 0 5px;
}

.media-showcase__pagination.social-media-advertising__pagination .swiper-pagination-bullet {
  position: relative;
  width: 8px !important;
  height: 8px !important;
  background-color: #0075C9 !important;
  display: block;
}

.media-showcase__pagination.social-media-advertising__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #231F20 !important;
}

.media-showcase__pagination.social-media-advertising__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active:after {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid #231F20;
  content: '';
  z-index: -1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  transition: all .3s;
}

.social-media-media-showcase__slide {
  padding: 0 25px;
}

.social-media-media-showcase__slide img {
  aspect-ratio: 3 / 4.5;
  object-fit: cover;
}

.technology__partner__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 0 10px #efeeee; */
  min-height: 100px;
  margin: 10px;
  padding: 10px;
}

.technology-partners .swiper-slide img {
  /* height: 56px; */
}

.technology__partner__slide img {
  max-height: 70px;
}

/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/************************************************  Elan Live  ********************************************************/
#why-omnichannel-matters h3 {
    margin-bottom: 5vw;
}

@media (max-width: 768px) {
    #why-omnichannel-matters h3 {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    #why-omnichannel-matters h3 {
        margin-bottom: 15px;
    }
}

@media (min-width: 1200px) {
    #why-omnichannel-matters h3 {
        margin-bottom: 30px;
    }
}

.omni-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 50px 20px;
}

/* .omni-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    width: 100%;
    max-width: 350px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.omni-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

.omni-card img {
    max-width: 160px;
    margin: auto;
}

@media (min-width: 768px) {
    .omni-card {
        padding: 34px;
    }
}
.omni-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0075C9;
  text-align: center;
}

.omni-card p {
  font-size: 16px;
  line-height: 22px;
  color: #222;
}


@media (max-width: 1024px) {
  .omni-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
}

@media (max-width: 600px) {
  .omni-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
} */

.omni-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
  padding: 50px 20px;
  max-width: 1680px;
  margin: 0 auto;
}

.omni-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.omni-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.omni-card img {
  width: 130px;
  height: 130px;
  margin: 0 auto 10px;
  object-fit: contain;
}

.omni-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #0075C9;
  line-height: 1.3;
  margin: 0;
}

.omni-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin: 0;
  text-align: left;
}

@media (min-width: 600px) {
  .omni-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .omni-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
  
  /* .omni-card {
    padding: 35px 25px;
  } */

  .omni-card h4 {
    font-size: 19px;
  }
}

@media(max-width: 1600px){
  .omni-card {
    padding: 20px 20px;
  }
  .omni-card img{
    max-width: 150px;
  }
  .omni-card h4{
    font-size: 17px;
  }
  .omni-card p{
    font-size: 16px;
    line-height: 1.4;
  }
}
@media (max-width: 1400px) {
    .omni-card img {
        max-width: 120px;
        height: auto;
    }
    .omni-card {
        padding: 18px;
    }
}

@media (max-width: 576px) {
    .omni-grid{
      padding: 20px 15px;
    }
}
/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/************************************************  inMotion  ********************************************************/

.what-is-inmotion .media-showcase__tab {
  flex: 0 0 22.333%;
}

.how-it-works__steps {
  margin-top: 60px;
}

/* --- Flex Container for Responsiveness (replaces .row) --- */
.steps-container {
  display: flex;
  flex-wrap: wrap;
  /* Allows items to wrap to the next line */
  justify-content: space-between;
  /* Distributes space between the columns */
  margin: 0 auto;
  /* Centers the whole container */
}

/* --- Individual Step Item (replaces .col-lg-3) --- */
.step-item {
  /* Set basis for 4 items per row, accounting for margins/gaps */
  flex-basis: calc(25% - 35px);
  text-align: center;
  /* Centers content within the step item */
}

/* --- Step Card Styling --- */
.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* --- Image and Number Wrapper --- */
.step-card__figure {
  position: relative;
  margin-bottom: 20px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ddd;
  /* Ensures the card is a consistent height, if needed, you might set a max-height */
}

.step-card__figure .step-image {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all .3s;
}

.step-card:hover .step-card__figure img {
  transform: scale(1.1);
  transition: all .7s;
}

/* --- The Step Number --- */
.step-number {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 65px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: all .3s;
}

.step-card:hover .step-number {
  bottom: 30px;
  transition: all .3s;
}

/* --- The Caption/Text --- */
.step-card__caption {
  font-size: 18px;
  color: #333333;
  text-align: center;
  margin-top: 5px;
  font-weight: 700;
  /* Ensure the caption doesn't wrap weirdly when item width is small */
  padding: 0 10px;
  transition: all .3s;
}

.step-card:hover .step-card__caption {
  color: var(--primary-blue);
  transition: all .3s;
}



/* ------------------------------------------------------------------ */
/* --- RESPONSIVENESS (MEDIA QUERIES) --- */
/* ------------------------------------------------------------------ */

/* Tablet Layout: 2 items per row */
@media (max-width: 991px) {
  .step-item {
    /* Set basis for 2 items per row */
    flex-basis: calc(50% - 20px);
    margin-bottom: 30px;
    /* Add space below the wrapping items */
  }
}

/* Mobile Layout: 1 item per row */
@media (max-width: 576px) {
  .step-item {
    /* Set basis for 1 item per row */
    flex-basis: 100%;
    max-width: 350px;
    /* Constrain the card size on small screens for better appearance */
    margin: 10px auto 30px auto;
    /* Center the single column */
  }

  .step-number {
    font-size: 4rem;
  }
}

/* --- General Section & Heading Styles (assuming you have a .container and .section_title already) --- */
.ad-solutions-intro {
    /* text-align: center; */
    padding-top: 30px;
    padding-bottom: 30px;
}

@media screen and (max-width: 576px){
    .breadcrumbs {
        margin: 8px 0;
    }
  .section_title{
      margin-bottom: 10px;
  }
}

@media (min-width: 768px) {
    .ad-solutions-intro {
        /* padding-top: 45px;
        padding-bottom: 45px; */
    }
}

@media (min-width: 1200px) {
    .ad-solutions-intro {
        /* padding-top: 60px;
        padding-bottom: 60px; */
    }
}

@media (min-width: 1400px) {
    .ad-solutions-intro {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media (min-width: 1600px) {
    .ad-solutions-intro {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* --- Measurements Grid Container --- */
/* .measurements-grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
} */

/* .measurements-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
} */


.measurements-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

/* Tablet */
@media (min-width: 768px) {
  .measurements-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Laptop */
@media (min-width: 1200px) {
  .measurements-grid-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Large screens */
@media (min-width: 1700px) {
  .measurements-grid-container {
    grid-template-columns: repeat(6, 1fr);
  }
}



/* --- Individual Measurement Card --- */
/* --- Your Original Code (Untouched) --- */
.measurement-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 2px solid #0075C9;
  border-radius: 8px;
  flex: 1;
  padding: 20px 15px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  /* height: 245px; */
}

/* --- Required Additions for Responsiveness --- */

/* Parent Wrapper */
.measurements-container {
  display: flex;
  flex-wrap: wrap;
  /* Allows cards to wrap on smaller screens */
  gap: 20px;
  /* Adds space between the cards */
}

/* Mobile/Tablet Overrides */
@media screen and (max-width: 991px) {
  .measurement-card {
    /* Forces card to take full width on mobile */
    flex: 0 0 100%;

    /* Allows height to adjust if text wraps, preventing overflow */
    height: auto;
    /* min-height: 245px; */
  }
}

.measurement-card:hover {
  transform: translateY(-5px);
  /* Lift effect on hover */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.measurement-card__icon {
  margin-bottom: 20px;
  /* Styles for the icon - make sure it's blue like in the image */
}

.measurement-card__icon img {
  width: 80px;
  /* Icon size */
  height: 80px;
  /* Icon size */
  /* If using SVG icons, you might use 'fill: #007bff;' */
}

.measurement-card__text {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

/* --- Compliance Statement --- */
.compliance-statement {
  text-align: center;
  margin-top: 20px;
}

.compliance-divider {
  border: none;
  opacity: 1;
  margin: 0;
}

.compliance-statement p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

.compliance-statement strong {
  color: #333;
  /* Make the bold text a bit darker */
}


/* ------------------------------------------------------------------ */
/* --- RESPONSIVENESS (MEDIA QUERIES) --- */
/* ------------------------------------------------------------------ */

/* Adjust grid for smaller desktops / large tablets (e.g., 4 cards per row) */
@media (max-width: 1024px) {
  .measurement-card {
    /* width: 140px; */
    /* min-height: 140px; */
    /* font-size: 0.95rem; */
  }
}

/* Tablet Layout (e.g., 3 cards per row) */
@media (max-width: 768px) {
  .measurements-grid-container {
    gap: 15px;
    /* Slightly less gap */
  }

  .measurement-card {
    /* width: 130px; */
    /* Make cards slightly smaller */
    /* min-height: 130px; */
    /* padding: 15px 10px; */
    /* font-size: 0.9rem; */
  }

  .measurement-card__icon img {
    width: 50px;
    height: 50px;
  }
}

/* Mobile Layout (e.g., 2 cards per row) */
@media (max-width: 576px) {
  .measurements-grid-container {
    gap: 10px;
  }

  .measurement-card {
    /* width: calc(50% - 20px);
    max-width: 160px;
    min-height: 120px;
    font-size: 0.85rem;
    padding: 10px; */
  }

  .measurement-card__icon img {
    width: 45px;
    height: 45px;
  }

  .measurement-card__text {
    font-size: 0.85rem;
  }

  .section_title {
    font-size: 1.6rem;
  }

  .compliance-divider {
    width: 90%;
  }
}

/* Very Small Mobile Layout (e.g., one card per row, but keeping 2 column for better visual balance) */
/* You might opt for 1 column here if cards are too squished, but 2 looks better usually */
@media (max-width: 400px) {
  .measurement-card {
    /* width: calc(50% - 10px); */
    /* Adjust width for smaller screens */
    /* height: 110px; */
    padding: 8px;
  }

  .measurement-card__icon img {
    width: 40px;
    height: 40px;
  }

  .measurement-card__text {
    font-size: 0.8rem;
  }
}

/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/************************************************  About Elan Vision  ********************************************************/

.recognition__slider .swiper-wrapper {
  align-items: center;
}

.recognition-showcase__slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-showcase__pagination.recognition__pagination {
  position: relative;
  width: 140px;
  margin: 36px auto 0;
  display: flex;
  justify-content: center;
  height: 45px;
  align-items: center;
  border-radius: 65px;
  background: rgba(114, 188, 215, 0.15);
  gap: 0 5px;
}

.media-showcase__pagination.recognition__pagination .swiper-pagination-bullet {
  position: relative;
  width: 8px !important;
  height: 8px !important;
  background-color: #0075C9 !important;
  display: block;
}

.media-showcase__pagination.recognition__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #231F20 !important;
}

.media-showcase__pagination.recognition__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active:after {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid #231F20;
  content: '';
  z-index: -1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  transition: all .3s;
}

/* Container styling */
.why_elan_content_wrapper {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
  padding: 50px 20px;
}

/* Individual Card styling */
.single-why_elan {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px 30px;
  width: 100%;
  /* max-width: 350px; */
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* Hover Effect */
.single-why_elan:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

/* Image/Icon styling */
.single-why_elan img {
  max-width: 110px;
  height: 75px;
  order: 1;
  object-fit: contain;
  /* Moves image below text if desired, or set to 2 */
}

/* Text styling */
.single-why_elan p {
  font-size: 17px;
  line-height: 1.65;
  color: #333;
  font-weight: 500;
  margin: 0;
  order: 2;
}

.single-why_elan p strong{
  margin: 15px 0;
    display: inline-block;
    line-height: normal;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .why_elan_content_wrapper {
    gap: 20px;
  }

  .single-why_elan {
    max-width: 100%;
  }
}


@media (min-width: 600px) {
  .why_elan_content_wrapper{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .why_elan_content_wrapper {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
  
  .single-why_elan p strong {
    font-size: 19px;
  }
}

@media(max-width: 1600px){
  .single-why_elan {
    padding: 20px 20px;
  }
  .single-why_elan img{
    max-width: 150px;
    max-height: 100px;
  }
  .single-why_elan p strong{
    font-size: 17px;
  }
  .single-why_elan p{
    font-size: 15px;
    line-height: 1.4;
  }
}
@media (max-width: 1400px) {
    .single-why_elan img {
        max-width: 120px;
        max-height: 108px;
    }
    .single-why_elan {
        padding: 12px;
    }
}


/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/************************************************  Digital Printing  ********************************************************/
.filter-toolbar {
  margin: 30px 0;
  display: flex;
  align-items: center;
  /* Vertically centers the icons and line */
  gap: 25px;
  /* Spacing between icons and the line */
  padding: 10px;
  justify-content: center;
}

.toolbar-icon {
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.toolbar-icon:hover {
  opacity: 0.7;
  /* Optional hover effect */
}

.vertical-divider {
  width: 1px;
  height: 54px;
  /* Height of the separator line */
  background-color: rgb(114 188 215 / 50%);
  /* Light blue color matching the image */
}

/* --- New Menu Styles --- */
.filter-menu {
  display: flex;
  position: absolute;
  background-color: #ffffff;
  padding: 20px; 
  margin-top: -15px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between; 
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
}

/* Tablet & Mobile Adjustments */
@media (max-width: 992px) {
  .filter-menu {
    padding: 15px;
    gap: 10px; /* Space between wrapped items */
  }
}

@media (max-width: 576px) {
  .filter-menu {
    position: relative; /* Often better for mobile flow */
    margin-top: 0;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* The class added by JavaScript to show the menu */
.filter-menu.active {
  display: flex;
  opacity: 1;
  /* Fully visible */
  visibility: visible;
  /* Re-enable clicks */
  transform: translateY(0);
}

.filter-item {
  font-weight: 700;
  /* Bold text */
  font-size: 15px;
  color: #231F20;
  cursor: pointer;
  transition: color 0.2s;
}

.filter-item:hover {
  color: #0075C9;
  /* Blue hover effect */
}


.xps-product-services {
  margin-top: 50px;
}

.productServicesSwiper {
  width: 100%;
  /* This creates the 150px start gap safely */
  padding-left: 150px;

  /* OPTIONAL: If you want the gap to disappear on mobile */
  box-sizing: border-box;
}

/* Service Card Styling */
.printing-solutions {
  margin-top: 5rem;
}

/* .printing-solutions .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
  margin-top: 40px;
}

.printing-solutions .service-card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-left: 4px solid #0075c9;
  padding: 25px;
  border-radius: 8px;
  transition: all 0.3s ease;
  max-height: 325px;
  overflow-y: auto;
}

.printing-solutions .service-card:hover {
  border-color: transparent;
  box-shadow: 0 15px 35px rgba(30, 41, 59, 0.1);
}

.printing-solutions .service-card::-webkit-scrollbar {
  width: 3px;
}

.printing-solutions .service-card::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 10px;
}

.printing-solutions .service-card::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.printing-solutions .service-card:hover::-webkit-scrollbar-thumb {
  background: #3b82f6;
}

.printing-solutions .service-card {
  scroll-behavior: smooth;
}

.printing-solutions .service-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #0075c9;
  background: #f0f9ff;
  text-align: center;
  padding: 12px;
  border-radius: 4px;
  border-left: 5px solid #0075c9;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.printing-solutions p {
  color: rgb(35 31 32 / 79%);
} */

/* Container Spacing */

:root {
  --em-primary-azure: #007bc4;
  --em-accent-ochre: #1a70a1;
  --em-surface-pure: #ffffff;
  --em-ink-deep: #1a1a1a;
  --em-stroke-glass: rgba(238, 238, 238, 0.8);
  --em-base-glacial: #f4f9fc;
  --em-shadow-luxe: cubic-bezier(0.15, 0, 0.15, 1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-card {
  padding: 60px 45px;
  border-radius: 40px;
  border: 1px solid var(--em-stroke-glass);
  transition: all 0.8s var(--em-shadow-luxe);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: none; /* Remove background here to handle it via pseudo-elements */
  isolation: isolate; /* Creates a clean stacking context for children */
}

/* Primary Surface Layer */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--em-surface-pure);
  z-index: -2; /* Stays at the bottom */
  transition: all 0.8s var(--em-shadow-luxe);
}

/* Luxury Interactive Gradient Layer */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Shifted gradient for a more "glow" effect */
  background: radial-gradient(circle at 100% 0%, rgb(0 114 195 / 34%) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.8s var(--em-shadow-luxe), transform 0.8s var(--em-shadow-luxe);
  z-index: -1; /* Sits above the white background but below text */
  transform: scale(1.3) translate(10%, -10%);
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(0, 123, 196, 0.25);
  box-shadow: 
    0 40px 80px -20px rgba(0, 123, 196, 0.12),
    0 0 0 1px rgba(0, 123, 196, 0.05);
}

.service-card:hover::after {
  opacity: 1;
  transform: scale(1) translate(0, 0);
}

/* Ensure icons and text stay above the effects */
.service-icon-wrapper, 
.service-card-title, 
.service-card p {
  position: relative;
  z-index: 2;
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  background: var(--em-base-glacial);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
  transition: all 0.6s var(--em-shadow-luxe);
  position: relative;
}

.service-icon-wrapper i {
  font-size: 36px;
  color: var(--em-primary-azure);
  transition: all 0.5s ease;
}

.service-card:hover .service-icon-wrapper {
  background: var(--em-primary-azure);
  transform: rotateY(180deg) scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 123, 196, 0.3);
}

.service-card:hover .service-icon-wrapper i {
  color: #ffffff;
  transform: rotateY(-180deg);
}

.service-card-title {
  font-size: 1.27rem;
  font-weight: 500;
  color: var(--em-ink-deep);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-title::before {
  content: "—";
  margin-right: 0;
  width: 0;
  overflow: hidden;
  display: inline-block;
  color: var(--em-accent-ochre);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

.service-card:hover .service-card-title {
  color: var(--em-primary-azure);
  gap: 15px;
  transform: translateX(5px);
}

.service-card:hover .service-card-title::before {
  width: 25px;
  margin-right: 5px;
  opacity: 1;
}

.service-card p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #4a4a4a;
  margin: 0;
  transition: opacity 0.4s ease;
}

.card-accent {
  position: absolute;
  bottom: 40px;
  right: 45px;
  width: 30px;
  height: 2px;
  background: var(--em-accent-ochre);
  transition: all 0.6s var(--em-shadow-luxe);
  opacity: 0.3;
}

.service-card:hover .card-accent {
  width: 60px;
  opacity: 1;
  background: var(--em-primary-azure);
}

/* Unique Namespace to prevent any style downgrading */
.elan-prod-section {
    /* padding: 120px 0; */
    background-color: #ffffff;
}

.elan-brand-architecture {
    display: grid;
    /* Desktop: Locked to 3 columns */
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Tablet: 2 columns for better visibility of brand logos */
@media (max-width: 1200px) {
    .elan-brand-architecture {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 column to avoid squashing the content */
@media (max-width: 768px) {
    .elan-brand-architecture {
        grid-template-columns: 1fr;
    }
}

.elan-arch-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    /* Desktop: Large, luxurious padding */
    padding: 60px 40px; 
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    min-height: 400px;
    position: relative;
    box-sizing: border-box; /* Crucial to keep padding inside the width */
}

/* Tablet Adjustments */
@media (max-width: 992px) {
    .elan-arch-card {
        padding: 40px 30px;
        min-height: 350px; /* Reduce height slightly for better balance */
    }
}

/* Mobile Adjustments */
@media (max-width: 576px) {
    .elan-arch-card {
        padding: 30px 20px;
        min-height: auto; /* Allow card to grow based on content on mobile */
    }
}

/* Hover: The card becomes an active Brand Element */
.elan-arch-card:hover {
    background: var(--primary-blue); /* Elan Corporate Blue */
    z-index: 10;
}

.elan-arch-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.elan-arch-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    transition: 0.4s ease;
    font-weight: 100; /* Ultra-thin for luxury feel */
}

.elan-arch-accent {
    height: 1px;
    flex-grow: 1;
    background: rgba(0, 102, 178, 0.1);
    transition: 0.4s ease;
}

.elan-arch-title {
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0e1726;
    margin-bottom: 25px;
    line-height: 1.2;
    transition: 0.4s ease;
}

.elan-arch-body {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #506690;
    transition: 0.4s ease;
}

/* Hover State - Immediate Inversion */
.elan-arch-card:hover .elan-arch-title,
.elan-arch-card:hover .elan-arch-body,
.elan-arch-card:hover .elan-arch-icon {
    color: #ffffff;
}

.elan-arch-card:hover .elan-arch-accent {
    background: rgba(255, 255, 255, 0.3);
    flex-grow: 2; /* Visual stretching effect */
}


.elan-arch-card {
    background: #ffffff;
    border: 1px solid rgba(238, 242, 246, 0.5);
    padding: 70px 50px;
    display: flex;
    flex-direction: column;
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    min-height: 400px;
    position: relative;
    overflow: hidden; /* Crucial for background effects */
    z-index: 1;
}

/* 1. Animated Mesh Gradient Layer */
.elan-bg-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(0, 102, 178, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(0, 102, 178, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -2;
}

/* 2. Large Watermark Icon in Background */
.elan-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 12rem;
    color: rgba(0, 102, 178, 0.03);
    transform: rotate(-15deg);
    transition: all 0.8s ease;
    z-index: -1;
    pointer-events: none;
}

.elan-bg-icon i{
    font-family: 'Font Awesome 7 Pro';
}

/* HOVER EFFECTS */
.elan-arch-card:hover {
    transform: translateY(-10px);
    border-color: #0066b2;
    box-shadow: 0 40px 80px rgba(0, 102, 178, 0.08);
}

.elan-arch-card:hover .elan-bg-gradient {
    opacity: 1;
}

.elan-arch-card:hover .elan-bg-icon {
    transform: rotate(0deg) scale(1.1);
    color: rgba(255, 255, 255, 0.1); /* Changes color to match white text on blue bg */
    color: rgb(255 255 255 / 20%);
}

/* If you are using the Blue-Flood hover from the previous step: */
.elan-arch-card:hover {
    background: #0066b2;
}

/* Premium "Glass" Reflection across the card on hover */
.elan-arch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.8s;
    z-index: 5;
}

.elan-arch-card:hover::before {
    left: 150%;
}













.printing-solutions .service-card-description {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
}

.fancybox__container {
  z-index: 10500;
}

.production-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.production-item {
  display: flex;
  align-items: center;
  /* Centered for short descriptions */
  padding: 25px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #edf2f7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.production-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: #3b82f6;
}

.production-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 50%;
  /* Circular icons look cleaner without titles */
  transition: background 0.3s ease;
}

.production-item:hover .production-icon {
  background: #eff6ff;
}

@media screen and (min-width: 1200px) and (max-width: 1600px) {
    .production-grid{
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }
}

@media (max-width: 1600px){
    .production-item{
        padding: 10px;
    }
    .production-info p{
      font-size: 15px;
    }
}

.production-icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.production-info p {
  font-size: 1.05rem;
  /* Larger font size since there is no title */
  font-weight: 500;
  color: #334155;
  margin: 0;
  line-height: 1.5;
}

/* Scoped to the filter toolbar */
.filter-toolbar {
  display: flex;
  align-items: center;
  gap: 15px;
}

.filter-toolbar .search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.filter-toolbar .search-input {
  width: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  border-bottom: 1px solid #231F20;
  font-size: 14px;
}

/* Toggle State */
.filter-toolbar .search-wrapper.active .search-input {
  width: 200px;
  /* Adjust based on your design */
  padding: 5px 10px;
  opacity: 1;
  margin-right: 10px;
}

.filter-toolbar .search-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.filter-toolbar .search-trigger:hover .toolbar-icon {
  transform: scale(1.1);
}

/* Mobile Adjustment (Optional) */
@media (max-width: 768px) {
  .productServicesSwiper {
    padding-left: 20px;
    /* Smaller gap on mobile */
  }
}

/* Container padding to make room for arrows on the sides */

/* Base Arrow - Circular Frosted Glass Design */
.xps-product-services .custom-arrow {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    width: 55px !important;
    height: 55px !important;
    border-radius: 50%;
    border: 1px solid rgba(0, 117, 201, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon style using your brand blue */
.xps-product-services .custom-arrow::after {
    font-size: 20px !important;
    font-weight: 900;
    color: #0075c9;
    transition: transform 0.3s ease;
}

/* Hover Interaction: Elevation and Color Fill */
.xps-product-services .custom-arrow:hover {
    background-color: #0075c9;
    border-color: #0075c9;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 117, 201, 0.3);
}

.xps-product-services .custom-arrow:hover::after {
    color: #ffffff;
}

/* Specific direction hover animations */
.xps-product-services .swiper-button-prev:hover::after {
    transform: translateX(-3px);
}

.xps-product-services .swiper-button-next:hover::after {
    transform: translateX(3px);
}

/* Precision Positioning */
.xps-product-services .swiper-button-prev {
    left: 5px !important;
}

.xps-product-services .swiper-button-next {
    right: 5px !important;
}

/* Pagination Dots - Matching the brand style */
.xps-product-services .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.xps-product-services .swiper-pagination-bullet-active {
    background: #0075c9;
    width: 30px; /* Modern elongated active pill shape */
    border-radius: 5px;
}


/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/************************************************  News  ********************************************************/

.page-template-template-page-news section.latest-news {
  background: none;
}

.news-section {
  /* padding-bottom: 100px; */
}

section.latest-news.news-page .section_title {
  margin-bottom: 50px
}

.news-section .filter-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 27px;
  align-items: flex-end;
  margin-bottom: 100px;
}

.news-section .filter-input {
  display: flex;
  flex-direction: column;
}

.news-section .filter-input label {
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.news-section .input-wrapper {
  position: relative;
  border-bottom: 1px solid #231F20;
  padding-bottom: 5px;
}

.news-section .input-wrapper input,
.news-section .input-wrapper select {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #231F20;
  font-weight: 700;
  line-height: 24px;
}

.news-section .input-wrapper .input-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
}

.news-section .input-wrapper .input-icon.arrow {
  width: 15px;
  height: 15px;
}

.news-section .btn-secondary {
  background-color: var(--color-text-dark);
  color: var(--color-text-light);
  height: 50px;
}

.news-section .news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 31px;
  margin-bottom: 100px;
}

.news-section .news-card {
  background-color: var(--color-text-light);
  border-radius: 15px;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-section .card-image-wrapper {
  position: relative;
}

.news-section .card-image-wrapper img {
  width: 100%;
  height: 244px;
  object-fit: cover;
  display: block;
}

.news-section .card-date {
  position: absolute;
  bottom: 17px;
  left: 0;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 4px 19px;
  font-size: 12px;
  line-height: 16px;
}

.news-section .card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-section .card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  margin: 0 0 14px;
  min-height: 60px;
}

.news-section .card-excerpt {
  font-size: 14px;
  line-height: 24px;
  margin: 0 0 10px;
  flex-grow: 1;
}

.news-section .card-read-more {
  font-size: 12px;
  font-weight: 700;
  line-height: 24px;
  color: var(--color-primary);
  margin-top: auto;
}

.news-section .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(114, 188, 215, 0.15);
  border-radius: 65px;
  width: 306px;
  height: 45px;
  margin: 0 auto;
}

.news-section .pagination ul {
  display: flex;
  align-items: center;
  gap: 15px;
}

.news-section .pagination-dot {
  display: block;
  width: 14px;
  height: 14px;
  position: relative;
}

.news-section .pagination-dot img {
  width: 8px;
  height: 8px;
}

.news-section .pagination-dot.active {
  width: 14px;
  height: 14px;
}

.news--filter--btn {
  text-transform: uppercase;
  padding: 15px 30px;
}

.search-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 0 0 80px;
}

/* --- Shared Styles for Inputs & Selects --- */
.news-page .filter-item {
  position: relative;
  flex: 1;
  border-bottom: 1px solid #000;
  /* Solid black line */
  padding-bottom: 8px;
}

.news-page .filter-item input,
.news-page .filter-item select {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: #231F20;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 30px;
  cursor: pointer;
  font-family: inherit;
  /* Inherit font from your website */
  padding: 5px 10px;
}

/* Icons */
.news-page .filter-icon {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 25px;
  height: 25px;
  pointer-events: none;
}

/* Clear Button */
.news-page .clear-filters-btn {
  background-color: #231F20;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 25px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.news-page .clear-filters-btn:hover {
  background-color: #444;
}

/* Responsive Stack */
@media (max-width: 991px) {
  .news-page .search-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .news-page .clear-filters-btn {
    align-self: flex-start;
  }
}

@media (max-width: 1200px) {
  .news-page .news-section .filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .news-page .news-section .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-page .news-section .filter-bar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-page .news-section .news-grid {
    grid-template-columns: 1fr;
  }
}

/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/************************************************  Single News  ********************************************************/
.section_title span {
  display: block;
  margin-top: 10px;
  color: #231F20;
  font-size: 22px;
  font-weight: 400;
}

.news-detail-wrapper {
  color: var(--text-body);
  line-height: 1.6;
  width: 100%;
}

/* Box sizing reset for this component only */
.news-detail-wrapper *,
.news-detail-wrapper *::before,
.news-detail-wrapper *::after {
  box-sizing: border-box;
}

.news-article-primary {
  padding-right: 4rem;
}

/* Header Navigation & Meta */
.news-detail-wrapper .news-navigation {
  margin-bottom: 20px;
  margin-top: -30px;
}

.news-detail-wrapper .back-link {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 400;
  margin-bottom: 15px;
  transition: color 0.2s ease;
}

.news-detail-wrapper .back-link:hover {
  color: var(--primary-color);
}

.news-detail-wrapper .back-link::before {
  content: "<";
  font-size: 12px;
  margin-right: 2px;
  line-height: 0;
  position: relative;
  top: -1px;
}

.news-detail-wrapper .news-date {
  display: block;
  font-size: 22px;
  color: var(--primary-blue);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-bottom: 50px;
}

/* Main Grid Layout */
.news-detail-wrapper .news-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Two equal columns */
  gap: 40px;
  margin-bottom: 40px;
}

/* Typography */
.news-detail-wrapper .news-headline {
  font-size: 36px;
  line-height: 1.2;
  color: var(--primary-blue);
  margin: 0 0 50px 0;
  font-weight: 700;
}

.news-detail-wrapper .news-body-text p {
  margin-bottom: 24px;
  font-size: 18px;
  text-align: justify;
  color: #274D78;
}

/* Media / Gallery Section */
.news-detail-wrapper .news-media-gallery {
  position: relative;
  width: 100%;
}

.news-detail-wrapper .gallery-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

.news-detail-wrapper .gallery-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Custom Dots Navigation Overlay */
.news-detail-wrapper .gallery-nav {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  backdrop-filter: blur(4px);
}

.news-detail-wrapper .nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-detail-wrapper .nav-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

.news-detail-wrapper .nav-dot.hollow {
  background-color: transparent;
  border: 1px solid var(--text-dark);
  width: 8px;
  height: 8px;
}

/* Secondary Content Area */
.news-detail-wrapper .news-secondary-content {
  margin-top: 20px;
}

/* Share Section */
.news-detail-wrapper .news-footer-actions {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.news-detail-wrapper .btn-share {
  text-transform: uppercase;
  /* background-color: var(--accent-black);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; */
}

.news-detail-wrapper .btn-share:hover {
  /* background-color: #000;
    transform: translateY(-2px); */
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .news-detail-wrapper .news-headline {
    font-size: 2rem;
  }
}

@media (max-width: 1200px) {
  .news-article-primary {
    padding-right: 0;
  }

  .news-detail-wrapper .news-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .news-detail-wrapper .news-media-gallery {
    margin-bottom: 20px;
  }

  .news-detail-wrapper .news-headline {
    font-size: 1.75rem;
  }

  .news-detail-wrapper {
    padding: 40px 0;
  }
}

/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/************************************************  Contact us(Talk to Our team)  ********************************************************/
/* --- Container & Layout --- */
.custom-contact-form {
  width: 100%;
  margin: 0 auto;
  padding: 35px 0;
}

.custom-contact-form .form-row-split {
  display: flex;
  gap: 40px;
  /* Space between columns */
}

.custom-contact-form .form-col {
  flex: 3;
  /* Both columns take equal width */
  display: flex;
  flex-direction: column;
}

/* --- The Vertical Divider --- */
.custom-contact-form .left-col {
  border-right: 1px solid #cceeff;
  /* Light blue line */
  padding-right: 70px;
  /* Space between text and line */
  flex: 2.5 1 0%;
}

/* --- Form Group Styling --- */
.custom-contact-form .form-group {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.custom-contact-form .form-group p {
    margin: 0;
}

.custom-contact-form .form-group label {
  font-weight: 500;
  margin-bottom: 8px;
  color: #231F20;
  font-size: 18px;
}

.custom-contact-form .required {
  color: red;
  margin-left: 2px;
}

/* --- Inputs & Textareas --- */
.custom-contact-form .form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #0075C9;
  /* The specific blue from the image */
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  color: #0075C9;
  /* Text color matches border */
  transition: box-shadow 0.2s;
  background-color: #fff;
  box-sizing: border-box;
  /* Ensures padding doesn't break width */
  height: 60px;
}

/* Placeholder color styling */
.custom-contact-form .form-control::placeholder {
  color: rgba(0, 117, 201, 0.50);
  opacity: 1;
}

.custom-contact-form .form-control:focus {
  box-shadow: 0 0 0 3px rgba(93, 189, 252, 0.2);
}

/* --- Specific Styles for Right Column --- */
.custom-contact-form .full-height {
  flex: 1;
  /* Makes the form-group fill remaining vertical space */
  display: flex;
  flex-direction: column;
}

.custom-contact-form textarea.form-control {
  flex: 1;
  /* Makes textarea fill the height */
  resize: vertical;
  /* User can only resize height */
  min-height: 150px;
}

/* Select Dropdown Styling */
.custom-contact-form select.form-control {
  cursor: pointer;
  appearance: none;
  /* Removes default browser arrow */
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235dbdfc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}

.custom-contact-form .btn--submit {
  text-transform: uppercase;
  width: auto;
  display: inline-block;
  max-width: fit-content;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .custom-contact-form .form-row-split {
    flex-direction: column;
    /* Stack columns */
    gap: 0;
  }

  .custom-contact-form .left-col {
    border-right: none;
    /* Remove divider on mobile */
    padding-right: 0;
    margin-bottom: 20px;
  }
}

.contact-section {
  padding: 40px 20px;
  background-color: #ffffff;
}

.contact-content-wrapper {
  display: flex;
  align-items: flex-start;
  margin: 0 auto;
  gap: 0 5rem;
}

.contact-map {
  flex-basis: 50%;
  min-width: 300px;
}

.contact-details {
  flex-basis: 40%;
  padding-top: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-item .icon {
  font-size: 24px;
  margin-right: 15px;
  color: #007bff;
}

.contact-item p,
.contact-item address {
  margin: 0;
  line-height: 1.5;
  font-size: 18px;
  color: #231F20;
  text-align: left;
}


@media(max-width:992px){
  .contact-content-wrapper{
      display: block;
  }
}
/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/************************************************  Careers  ********************************************************/
a.link {
  color: #0075C9;
  font-size: 18px;
  font-weight: 700;
}

.awsm-job-search.awsm-job-form-control,
.awsm-selectric {
    width: 100% !important;
    height: 60px !important;
    background-color: #fff !important;
    border: 1px solid #0075C9 !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    transition: box-shadow 0.2s;
}

.awsm-selectric .label {
    height: 60px !important;
    line-height: 60px !important;
    margin: 0 15px !important;
    font-size: 1rem !important;
    color: #0075C9 !important;
    outline: none !important;
}

.awsm-selectric .button {
    height: 60px !important;
    color: #0075C9 !important;
}

.selectric .button:after {
    border-top-color: #0075C9 !important;
}

.awsm-job-search.awsm-job-form-control {
    padding: 12px 15px !important;
    font-size: 1rem !important;
    color: #0075C9 !important;
    outline: none !important;
}

.awsm-job-search.awsm-job-form-control::placeholder{
    color: #0075C9 !important;
}

.awsm-grid-item .awsm-job-item {
    box-shadow: none!important;
    border: none!important;
    background: none!important;
}

.awsm-job-search.awsm-job-form-control:focus,
.selectric-focus .selectric {
    box-shadow: 0 0 5px rgba(0, 117, 201, 0.3);
}

.awsm-filter-item-search-in {
    position: relative;
    width: 100%;
}

.awsm-job-search-icon-wrapper {
    position: absolute !important;
    right: 0px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #0075C9 !important;
    pointer-events: none !important;
}

.selectric-items {
    border: 1px solid #0075C9 !important;
    border-radius: 0 0 6px 6px !important;
}

.awsm-selectric .awsm-selectric-arrow-drop:after {
    content: "" !important;
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    z-index: 99 !important;
    border: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230075C9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}

/* Ensure the parent allows the arrow to be visible */
.awsm-selectric .awsm-selectric-arrow-drop {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 50px !important;
    height: 60px !important;
    background: transparent !important;
}

.awsm-selectric-wrapper{
  min-width: 190px !important;
}

.awsm-selectric-items {
    border: 1px solid #0075C9 !important;
    border-radius: 0 0 6px 6px !important;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 117, 201, 0.1) !important;
    margin-top: -1px !important;
    z-index: 999 !important;
}

.awsm-selectric-scroll ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.awsm-selectric-items .awsm-selectric-scroll li {
    padding: 12px 15px !important;
    font-size: 14px !important;
    color: #333 !important;
    cursor: pointer !important;
    transition: background 0.2s, color 0.2s !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.awsm-selectric-items .awsm-selectric-scroll li:last-child {
    border-bottom: none !important;
}

/* Highlighted and Selected states using your #0075C9 */
.awsm-selectric-items .awsm-selectric-scroll li.highlighted,
.awsm-selectric-items .awsm-selectric-scroll li:hover {
    background-color: #0075C9 !important;
    color: #fff !important;
}

.awsm-selectric-items .awsm-selectric-scroll li.selected {
    background-color: #f0f7ff !important;
    color: #0075C9 !important;
    font-weight: bold !important;
}

.awsm-job-listings .awsm-job-listing-item.awsm-grid-item {
    background: #f8fafc !important; 
    border: 2px solid #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 117, 201, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative !important;
}

.awsm-job-listings .awsm-job-item {
    text-decoration: none !important;
    display: block !important;
    padding: 30px !important;
}

.awsm-job-listings .awsm-job-listing-item:hover{
    border-color: #0075C9 !important;
    box-shadow: 0 10px 25px rgba(0, 117, 201, 0.1) !important;
    transform: translateY(-4px);
}

.awsm-job-listings .awsm-job-post-title {
    font-size: 20px !important;
    color: #333 !important;
    margin: 0 0 20px 0 !important;
    font-weight: 700 !important;
}

.awsm-job-listings .awsm-job-specification-wrapper {
    margin-bottom: 25px !important;
}

.awsm-job-listings .awsm-job-specification-term {
    display: inline-block !important;
    font-size: 12px !important;
    color: #666 !important;
    background: #f4f7f9 !important;
    padding: 5px 12px !important;
    border-radius: 4px !important;
    margin-right: 8px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.awsm-job-listings .awsm-job-more {
    color: #0075C9 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    display: flex !important;
    align-items: center !important;
}

.awsm-job-listings .awsm-job-more span:after{
  display: none;
}

.awsm-job-listings .awsm-job-more span:after {
    content: "→" !important;
    margin-left: 8px !important;
    transition: margin-left 0.2s ease;
}

.awsm-job-listings .awsm-job-listing-item:hover .awsm-job-more span:after {
    margin-left: 12px !important;
}

/* 1. Initial State of the Button */
.awsm-job-listings .awsm-job-more {
    display: inline-flex !important;
    align-items: center !important;
    color: #0075C9 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease-in-out !important;
    position: relative !important;
}

/* 2. The Arrow Animation (Using your SVG method) */
.awsm-job-listings .awsm-job-more span {
    display: inline-block !important;
    margin-left: 8px !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230075C9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cline x1='5' y1='12' x2='19' y2='12'%3e%3c/line%3e%3cpolyline points='12 5 19 12 12 19'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
}

/* 3. The Hover Trigger: When card is hovered, animate the button */
.awsm-job-listing-item.awsm-grid-item:hover .awsm-job-more {
    color: #004a80 !important; /* Slightly darker blue on hover */
    letter-spacing: 1.5px !important; /* Text expands slightly */
}

.awsm-job-listing-item.awsm-grid-item:hover .awsm-job-more span {
    transform: translateX(12px) scale(1.1) !important; /* Arrow slides out and grows */
}

/* 4. Optional: Add an underline that grows from the center */
.awsm-job-listings .awsm-job-more:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0075C9;
    transition: width 0.3s ease;
}

.awsm-job-listing-item.awsm-grid-item:hover .awsm-job-more:after {
    width: 100%;
}

.awsm-job-more-container .awsm-job-more span::before{
  display: none;
}

/* Single Job Details Page */

.awsm-job-single-wrap {
    /* max-width: 1100px; */
    margin: 60px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

/* Job Content (The Description) */
.awsm-job-content {
    flex: 1 1 600px;
    background: transparent !important;
    padding: 0 !important;
}

/* Heading Styling */
.awsm-job-entry-content h2, 
.awsm-job-entry-content strong {
    display: block;
    font-size: 22px !important;
    color: #0075C9 !important;
    margin: 40px 0 20px 0 !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px;
}

.awsm-job-entry-content p {
    font-size: 16px !important;
    line-height: 1.9 !important;
    color: var(--text-dark) !important;
    /* margin-bottom: 25px !important; */
    margin-bottom: 0 !important;
}

.awsm-job-entry-content.entry-content {
    margin-bottom: 25px !important;
}

.awsm-job-specifications-container.awsm_job_spec_below_content {
    margin-top: 25px !important;
    border-top: 1px solid #ddd !important;
    padding-top: 25px !important;
}

/* Container consistency */
.awsm-job-form-inner {
    background: #ffffff !important;
    padding: 50px !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(0, 117, 201, 0.08) !important;
    margin-top: 40px !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Optional: Adding a subtle top accent bar to match the Elan Media blue */
.awsm-job-form-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #0075C9 !important;
}

/* Responsive padding for mobile devices */
@media (max-width: 768px) {
    .awsm-job-form-inner {
        padding: 30px 20px !important;
        border-radius: 12px !important;
    }
}

/* Heading */
.awsm-job-form-inner h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin-bottom: 30px !important;
}

/* Group Spacing */
.awsm-job-form-group {
    margin-bottom: 20px !important;
}

/* Label Styling */
.awsm-job-form-group:not(.awsm-job-inline-group) label {
    display: flex !important;
    gap: 5px;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 8px !important;
}

/* THE UNIFIED INPUT STYLE (Matching your search/dropdown) */
.awsm-job-form-control {
    width: 100% !important;
    height: 60px !important; /* Fixed Height */
    padding: 12px 15px !important; /* Fixed Padding */
    border: 1px solid #0075C9 !important; /* Fixed Border */
    border-radius: 6px !important; /* Fixed Radius */
    font-size: 14px !important; /* Fixed Font Size */
    outline: none !important;
    color: #0075C9 !important; /* Fixed Color */
    background-color: #fff !important;
    box-sizing: border-box !important;
    transition: box-shadow 0.2s;
}

/* Textarea Consistency */
textarea.awsm-job-form-control {
    height: 150px !important; /* Maintain border/radius but allow height for text */
    padding-top: 15px !important;
}

/* Focus State Consistency */
.awsm-job-form-control:focus {
    box-shadow: 0 0 5px rgba(0, 117, 201, 0.3) !important;
}

/* File Upload Consistency */
.awsm-resume-file-control {
    line-height: 34px !important; /* Centers text in 60px height */
}

/* Submit Button Consistency */
.awsm-application-submit-btn {
    width: 100% !important;
    height: 60px !important;
    background-color: #0075C9 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: opacity 0.2s !important;
}

.awsm-application-submit-btn:hover {
    opacity: 0.9 !important;
}

/* Error Message Styling */
.awsm-job-form-error {
    color: #ff0000 !important;
    font-size: 12px !important;
    margin-top: 5px !important;
    display: block !important;
}

/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/************************************************  Single Profile View  ********************************************************/
.profile-detail-container {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  margin-top: -100px;
  z-index: 10;
}

.profile-image-wrapper {
  background-color: #f0f0f0;
  padding: 0;
  margin: 0;
  border-radius: 8px;
  align-self: start;
}

.profile-detail-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.profile-content-wrapper {
  padding-top: 20px;
}

.profile-breadcrumbs-placeholder {
  margin-bottom: 20px;
}

.profile-breadcrumbs a {
  color: #333333;
  text-decoration: none;
  font-size: 14px;
}

.profile-breadcrumbs a:hover {
  text-decoration: underline;
}

.profile-breadcrumbs {
  font-size: 14px;
  color: #333333;
}

.back-link {
  color: #231F20;
  text-decoration: none;
  display: block;
  margin-bottom: 30px;
  font-size: 12px;
}

.back-link:hover {
  text-decoration: underline;
}

.profile-name {
  color: #0075C9;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 30px 0;
}

.profile-designation {
  font-size: 36px;
  color: #6c757d;
  font-weight: 400;
  margin-bottom: 45px;
}

/* New: Max width for the text block on larger screens */
.profile-details-text {
  max-width: 800px;
}

/* Restored: Paragraph styling for the text block */
.profile-details-text p {}

@media (max-width: 992px) {
  .profile-detail-container {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 0;
  }

  .profile-image-wrapper {
    max-width: 300px;
    margin: 0 auto;
    padding: 20px;
  }

  .profile-content-wrapper {
    padding-top: 0;
  }

  .profile-name {
    font-size: 2rem;
  }

  .profile-designation {
    font-size: 1.25rem;
  }

  /* Ensure max-width doesn't constrain on mobile if it's smaller than the screen */
  .profile-details-text {
    max-width: 100%;
  }
}

/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/************************************************  Single News  ********************************************************/
/* News Layout Styles */
.news-article__header {
  text-align: center;
  margin-bottom: 40px;
}

.news-article__meta {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #666;
}

.news-article__category {
  color: #007bff;
  /* Or your brand color */
  font-weight: bold;
}

.news-article__title {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.news-article__featured-image {
  margin-bottom: 50px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.news-article__content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
  max-width: 800px;
  /* Essential for readability */
  margin: 0 auto;
}

.news-article__footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-article__navigation .nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #222;
}


/* Search Page */
.search-content {
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 2rem;
}

article:last-child .search-content {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.single-slider-section .bg-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 715px;
  aspect-ratio: 16 / 9;
  object-position: top right;
}

/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/************************************************  Media Query  ********************************************************/

/* Mobile / Default */
.who-we-are__content .row,
.contact-us__content.row {
    --bs-gutter-x: 1.5rem;
}

/* Medium screens (Tablets) */
@media (min-width: 768px) {
    .who-we-are__content .row,
    .contact-us__content.row {
        --bs-gutter-x: 3rem;
    }
}

/* Large screens (Laptops) */
@media (min-width: 1200px) {
    .who-we-are__content .row,
    .contact-us__content.row {
        --bs-gutter-x: 5rem;
    }
}

/* Big screens (1920px) */
@media (min-width: 1920px) {
    .who-we-are__content .row,
    .contact-us__content.row {
        --bs-gutter-x: 7.5rem;
    }
}

@media (max-width: 1301px) {
  .ad-solutions-grid .ad-hover-content{
    transform: translateY(125%) scale(1);
  }
  
}


@media (max-width: 768px) {
    .stat-number{

    }
}

@media (max-width: 992px) {
  .stats-grid .axis-container {
    max-width: 1315px;
  }

  .stats-grid {
    flex-wrap: wrap;
    gap: 25px 20px;
  }

  .stat-item {
    flex-basis: calc(50% - 40px);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }
  .site-footer-top {

    display: flex;
    flex-wrap: wrap;
  }

  .site-footer-col {
    /* width: 50%; */
    margin-bottom: 30px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
    .media-showcase-cta__img--back{
      top: 15%;
      left: 50%;
    }
    .stat-number{
        font-size: 32px;
    }
    .stat-label{
      line-height: 17px;
    }
}

@media (max-width: 676px) {
    .ad-solutions-grid .ad-hover-content h4{
      text-align: center;
      margin-top: 3rem;
    }
    .ad-solutions-grid .ad-hover-content .ad-grid-content{
      text-align: center;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }
    .ad-solutions-grid .ad-solution-card:hover .ad-grid-content-col{
      display: none;
    }
}

@media (max-width: 576px) {
  .site-footer-top {
    /* display: flex !important; */
    /* flex-direction: column !important; */
    gap: 20px;
  }

  .site-footer-col {
    width: 100% !important;
    padding-right: 0 !important;
    margin-bottom: 25px;
    border-left: 1px solid #fff;
  }

  .site-footer-col::before{
    display: none;
  }

  .site-footer .site-footer-inner{
    padding: 20px 0;
  }

  .site-footer .site-footer-address{
    margin: 20px 0 15px;
  }

  .site-footer .site-footer-logo {
      width: 135px;
      height: 55px;
      object-fit: contain;
      margin-bottom: 25px;
  }

  .hero-video__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Fix for Hero content overlapping video improperly on mobile */
  #hero {
    height: 85vh !important;
    min-height: 500px;
  }

  .scroll-down-indicator{
    bottom: 2rem;
  }

  /* Prevent horizontal scroll from scaled elements */
  .ad-solution-card {
    transform: translateZ(0);
    overflow: hidden;
  }

  /* Global overflow fix for mobile */
  body,
  .page-wrapper {
    overflow-x: hidden !important;
  }
  .stats-section {
    padding: 50px 0;
  }

  .stat-item {
    /* flex-basis: 100%; */
  }

  .stat-item::after {
    display: none;
  }
  
}



/* Subscription  Layout */


/* 1. THE CONTAINER */
.newsletter-wrap {
    display: grid !important;
    grid-template-columns: 1fr 2px 1fr; /* Explicit 3-column grid for the divider */
    gap: 0;
    padding: 100px 80px;
    background: linear-gradient(135deg, #005a9c 0%, #0075c9 100%) !important;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    align-items: center;
    box-shadow: 0 40px 100px -20px rgba(0, 117, 201, 0.3);
}

/* 2. THE BACKGROUND GLOW (Moved to ::before to avoid conflict) */
.newsletter-wrap::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    transform: rotate(-15deg);
    z-index: 1;
    pointer-events: none;
}

/* 3. THE TEXT CONTENT */
.newsletter-content {
    grid-column: 1;
    padding-right: 60px;
    z-index: 2;
}

/* 4. THE CENTER DIVIDER (Now a real element in the grid) */
.newsletter-wrap::after {
    content: '';
    grid-column: 2;
    width: 1px;
    height: 80px; /* Short, elegant hairline */
    background: rgba(255, 255, 255, 0.2);
    justify-self: center;
}

/* 5. THE FORM SIDE */
.newsletter-form-container {
    grid-column: 3;
    padding-left: 60px;
    z-index: 2;
}

/* THE FIX: Remove all default plugin padding/margins */
.tnp-subscription, .tnp-field, .tnp-field-email {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    max-width: 100%;
}

.newsletter-form-container form {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.5s ease;
    width: 100%;
}

/* Focus effect: Line becomes bright white and expands slightly */
.newsletter-form-container form:focus-within {
    border-bottom-color: #ffffff !important;
    transform: translateY(-2px);
}

/* THE INPUT: Clean & Minimal */
.tnp-email {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 300 !important;
    padding: 15px 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* General Placeholder Styling */
.tnp-email::placeholder {
    color: rgba(255, 255, 255, 0.45) !important; /* Soft white-wash */
    font-family: 'Tahoma', sans-serif !important;
    font-weight: 300 !important;
    font-size: .85rem !important;
    letter-spacing: 0.1em !important; /* Increased spacing for modern look */
    text-transform: uppercase; /* Optional: adds an architectural feel */
    transition: all 0.4s ease;
}
[dir="rtl"] .tnp-email::placeholder {
  font-family: var(--font-main-ar);
}

/* 2. KINETIC EFFECT: The placeholder moves/fades on focus */
.tnp-email:focus::placeholder {
    opacity: 0;
    transform: translateX(20px); /* Slides away as you click */
}

/* Browser-specific fixes to ensure consistency */
.tnp-email::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.45) !important; }
.tnp-email::-moz-placeholder { color: rgba(255, 255, 255, 0.45) !important; }
.tnp-email:-ms-input-placeholder { color: rgba(255, 255, 255, 0.45) !important; }

/* THE SUBMIT: Integrated Text Link */
.tnp-submit {
    /* background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 0 0 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.4s ease !important; */
    padding: 15px 25px;
    text-transform: uppercase;
    font-size: 12px;
    background-color: var(--text-dark);
    color: var(--text-light);
    /* border-radius: 65px; */
    font-weight: 700;
    /* border: 1px solid transparent; */
    text-align: center;
    border: 1px solid;
    transition: all .2s ease;
}

/* Animated Arrow via CSS so it works even if plugin doesn't have it */
.tnp-submit:hover {
    background-color: var(--primary-blue) !important;
    border: 1px solid #ffff !important;
    transition: all .2s ease;
}

.tnp-submit::after {
    content: '→'; /* Use a clean unicode arrow */
    display: inline-block;
    margin-left: 15px;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1;
    vertical-align: middle;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.tnp-submit:hover::after {
    transform: translateX(15px); /* Makes the arrow "fly" forward */
    color: var(--em-accent-ochre); /* Optional: Arrow changes to gold */
}

.newsletter-wrap .tnp-field label {
    display: none !important;
}

.newsletter-wrap .tnp-field-email {
    flex: 0 0 80%;
}

.newsletter-wrap .newsletter-content .newsletter-title {
    font-family: 'Tahoma', 'Inter', sans-serif !important;
    font-size: 3.5rem !important;
    font-weight: 700 !important; /* Elan Media style uses Bold for titles */
    color: #ffffff !important;
    letter-spacing: -0.03em !important;
    line-height: 1.1 !important;
    margin: 0 0 20px 0 !important;
    text-transform: none !important;
    opacity: 1 !important;
    display: block !important;
}
[dir="rtl"] .newsletter-wrap .newsletter-content .newsletter-title {
  font-family: var(--font-main-ar);
}

/* 3. THE SUBTITLE: Forced Weight & Color */
.newsletter-wrap .newsletter-content .newsletter-subtitle {
    font-size: 1.1rem !important;
    font-weight: 400 !important; /* Regular weight for body */
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.6 !important;
    max-width: 420px !important;
    margin: 0 !important;
    display: block !important;
}

/* RESPONSIVE FIXES */
/* RESPONSIVE UPGRADE */
@media (max-width: 991px) {
    .newsletter-wrap {
        /* Collapse to single column */
        grid-template-columns: 1fr !important;
        padding: 60px 30px !important;
        text-align: left; /* Keep left-aligned for a modern look, or 'center' if preferred */
        gap: 40px !important;
        border-radius: 30px; /* Slightly smaller radius for mobile */
    }

    /* Hide the vertical hairline divider */
    .newsletter-wrap::after { 
        display: none !important; 
    } 

    /* Remove extra desktop padding */
    .newsletter-content, 
    .newsletter-form-container {
        padding: 0 !important;
        grid-column: 1 !important;
        width: 100% !important;
    }

    /* Scale down the massive title for mobile screens */
    .newsletter-wrap .newsletter-content .newsletter-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }

    .newsletter-wrap .newsletter-content .newsletter-subtitle {
        font-size: 1rem !important;
        max-width: 100% !important;
    }

    /* Optimize the Form for Touch */
    .newsletter-form-container form {
        flex-direction: row; /* Keep email and button on one line if space allows */
        flex-wrap: wrap;    /* Fallback for very small screens */
        gap: 10px;
    }

    .newsletter-wrap .tnp-field-email {
        flex: 1 1 100% !important; /* Force input to its own line on tiny phones */
    }

    .tnp-submit {
        /* padding: 15px 0 !important; */
        width: auto;
        justify-content: flex-start;
    }
}

/* Extra small devices (Phones under 480px) */
@media (max-width: 480px) {
    .newsletter-wrap {
        padding: 50px 20px !important;
    }

    .newsletter-wrap .newsletter-content .newsletter-title {
        font-size: 1.8rem !important;
    }

    /* Make the button full width for better thumb-reach */
    .newsletter-form-container form {
        border-bottom: none !important;
    }

    .tnp-email {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
        margin-bottom: 10px !important;
    }

    .tnp-submit {
        /* width: 100% !important; */
        /* justify-content: space-between; */
        /* padding: 20px 0 !important; */
        /* border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important; */
    }
}


.elan-newsletter-footer {
    width: 100%;
    margin-top: 40px;
    padding-top: 30px;
    position: relative;
}

@media(min-width: 1200px){
    .elan-newsletter-footer {
      display: flex;
      gap: 3rem;
      align-items: center;
    }
}

@media(max-width: 1200px){
    .elan-newsletter-footer .enf-form-container {
      margin-top: 20px;
  }
}

.tnp-field label {
    font-style: italic;
    font-weight: 600!important;
    color: rgb(247 245 245 / 61%)!important;
    display: none !important;
}

/* Premium Gradient Top Border */
.elan-newsletter-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

.elan-newsletter-footer .enf-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 5px 0;
    text-transform: none; /* Capital letters matti */
    letter-spacing: 0.5px;
}

.elan-newsletter-footer .enf-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    /* margin: 0 0 25px 0; */
}

.elan-newsletter-footer .enf-form-container{
  flex: 1;
}
/* Single Line Layout */
.elan-newsletter-footer .enf-form-container form {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    width: 100%;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;  */
    padding-bottom: 5px;
    transition: border-color 0.3s ease;
}

.elan-newsletter-footer .enf-form-container form:focus-within {
    border-bottom-color: #ffffff !important;
}

.elan-newsletter-footer .enf-form-container input[type="email"],
.elan-newsletter-footer .enf-form-container .mailpoet_text {
    flex: 1 !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.1) !important; 
    border: none !important;
    padding: 0 10px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    outline: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.elan-newsletter-footer .enf-form-container input[type="submit"],
.elan-newsletter-footer .enf-form-container .mailpoet_submit {
    /* background: transparent !important; 
    color: #ffffff !important;
    border: none !important;
    height: 45px !important;
    padding: 0 0 0 15px !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important; */
    padding: 15px 25px;
    text-transform: uppercase;
    font-size: 12px;
    background-color: var(--text-dark);
    color: var(--text-light);
}

.elan-newsletter-footer .enf-form-container input[type="submit"]:hover {
    /* transform: translateX(8px) !important;  */
    /* opacity: 0.8; */
}

/* Mobile responsive */
@media (max-width: 480px) {
    .elan-newsletter-footer .enf-form-container form {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    }
}

@media (max-width: 767px) {
    .elan-newsletter-footer .enf-form-container input[type="submit"] {
        /* padding: 0 !important; */
        /* text-align: left !important; */
        /* margin-top: 10px !important; */
        /* height: 40px !important; */
    }
}

.tnp.tnp-subscription {
    max-width: 100%;
}

/* Responsive */
@media (max-width: 767px) {
    .elan-newsletter-footer .enf-form-container form {
        flex-direction: column !important;
        gap: 7px !important;
    }
    .elan-newsletter-footer .enf-form-container input[type="email"] {
        /* border-right: 1px solid rgba(255, 255, 255, 0.2) !important; */
        border-radius: 4px !important;
        width: 100% !important;
    }
    .elan-newsletter-footer .enf-form-container input[type="submit"] {
        width: auto !important;
    }
    .elan-newsletter-footer .enf-form-container form{
      border-bottom: none!important;
    }
}


/* --- Elan Ultra Modern Grid Styles --- */
.elan-ultra-grid {
    background: #fdfdfd;
    padding: 100px 0;
}

.u-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.u-item {
    background: #fff;
    padding: 45px;
    height: 300px;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.u-item:hover {
    transform: translateY(-10px);
    border-color: #007bc4;
    box-shadow: 0 25px 50px rgba(0, 123, 196, 0.15);
}

/* Subtle Overlay */
.u-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 0;
    background: rgba(0, 123, 196, 0.02);
    transition: height 0.4s ease;
    z-index: 0;
}
.u-item:hover::before { height: 100%; }

/* --- Geometric Shape (Visibility Fixed) --- */
.u-abstract-shape {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.shape-box {
    position: absolute;
    border: 1.5px solid #badaed;
    opacity: 0.25; /* Ippo initially clear aayi kaanam */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.box-1 { width: 100%; height: 100%; top: 0; right: 0; }
.box-2 { 
    width: 70%; height: 70%; top: 15%; right: 15%; 
    border-style: dashed; 
}

/* Shape Hover */
.u-item:hover .u-abstract-shape {
    transform: rotate(15deg) scale(1.2);
    top: -30px;
    right: -30px;
}
.u-item:hover .shape-box {
    opacity: 0.6;
    border-style: solid;
}
.u-item:hover .box-2 { transform: rotate(-30deg); }

/* --- Content --- */
.u-item-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.u-num {
    font-size: 14px;
    font-weight: 800;
    color: #007bc4;
    letter-spacing: 2px;
}

.u-line {
    height: 2px;
    width: 30px;
    background: #007bc4;
    transition: width 0.4s ease;
}
.u-item:hover .u-line { width: 60px; }

.u-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 20px 0 12px;
    line-height: 1.2;
    transition: color 0.3s;
}
.u-item:hover .u-title { color: #007bc4; }

.u-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.u-btn {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #007bc4;
    display: flex;
    align-items: center;
    gap: 10px;
}
.u-btn i { transition: transform 0.3s ease; }
.u-item:hover .u-btn i { transform: translateX(8px); }

/* --- RTL Support --- */
body.rtl .u-abstract-shape { right: auto; left: -20px; }
body.rtl .u-item:hover .u-abstract-shape { right: auto; left: -30px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .u-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .u-grid { grid-template-columns: 1fr; gap: 20px; }
    .u-item { height: auto; padding: 40px 30px; }
    .u-abstract-shape { width: 140px; height: 140px; }
}




/* Home video enlarge */
#hero-video-modal.fancybox__content {
    width: 100vw !important;
    /* height: 100vh !important; */
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: radial-gradient(circle, #1e202c 0%, #0d0e12 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    animation: videoAppear 0.4s ease-out;
}

#hero-video-modal video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important; /* Video cut aavathe screen-il fit aakan */
    z-index: 1 !important;
}

#hero-video-modal .carousel__button.is-close {
    position: absolute !important;
    top: 30px !important;
    right: 30px !important;
    z-index: 99999 !important;
    display: flex !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    width: 45px !important;
    height: 45px !important;
    cursor: pointer !important;
    pointer-events: all !important;
    transition: all 0.3s ease !important;
}

#hero-video-modal .carousel__button.is-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.1);
}

#hero-video-modal .carousel__button.is-close svg {
    width: 22px !important;
    height: 22px !important;
    stroke: currentColor !important;
    stroke-width: 2.5 !important;
}

@keyframes videoAppear {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* Dark Mode logic */
body.dark-mode .fancybox__container {
    filter: sepia(100%) brightness(0.2) contrast(1.2) hue-rotate(0deg);
}

@media (max-width: 768px) {
    #hero-video-modal .carousel__button.is-close {
        top: 20px !important;
        right: 20px !important;
        width: 38px !important;
        height: 38px !important;
    }
}



/* --- CONTAINER: CINEMATIC SPACING --- */
.elan-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 32px;
    position: relative;
}

@media(max-width: 1540px){
    .elan-container {
      padding: 45px 32px;
    }
}

.elan-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 117, 201, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.elan-why-master-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

/* Responsive Perfection */
@media (min-width: 1200px) {
    .elan-why-master-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1199px) {
    .elan-why-master-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 768px) {
    .elan-why-master-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* --- THE CARD: NEXT-GEN GLASS + NEUMORPHIC HYBRID --- */
.elan-premium-card {
    position: relative;
    background: 
        rgba(255, 255, 255, 0.72),
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(32px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(32px);
    border-radius: 32px;
    /* padding: 56px 40px; */
    padding: 25px 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 25px 60px -15px rgba(0, 0, 0, 0.1),
        0 10px 25px -10px rgba(0, 117, 201, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.02);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 2;
    overflow: hidden;
}

.elan-premium-card * {
    position: relative;
    z-index: 3;
}

.elan-premium-card p strong {
    margin-bottom: 15px;
    display: inline-block;
    line-height: 1.4;
    color: #0075C9;
}

/* MULTI-LAYERED HOVER EFFECTS */
.elan-premium-card:hover {
    transform: translateY(-24px) scale(1.03);
    border-color: rgba(0, 117, 201, 0.4);
    box-shadow: 
        0 50px 120px rgba(0, 117, 201, 0.18),
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(0, 117, 201, 0.1);
}

/* SHIMMER + REFLECTION SYSTEM */
.elan-premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 1s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 1;
}

.elan-premium-card:hover::before {
    left: 150%;
}

/* --- LAYERED BACKDROP: DYNAMIC RADIALS --- */
.elan-card-backdrop {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 117, 201, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 100%, rgba(0, 117, 201, 0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    border-radius: 32px;
    z-index: 0;
}

.elan-premium-card:hover .elan-card-backdrop {
    opacity: 1;
}

/* --- ICON SYSTEM: 3D ORBITAL GALAXY --- */
.elan-icon-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Outer Orbit */
.elan-icon-container::before {
    content: '';
    position: absolute;
    width: 130%;
    height: 130%;
    border: 2px solid transparent;
    border-image: conic-gradient(
        from 0deg,
        #0075C9,
        #00aaff,
        #0075C9
    ) 1;
    border-radius: 50%;
    transition: all 1.2s cubic-bezier(0.23, 1, 0.320, 1);
    transform: rotate(0deg) scale(0.85);
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(0, 117, 201, 0.3));
}

/* Inner Orbit */
.elan-icon-container::after {
    content: '';
    position: absolute;
    /* width: 80%;
    height: 80%; */
    width: 90%;
    height: 90%;
    border: 1px solid rgba(0, 117, 201, 0.3);
    border-radius: 50%;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    transform: rotate(-90deg) scale(0.9);
    z-index: 2;
}

.elan-premium-card:hover .elan-icon-container::before {
    transform: rotate(360deg) scale(1.1);
    filter: drop-shadow(0 0 30px rgba(0, 117, 201, 0.5));
}

.elan-premium-card:hover .elan-icon-container::after {
    transform: rotate(270deg) scale(1.05);
    border-color: rgba(0, 117, 201, 0.6);
}

.elan-svg-icon {
    /* width: 76px;
    height: 76px; */
    width: 85px;
    height: 85px;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    filter: 
        drop-shadow(0 12px 24px rgba(0, 117, 201, 0.2))
        brightness(1.1);
    z-index: 4;
}

.elan-premium-card:hover .elan-svg-icon {
    transform: scale(1.25) rotate(15deg);
    filter: 
        drop-shadow(0 16px 32px rgba(0, 117, 201, 0.35))
        brightness(1.2);
}

/* --- TYPOGRAPHY: EDITORIAL PERFECTION --- */
.elan-content-wrapper p {
    color: #1e293b;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 500;
    font-variation-settings: 'wght' 450;
    margin: 0;
    letter-spacing: -0.02em;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    max-width: 300px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.elan-premium-card:hover .elan-content-wrapper p {
    color: #0f172a;
    letter-spacing: -0.025em;
    transform: translateY(-2px);
}

/* --- SIGNATURE LINE: PULSE ANIMATION --- */
.elan-card-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 5px;
    background: 
        linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%),
        linear-gradient(90deg, #0075C9, #00aaff);
    background-size: 0% 100%, 100% 100%;
    background-repeat: no-repeat;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    border-radius: 4px 4px 0 0;
    box-shadow: 0 4px 20px rgba(0, 117, 201, 0.3);
}

.elan-premium-card:hover .elan-card-border {
    width: 140px;
    background-size: 100% 100%, 100% 100%;
    box-shadow: 
        0 6px 25px rgba(0, 117, 201, 0.5),
        0 0 0 1px rgba(0, 117, 201, 0.3);
}

/* --- ORCHESTRATED FLOATING (Cinematic) --- */
@keyframes cinematicFloat {
    0%, 100% { 
        transform: translateY(0) rotateX(0deg) rotateY(0deg); 
    }
    33% { 
        transform: translateY(-6px) rotateX(2deg) rotateY(-1deg); 
    }
    66% { 
        transform: translateY(-12px) rotateX(-1deg) rotateY(2deg); 
    }
}

.elan-premium-card:nth-child(1) { animation: cinematicFloat 12s ease-in-out infinite; }
.elan-premium-card:nth-child(2) { animation: cinematicFloat 12s ease-in-out infinite 3s; }
.elan-premium-card:nth-child(3) { animation: cinematicFloat 12s ease-in-out infinite 6s; }
.elan-premium-card:nth-child(4) { animation: cinematicFloat 12s ease-in-out infinite 9s; }

/* --- RESPONSIVE MASTERPIECE --- */
@media (max-width: 768px) {
    .elan-premium-card {
        padding: 48px 32px;
        border-radius: 24px;
    }
    
    .elan-icon-container {
        width: 120px;
        height: 120px;
    }
    
    .elan-svg-icon {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 480px) {
    .elan-container {
        padding: 80px 24px;
    }
    
    .elan-premium-card {
        padding: 40px 28px;
    }
}

/* --- ULTRA DARK MODE (Next-Level) --- */
@media (prefers-color-scheme: dark) {
    .elan-premium-card {
        background: 
            rgba(17, 24, 39, 0.85),
            linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.3));
        border-color: rgba(255, 255, 255, 0.15);
        box-shadow: 
            0 25px 60px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    
    .elan-content-wrapper p {
        color: #f1f5f9;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
}

/* --- PERFECT 120FPS PERFORMANCE --- */
.elan-premium-card,
.elan-icon-container,
.elan-svg-icon {
    will-change: transform;
    contain: layout style paint;
}

.page-template-template-elan-vision .elan-svg-icon{
  filter: brightness(0) saturate(100%) invert(48%) sepia(90%) saturate(700%) hue-rotate(190deg) brightness(95%);
}

.page-template-template-elan-vision .elan-premium-card:hover .elan-svg-icon{
  filter: brightness(0) saturate(100%) invert(48%) sepia(90%) saturate(700%) hue-rotate(190deg) brightness(1.14) drop-shadow(0 16px 32px rgba(0, 117, 201, 0.35));
}

/* Newsletter Profile Page Custom Theme */
.tnp-profile {
    max-width: 600px;
    margin: 40px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.tnp-profile label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.95rem;
    text-align: left;
}

.tnp-profile .tnp-field {
    margin-bottom: 20px;
}

.tnp-profile input[type="text"],
.tnp-profile input[type="email"],
.tnp-profile select {
    width: 100%;
    padding: 12px 18px;
    border: 1.5px solid #e1e8ef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9fbff;
}

.tnp-profile input:focus,
.tnp-profile select:focus {
    border-color: #0056b3;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

.tnp-profile .tnp-submit {
    background-color: #0056b3 !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 40px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    width: 100%;
    transition: all 0.3s ease !important;
    margin-top: 10px;
}

.tnp-profile .tnp-submit:hover {
    background-color: #003d7a !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
}

/* For RTL/Arabic Support */
body.rtl .tnp-profile label {
    text-align: right;
}


/* Parent Page New */
.page_megamenu_wrapper{

}
.page_megamenu{

}

.page_megamenu_wrapper .mega-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* gap: 50px; */
    gap: clamp(15px, 4vw, 50px);
}

.page_megamenu_wrapper .megamenu-block-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-blue);
}

.page_megamenu_wrapper .megamenu-block-links {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 1px solid rgba(114, 188, 215, 0.50);
    padding-left: 15px !important;
    flex: 0 0 auto;
}

.page_megamenu_wrapper .megamenu-block-links li {
    margin-bottom: 12px;
}

.page_megamenu_wrapper .megamenu-block-links a {
    font-size: 15px;
    font-weight: 600;
    color: #274D78;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

@media (min-width: 1650px) {
    .page_megamenu_wrapper .megamenu-block-title {
        font-size: 40px;
    }
    .page_megamenu_wrapper .mega-content {
        gap: 40px;
    }
}

@media (max-width: 1600px) {
    .page_megamenu_wrapper .megamenu-block-title {
        font-size: 28px;
    }
    .page_megamenu_wrapper .mega-content {
        gap: 40px;
    }
}

@media (max-width: 1400px) {
    .page_megamenu_wrapper .megamenu-block-title {
        font-size: 24px;
    }
    .page_megamenu_wrapper .mega-content {
        gap: 40px;
    }
    .page_megamenu_wrapper .megamenu-block-links li {
      margin-bottom: 8px;
  }
}

/* Laptop (1024px to 1200px) */
@media (max-width: 1200px) {
    .page_megamenu_wrapper .megamenu-block-title {
        font-size: 22px;
    }
    .page_megamenu_wrapper .mega-content {
        gap: 40px;
    }
}

/* iPad / Tablet (768px to 1024px) */
@media (max-width: 1024px) {
    .page_megamenu_wrapper .megamenu-block-title {
        font-size: 20px;
    }
    .page_megamenu_wrapper .mega-content {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .page_megamenu_wrapper .mega-content {
        justify-content: center;
        margin-top: 25px;
    }
    .page_megamenu_wrapper .mega-content {
        gap: 20px;
        flex-wrap: wrap;
    }
}

/* iPad Mini (Vertical) */
@media (max-width: 768px) {
    .page_megamenu_wrapper .megamenu-block-title {
        font-size: 24px;
    }
    .page_megamenu_wrapper .mega-content {
        gap: 15px;
    }
}

/* Mobile Screens (Small devices) */
@media (max-width: 576px) {
    .page_megamenu_wrapper .megamenu-block-title {
        font-size: 22px;
    }
}


@media screen and (orientation: landscape) {
    .popup {
        top: 10%; 
        transform: scale(0.8);
    }
}


/* --- Popup Wrapper --- */
.nl-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    
    /* Initially Hidden State */
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active State (When opened) */
.nl-popup.is-active {
    visibility: visible;
    opacity: 1;
}

/* Background Overlay Blur */
.nl-popup__overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

/* Main Content Box (Animation Effect) */
.nl-popup__container {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    padding: 50px 40px;
    border-radius: 24px;
    z-index: 10;
    max-height: 90vh;
    overflow-y: auto;
    border-top: 6px solid #0075C9;
    
    /* Initial state: Slightly down and scaled down */
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* When active: Slides up and scales to normal size */
.nl-popup.is-active .nl-popup__container {
    transform: translateY(0) scale(1);
}
/* Close Button */
.nl-popup__close-btn {
    position: absolute;
    top: 20px; right: 20px;
    background: #f8f9fa;
    border: none;
    width: 35px; height: 35px;
    border-radius: 50%;
    font-size: 22px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nl-popup__close-btn:hover {
    background: #0075C9;
    color: #fff;
    transform: rotate(90deg);
}

/* Typography */
.nl-popup__title {
    font-family: inherit;
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 800;
    margin-bottom: 10px;
    color: #0075C9; /* Title in brand color */
}

.nl-popup__subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Landscape Mode Adjustments */
@media (max-height: 500px) {
    .nl-popup__container {
        padding: 30px;
    }
    .nl-popup__title { font-size: 24px; margin-bottom: 5px; }
    .nl-popup__subtitle { margin-bottom: 15px; }
}

/* Custom Scrollbar for the popup (Optional) */
.nl-popup__container::-webkit-scrollbar {
    width: 6px;
}
.nl-popup__container::-webkit-scrollbar-thumb {
    background-color: #0075C9;
    border-radius: 10px;
}

/* --- Newsletter Form Input Styles --- */

/* Email Input Field */
input.tnp-email {
    width: 100% !important;
    height: 55px !important;
    padding: 10px 25px !important;
    border: 2px solid #e1e1e1 !important;
    border-radius: 50px !important; /* Rounded design */
    font-size: 16px !important;
    color: #333 !important;
    background-color: #f9f9f9 !important;
    transition: all 0.3s ease !important;
    margin-bottom: 15px !important;
    outline: none !important;
    box-sizing: border-box !important;
}

/* Input Focus Effect */
input.tnp-email:focus {
    border-color: #0075C9 !important; /* Brand Blue */
    background-color: #fff !important;
    box-shadow: 0 5px 15px rgba(0, 117, 201, 0.1) !important;
}

/* Submit Button */
input.tnp-submit {
    width: 100% !important;
    height: 55px !important;
    background-color: #0075C9 !important; /* Brand Blue */
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 20px rgba(0, 117, 201, 0.2) !important;
}

/* Submit Button Hover */
input.tnp-submit:hover {
    background-color: #005a9c !important; /* Slightly darker blue */
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 25px rgba(0, 117, 201, 0.3) !important;
}

/* Submit Button Click */
input.tnp-submit:active {
    transform: translateY(0) !important;
}

/* Placeholder Color */
input.tnp-email::placeholder {
    color: #aaa !important;
    opacity: 1;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    input.tnp-email, 
    input.tnp-submit {
        height: 50px !important;
        font-size: 15px !important;
    }
}

.nl-popup__form {
    margin-top: 20px;
}

.footer-subscribe-section{
  margin-top: 20px;
}

.subscribe-btn {
    padding: 15px 25px;
    text-transform: uppercase;
    font-size: 12px;
    background-color: var(--text-dark);
    color: var(--text-light);
    border-radius: 65px;
    font-weight: 700;
    text-align: center;
    border: 1px solid transparent;
}
[dir="rtl"] .subscribe-btn{
  font-size: 15px;
}

/* hover */
.subscribe-btn:hover {
    background-color: var(--primary-blue);
    transition: all .2s;
    border-color: #fff;
}

.page-template-template-elan-vision .omni-card img{
  filter: brightness(0) saturate(100%) invert(33%) sepia(111%) saturate(700%) hue-rotate(180deg) brightness(95%);
}



/* ── Toggle Button ── */
/* Dark Mode Class */
/* Icons hide/show logic */

.theme-btn {
  position: fixed;
  top: 5px;
  right: 5px;
  background: #f0f0f0;
  border: none;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
  z-index: 20000;
}

.theme-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  margin-left: auto; /* pushes to right side */
}

.toggle-track {
  position: relative;
  width: 52px;
  height: 28px;
  background: #c0c0c0;
  border-radius: 999px;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  box-sizing: border-box;
  display: none;
}

.toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: #fff;
  pointer-events: none;
}

.toggle-thumb {
  position: absolute;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  z-index: 2;
}

/* Dark mode — track & thumb shift */
body.dark-mode .toggle-track {
  background: #4a4a6a;
}

body.dark-mode .toggle-thumb {
  transform: translateX(24px);
}

/* ── True Black Dark Mode ── */
body.dark-mode {
  background-color: #000000 !important;
  color: #e0e0e0;
}

/* Images stay untouched — no filter on img */
body.dark-mode img {
  filter: none !important;
}

/* Cards, containers etc — deep dark, not grey */
body.dark-mode .card,
body.dark-mode .container,
body.dark-mode section {
  background-color: #0a0a0a !important;
  border-color: #222 !important;
}

/* Text adjustments */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode p {
  color: #e0e0e0;
}

.site-footer .site-footer-inner .container {
    background: inherit !important;
}

body.dark-mode .site-footer-bottom {
  background-color: #0a0a0a !important;
}

body.dark-mode .site-footer .site-footer-bottom a,
.site-footer .site-footer-bottom p{
  /* color: #fff; */
}

body.dark-mode .media-showcase-cta{
  background-color: #ffff !important;
}

.media-showcase-cta__img--back{
  /* z-index: 10; */
}

body.dark-mode .media-showcase-cta .section_title{
  color: #0075C9 !important;
}


/* ==========================================================================
   Partners Page Styles (Optimized & Scoped)
   ========================================================================== */

/* --- Layout & Intro Section --- */
.elan-prt-intro-content {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-top: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Stats/Why Partner Grid --- */
.elan-prt-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .elan-prt-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .elan-prt-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.elan-prt-info-card {
    background: #fff;
    padding: 30px 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.elan-prt-info-card h4 {
    color: var(--primary-blue, #003366);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.elan-prt-info-card p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* ==========================================================================
   Our Partners - Categorized Static Grid Design 
   ========================================================================== */

.elan-prt-partners-main {
    background-color: #ffffff;
}

/* Main Heading */
.elan-prt-main-heading {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue, #003366);
    margin-bottom: 50px;
    font-weight: 700;
}

/* Category Group Wrapper */
.elan-prt-category-group {
    margin-bottom: 70px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.elan-prt-category-group:last-child {
    margin-bottom: 0;
}

.elan-prt-category-group:first-of-type {
    border-top: none;
    padding-top: 0;
}

/* Section Title (e.g., Retail & Lifestyle Destinations) */
.elan-prt-cat-title {
    font-size: 1.8rem;
    color: #333333;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.elan-prt-cat-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background-color: var(--primary-blue, #003366);
    border-radius: 2px;
}

/* CSS Grid for Partner Cards */
.elan-prt-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Tablet & Desktop Grid */
@media (min-width: 768px) {
    .elan-prt-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .elan-prt-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Individual Partner Card */
.elan-prt-static-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    /* border-radius: 12px; */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.elan-prt-static-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Logo Area */
.elan-prt-card-logo {
    background-color: #f8f9fa;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    border-bottom: 1px solid #e5e7eb;
}

.elan-prt-card-logo img {
    max-width: 80%;
    max-height: 100px;
    object-fit: contain;
}

/* Content Area */
.elan-prt-card-content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pushes the button to the bottom */
}

.elan-prt-card-title {
    font-size: 1.3rem;
    color: var(--primary-blue, #003366);
    margin-bottom: 15px;
    font-weight: 700;
}

.elan-prt-card-desc {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Allows cards in the same row to be equal height */
}

/* Visit Site Button */
.elan-prt-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue, #003366);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
    align-self: flex-start; /* Keeps button aligned to the left */
}

.elan-prt-visit-btn:hover {
    color: var(--secondary-color, #00509e);
    gap: 12px; /* Small arrow slide animation on hover */
}


/* Career page */
.awsm-job-entry-content ul{
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.awsm-job-entry-content li{
    position: relative;
    padding: 10px 0 10px 48px;
    margin: 0;
    line-height: 1.5;
    border-bottom: 1px solid #f1f1f1;
}

.awsm-job-entry-content li:last-child{
    border-bottom: none;
}

.awsm-job-entry-content li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    border-radius: 8px;
    background: rgba(0,117,201,.08);
    border: 1px solid rgba(0,117,201,.15);
}

.awsm-job-entry-content li::after{
    content: "✓";
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-52%);
    color: #0075c9;
    font-size: 13px;
    font-weight: 700;
}