﻿/* ====== OFFERS PRO UI (RTL) ====== */
.am-offers-hero{
  padding: 90px 0 35px;
  background: radial-gradient(1200px 450px at 50% 0%, rgba(37,99,235,.12), transparent 60%),
              linear-gradient(180deg, #f8fafc, #ffffff);
}

.am-breadcrumb{
  display:flex; justify-content:flex-end; align-items:center; gap:10px;
  font-size:13px; color:#6b7280; margin-bottom:18px;
}
.am-breadcrumb a{ color:#334155; text-decoration:none; }
.am-breadcrumb a:hover{ text-decoration:underline; }
.am-breadcrumb .sep{ opacity:.6; }

.am-hero-grid{
  display:grid; grid-template-columns: 1.25fr .75fr; gap:24px;
  align-items:stretch;
}
@media (max-width: 991px){
  .am-hero-grid{ grid-template-columns: 1fr; }
}

.am-hero-title{
  font-size:40px; line-height:1.2; margin:0 0 12px;
  letter-spacing:-.4px; color:#0f172a; font-weight:800;
}
@media (max-width: 575px){
  .am-hero-title{ font-size:30px; }
}

.am-hero-sub{
  margin:0 0 18px; color:#475569; font-size:15px; line-height:1.9;
  max-width: 720px;
}

.am-hero-pills{
  display:flex; flex-wrap:wrap; gap:10px;
  justify-content:flex-start;
}
.am-pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px; border-radius:999px;
  background:#fff; border:1px solid #e5e7eb;
  color:#0f172a; box-shadow: 0 10px 25px rgba(15,23,42,.04);
  font-size:13px;
}
.am-pill i{ opacity:.8; }
.am-pill b{ font-weight:800; }
.am-pill-link{ text-decoration:none; }
.am-pill-link:hover{ border-color:#cbd5e1; }

.am-hero-filter{ display:flex; flex-direction:column; gap:14px; }
.am-filter-card{
  background:#fff; border:1px solid #e5e7eb; border-radius:18px;
  padding:18px; box-shadow: 0 18px 45px rgba(15,23,42,.06);
}
.am-field{ margin-bottom:12px; }
.am-field label{ display:block; font-size:13px; color:#334155; margin-bottom:6px; font-weight:700; }

.am-input, .am-select{
  position:relative;
}
.am-input i, .am-select i{
  position:absolute; right:12px; top:50%; transform:translateY(-50%);
  color:#64748b; font-size:14px;
}
.am-input input{
  width:100%;
  padding:12px 40px 12px 12px;
  border-radius:12px; border:1px solid #e5e7eb;
  outline:none;
}
.am-input input:focus{ border-color:#93c5fd; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }

.am-select select{
  width:100%;
  padding:12px 40px 12px 12px;
  border-radius:12px; border:1px solid #e5e7eb;
  outline:none;
}

.am-btn{
  width:100%;
  border:none;
  background:#2563eb;
  color:#fff;
  padding:12px 14px;
  border-radius:12px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.am-btn:hover{ filter:brightness(.96); }

.am-side-card{
  background:#0f172a;
  color:#fff;
  border-radius:18px;
  padding:18px;
  box-shadow: 0 18px 45px rgba(15,23,42,.18);
}
.am-side-card h4{ margin:0 0 8px; font-weight:900; }
.am-side-card p{ margin:0 0 10px; color:rgba(255,255,255,.85); font-size:13px; line-height:1.9; }
.am-link{ color:#fff; text-decoration:none; font-weight:800; display:inline-flex; gap:8px; align-items:center; }
.am-link:hover{ text-decoration:underline; }

.am-offers-page{
  padding: 28px 0 80px;
  background:#fff;
}

.am-section-head{
  text-align:right;
  margin-bottom:18px;
}
.am-section-head h2{
  margin:0 0 6px;
  font-size:22px;
  font-weight:900;
  color:#0f172a;
}
.am-section-head p{
  margin:0;
  color:#64748b;
  font-size:13px;
}

/* ====== Offer Card ====== */
.am-offer-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 16px 40px rgba(15,23,42,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height:100%;
  display:flex;
  flex-direction:column;
}
.am-offer-card:hover{
  transform: translateY(-6px);
  border-color:#cbd5e1;
  box-shadow: 0 26px 70px rgba(15,23,42,.12);
}

.am-offer-media{
  position:relative;
  display:block;
  height:220px;
  background:#f1f5f9;
}
.am-offer-media img{
max-width: 100%;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.am-offer-tag{
  position:absolute;
  right:12px;
  top:12px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(226,232,240,.9);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  color:#0f172a;
}
.am-offer-discount{
  position:absolute;
  left:12px;
  top:12px;
  background:#ef4444;
  color:#fff;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}

.am-offer-body{
  padding:16px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.am-offer-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  margin-bottom:10px;
}
.am-offer-title{
  margin:0;
  font-size:15px;
  line-height:1.6;
  font-weight:900;
  color:#0f172a;
  flex:1;
}
.am-offer-prices{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  white-space:nowrap;
}
.am-price{
  font-weight:900;
  color:#2563eb;
  font-size:14px;
}
.am-old{
  color:#94a3b8;
  font-size:12px;
  text-decoration: line-through;
}

.am-offer-desc{
  margin:0 0 14px;
  color:#475569;
  font-size:13px;
  line-height:1.9;
  flex:1;
}

.am-offer-foot{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.am-offer-store{
  display:flex;
  align-items:center;
  gap:8px;
  color:#334155;
  font-size:12px;
  font-weight:800;
}
.am-offer-store i{ color:#64748b; }

.am-offer-btn{
  text-decoration:none;
  background:#0f172a;
  color:#fff;
  padding:10px 12px;
  border-radius:12px;
  font-weight:900;
  font-size:12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.am-offer-btn:hover{ filter:brightness(.95); }

/* Empty */
.am-empty{
  background:#f8fafc;
  border:1px dashed #cbd5e1;
  border-radius:18px;
  padding:30px;
  text-align:center;
}
.am-empty h3{ margin:0 0 8px; font-weight:900; }
.am-empty p{ margin:0 0 14px; color:#64748b; }

.am-btn-light{
  background:#0f172a;
  width:auto;
  padding:10px 14px;
}

/* Load more */
.am-loadmore{
  border:none;
  background:#2563eb;
  color:#fff;
  padding:12px 24px;
  border-radius:12px;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.am-loadmore:disabled{ opacity:.7; }
.am-spinner{
  width:16px; height:16px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.45);
  border-top-color:#fff;
  display:inline-block;
  animation: amspin 1s linear infinite;
}
@keyframes amspin { to { transform: rotate(360deg); } }

/* ===== HERO DESKTOP OPTIMIZATION ===== */

@media (min-width: 1200px){

  .am-hero-grid{
    grid-template-columns: 1.4fr .8fr; /* 60% / 40% */
    align-items: center;
  }

  .am-hero-text{
    text-align: right;
    padding-left: 40px;
  }

  .am-hero-title{
    font-size: 44px;
    text-align: right;
  }

  .am-hero-sub{
    text-align: right;
    max-width: 700px;
  }

  .am-hero-pills{
    justify-content: flex-start;
  }

  .am-filter-card{
    margin-top: 0;
  }

  .am-offers-hero{
    padding-top: 110px;
    padding-bottom: 60px;
  }

}

/* ===== FORCE RTL ALIGNMENT ===== */

.am-offers-hero,
.am-offers-page,
.am-offer-card,
.am-section-head,
.am-offer-body{
  text-align: right;
  direction: rtl;
}

/* Pills align right */
.am-hero-pills{
  justify-content: flex-start;
}

/* Offer grid spacing desktop */
@media (min-width: 1400px){
  .am-offer-card{
    border-radius: 20px;
  }
}

/* ===== HERO ===== */

.am-events-hero{
  padding:110px 0 70px;
  background:linear-gradient(135deg,#f8fafc,#eef2f7);
  text-align:right;
}

.am-events-title{
  font-size:42px;
  font-weight:800;
  margin-bottom:15px;
}

.am-events-sub{
  font-size:18px;
  color:#6b7280;
  max-width:650px;
}

.am-events-meta{
  margin-top:25px;
}

.meta-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 18px;
  background:#ffffff;
  border-radius:30px;
  box-shadow:0 8px 20px rgba(0,0,0,.05);
  font-weight:600;
}

/* ===== PAGE ===== */

.am-events-page{
  padding:70px 0;
  background:#ffffff;
}

/* ===== CARD ===== */

.am-event-card{
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  transition:.3s;
  height:100%;
  display:flex;
  flex-direction:column;
}

.am-event-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.am-event-image{
  position:relative;
  height:240px;
  overflow:hidden;
}

.am-event-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.4s;
}

.am-event-card:hover img{
  transform:scale(1.05);
}

.am-event-date{
  position:absolute;
  top:15px;
  left:15px;
  background:#2563eb;
  color:#fff;
  padding:10px 12px;
  border-radius:12px;
  text-align:center;
}

.am-event-date .day{
  display:block;
  font-size:18px;
  font-weight:700;
}

.am-event-date .month{
  font-size:12px;
  opacity:.9;
}

/* BODY */

.am-event-body{
  padding:22px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.am-event-body h3{
  font-size:20px;
  font-weight:700;
  margin-bottom:10px;
}

.am-event-body p{
  font-size:14px;
  color:#6b7280;
  margin-bottom:15px;
}

.am-event-meta-row{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  font-size:13px;
  color:#6b7280;
  margin-bottom:18px;
}

.am-event-btn{
  margin-top:auto;
  display:inline-block;
  padding:10px 20px;
  border-radius:10px;
  background:#2563eb;
  color:#fff;
  font-weight:600;
  text-align:center;
  transition:.3s;
}

.am-event-btn:hover{
  background:#1e40af;
  color:#fff;
}

.am-loadmore-btn{
  padding:12px 30px;
  border-radius:30px;
  background:#111827;
  color:#fff;
  font-weight:600;
  border:none;
}




/* HERO */

.events-hero{
  padding:110px 0 70px;
  background:linear-gradient(135deg,#f9fafb,#eef2f7);
}

.events-title{
  font-size:42px;
  font-weight:800;
}

.events-subtitle{
  color:#6b7280;
  max-width:650px;
  font-size:18px;
  margin-top:10px;
}

.events-stats{
  margin-top:25px;
}

.stat-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#fff;
  padding:10px 20px;
  border-radius:30px;
  box-shadow:0 10px 25px rgba(0,0,0,.06);
}

/* FILTER */

.events-filter-bar{
  background:#fff;
  padding:25px 0;
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
}

.events-search{
  border-radius:10px;
}

.events-select{
  border-radius:10px;
}

.events-filter-btn{
  background:#2563eb;
  color:#fff;
  border-radius:10px;
}

/* PAGE */

.events-page{
  padding:70px 0;
}

/* CARD */

.event-card-modern{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.07);
  transition:.3s;
  height:100%;
  display:flex;
  flex-direction:column;
}

.event-card-modern:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.event-image{
  height:230px;
  position:relative;
}

.event-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.event-date{
  position:absolute;
  top:15px;
  left:15px;
  background:#2563eb;
  color:#fff;
  padding:10px 12px;
  border-radius:10px;
  text-align:center;
}

.event-date .day{
  display:block;
  font-weight:700;
}

.event-content{
  padding:20px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.event-meta{
  font-size:13px;
  color:#6b7280;
  display:flex;
  gap:15px;
  margin:12px 0;
}

.event-btn{
  margin-top:auto;
  background:#111827;
  color:#fff;
  padding:10px;
  text-align:center;
  border-radius:10px;
}

.load-more-btn{
  background:#111827;
  color:#fff;
  padding:12px 35px;
  border-radius:30px;
}



.events-hero{
    background:#f4f6fb;
    padding:60px 0 40px;
}

.hero-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    flex-wrap:wrap;
}

.hero-text{
    max-width:520px;
    text-align:right;
}

.hero-text h1{
    font-size:34px;
    font-weight:800;
    margin-bottom:10px;
}

.hero-text p{
    color:#6b7280;
    line-height:1.8;
}

.hero-stats{
    margin-top:15px;
    font-weight:600;
    color:#1e293b;
}

.hero-filter{
    background:white;
    padding:18px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    min-width:280px;
}

.filter-box{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.filter-box input,
.filter-box select{
    border:1px solid #e5e7eb;
    border-radius:10px;
    padding:10px;
}

.filter-box button{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:10px;
    border-radius:10px;
    font-weight:600;
}

.breadcrumb-modern{
    margin-bottom:10px;
    color:#9ca3af;
}

.breadcrumb-modern a{
    color:#2563eb;
}

/* ًں“± ظ…ظˆط¨ط§ظٹظ„ */
@media(max-width:768px){
    .hero-inner{
        flex-direction:column;
        text-align:right;
    }

    .hero-filter{
        width:100%;
    }
}

/* HERO */

.event-hero{
position:relative;
height:380px;
display:flex;
align-items:center;
overflow:hidden;
}

.hero-bg{
position:absolute;
width:100%;
height:100%;
object-fit:cover;
}
/* Event hero overlay */
.event-hero .hero-overlay{
position:absolute;
width:100%;
height:100%;
background:linear-gradient(to left, rgba(0,0,0,.6), rgba(0,0,0,.2));
}

.event-hero .hero-content{
position:relative;
color:#fff;
}

.event-hero .hero-content h1{
font-size:42px;
font-weight:800;
margin-top:10px;
}

.event-hero .hero-meta{
margin-top:10px;
opacity:.9;
}

.breadcrumb-modern{
color:#fff;
font-size:14px;
opacity:.8;
}

.breadcrumb-modern a{
color:#fff;
text-decoration:none;
}

/* CONTENT */

.event-content{
padding:60px 0;
background:#f8fafc;
}

/* GALLERY */

.event-gallery{
background:#fff;
padding:15px;
border-radius:16px;
box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.main-img{
width:100%;
border-radius:12px;
margin-bottom:10px;
}

.thumbs{
display:flex;
gap:8px;
overflow:auto;
}

.thumb{
width:70px;
border-radius:8px;
cursor:pointer;
}

/* DESCRIPTION */

.event-description{
margin-top:25px;
background:#fff;
padding:25px;
border-radius:16px;
box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.event-description h2{
font-size:24px;
font-weight:700;
margin-bottom:10px;
}

/* SIDEBAR */

.event-info-card{
background:#fff;
padding:25px;
border-radius:16px;
box-shadow:0 10px 30px rgba(0,0,0,.06);
position:sticky;
top:120px;
}

.event-info-card h3{
font-weight:700;
margin-bottom:15px;
}

.event-info-card ul{
list-style:none;
padding:0;
}

.event-info-card li{
margin-bottom:10px;
color:#475569;
}

.btn-contact{
display:block;
text-align:center;
background:#22c55e;
color:#fff;
padding:14px;
border-radius:10px;
margin-top:15px;
font-weight:700;
text-decoration:none;
}

.btn-contact:hover{
background:#16a34a;
}



/* HERO */
.blog-hero{
    background:#f4f7fb;
    padding:70px 0 50px;
}

.hero-content{
    max-width:700px;
}

.hero-breadcrumb{
    color:#7b8794;
    font-size:14px;
}

.blog-hero h1{
    font-size:40px;
    font-weight:800;
    margin:10px 0;
}

.blog-hero p{
    color:#6b7280;
    font-size:18px;
}

/* categories */
.blog-categories{
    padding:25px 0;
    border-bottom:1px solid #eee;
}

.cat-pill{
    display:inline-block;
    padding:8px 18px;
    border-radius:30px;
    background:#f1f3f7;
    margin:5px;
    color:#333;
    font-size:14px;
    transition:.3s;
}

.cat-pill:hover{
    background:#0d6efd;
    color:#fff;
}

.cat-pill.active{
    background:#0d6efd;
    color:#fff;
}

/* blog cards */
.blog-section{
    padding:60px 0;
}

.blog-card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    transition:.3s;
    margin-bottom:30px;
}

.blog-card:hover{
    transform:translateY(-8px);
}

.blog-image img{
  max-width: 100%;
    width:100%;
    height:220px;
    object-fit:cover;
}

.blog-body{
    padding:20px;
    text-align:right;
}

.blog-date{
    font-size:13px;
    color:#888;
    margin-bottom:8px;
}

.blog-card h3{
    font-size:20px;
    font-weight:700;
    margin-bottom:10px;
}

.blog-card p{
    color:#666;
    font-size:15px;
    line-height:1.8;
}

.read-more{
    color:#0d6efd;
    font-weight:600;
    text-decoration:none;
}

.read-more:hover{
    text-decoration:underline;
}



body{
direction: rtl;
text-align: right;
font-family: "Cairo", sans-serif !important;
}

/* HERO */
.blog-hero-ar{
padding:60px 0 30px;
background:#fff;
border-bottom:1px solid #eee;
}

.blog-title-ar{
font-size:36px;
font-weight:800;
line-height:1.6;
margin:15px 0;
color:#111;
}

.blog-meta-ar{
color:#777;
font-size:14px;
display:flex;
gap:20px;
}

/* READING AREA */
.blog-reading-area{
padding:50px 0;
background:#f7f8fb;
}

.reading-content{
background:#fff;
padding:40px;
border-radius:14px;
box-shadow:0 5px 20px rgba(0,0,0,.05);
font-size:19px;
line-height:2;
color:#222;
}

.reading-content p{
margin-bottom:18px;
}

.reading-cover{
width:100%;
border-radius:12px;
margin-bottom:25px;
}

/* AUTHOR */
.author-box{
background:#fff;
padding:25px;
border-radius:14px;
text-align:center;
box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.author-box img{
width:80px;
height:80px;
border-radius:50%;
margin-bottom:10px;
}


/* Verify Email Page */
.am-verify-page{
  min-height: 75vh;
  padding: 90px 0 70px;
  background: radial-gradient(900px 320px at 50% 0%, rgba(37,99,235,.10), transparent 65%), #f8fafc;
}

.am-verify-wrap{
  display:flex;
  justify-content:center;
}

.am-verify-card{
  width:100%;
  max-width:720px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:20px;
  padding:34px 28px;
  box-shadow:0 20px 50px rgba(15,23,42,.08);
  text-align:right;
}

.am-verify-icon{
  width:64px;
  height:64px;
  border-radius:16px;
  background:#eff6ff;
  color:#2563eb;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  margin-bottom:16px;
}

.am-verify-title{
  margin:0 0 10px;
  font-size:30px;
  font-weight:800;
  color:#0f172a;
}

.am-verify-sub{
  margin:0 0 18px;
  color:#475569;
  line-height:1.9;
  font-size:15px;
}

.am-verify-alert{
  background:#ecfdf3;
  color:#166534;
  border:1px solid #bbf7d0;
  border-radius:12px;
  padding:12px 14px;
  margin-bottom:16px;
  font-weight:700;
}

.am-verify-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
}

.am-verify-btn{
  border:none;
  background:#2563eb;
  color:#fff;
  padding:12px 18px;
  border-radius:12px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.am-verify-btn:hover{ filter:brightness(.96); }

.am-verify-link{
  border:none;
  background:transparent;
  color:#334155;
  text-decoration:underline;
  font-weight:700;
}
/* Home Hero Categories responsive fix */
.hero-section .hero-categories {
  display: flex;
  flex-wrap: wrap !important;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  padding: 0 8px;
  overflow: visible !important;
}

.hero-section .hero-category {
  min-width: 120px !important;
  flex: 0 1 140px !important;
}

@media (max-width: 768px) {
  .hero-section .hero-categories {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0 10px;
    margin-top: 24px;
    overflow: visible !important;
  }

  .hero-section .hero-category {
    min-width: 0 !important;
    width: 100%;
    flex: initial !important;
    padding: 12px 8px;
    border-radius: 12px;
  }

  .hero-section .hero-category i {
    font-size: 18px;
  }

  .hero-section .hero-category span {
    font-size: 12px;
    line-height: 1.3;
  }
}

@media (max-width: 520px) {
  .hero-section .hero-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile auth modal fix: keep login/register centered and scroll inside modal */
body.modal-open {
  overflow: hidden !important;
  padding-right: 0 !important;
}

@media (max-width: 768px) {
  #myModal.modal,
  #registerModal.modal {
    padding: 10px !important;
  }

  #myModal.modal:before,
  #registerModal.modal:before {
    display: none !important;
  }

  #myModal.modal.show,
  #registerModal.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  #myModal .modal-dialog,
  #registerModal .modal-dialog {
    margin: 0 auto !important;
    width: 100%;
    max-width: 430px;
    display: block;
  }

  #myModal .modal-content,
  #registerModal .modal-content {
    padding: 1.1rem 1rem !important;
    border-radius: 14px;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
  }

  #myModal .modal-content .modal-header,
  #registerModal .modal-content .modal-header {
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  #myModal.modal,
  #registerModal.modal {
    padding: 8px !important;
  }

  #myModal .modal-content,
  #registerModal .modal-content {
    max-height: calc(100dvh - 16px);
    padding: 1rem 0.9rem !important;
  }
}

/* Header polish: mobile full-width + clearer logo on all screens */
@media (max-width: 991px) {
  #site-header .custom-header {
    padding: 0;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  }

  #site-header .custom-header .container-fluid {
    padding-right: 0;
    padding-left: 0;
  }

  #site-header .custom-header .row {
    min-height: 70px;
    margin: 0;
    padding: 8px 12px;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #site-header .site-logo {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  #site-header .site-logo a {
    display: inline-flex;
    align-items: center;
  }

  #site-header .site-logo .main-logo {
    max-height: 52px;
    max-width: 100% !important;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.12));
  }

  #site-header .header-mobile-actions {
    gap: 6px;
    justify-content: flex-end !important;
    flex-wrap: nowrap;
  }

  /* Login/dashboard entry remains inside mobile side menu */
  #site-header .header-mobile-actions .btn-login,
  #site-header .header-mobile-actions .dropdown {
    display: none !important;
  }

  #site-header .mobile-menu-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-left: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, #f9fbff 0%, #edf3ff 100%);
    border: 1px solid #cddaf1;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.14);
  }

  #site-header .mobile-menu-btn span:nth-child(1),
  #site-header .mobile-menu-btn span:nth-child(3) {
    width: 19px;
  }

  #site-header .mobile-menu-btn span:nth-child(2) {
    width: 13px;
  }

  #site-header .mobile-menu-btn span {
    height: 2.5px;
    margin: 0;
    border-radius: 999px;
    background: #22439f;
  }

  #site-header .mobile-menu-btn.is-active span:nth-child(1) {
    width: 19px;
    transform: translateY(6px) rotate(45deg);
  }

  #site-header .mobile-menu-btn.is-active span:nth-child(2) {
    opacity: 0;
  }

  #site-header .mobile-menu-btn.is-active span:nth-child(3) {
    width: 19px;
    transform: translateY(-6px) rotate(-45deg);
  }

  #site-header .header-main.header-fixed .site-logo .main-logo {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #site-header .header-main.header-fixed .site-logo .sticky-logo {
    display: none !important;
  }

  /* Keep mobile navbar visible; do not slide it away on scroll */
  #site-header .header-main.hidden-menu {
    top: 0 !important;
  }
}

