/* ============================================================
   SUEZ ADVERTISING — UNIFIED DESIGN SYSTEM
   Clean, complete, no duplicates, no unclosed blocks
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Montserrat', sans-serif;
  color: #1a1a1a;
  background: #fff;
  overflow-x: hidden;
}
img { display: block; width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ===== CSS VARIABLES ===== */
:root {
  --navy:         #0A1D3A;
  --navy-light:   #162a4d;
  --red:          #E31E24;
  --red-light:    #ff4d4d;
  --grey:         #F2F2F2;
  --off-white:    #F8FAFF;
  --white:        #ffffff;
  --dark:         #111111;
  --glass:        rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.10);
  --trans:        all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow:       0 8px 32px rgba(10, 29, 58, 0.10);
  --shadow-hover: 0 20px 50px rgba(227, 30, 36, 0.18);
  --radius:       16px;
  --delay:        0s;
}

/* ===== UTILITIES ===== */
.container      { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad    { padding: 110px 0; }
.text-red       { color: var(--red); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 36px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.4px;
  transition: var(--trans); cursor: pointer; border: none;
}
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 10px 28px rgba(227, 30, 36, 0.35);
}
.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(227, 30, 36, 0.45);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.85); color: #fff;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
  border-color: #fff;
}
.btn-red {
  background: var(--red); color: #fff;
  box-shadow: 0 8px 24px rgba(227,30,36,0.3);
}
.btn-red:hover {
  background: #c41820;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(227,30,36,0.45);
}
.btn-outline-dark {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.65);
}
.btn-outline-dark:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
  border-color: #fff;
}
.btn-full { width: 100%; justify-content: center; }
.nav-cta { padding: 10px 24px; font-size: 0.88rem; color: #fff !important; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  background: rgba(227,30,36,0.1); color: var(--red);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 50px; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; color: var(--navy);
  line-height: 1.15; margin-bottom: 16px;
  letter-spacing: -1px;
}
.section-sub {
  font-size: 1rem; color: #666;
  max-width: 530px; margin: 0 auto; line-height: 1.75;
}

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1) var(--delay),
              transform 0.85s cubic-bezier(0.16,1,0.3,1) var(--delay);
}
[data-reveal].active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ANIMATIONS ===== */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000; padding: 24px 0;
  transition: var(--trans);
}
nav.scrolled {
  background: rgba(10, 29, 58, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 14px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.nav-container {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.logo {
  font-size: 1.75rem; font-weight: 900;
  color: #fff; letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo span { color: var(--red); }
.logo-img {
  display: flex; align-items: center;
  font-size: 0; /* hide any stray text */
}
.logo-img img {
  height: 48px; width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
}
.logo-img:hover img { opacity: 0.85; }
.footer-logo-link.logo-img img { height: 44px; }

nav .nav-links {
  display: flex; align-items: center; gap: 4px;
}
nav .nav-links li { /* no extra style needed */ }
.nav-link {
  color: rgba(255,255,255,0.82); font-weight: 600;
  font-size: 0.9rem; padding: 8px 14px;
  border-radius: 8px; transition: var(--trans);
}
.nav-link:hover, .nav-link.active {
  color: #fff; background: rgba(255,255,255,0.1);
}
.hamburger {
  display: none; flex-direction: column;
  gap: 5px; padding: 8px; z-index: 1001;
  background: none; border: none;
}
.hamburger span {
  display: block; width: 26px; height: 2.5px;
  background: #fff; border-radius: 2px;
  transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== HERO SECTION ===== */
.hero {
  position: relative; height: 100vh; min-height: 650px;
  display: flex; align-items: center; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  top: 15%; left: 8%; width: 120px; height: 120px;
  border: 2px solid rgba(227, 30, 36, 0.18);
  border-radius: 50%;
  animation: float 7s ease-in-out infinite;
  z-index: 1; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  bottom: 20%; right: 10%; width: 80px; height: 80px;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 14px; transform: rotate(45deg);
  animation: float 9s ease-in-out infinite reverse;
  z-index: 1; pointer-events: none;
}
.hero-video-container {
  position: absolute; inset: 0; z-index: 0;
}
#hero-video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,29,58,0.88) 0%, rgba(10,29,58,0.25) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content {
  position: relative; color: #fff;
  max-width: 780px; padding: 60px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 36px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
  margin-left: 40px;
}
.hero-tag {
  display: inline-block;
  background: rgba(227,30,36,0.25);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 7px 20px; border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(227,30,36,0.3);
}
.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -2px; margin-bottom: 24px;
}
.hero-description {
  font-size: 1.15rem; opacity: 0.88;
  margin-bottom: 40px; line-height: 1.7; max-width: 560px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; z-index: 2;
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
}
.scroll-line {
  width: 1.5px; height: 52px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 2.2s ease-in-out infinite;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--navy);
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat-item { color: #fff; }
.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900; color: var(--red);
  line-height: 1; display: inline;
  letter-spacing: -1px;
}
.stat-plus {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900; color: var(--red);
}
.stat-label {
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  margin-top: 8px; font-weight: 500; letter-spacing: 0.3px;
}

/* ===== CLIENTS MARQUEE ===== */
.clients-bar {
  background: var(--white);
  padding: 48px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}
.clients-marquee {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center;
  gap: 72px; width: max-content;
  animation: marquee 55s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.client-logo-item {
  flex-shrink: 0; display: flex;
  align-items: center; justify-content: center;
  width: 180px; height: 72px;
}
.client-logo-item img {
  max-width: 150px; max-height: 60px;
  width: auto; height: auto; object-fit: contain;
  filter: grayscale(100%) opacity(0.35);
  transition: all 0.5s ease;
}
.client-logo-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

/* ===== SERVICES SECTION ===== */
.services { background: var(--grey); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 42px 34px;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), #ff6b6b);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
  border-color: rgba(227,30,36,0.3);
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 58px; height: 58px; margin-bottom: 22px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-icon { transform: scale(1.15) rotate(-5deg); }
.service-icon svg { width: 100%; height: 100%; }
.service-title {
  font-size: 1.12rem; font-weight: 800;
  color: var(--navy); margin-bottom: 12px;
  transition: color 0.3s;
}
.service-card:hover .service-title { color: var(--red); }
.service-desc {
  font-size: 0.9rem; color: #666; line-height: 1.75;
}
.service-line {
  width: 32px; height: 3px;
  background: linear-gradient(90deg, var(--red), #ff6b6b);
  border-radius: 2px; margin-top: 22px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-line { width: 80px; }

/* ===== SOLUTIONS SECTION ===== */
.solutions { background: var(--navy); }
.solutions .section-tag { background: rgba(227,30,36,0.2); }
.solutions .section-title { color: #fff; }
.solutions .section-sub { color: rgba(255,255,255,0.6); }
.solutions-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.solution-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: var(--trans);
}
.solution-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--red);
  transform: translateY(-6px);
}
.solution-problem {
  display: flex; align-items: flex-start;
  gap: 12px; margin-bottom: 20px;
}
.problem-icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.problem-title {
  font-family: 'Cairo', sans-serif;
  font-size: 1.02rem; font-weight: 700;
  color: #fff; line-height: 1.4; direction: rtl;
}
.solution-answer {
  display: flex; gap: 12px; margin-bottom: 20px;
}
.solution-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); flex-shrink: 0; margin-top: 8px;
}
.solution-answer p {
  font-family: 'Cairo', sans-serif;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem; line-height: 1.75; direction: rtl;
}
.solution-cta {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red); font-size: 0.88rem; font-weight: 700;
  font-family: 'Cairo', sans-serif;
  direction: rtl; transition: gap 0.3s;
}
.solution-cta:hover { gap: 10px; }

/* ===== CONSULTATION CTA ===== */
.consultation-cta {
  background: linear-gradient(135deg, var(--red) 0%, #c41820 50%, #e84040 100%);
  padding: 88px 0; position: relative; overflow: hidden;
}
.consultation-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.consult-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.consult-text { flex: 1; min-width: 280px; }
.consult-title {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900; color: #fff;
  margin-bottom: 12px; direction: rtl;
}
.consult-sub {
  font-family: 'Cairo', sans-serif;
  color: rgba(255,255,255,0.9);
  font-size: 1.02rem; line-height: 1.65; direction: rtl;
}
.consult-actions {
  display: flex; gap: 14px;
  align-items: center; flex-wrap: wrap; flex-shrink: 0;
}
.consult-btn {
  background: #fff; color: var(--red);
  font-weight: 800;
  transition: var(--trans);
}
.consult-btn:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.22);
}