@media (max-width: 576px) {
  #site-header .custom-header .row {
    min-height: 66px;
    padding: 7px 10px;
  }

  #site-header .site-logo .main-logo {
    max-height: 46px;
  }

  #site-header .mobile-menu-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
}

@media (min-width: 992px) {
  #site-header .site-logo a {
    display: inline-flex;
    align-items: center;
  }

  #site-header .site-logo .main-logo {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.08));
  }

  #site-header .header-main.header-fixed .site-logo .main-logo {
    display: inline-block !important;
    max-height: 48px;
  }

  #site-header .header-main.header-fixed .site-logo .sticky-logo {
    display: none !important;
  }
}

/* Desktop nav active state clarity */
@media (min-width: 992px) {
  #site-header .site-menu li a {
    padding: 8px 12px;
    border-radius: 999px;
    transition: all 0.2s ease;
  }

  #site-header .site-menu li a.active {
    color: #1d4ed8 !important;
    background: #eef4ff;
    font-weight: 800;
  }

  #site-header .site-menu li a.active::after {
    display: none !important;
  }
}

/* Home hero title: Arabic sign style */
.hero-brand-ar-only {
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.2px;
  color: #eaf1ff;
  margin-bottom: 16px;
  text-shadow:
    0 0 8px rgba(59, 130, 246, 0.35),
    0 0 20px rgba(37, 99, 235, 0.32),
    0 3px 0 rgba(7, 17, 45, 0.45);
  -webkit-text-stroke: 0.8px rgba(129, 171, 255, 0.55);
}