/* ===== PORTFOLIO FILTER SECTION ===== */
/* ===== NEW PORTFOLIO GALLERY ===== */
.portfolio-filter-section { background: var(--off-white); }
.filter-btns-wrap {
  display: flex; gap: 12px;
  justify-content: center;
  margin-bottom: 48px; flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 28px; border-radius: 50px;
  font-weight: 700; font-size: 0.87rem;
  border: 2px solid #ddd; color: #555;
  transition: var(--trans); background: #fff;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--red); border-color: var(--red);
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227,30,36,0.3);
}

/* Masonry grid — auto-fit, natural image heights */
.pf-gallery {
  columns: 4; column-gap: 16px;
}
@media (max-width: 1024px) { .pf-gallery { columns: 3; } }
@media (max-width: 640px)  { .pf-gallery { columns: 2; } }

.pf-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  /* staggered reveal */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s;
}
.pf-item.pf-visible {
  opacity: 1; transform: translateY(0);
}
.pf-item:hover { box-shadow: 0 20px 50px rgba(10,29,58,0.2); }

.pf-thumb { position: relative; display: block; }
.pf-thumb img {
  width: 100%; height: auto; display: block;
  transition: transform 0.65s cubic-bezier(0.16,1,0.3,1), filter 0.4s;
}
.pf-item:hover .pf-thumb img {
  transform: scale(1.06); filter: brightness(0.72);
}