@media (max-width: 768px) {
  .hero-brand-ar-only {
    font-size: clamp(30px, 9vw, 42px);
    -webkit-text-stroke: 0.5px rgba(129, 171, 255, 0.45);
  }
}

/* Weekly stores carousel */
.weekly-stores-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 0;
}

.weekly-nav-btn {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #2c63e6;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background-color .2s ease;
}

.weekly-nav-btn:hover {
  background: #1f4fc2;
  transform: translateY(-1px);
}

.weekly-nav-btn:focus-visible {
  outline: 2px solid #173a91;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .weekly-stores-controls {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .nav-control-layout1 .owl-nav,
  .nav-control-layout2 .owl-nav,
  .nav-control-layout3,
  .nav-control-layout4 .owl-nav,
  .slick-navigation-layout1 .slick-navigation,
  .slick-navigation-layout2 .slick-navigation {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .nav-control-layout1 .owl-nav,
  .nav-control-layout2 .owl-nav,
  .nav-control-layout4 .owl-nav {
    margin-top: 18px;
    text-align: center;
  }

  .nav-control-layout2 .owl-nav > button,
  .nav-control-layout4 .owl-nav > button {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0 6px;
  }

  .nav-control-layout3 {
    position: static;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    justify-content: center;
    margin-top: 18px;
  }
}

.weekly-stores-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  direction: ltr;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8px;
  scrollbar-width: none;
}