.pf-hover {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pf-item:hover .pf-hover { opacity: 1; }

.pf-zoom {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, transform 0.3s;
  transform: scale(0.8);
}
.pf-item:hover .pf-zoom { transform: scale(1); }
.pf-zoom:hover { background: var(--red); border-color: var(--red); }

.pf-tag {
  color: #fff; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  background: rgba(227,30,36,0.85);
  padding: 4px 14px; border-radius: 20px;
  transform: translateY(6px);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1) 0.05s;
}
.pf-item:hover .pf-tag { transform: translateY(0); }

/* hidden by filter */
.pf-item.pf-hidden {
  opacity: 0 !important; transform: scale(0.9) !important;
  pointer-events: none; position: absolute;
}

/* ===== LIGHTBOX ===== */
.pf-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.pf-lightbox.pf-lb-open { opacity: 1; pointer-events: all; }

.pf-lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 12, 28, 0.96);
  backdrop-filter: blur(14px);
}
.pf-lb-stage {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  max-width: 90vw; max-height: 90vh;
  animation: lbIn 0.45s cubic-bezier(0.16,1,0.3,1);
}
@keyframes lbIn {
  from { transform: scale(0.88) translateY(24px); opacity: 0; }
  to   { transform: scale(1) translateY(0);       opacity: 1; }
}
.pf-lb-stage img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  display: block;
  transition: opacity 0.25s ease;
}
.pf-lb-caption {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
}
.pf-lb-counter {
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem; font-weight: 500;
}
.pf-lb-close {
  position: fixed; top: 24px; right: 28px; z-index: 10;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.pf-lb-close:hover { background: var(--red); transform: rotate(90deg); }

.pf-lb-nav {
  position: fixed; top: 50%; z-index: 10;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff; display: flex; align-items: center; justify-content: center;
  transform: translateY(-50%);
  transition: background 0.3s, transform 0.3s;
}
.pf-lb-prev { left: 24px; }
.pf-lb-next { right: 24px; }
.pf-lb-nav:hover { background: var(--red); }
.pf-lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.pf-lb-next:hover { transform: translateY(-50%) translateX(3px); }

/* ===== SOCIAL MEDIA DESIGNS SECTION ===== */
.social-designs { background: var(--navy); overflow: hidden; }
.social-designs .section-tag { color: rgba(255,255,255,0.5); }
.social-designs .section-title { color: #fff; }
.social-designs .section-sub { color: rgba(255,255,255,0.55); }

.sd-carousel-wrap {
  position: relative; margin-top: 16px;
}
.sd-carousel {
  overflow: hidden; border-radius: 16px;
}
.sd-track {
  display: flex; gap: 20px;
  transition: transform 0.65s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
}
.sd-slide {
  flex: 0 0 auto;
  /* show image at natural size capped at viewport */
  max-width: min(480px, 80vw);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transition: transform 0.4s ease, box-shadow 0.4s;
  cursor: pointer;
}
.sd-slide:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 80px rgba(227,30,36,0.25);
}
.sd-slide img {
  width: 100%; height: auto; display: block;
  object-fit: contain;
}

.sd-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff; display: flex; align-items: center; justify-content: center;
  z-index: 5; transition: background 0.3s, transform 0.3s;
}
.sd-prev { left: -20px; }
.sd-next { right: -20px; }
.sd-nav:hover { background: var(--red); }
.sd-prev:hover { transform: translateY(-50%) translateX(-3px); }
.sd-next:hover { transform: translateY(-50%) translateX(3px); }