.weekly-stores-marquee:not(.is-static) {
  cursor: grab;
}

.weekly-stores-marquee:not(.is-static):active {
  cursor: grabbing;
}

.weekly-stores-track {
  display: flex;
  gap: 22px;
  width: max-content;
}

.weekly-stores-marquee::-webkit-scrollbar {
  display: none;
}

.weekly-stores-marquee.is-static + .weekly-stores-controls {
  display: none;
}

.weekly-stores-marquee .store-carousel-item {
  flex: 0 0 clamp(260px, 27vw, 335px);
  min-width: 260px;
  padding: 0 0 8px;
  scroll-snap-align: start;
}

@media (max-width: 991px) {
  .weekly-stores-marquee .store-carousel-item {
    flex-basis: 300px;
    min-width: 300px;
  }
}

@media (max-width: 575px) {
  .weekly-stores-track {
    gap: 14px;
  }

  .weekly-stores-marquee .store-carousel-item {
    flex-basis: 86vw;
    min-width: 86vw;
  }
}

/* Weekly stores carousel spacing */
.weekly-stores-carousel .weekly-store-item{
  padding: 0 2px 14px;
}

.weekly-stores-carousel .store-carousel-item,
.home-stores-carousel .store-carousel-item{
  padding: 0 2px 14px;
}