.sd-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 28px;
}
.sd-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background 0.3s, transform 0.3s; cursor: pointer;
}
.sd-dot.active {
  background: var(--red); transform: scale(1.35);
}



@keyframes pfFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* ===== SHOWREEL SECTION ===== */
.showreel { background: var(--navy); padding-top: 0; }
.showreel .section-title { color: #fff; }
.showreel .section-sub { color: rgba(255,255,255,0.6); }
.showreel-wrap { max-width: 900px; margin: 0 auto; }
.showreel-video {
  position: relative; border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
  aspect-ratio: 16 / 9;
}
.showreel-video video {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.showreel-play-hint {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,29,58,0.3);
  color: #fff; opacity: 0;
  transition: opacity 0.35s;
}
.showreel-video:hover .showreel-play-hint { opacity: 1; }

/* ===== REVIEWS SECTION ===== */
.reviews { background: var(--grey); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 48px;
}
.review-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
  transition: var(--trans); position: relative;
  border-bottom: 3px solid transparent;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--red);
}
.review-stars {
  color: #f5a623; font-size: 1.08rem;
  letter-spacing: 2px; margin-bottom: 16px;
}
.review-text {
  font-family: 'Cairo', sans-serif;
  font-size: 0.93rem; color: #444;
  line-height: 1.78; margin-bottom: 22px;
  direction: rtl; font-style: italic;
}
.review-author {
  display: flex; align-items: center;
  gap: 14px; margin-bottom: 16px;
}
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
  flex-shrink: 0; font-family: 'Cairo', sans-serif;
}
.review-author strong {
  display: block; font-size: 0.93rem;
  color: var(--navy); font-family: 'Cairo', sans-serif; direction: rtl;
}
.review-author span {
  font-size: 0.78rem; color: #888;
  font-family: 'Cairo', sans-serif; direction: rtl;
}
.review-source {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.78rem; color: #1877f2; font-weight: 600;
  transition: opacity 0.3s;
}
.review-source:hover { opacity: 0.72; }
.reviews-cta { text-align: center; }

/* ===== TEAM SECTION ===== */
.team { background: var(--off-white); }
/* Director solo row */
.team-grid--director {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 40px auto;
}
.team-member--director {
  max-width: 320px;
  width: 100%;
  border: 2px solid var(--red);
  position: relative;
  text-align: center;
  margin: 0 auto;
}
.team-member--director::before {
  content: '★ Director';
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px;
  padding: 3px 14px; border-radius: 20px; text-transform: uppercase;
  white-space: nowrap;
}
.team-member--director .team-photo {
  width: 200px; height: 200px;
  border-color: var(--red);
}

/* Staff rows — 3 per row */
.team-grid--staff {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}

.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.team-member {
  text-align: center;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  padding: 44px 32px; border-radius: 28px;
  box-shadow: var(--shadow);
  transition: var(--trans);
  border: 1px solid rgba(255,255,255,0.6);
}
.team-member:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.team-photo {
  width: 180px; height: 180px; margin: 0 auto 24px;
  border-radius: 50%; padding: 6px;
  border: 3px solid #eee; transition: var(--trans);
}
.team-member:hover .team-photo { border-color: var(--red); transform: scale(1.04); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-name {
  font-family: 'Cairo', sans-serif;
  font-size: 1.15rem; font-weight: 800;
  color: var(--navy); margin-bottom: 6px;
}
.team-role {
  font-size: 0.88rem; color: var(--red);
  font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 16px;
}
.team-social { display: flex; gap: 10px; justify-content: center; }
.team-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(10,29,58,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); transition: var(--trans);
}
.team-social a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }

/* ===== CONTACT SECTION ===== */
.contact { background: var(--navy); }
.contact .section-tag { background: rgba(227,30,36,0.2); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}
.contact-left .section-tag { display: inline-block; margin-bottom: 16px; }
.contact-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; color: #fff; margin-bottom: 16px; line-height: 1.1;
}
.contact-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1rem; line-height: 1.75; margin-bottom: 40px;
}
.contact-info { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  color: rgba(255,255,255,0.8); font-size: 0.95rem;
  font-weight: 500; transition: color 0.3s;
}
.contact-item:hover { color: #fff; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.3s; color: var(--red);
}
.contact-item:hover .contact-item-icon { background: rgba(227,30,36,0.2); }
.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: #fff;
  transition: var(--trans);
}
.social-btn:hover {
  background: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(227,30,36,0.4);
}

/* Contact Form */
.contact-right {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px; padding: 44px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px;
}
.form-input {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; padding: 14px 18px;
  color: #fff; font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s; width: 100%;
}
.form-input::placeholder { color: rgba(255,255,255,0.32); }
.form-input:focus {
  outline: none; border-color: var(--red);
  background: rgba(255,255,255,0.1);
}
select.form-input option { background: var(--navy); color: #fff; }
textarea.form-input { resize: vertical; min-height: 130px; }
.form-success {
  display: none;
  background: rgba(39,174,96,0.14);
  border: 1px solid rgba(39,174,96,0.4);
  color: #4ade80; padding: 14px 18px;
  border-radius: 10px; font-size: 0.88rem; font-weight: 600;
}
.form-success.show { display: block; animation: fadeIn 0.4s ease; }

/* ===== FOOTER ===== */
footer { background: #060f1e; color: #fff; padding: 80px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 36px;
}
.footer-logo-link {
  font-size: 1.8rem; font-weight: 900;
  color: #fff; display: inline-block; margin-bottom: 18px;
}
.footer-logo-link span { color: var(--red); }
.footer-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem; line-height: 1.75; margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.footer-col h4 {
  font-size: 1rem; font-weight: 700;
  color: #fff; margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.footer-col .footer-links { display: flex; flex-direction: column; gap: 0; }
.footer-col .footer-links li { margin-bottom: 12px; }
.footer-col .footer-links a, .footer-address {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem; transition: color 0.3s, padding-left 0.3s;
}
.footer-col .footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-address { color: rgba(255,255,255,0.45); font-size: 0.88rem; }
.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p {
  color: rgba(255,255,255,0.35); font-size: 0.82rem;
}
.footer-bottom-right { color: rgba(255,255,255,0.35); font-size: 0.82rem; }

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  animation: pulse 2.5s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.whatsapp-fab:hover {
  transform: scale(1.14) rotate(8deg);
  box-shadow: 0 10px 32px rgba(37,211,102,0.65);
}

/* ===== MOBILE NAVIGATION ===== */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  nav .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 75vw; max-width: 320px; height: 100vh;
    background: var(--navy);
    flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 6px;
    padding: 40px 30px;
    transition: right 0.45s cubic-bezier(0.16,1,0.3,1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.35);
  }
  nav .nav-links.open { right: 0; }
  .nav-link { font-size: 1.05rem; padding: 12px 16px; width: 100%; }
  .nav-cta { margin-top: 16px; width: 100%; justify-content: center; }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-bento { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section-pad { padding: 80px 0; }
  .hero-content { margin: 0 16px; padding: 36px 28px; text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-description { font-size: 1rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-right { padding: 32px 24px; }
  .team-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .team-grid--staff { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .portfolio-bento { grid-template-columns: repeat(2, 1fr); }
  .portfolio-masonry { columns: 2; }
  .consult-inner { flex-direction: column; text-align: center; }
  .consult-title, .consult-sub { text-align: center; }
  .consult-actions { justify-content: center; }
}

@media (max-width: 576px) {
  .services-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-bento { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .portfolio-card.large, .portfolio-card.wide { grid-column: span 1; }
  .portfolio-card.tall { grid-row: span 1; }
  .portfolio-masonry { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-title { font-size: 2.4rem; letter-spacing: -1px; }
  .hero-content { padding: 28px 22px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
}