/* Fallback: show carousels as grid if Owl is not initialized */
.weekly-stores-carousel,
.home-stores-carousel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.weekly-stores-carousel.owl-loaded,
.home-stores-carousel.owl-loaded {
  display: block;
}

@media (max-width: 991px) {
  .weekly-stores-carousel,
  .home-stores-carousel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .weekly-stores-carousel,
  .home-stores-carousel {
    grid-template-columns: 1fr;
  }
}

/* Mall stats cards spacing on small screens */
@media (max-width: 767px) {
  .mall-stats-section .row.g-4 > [class*="col-"] {
    margin-bottom: 14px;
  }

  .mall-stats-section .row.g-4 > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
}


/* Home Hero Categories responsive fix */
.hero-section .hero-categories {
  display: flex;
  flex-wrap: wrap !important;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  padding: 0 8px;
  overflow: visible !important;
}

.hero-section .hero-category {
  min-width: 120px !important;
  flex: 0 1 140px !important;
}

@media (max-width: 768px) {
  .hero-section .hero-categories {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0 10px;
    margin-top: 24px;
    overflow: visible !important;
  }

  .hero-section .hero-category {
    min-width: 0 !important;
    width: 100%;
    flex: initial !important;
    padding: 12px 8px;
    border-radius: 12px;
  }

  .hero-section .hero-category i {
    font-size: 18px;
  }

  .hero-section .hero-category span {
    font-size: 12px;
    line-height: 1.3;
  }
}

@media (max-width: 520px) {
  .hero-section .hero-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}



/* =========================================================
   Store Details Luxe UI
========================================================= */
.store-lx-hero {
  position: relative;
  padding: 88px 0 42px;
  background:
    radial-gradient(1200px 280px at 85% -10%, rgba(13, 40, 149, 0.10), transparent 65%),
    radial-gradient(900px 260px at 10% -20%, rgba(56, 189, 248, 0.12), transparent 70%),
    linear-gradient(180deg, #f8fbff 0%, #f4f7fc 55%, #f8fafc 100%);
}

.store-lx-card {
  padding: 42px;
  border: 1px solid #e8edf8;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.84));
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.10);
}

.store-lx-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 18px;
}

.store-lx-breadcrumb a {
  color: #1d4ed8;
  font-weight: 700;
}

.store-lx-headline {
  margin-bottom: 14px;
}

.store-lx-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #dbe8ff;
  background: linear-gradient(135deg, #eff5ff 0%, #f7faff 100%);
  color: #0d2895;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.store-lx-title {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 900;
  letter-spacing: -0.3px;
  color: #0f172a;
  margin-bottom: 0;
}

.store-lx-description {
  font-size: 16px;
  line-height: 1.9;
  color: #475569;
  max-width: 760px;
  margin-bottom: 24px;
}

.store-lx-actions {
  gap: 10px;
  margin-bottom: 24px;
}

.store-lx-actions .btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
}

.store-lx-actions .btn-premium.primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #0d2895 100%);
  box-shadow: 0 10px 20px rgba(13, 40, 149, 0.30);
}

.store-lx-actions .btn-premium.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.28);
}

.store-lx-actions .btn-premium.outline {
  border-color: #dbe5f5;
  color: #0f172a;
  background: #ffffff;
}

.store-lx-actions .btn-premium:hover {
  transform: translateY(-2px);
}

.store-lx-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.store-lx-stats .stat-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}

.store-lx-stats .stat-item strong {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
  color: #0f172a;
  font-weight: 900;
}

.store-lx-stats .stat-item span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.store-lx-logo-wrap {
  position: relative;
  border-radius: 24px;
  padding: 30px;
  border: 1px solid #e6ecf7;
  background: linear-gradient(170deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

.store-lx-logo-ring {
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px dashed #c8d8f7;
  pointer-events: none;
}

.store-lx-logo-wrap img {
  width: clamp(130px, 17vw, 190px);
  height: clamp(130px, 17vw, 190px);
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.store-lx-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.store-lx-contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.store-lx-contact-item i {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.store-lx-offers {
  position: relative;
  padding: 22px 0 86px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.store-lx-offers-head {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 24px;
}

.store-lx-offers-head h2 {
  margin-bottom: 4px;
  font-size: 30px;
  font-weight: 900;
  color: #0f172a;
}

.store-lx-offers-head p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.store-lx-offers-head .offers-count {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbe5f5;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 800;
}

.store-lx-offer-card {
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.store-lx-offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.store-lx-offer-image {
  position: relative;
  height: 228px;
  overflow: hidden;
}

.store-lx-offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.store-lx-offer-card:hover .store-lx-offer-image img {
  transform: scale(1.05);
}

.store-lx-offer-image .offer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.00) 40%, rgba(2, 6, 23, 0.48) 100%);
}

.store-lx-offer-image .price-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  background: #ffffff;
  color: #0d2895;
  box-shadow: 0 8px 16px rgba(2, 6, 23, 0.16);
}

.store-lx-offer-body {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 18px 18px 16px;
}

.store-lx-offer-body .offer-title {
  font-size: 19px;
  line-height: 1.45;
  margin: 0 0 8px;
  color: #0f172a;
  font-weight: 900;
}

.store-lx-offer-body .offer-desc {
  color: #64748b;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.store-lx-offer-body .offer-footer {
  margin-top: auto;
}

.store-lx-offer-body .btn-offer-primary {
  width: 100%;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #1d4ed8 0%, #0d2895 100%);
  box-shadow: 0 12px 22px rgba(13, 40, 149, 0.30);
}

.store-lx-offer-body .btn-offer-primary i {
  font-size: 12px;
}

.store-lx-empty {
  border-radius: 18px;
  border: 1px dashed #cbd5e1;
  background: #ffffff;
  text-align: center;
  padding: 38px 20px;
}

.store-lx-empty i {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 24px;
  margin-bottom: 12px;
}

.store-lx-empty h4 {
  margin-bottom: 6px;
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
}

.store-lx-empty p {
  margin: 0;
  color: #64748b;
}

@media (max-width: 991px) {
  .store-lx-hero {
    padding-top: 76px;
  }

  .store-lx-card {
    padding: 26px;
    border-radius: 22px;
  }

  .store-lx-title {
    font-size: 32px;
  }

  .store-lx-logo-wrap {
    margin-bottom: 6px;
  }
}

@media (max-width: 768px) {
  .store-lx-card {
    padding: 20px;
  }

  .store-lx-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .store-lx-description {
    font-size: 14px;
  }

  .store-lx-actions .btn-premium {
    width: 100%;
  }

  .store-lx-stats {
    grid-template-columns: 1fr;
  }

  .store-lx-offers-head h2 {
    font-size: 26px;
  }

  .store-lx-offer-image {
    height: 205px;
  }
}

@media (max-width: 576px) {
  .store-lx-hero {
    padding: 68px 0 22px;
  }

  .store-lx-card {
    padding: 16px;
    border-radius: 18px;
  }

  .store-lx-breadcrumb {
    font-size: 12px;
  }

  .store-lx-title {
    font-size: 24px;
  }

  .store-lx-logo-wrap {
    padding: 22px;
  }

  .store-lx-offers {
    padding-bottom: 60px;
  }

  .store-lx-offers-head h2 {
    font-size: 22px;
  }

  .store-lx-offers-head .offers-count {
    height: 36px;
    font-size: 12px;
  }

  .store-lx-offer-body {
    min-height: 190px;
    padding: 14px;
  }
}

/* =========================================================
   Contact Us Page
========================================================= */
.contact-lx-hero {
  padding: 88px 0 26px;
  background:
    radial-gradient(1000px 260px at 85% -20%, rgba(13, 40, 149, 0.12), transparent 65%),
    radial-gradient(700px 240px at 15% -20%, rgba(56, 189, 248, 0.16), transparent 70%),
    linear-gradient(180deg, #f8fbff 0%, #f1f5fb 100%);
}

.contact-lx-hero-card {
  padding: 34px 36px;
  border-radius: 24px;
  border: 1px solid #e4ecfb;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.86));
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.contact-lx-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}

.contact-lx-breadcrumb a {
  color: #1d4ed8;
  font-weight: 700;
}

.contact-lx-hero-card h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4.5vw, 44px);
  color: #0f172a;
  font-weight: 900;
}

.contact-lx-hero-card p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  max-width: 760px;
  line-height: 1.9;
}

.contact-lx-main {
  padding: 10px 0 84px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.contact-lx-block,
.contact-lx-map-card {
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  padding: 22px;
}

.contact-lx-head {
  margin-bottom: 14px;
}

.contact-lx-head h2 {
  font-size: 24px;
  color: #0f172a;
  margin: 0 0 4px;
  font-weight: 900;
}

.contact-lx-head span {
  font-size: 13px;
  color: #64748b;
}

.contact-lx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-lx-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e5edf8;
  background: #fdfefe;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.contact-lx-item:hover {
  transform: translateY(-2px);
  border-color: #c9d9f6;
  box-shadow: 0 10px 18px rgba(29, 78, 216, 0.10);
}

.contact-lx-item i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #1d4ed8;
  background: #ecf3ff;
  flex: 0 0 38px;
}

.contact-lx-item h4 {
  margin: 2px 0 4px;
  font-size: 16px;
  color: #0f172a;
  font-weight: 800;
}

.contact-lx-item p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
  word-break: break-word;
}

.contact-lx-item.contact-lx-static {
  cursor: default;
}

.contact-lx-social {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-lx-social a {
  height: 48px;
  border-radius: 12px;
  border: 1px solid #dce5f3;
  background: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  transition: all .2s ease;
}

.contact-lx-social a:hover {
  background: #eef4ff;
  border-color: #bfd1f4;
  color: #1d4ed8;
}

.contact-lx-map-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #0f172a;
  font-weight: 900;
}

.contact-lx-map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin-bottom: 14px;
}

.contact-lx-map iframe {
  width: 100%;
  height: 340px;
  border: 0;
}

.contact-lx-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.contact-lx-btn {
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.contact-lx-btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8 0%, #0d2895 100%);
  box-shadow: 0 10px 18px rgba(13, 40, 149, 0.28);
}

.contact-lx-btn.outline {
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #d9e2f2;
}

@media (max-width: 991px) {
  .contact-lx-hero {
    padding-top: 72px;
  }

  .contact-lx-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-lx-hero-card {
    padding: 22px 18px;
  }

  .contact-lx-hero-card p {
    font-size: 14px;
  }

  .contact-lx-block,
  .contact-lx-map-card {
    padding: 16px;
    border-radius: 16px;
  }

  .contact-lx-head h2 {
    font-size: 21px;
  }

  .contact-lx-map iframe {
    height: 270px;
  }
}

/* =========================================================
   Home Events Showcase
========================================================= */
.home-events-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 280px at 8% -10%, rgba(29, 78, 216, 0.08), transparent 70%),
    radial-gradient(800px 260px at 95% -20%, rgba(14, 165, 233, 0.10), transparent 72%),
    linear-gradient(180deg, #f8fbff 0%, #f4f7fc 54%, #f8fafc 100%);
}

.home-events-head {
  margin-bottom: 34px;
}

.home-events-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #0d2895;
  font-weight: 800;
  letter-spacing: 0;
}

.home-events-lead {
  max-width: 760px;
  margin: 10px auto 0;
  color: #5b6575;
  font-size: 15px;
  line-height: 1.9;
}

.home-event-card {
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #e2e8f5;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.home-event-card:hover {
  transform: translateY(-6px);
  border-color: #cfdbf7;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.home-event-media {
  display: block;
  position: relative;
  height: 250px;
  background: #e2e8f0;
}

.home-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.home-event-card:hover .home-event-media img {
  transform: scale(1.05);
}

.home-event-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.08));
}

.home-event-date-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.home-event-body {
  padding: 20px 20px 18px;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 31px;
  max-width: 100%;
  padding: 0 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.home-event-meta i {
  color: #1d4ed8;
}

.home-event-title {
  margin: 2px 0 0;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.4;
}

.home-event-title a {
  color: #0f172a;
  text-decoration: none;
}

.home-event-title a:hover {
  color: #0d2895;
}

.home-event-desc {
  margin: 0;
  color: #5b6575;
  font-size: 14px;
  line-height: 1.85;
  min-height: 52px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-event-cta {
  margin-top: auto;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a 0%, #0d2895 100%);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-event-cta:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(13, 40, 149, 0.28);
}

.home-events-footer {
  margin-top: 14px;
}

.home-events-more {
  height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #d6e0f3;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-events-more:hover {
  color: #0d2895;
  border-color: #9eb4e9;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.home-events-empty {
  padding: 34px 20px;
  border-radius: 20px;
  border: 1px dashed #c7d4ec;
  background: #ffffff;
}

.home-events-empty h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
}

.home-events-empty p {
  margin: 0 0 16px;
  color: #5b6575;
}

.home-events-empty-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  color: #ffffff;
  background: #0d2895;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.home-events-empty-link:hover {
  color: #ffffff;
  background: #0a1f73;
}

@media (max-width: 991px) {
  .home-event-title {
    font-size: 21px;
  }

  .home-event-media {
    height: 235px;
  }
}

@media (max-width: 767px) {
  .home-events-showcase {
    padding-top: 72px;
  }

  .home-events-lead {
    font-size: 14px;
    line-height: 1.8;
  }

  .home-event-body {
    padding: 16px 15px;
  }

  .home-event-title {
    font-size: 19px;
  }

  .home-event-media {
    height: 210px;
  }

  .home-event-meta span {
    width: 100%;
    justify-content: flex-start;
    border-radius: 10px;
    height: auto;
    padding: 8px 10px;
  }

  .home-event-cta,
  .home-events-more {
    width: 100%;
  }
}

/* =========================================================
   Home Sections Divider Rhythm
========================================================= */
.home-page-shell {
  display: flex;
  flex-direction: column;
}

.home-section-divider {
  position: relative;
  width: min(900px, calc(100% - 56px));
  height: clamp(88px, 9.5vw, 126px);
  margin: clamp(8px, 1.4vw, 18px) auto;
  pointer-events: none;
  isolation: isolate;
}

.home-section-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(13, 40, 149, 0) 0%,
      rgba(13, 40, 149, 0.25) 16%,
      rgba(13, 40, 149, 0.18) 50%,
      rgba(13, 40, 149, 0.25) 84%,
      rgba(13, 40, 149, 0) 100%
    ),
    repeating-linear-gradient(
      45deg,
      rgba(13, 40, 149, 0.12) 0 10px,
      rgba(14, 165, 233, 0.12) 10px 20px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.5) 0 10px,
      rgba(13, 40, 149, 0.08) 10px 20px
    );
  box-shadow:
    inset 0 0 0 1px rgba(13, 40, 149, 0.20),
    0 10px 24px rgba(15, 23, 42, 0.10);
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.home-section-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 94px;
  height: 94px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(13, 40, 149, 0.22);
  background:
    url("img/logo1.png") center / 62% auto no-repeat,
    radial-gradient(circle at center, #ffffff 0%, #f1f6ff 58%, #dbe8ff 100%);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.16),
    inset 0 0 0 5px rgba(255, 255, 255, 0.80);
}

@media (max-width: 767px) {
  .home-section-divider {
    width: calc(100% - 24px);
    height: 72px;
    margin: 8px auto;
  }

  .home-section-divider::before {
    height: 14px;
  }

  .home-section-divider::after {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 767px) {
  .home-events-grid > .home-events-col {
    margin-bottom: 18px;
  }

  .home-events-grid > .home-events-col:last-child {
    margin-bottom: 0;
  }

  .home-blog-grid > .home-blog-col {
    margin-bottom: 20px;
  }

  .home-blog-grid > .home-blog-col:last-child {
    margin-bottom: 0;
  }

}

.events-list-grid {
  margin-bottom: -22px;
}

.events-list-grid > .events-page-col {
  margin-bottom: 22px;
}

@media (max-width: 767px) {
  .events-list-grid {
    margin-bottom: -16px;
  }

  .events-list-grid > .events-page-col {
    margin-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .site-footer .footer-widget,
  .site-footer .footer-title,
  .site-footer .footer-desc,
  .site-footer .footer-note {
    text-align: center !important;
  }

  .site-footer .footer-logo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer .footer-contact,
  .site-footer .footer-links {
    margin: 0 auto;
    padding: 0;
    list-style: none;
  }

  .site-footer .footer-contact li,
  .site-footer .footer-links li {
    justify-content: center;
    text-align: center;
  }

  .site-footer .footer-social {
    justify-content: center;
  }

  .site-footer .footer-map-link {
    display: inline-block;
    text-align: center;
  }
}

/* Hero main titles: enforce white color on dark hero sections */
.lux-hero .lux-title,
.lux-blog-hero .lux-blog-title,
.event-hero .hero-content h1 {
  color: #ffffff !important;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
