﻿@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800;900&display=swap');

:root{
  --red:#D12127;
  --red-dark:#9A1015;
  --navy:#0B1320;
  --navy-dark:#070D17;
  --gold:#F4D068;
  --gold-light:#F4D068;
  --paper:#F7F5F0;
  --ink:#111318;
  --muted:#6B6F77;
  --line:#E6E1D8;
}
*{box-sizing:border-box; font-family:'Tajawal',sans-serif !important;}
html{scroll-behavior:smooth;scroll-padding-top:92px}
body.v10{margin:0;color:var(--ink);background:#fff;overflow-x:clip}
a{text-decoration:none;color:inherit}
button{font:inherit}
.v10-container{width:min(1180px,calc(100vw - 56px));margin:auto}

/* Fixed page background removed for dynamic video hero. */
body.v10::before{display:none}
body.v10::after{display:none}

/* Header: desktop nav visible. White at all times, stronger glow on scroll. */
.v10-header{
  position:fixed;top:0;right:0;left:0;z-index:1000;padding:10px 0;
  transition:.28s ease
}
.v10-header-inner{
  width:min(1220px,calc(100vw - 40px));min-height:68px;margin:auto;padding:7px 10px 7px 12px;
  display:flex;align-items:center;justify-content:space-between;gap:22px;
  background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.75);
  border-radius:22px;box-shadow:0 12px 35px rgba(0,0,0,.09);backdrop-filter:blur(12px)
}
.v10-header.scrolled .v10-header-inner{
  background:rgba(255,255,255,.98);
  box-shadow:0 0 26px rgba(255,255,255,.62),0 18px 45px rgba(7,19,32,.16)
}
.v10-brand-pair{display:flex;gap:7px;align-items:center}
.v10-brand-card{
  display:flex;align-items:center;gap:8px;padding:5px 8px;border-radius:15px;border:1px solid #e5e5e5;min-height:52px
}
.v10-brand-card img{width:42px;height:42px;object-fit:cover;border-radius:10px;background:#fff;padding:2px}
.v10-brand-card span{display:flex;flex-direction:column;line-height:1.12}
.v10-brand-card strong{font-size:.74rem}
.v10-brand-card small{font-size:.55rem}
.v10-brand-card.dana{background:#fff;color:#151515}
.v10-brand-card.dana img{border: 2px solid var(--red);}
.v10-brand-card.dana small{color:#777}
.v10-brand-card.academy{background:var(--navy);color:#fff;border-color:rgba(197,160,89,.38)}
.v10-brand-card.academy img{border: 2px solid var(--gold-light);}
.v10-brand-card.academy strong{color:var(--gold-light)}
.v10-brand-card.academy small{color:#c5cbd3}
.v10-desktop-nav{display:flex;align-items:center;justify-content:center;gap:23px;font-size:.82rem;font-weight:700;flex:1}
.v10-desktop-nav a{position:relative}
.v10-desktop-nav a::after{content:"";position:absolute;right:0;left:auto;bottom:-7px;width:0;height:2px;background:var(--red);transition:.25s}
.v10-desktop-nav a:hover::after{width:100%;left:0}
.v10-menu-btn{display:none;width:42px;height:42px;border-radius:50%;border:1px solid #d8d8d8;background:#fff;align-items:center;justify-content:center;padding:0}
.v10-menu-btn span{display:block;width:16px;height:1.25px;background:#222;margin:2.5px auto;border-radius:99px}
.v10-mobile-menu{display:none}




/* Hero Dynamic Split Layout (Clip-Path) */
.v10-hero{
  position:sticky;top:0;z-index:1;min-height:100dvh;color:#fff;display:flex;align-items:center;justify-content:center;
  padding:0;background:#000;overflow:hidden;
}
.v10-hero-split{
  position:absolute;inset:0;z-index:0;background:#fff;
  will-change: transform;
}
.v10-hero-side{
  position:absolute;inset:0;
  overflow:hidden;transition:clip-path 0.5s cubic-bezier(0.4,0,0.2,1);
  display:block; text-decoration:none; color:#fff;
}
.v10-hero-img-wrapper {
  position: absolute; inset: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.v10-hero-side.expanded .v10-hero-img-wrapper {
  transform: scale(1.05);
}
.v10-hero-img {
  position: absolute;
  
  /* Dynamic Zoom & Pan System */
  --zoom: 1.4;
  --pos-x: 50%;
  --pos-y: 50%;
  
  /* Ensure the scale is never smaller than 1 to prevent white gaps */
  --safe-zoom: max(1, var(--zoom));
  
  /* Easy offset shortcuts for absolute shifting (in px, vh, etc.) */
  --offset-x: 0px;
  --offset-y: 0px;
  
  /* The bounding box is always exactly the size of the container */
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  
  object-fit: cover;
  object-position: var(--pos-x) var(--pos-y);
  
  /* Panning is achieved by changing the origin of the scale, plus absolute offsets if needed! */
  transform-origin: var(--pos-x) var(--pos-y);
  transform: scale(var(--safe-zoom)) translate(var(--offset-x, 0px), var(--offset-y, 0px));
  
  /* Smooth hardware-accelerated transitions */
  transition: transform 0.8s ease-out, transform-origin 0.8s ease-out, object-position 0.8s ease-out;
  will-change: transform, transform-origin, object-position;
}
.v10-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 10; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.15), transparent 35%);
}

.v10-hero-overlay{
  position:absolute;inset:0;pointer-events:none;z-index:1;
  transition:background-color .5s ease;
}
/* Desktop Default Overlays - Neutral black at center for text readability, blending into brand colors softly at edges */
.academy-side .v10-hero-overlay{
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(28, 64, 120, 0.5) 100%);
  background-color: rgba(0, 0, 0, 0.3);
}
.dana-side .v10-hero-overlay{
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(209, 33, 39, 0.4) 100%);
  background-color: rgba(0, 0, 0, 0.3); /* Restored the exact 30% layer requested */
}
.academy-side.expanded .v10-hero-overlay{
  background-color: rgba(0,0,0,0.2); 
}
.dana-side.expanded .v10-hero-overlay{
  background-color: rgba(0,0,0,0.4); 
}

/* Desktop Clip Paths & Overlays */
@media (min-width: 1025px) {
  .dana-side .v10-hero-overlay {
    background-color: rgba(0, 0, 0, 0.45); /* 30% base + 15% additional for desktop */
  }
  .dana-side.expanded .v10-hero-overlay {
    background-color: rgba(0, 0, 0, 0.55); /* Hover state slightly darker */
  }
  .academy-side.expanded .v10-hero-overlay {
    background-color: rgba(0, 0, 0, 0.4); /* Subtle hover effect for Academy */
  }
  .academy-side {
    /* Academy is on the LEFT. In LTR left is 0. In RTL left is 0? Yes, clip-path is physical coordinates. 
       0 0 = Top Left. */
    clip-path: polygon(0 0, calc(55% - 4px) 0, calc(45% - 4px) 100%, 0 100%);
  }
  .dana-side {
    /* Dana is on the RIGHT. */
    clip-path: polygon(calc(55% + 4px) 0, 100% 0, 100% 100%, calc(45% + 4px) 100%);
  }
  
  /* Expansions using :has(.expanded) instead of :hover */
  .v10-hero-split {
    --split-top-x: 55%;
  }
  .v10-hero-split:has(.academy-side.expanded) {
    --split-top-x: 65%;
  }
  .v10-hero-split:has(.dana-side.expanded) {
    --split-top-x: 45%;
  }

  .v10-hero-split:has(.academy-side.expanded) .academy-side {
    clip-path: polygon(0 0, calc(65% - 4px) 0, calc(55% - 4px) 100%, 0 100%);
  }
  .v10-hero-split:has(.academy-side.expanded) .dana-side {
    clip-path: polygon(calc(65% + 4px) 0, 100% 0, 100% 100%, calc(55% + 4px) 100%);
  }
  
  .v10-hero-split:has(.dana-side.expanded) .academy-side {
    clip-path: polygon(0 0, calc(45% - 4px) 0, calc(35% - 4px) 100%, 0 100%);
  }
  .v10-hero-split:has(.dana-side.expanded) .dana-side {
    clip-path: polygon(calc(45% + 4px) 0, 100% 0, 100% 100%, calc(35% + 4px) 100%);
  }

  /* Desktop Badges Architecture - Precise Placement */
  .v10-hero-badges {
    position: absolute;
    top: 130px; /* Safe distance below the navbar */
    left: calc(var(--split-top-x) - var(--badge-shift-x, 1.7%)); 
    z-index: 50;
    direction: ltr; /* Ensure physical LTR layout */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Scale up badges dynamically on larger screens */
  .v10-hero-badges .v10-badge {
    font-size: clamp(0.75rem, 0.9vw, 1rem);
    padding: clamp(6px, 1vh, 10px) clamp(16px, 2vw, 24px);
    gap: 10px;
  }
  
  .v10-hero-badges .v10-badge i {
    font-size: 1.3rem !important;
  }
  
  .hero-badge-academy {
    position: absolute;
    right: clamp(18px, 2vw, 28px); /* Responsive gap */
    white-space: nowrap;
    direction: rtl; /* Restore RTL text */
  }
  
  .hero-badge-dana {
    position: absolute;
    left: clamp(18px, 2vw, 28px); /* Responsive gap */
    white-space: nowrap;
    direction: rtl; /* Restore RTL text */
  }
}

/* --- Dual-Content Strategy (Hero Sides) --- */
.v10-side-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 90%;
  max-width: 480px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
/* Desktop Positioning: Perfectly centered in each 50% half like index2.html */
@media (min-width: 1025px) {
  .academy-side .v10-side-content { left: 25%; top: 52%; transform: translate(-50%, -50%); width: 45vw; max-width: 550px; align-items: center; text-align: center; padding: 0; }
  .dana-side .v10-side-content { right: auto; left: 75%; top: 52%; transform: translate(-50%, -50%); width: 45vw; max-width: 550px; align-items: center; text-align: center; padding: 0; }
  
  /* Fluid typography and spacing for desktop to prevent overlap and tighten layout */
  .v10-side-content h2 { 
    font-size: clamp(2rem, 3.2vw, 3.5rem) !important; 
    margin-bottom: clamp(0.5rem, 1.5vh, 1rem) !important; 
  }
  .v10-side-content p { 
    font-size: clamp(0.9rem, 1vw, 1.125rem) !important; 
    margin-bottom: clamp(1rem, 2.5vh, 2rem) !important; 
    max-width: 28rem; 
    margin-left: auto; 
    margin-right: auto; 
    line-height: 1.5 !important;
  }
  .side-logo { 
    width: clamp(75px, 7vw, 96px) !important; 
    height: clamp(75px, 7vw, 96px) !important; 
    margin-bottom: clamp(0.8rem, 2vh, 1.5rem) !important; 
  }
}
/* Mobile Positioning: Center in their respective halves */
@media (max-width: 1024px) {
  .v10-side-content { left: 50%; transform: translate(-50%, -50%); align-items: center; text-align: center; width: 95%; }
}

.v10-side-content .side-logo { width: 85px; height: 85px; object-fit: cover; border-radius: 20px; margin: 0; border: 3px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.academy-side .side-logo { border-color: #D4AF5B; }
.dana-side .side-logo { border-color: var(--red); }

.v10-side-content .side-logo {
  width: 85px;
  height: 85px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 15px;
  border: 3px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}



.v10-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  letter-spacing: 0.02em;
}

/* --- Unified Badges Mobile Positioning --- */
@media (min-width: 1025px) {
  .mobile-only-badges {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  /* Hide the absolute desktop badges on mobile */
  .v10-hero-badges {
    display: none !important;
  }
  
  /* Use the natural DOM flow badges */
  .mobile-only-badges {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap; /* Force side-by-side */
    margin-bottom: 20px; /* Space between badges and logo */
    width: 100%;
    position: relative;
    z-index: 50;
  }
  
  .mobile-only-badges .v10-badge {
    font-size: clamp(0.7rem, 2.5vw, 0.85rem); /* Larger and responsive */
    padding: 8px 14px;
    white-space: nowrap;
  }
  
  .mobile-only-badges .v10-badge i {
    font-size: 1rem !important;
  }
}

/* Dana Badge (Red) */
.v10-badge-red {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff; /* White text for better legibility than pink */
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* White Checkmark Fill for Verified Badge */
.v10-badge i.ri-verified-badge-fill {
  position: relative;
  z-index: 1;
}
.v10-badge i.ri-verified-badge-fill::after {
  content: '';
  position: absolute;
  top: 30%; left: 30%; right: 30%; bottom: 30%;
  background-color: #ffffff;
  border-radius: 50%;
  z-index: -1;
}

/* Academy Badge (Gold) */
.v10-badge-gold {
  background: rgba(245, 158, 11, 0.1);
  color: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
/* Blinking Dots */
.badge-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.ping-red { background: var(--red); box-shadow: 0 0 0 0 rgba(209, 33, 39, 0.7); animation: pingRed 1.5s infinite cubic-bezier(0.66, 0, 0, 1); }
.ping-gold { background: #fbbf24; box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); animation: pingGold 1.5s infinite cubic-bezier(0.66, 0, 0, 1); }
@keyframes pingRed { to { box-shadow: 0 0 0 10px rgba(209, 33, 39, 0); } }
@keyframes pingGold { to { box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); } }

.v10-side-content h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900; margin: 0 0 10px; text-shadow: 0 4px 15px rgba(0,0,0,0.6); }

/* Royal Gold Gradient Text - Brightened & Styled like index2.html */
.academy-side h2 { 
  background: linear-gradient(to right, #FDF0B0 0%, #EAC775 40%, #C89F4C 100%); /* Shine moved to the left */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  
  text-shadow: none !important; /* Critical: traditional text-shadow breaks gradient text clipping */
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5)) drop-shadow(0 5px 10px rgba(0,0,0,0.7)); /* Tailwind drop-shadow-2xl equivalent */
  
  white-space: nowrap;
  line-height: 1.4 !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.dana-side h2 { color: #fff; }

.v10-side-content h3 { display: none; /* Removed h3 to match index2.html exactly which only has h1 and p */ }
.v10-side-content p { font-size: clamp(0.9rem, 1.2vw, 1.1rem); font-weight: 600; line-height: 1.6; margin: 0 0 25px; opacity: 0.9; text-shadow: 0 2px 8px rgba(0,0,0,0.8); }

/* Bouncing Button Animations */
@keyframes btnDance {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
  50% { transform: translateY(-4px) scale(1.03); box-shadow: 0 15px 40px rgba(0,0,0,0.5); }
}

.side-btn { 
  min-height: 54px; padding: 0 32px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; 
  font-size: 0.875rem; text-transform: uppercase; font-weight: 900; letter-spacing: 0.05em; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.4); 
  transition: all 0.3s ease; 
  animation: btnDance 2.5s infinite ease-in-out; 
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
/* Stop dancing on hover or when body is active (scrolling on mobile) */
body:active .side-btn, .side-btn:hover { animation-play-state: paused !important; }
.side-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 15px 40px rgba(0,0,0,0.6); }

/* Button Color Gradients matching index2.html */
.red-btn { background: #fff; color: var(--red); }
.red-btn:hover { background: var(--red); color: #fff; }
.gold-btn { background: var(--gold-light); color: var(--navy); }
.gold-btn:hover { background: #fff; color: var(--navy); }

/* Center Minimal Hook */
.v10-hero-center-hook {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 30; pointer-events: none;
}
.unified-message {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2); padding: 8px 24px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 700; color: #fff; margin: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
@media (max-width: 1024px) {
  .v10-hero-center-hook { display: none; /* Hide center hook on mobile to prioritize dual messages */ }
}
.v10-badges{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.v10-badges span{
  padding:8px 16px; border-radius:999px; background:rgba(0,0,0,0.65); border:1px solid rgba(255,255,255,0.2);
  font-size:0.75rem; font-weight:800; color:#fff; backdrop-filter:blur(4px); box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.v10-hero-buttons{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;margin-top:28px}
.v10-hero-buttons a{
  min-height:54px; padding:0 32px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; 
  font-size:0.95rem; font-weight:800; box-shadow: 0 10px 30px rgba(0,0,0,0.4); transition: transform 0.2s, box-shadow 0.2s;
}
.v10-hero-buttons a:hover{ transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0,0,0,0.6); }
.v10-hero-buttons .red{background:var(--red);color:#fff}
.v10-hero-buttons .gold{background:var(--gold);color:#111}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.v10-section{position:relative;z-index:2;background:#fff;padding:88px 0;border-top:1px solid #f1ede6}
.v10-heading{max-width:790px;margin-bottom:36px;text-align:center;margin-left:auto;margin-right:auto}
.v10-heading>span{
  color:var(--red);
  font-weight:700;
  font-size:.75rem;
  letter-spacing:2px;
  text-transform:uppercase;
  display:inline-flex;
  margin-bottom:12px;
  padding-bottom: 8px;
}
.v10-heading h2{font-size:clamp(2.15rem,4vw,3.8rem);line-height:1.05;margin:9px 0 12px;font-weight:800;color:var(--dark);}
.v10-heading p{margin:0;color:var(--muted);line-height:1.85;font-size:.92rem}
.v10-heading.academy>span{color:#927235}

/* Blocks General */
.v10-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.v10-blocks article {
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--line);
  min-height: 250px;
  transition: all 0.3s ease;
}
.v10-blocks h3 {
  font-size: 1.25rem;
  margin: 0 0 12px;
  line-height: 1.3;
  font-weight: 700;
}
.v10-blocks p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.8;
}

/* Dana Blocks (index2.html Tailwind Design) */
.v10-blocks.dana article {
  background: #f8fafc; /* bg-slate-50 */
  border-color: #f1f5f9; /* border-slate-100 */
}
.v10-blocks.dana article:hover {
  border-color: var(--red); /* hover:border-danaRed */
}
.v10-blocks.dana article .icon-box {
  width: 56px;
  height: 56px;
  background: var(--red);
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.v10-blocks.dana article:hover .icon-box {
  transform: rotate(12deg);
}
.v10-blocks.dana h3 {
  color: #0f172a; /* text-slate-900 */
}
.v10-blocks.dana p {
  color: #475569; /* text-slate-600 */
}

/* Academy Blocks (Keep Original) */
.v10-blocks.academy article {
  background: #F5F7FA;
  border-color: #DCE2E9;
}
.v10-blocks.academy article > span {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 900;
  margin-bottom: 20px;
  background: var(--navy);
  color: var(--gold-light);
}
.v10-blocks.academy h3 {
  color: var(--navy);
}
.v10-blocks.academy p {
  color: #68707B;
}

/* CTA General */
.v10-cta {
  margin-top: 64px;
  padding: 32px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
}
.v10-cta h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
}
.v10-cta p {
  margin: 0;
  font-size: 0.875rem;
}
.v10-cta button {
  border: 0;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 9999px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Dana CTA (index2.html Tailwind Design) */
.v10-cta.dana {
  background: #020617; /* bg-slate-950 */
  color: #fff;
}
.v10-cta.dana p {
  color: #94a3b8; /* text-slate-400 */
}
.v10-cta.dana button {
  background: var(--red);
  color: #fff;
}
.v10-cta.dana button:hover {
  background: #dc2626; /* slightly brighter red on hover */
}
.v10-cta.dana button i {
  font-size: 1.25rem;
}

/* Academy CTA (Keep Original) */
.v10-cta.academy {
  background: var(--navy);
  color: #fff;
}
.v10-cta.academy button {
  background: var(--gold);
  color: #111;
}

/* FAQ */
.v10-faq{border-top:1px solid var(--line)}
.v10-faq .faq-item{border-bottom:1px solid var(--line)}
.v10-faq .faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;background:transparent;border:0;padding:20px 0;text-align:right;font-weight:700;cursor:pointer}
.v10-faq .faq-q b{font-size:1.3rem;color:var(--red);font-weight:500}
.v10-faq .faq-content{max-height:0;overflow:hidden;transition:max-height .35s ease}
.v10-faq .faq-content p{margin:0;padding:0 0 20px;color:var(--muted);font-size:.84rem;line-height:1.8}
.v10-faq .faq-item.active .faq-content{max-height:300px}
.v10-faq .faq-item.active .faq-q b{transform:rotate(45deg)}

/* Contact & map */
.v10-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.v10-contact{padding:22px;border-radius:20px;border:1px solid var(--line);display:grid;grid-template-columns:auto 1fr;gap:15px}
.v10-contact img{width:60px;height:60px;border-radius:14px;object-fit:cover;background:#fff;padding:3px}
.v10-contact h3{margin:0 0 8px;font-size:1.2rem}.v10-contact p{margin:0 0 6px;font-size:.8rem;line-height:1.7}
.v10-contact.dana{background:#FFF4F4;border-color:#F0D4D5}.v10-contact.dana p{color:#686868}
.v10-contact.academy{background:#F5F7FA;border-color:#DCE2E9}.v10-contact.academy h3{color:var(--navy)}.v10-contact.academy p{color:#68707B}
.v10-map{margin-top:15px;height:360px;border-radius:20px;overflow:hidden;border:1px solid var(--line)}
.v10-map iframe{width:100%;height:100%;border:0}

/* WhatsApp & Scroll to Top Floating Buttons */
.v10-wa-float{box-sizing:border-box;padding:0;margin:0;position:fixed;z-index:980;left:22px;bottom:22px;width:54px;height:54px;min-width:54px;min-height:54px;max-width:54px;max-height:54px;border-radius:50%;border:0;background:#25D366;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 14px 35px rgba(37,211,102,.28);cursor:pointer;transition:transform 0.3s ease;-webkit-tap-highlight-color:transparent;outline:none}
.v10-wa-float:hover{transform:scale(1.1)}

.v10-up-float{box-sizing:border-box;padding:0;margin:0;position:fixed;z-index:980;right:22px;bottom:22px;width:54px;height:54px;min-width:54px;min-height:54px;max-width:54px;max-height:54px;border-radius:50%;border:0;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 14px 35px rgba(11,19,32,.28);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(20px) scale(0.9);transition:all 0.3s ease;-webkit-tap-highlight-color:transparent;outline:none}
.v10-up-float.show{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.v10-up-float:hover{background:var(--red);transform:translateY(-5px) scale(1.05)}

.v10-modal{position:fixed;z-index:1200;inset:0;background:rgba(2,6,12,.62);display:grid;place-items:center;padding:18px;opacity:0;visibility:hidden;transition:.2s}
.v10-modal.open{opacity:1;visibility:visible}
.v10-modal-card{position:relative;width:min(480px,100%);background:#fff;border-radius:24px;padding:28px;box-shadow:0 30px 90px rgba(0,0,0,.25)}
.v10-modal-close{position:absolute;left:16px;top:14px;border:0;background:#f2f2f2;width:34px;height:34px;border-radius:50%;font-size:1.2rem;cursor:pointer}
.v10-modal-card h3{margin:0 0 6px;font-size:1.45rem}.v10-modal-card>p{margin:0 0 18px;color:#777;font-size:.84rem}
.v10-modal-card>a{display:flex;align-items:center;gap:12px;padding:13px;border-radius:15px;border:1px solid var(--line);margin-top:8px}
.v10-modal-card>a img{width:48px;height:48px;object-fit:cover;border-radius:11px;background:#fff;padding:2px; border: 2px solid transparent;}
.v10-modal-card>a.dana img{border-color: var(--red);}
.v10-modal-card>a.academy img{border-color: var(--gold-light);}
.v10-modal-card>a span{display:flex;flex-direction:column}.v10-modal-card>a strong{font-size:.9rem}.v10-modal-card>a small{font-size:.72rem;color:#777}
.v10-modal-card>a.dana:hover{border-color:#e5aeb0;background:#fff6f6}.v10-modal-card>a.academy:hover{border-color:#b7c1ce;background:#f6f8fb}

/* Footer: white, identity line; no dark body background. */
.v10-footer{position:relative;z-index:2;background:#fff;border-top:1px solid var(--line);padding:38px 0 22px}
.v10-footer::before{content:"";position:absolute;top:0;right:0;left:0;height:3px;background:linear-gradient(90deg,var(--red),var(--gold),var(--navy))}
.v10-footer-top{display:flex;align-items:center;justify-content:space-between;gap:30px}
.v10-footer-logos{display:flex;align-items:center;gap:10px}.v10-footer-logos img{width:58px;height:58px;border-radius:13px;object-fit:cover;background:#fff;padding:3px;border:1px solid var(--line)}
.v10-footer-logos span{width:1px;height:40px;background:var(--line)}
.v10-footer p{margin:0;max-width:570px;color:#6d7179;font-size:.82rem;line-height:1.75}
.v10-footer-copy{margin-top:20px;padding-top:15px;border-top:1px solid var(--line);color:#999;font-size:.68rem}

/* Smart Bouncing Scroll Arrow */
.hero-scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  animation: floatArrow 2.5s infinite ease-in-out;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent; /* Removes blue tap overlay on mobile */
  outline: none;
}
.hero-scroll-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-50%) scale(1.1);
}
.hero-scroll-arrow svg {
  width: 24px;
  height: 24px;
}
@keyframes floatArrow {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Native CSS Scroll Snapping (Mobile Only, managed by JS) */
html.mobile-hero-snap {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
.mobile-snap-point {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Tablet and mobile: NAV becomes icon only */
@media(max-width:1024px){
  .v10-container{width:calc(100vw - 46px)}
  .v10-header{padding:7px 8px}
  .v10-header-inner{width:100%;min-height:60px;border-radius:18px;padding:5px 7px}
  .v10-desktop-nav{display:none}
  .v10-menu-btn{display:block}
  .v10-brand-pair{margin-right:auto}
  .v10-mobile-menu{position:fixed;z-index:999;top:78px;right:10px;left:10px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:8px;box-shadow:0 22px 70px rgba(0,0,0,.16);display:grid;grid-template-columns:1fr 1fr;gap:4px;opacity:0;visibility:hidden;transform:translateY(-7px);transition:.2s}
  .v10-mobile-menu.open{opacity:1;visibility:visible;transform:none}
  .v10-mobile-menu a{padding:12px;border-radius:12px;font-size:.84rem;font-weight:600}.v10-mobile-menu a:hover{background:#f6f3ed}
  .v10-blocks{grid-template-columns:repeat(3, 1fr); gap: 18px;}
  .v10-blocks article{min-height:auto; padding: 24px 20px;}
  @media(max-width:767px){
    .v10-blocks{grid-template-columns:1fr; gap: 14px;}
    .v10-blocks article{padding: 22px 20px;}
  }
  .v10-contact-grid{grid-template-columns:1fr}
  .v10-footer-top{flex-direction:column;align-items:flex-start}

  /* Mobile Natural Flow Parallax (No Scroll Traps) */
  .v10-hero { 
    position: relative !important; 
    top: auto !important;
    min-height: auto !important; 
    height: auto !important; 
    width: 100% !important; /* Ensure full width */
    overflow: visible !important; /* Critical: allows position: sticky to work inside it */
  }
  .v10-hero-split { 
    position: relative; 
    inset: auto;
    display: flex; 
    flex-direction: column; 
    width: 100% !important; /* Prevent shrink-wrapping that causes black borders */
    height: auto; 
    background: #fff; 
    overflow: visible; 
  }
  
  .v10-hero-side {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100dvh !important; /* Full screen height per side */
    min-height: 100dvh;
    flex-shrink: 0; 
    overflow: hidden !important; 
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Native Sticky Parallax Magic for BOTH images */
  .dana-side { 
    position: sticky !important;
    top: 0 !important;
    z-index: 10; 
    order: -1; 
    clip-path: none !important;
    padding-bottom: 0; 
  }
  
  .academy-side { 
    position: sticky !important;
    top: 0 !important;
    z-index: 20; 
    order: 1; 
    clip-path: none !important;
    margin-top: 0; 
    padding-top: 0; 
    box-shadow: 0 -15px 40px rgba(0,0,0,0.3); 
  }
  
  /* Add 100dvh spacer so Academy can stick while the next section slides over it */
  .v10-hero-split::after {
    content: '';
    display: block;
    height: 100dvh;
    width: 100%;
    order: 2;
  }
  
  /* Pull the next section up to slide over Academy */
  #dana-section {
    margin-top: -100dvh;
    position: relative;
    z-index: 30;
    background: #fff;
    box-shadow: 0 -20px 50px rgba(0,0,0,0.15);
  }

  @keyframes floatArrowMobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
  }
  .hero-scroll-arrow {
    position: sticky !important;
    bottom: 30px !important;
    top: auto !important;
    left: auto !important;
    transform: none; /* Let the animation handle transform without translateX */
    align-self: center !important;
    z-index: 100;
    order: 3;
    animation: floatArrowMobile 2.5s infinite ease-in-out !important;
  }
  
  /* The Image Wrapper needs to clip the image, not the side container */
  .v10-hero-img-wrapper { 
    position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden;
  }
  .v10-hero-overlay { 
    position: absolute; inset: 0; width: 100%; height: 100%; 
  }
  
  /* Smart Content Positioning: Centered and adapts to height */
  .v10-side-content {
    position: relative;
    top: auto; left: auto; transform: none;
    padding: 4rem 2rem; /* Comfortable padding */
    margin: 0;
    width: 100%; max-width: 480px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    z-index: 10;
  }
  
  /* Protect the top section's content from being covered by the fixed header */
  .dana-side .v10-side-content {
    padding-top: 8rem; /* 4rem original + 4rem for header clearance */
  }
  
  /* Move logos to the right on mobile so they don't cover faces */
  .side-logo {
    margin-left: auto !important;
    margin-right: 0 !important;
  }
  
  .v10-badges{flex-wrap:wrap;gap:8px}
  .v10-badges span{font-size:0.65rem;}
  .v10-hero-hook-card h1{font-size:1.6rem;}
  .v10-hero-hook-card p{font-size:0.85rem;}
}

@media(max-width:640px){
  .v10-container{width:calc(100vw - 34px)}
  .v10-header-inner{min-height:58px}
  .v10-brand-card{padding:3px 5px;min-height:50px;border-radius:13px}
  .v10-brand-card img{width:44px;height:44px}
  .v10-brand-card span{display:none}
  .v10-menu-btn{width:39px;height:39px}
  .v10-menu-btn span{width:15px;height:1px;margin:2px auto}
  .v10-mobile-menu{top:73px;right:8px;left:8px}
  .v10-section{padding:62px 0}
  .v10-heading{margin-bottom:26px}.v10-heading h2{font-size:clamp(1.85rem,8.5vw,2.45rem);margin-top:7px}.v10-heading p{font-size:.8rem;line-height:1.75}
  .v10-blocks{gap:11px}.v10-blocks article{padding:19px;border-radius:17px}.v10-blocks h3{font-size:1.08rem}.v10-blocks p{font-size:.76rem}
  .v10-cta{padding:18px;border-radius:17px;flex-direction:column;align-items:stretch}.v10-cta h3{font-size:1rem}.v10-cta p{font-size:.74rem}.v10-cta button{width:100%;min-height:41px}
  .v10-faq .faq-q{font-size:.81rem;line-height:1.5;padding:17px 0}.v10-faq .faq-content p{font-size:.75rem}
  .v10-contact{padding:18px;border-radius:17px}.v10-contact img{width:52px;height:52px}.v10-contact h3{font-size:1.06rem}.v10-contact p{font-size:.73rem}
  .v10-map{height:280px;border-radius:17px}
  .v10-wa-float{left:14px;bottom:14px;width:50px;height:50px;min-width:50px;min-height:50px;max-width:50px;max-height:50px}
  .v10-up-float{right:14px;bottom:14px;width:50px;height:50px;min-width:50px;min-height:50px;max-width:50px;max-height:50px}
  .v10-footer{padding:30px 0 18px}.v10-footer-logos img{width:54px;height:54px}.v10-footer p{font-size:.75rem}.v10-footer-copy{text-align:center;font-size:.62rem}
}

@keyframes pingRed {
  0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(209, 33, 39, 0.7); }
  70% { transform: scale(1.1); opacity: 0.8; box-shadow: 0 0 0 8px rgba(209, 33, 39, 0); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(209, 33, 39, 0); }
}

.font-en {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  letter-spacing: 0.5px;
}

/* ==========================================================
   FINAL DANA SECTION REDESIGN (Option A + Tailwind Mimicry)
   ========================================================== */
.dana-premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  border-radius: 9999px;
  background-color: rgba(209, 33, 39, 0.1);
  color: var(--red);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(209, 33, 39, 0.2);
}

.dana-trust-wrapper { 
  margin-bottom: 4.5rem; 
}
@media (max-width: 768px) {
  .dana-trust-wrapper { 
    margin-bottom: 2rem; 
  }
}
.dana-trust-title { 
  text-align: center; 
  font-size: clamp(1.6rem, 2.5vw, 2rem); 
  font-weight: 900; 
  color: #0f172a; 
  margin-bottom: 0.5rem; 
}
.dana-trust-subtitle { 
  text-align: center; 
  color: #64748b; 
  font-size: 0.95rem; 
  font-weight: 500;
  margin-bottom: 2.5rem;
}

/* 1. Trust Experience Card ("خلاصة سنوات من الخبرة") */
.trust-exp-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  margin: 0 auto 2.5rem;
  padding: 2.25rem 2.75rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 2rem;
  text-align: right;
  max-width: 960px;
  width: 100%;
}
.trust-exp-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.3);
}
.trust-exp-icon i {
  color: var(--red);
  font-size: 2.2rem;
  margin: 0;
}
.trust-exp-card .trust-exp-text { 
  flex: 1; 
}
.trust-exp-card h3 { 
  color: #ffffff; 
  font-size: 1.5rem; 
  margin: 0 0 0.6rem; 
  font-weight: 900; 
  line-height: 1.3; 
}
.trust-exp-card p { 
  color: #cbd5e1; 
  margin: 0; 
  line-height: 1.8; 
  font-size: 0.96rem; 
  font-weight: 500; 
}

@media (max-width: 840px) {
  .trust-exp-card {
    padding: 2rem 1.75rem;
    gap: 1.5rem;
  }
  .trust-exp-card h3 {
    font-size: 1.35rem;
  }
  .trust-exp-card p {
    font-size: 0.92rem;
  }
}

@media (max-width: 640px) {
  .trust-exp-card { 
    flex-direction: column; 
    align-items: flex-start;
    text-align: right; 
    padding: 1.75rem 1.25rem; 
    gap: 1.25rem; 
    border-radius: 1.25rem;
    margin-bottom: 2rem;
  }
  .trust-exp-icon { 
    width: 56px; 
    height: 56px; 
    min-width: 56px; 
    border-radius: 1rem; 
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  }
  .trust-exp-icon i { 
    font-size: 1.75rem; 
  }
  .trust-exp-card h3 { 
    font-size: 1.25rem; 
    margin-bottom: 0.4rem; 
  }
  .trust-exp-card p { 
    font-size: 0.88rem; 
    line-height: 1.7; 
  }
}

/* 2. Hero Node Dana ("الوكيل الرسمي والمعتمد" - 1:1 Square Image) */
.hero-node-dana { 
  display: flex; 
  flex-direction: row; 
  align-items: center; 
  background: #0f172a;
  border-radius: 2rem;
  padding: 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin-bottom: 0; /* Removed excessive margin */
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 2rem;
} 
.hero-node-glass { 
  flex: 1; 
  padding: 1.5rem 1.5rem 1.5rem 2rem; 
  background: transparent; 
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-node-image { 
  width: clamp(280px, 38%, 420px); 
  aspect-ratio: 1 / 1 !important; 
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  display: block;
}
.hero-node-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover;
  display: block;
}

.node-tag { display: flex; align-items: center; gap: 8px; margin-bottom: 1.5rem; }
.ping-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pingRed 1.5s infinite cubic-bezier(0,0,0.2,1); }
.tag-text { color: white; font-size: 0.85rem; font-weight: bold; }
.node-logo-wrapper { 
  background: rgba(255,255,255,0.98); 
  padding: 14px 22px; 
  border-radius: 1.25rem; 
  display: inline-flex; 
  align-self: flex-start; 
  box-shadow: 0 8px 16px rgba(0,0,0,0.2); 
  margin-bottom: 1.5rem;
}
.node-logo-wrapper img { 
  height: 72px; 
  object-fit: contain; 
  display: block;
}

.node-title { color: #fff; font-size: 1.6rem; font-weight: 900; margin-bottom: 0.75rem; line-height: 1.3; }
.node-desc { color: #cbd5e1; font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.node-features { list-style: none; padding: 0; margin: 0 0 1.75rem 0; color: #e2e8f0; font-size: 0.92rem; font-weight: bold; }
.node-features li { margin-bottom: 0.6rem; display: flex; align-items: center; gap: 10px; }
.node-features i { color: var(--red); font-size: 1.25rem; }
.node-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--red); color: #fff; padding: 13px 28px;
  border-radius: 12px; font-size: 0.9rem; font-weight: 800; text-decoration: none;
  transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(209,33,39,0.3);
  align-self: flex-start;
}
.node-action:hover { background: #b91c1c; box-shadow: 0 10px 20px rgba(209,33,39,0.4); transform: translateY(-2px); color: #fff; }

@media (max-width: 1024px) {
  .hero-node-dana { 
    flex-direction: column-reverse; 
    padding: 1.75rem 1.5rem; 
    gap: 1.75rem; 
  }
  .hero-node-glass { 
    width: 100%; 
    padding: 0; 
  }
  .hero-node-image { 
    width: 100%; 
    max-width: 420px; 
    aspect-ratio: 1 / 1 !important; 
    border-radius: 1.25rem; 
    margin: 0 auto; 
  }
  .hero-node-image img { 
    aspect-ratio: 1 / 1 !important; 
  }
}

@media (max-width: 640px) {
  .hero-node-dana { 
    padding: 1.25rem 1rem; 
    border-radius: 1.5rem; 
    gap: 1.25rem; 
    margin-bottom: 3.5rem;
  }
  .hero-node-image { 
    width: 100%; 
    max-width: 100%; 
    aspect-ratio: 1 / 1 !important; 
    border-radius: 1rem; 
  }
  .hero-node-image img { 
    aspect-ratio: 1 / 1 !important; 
  }
  .node-logo-wrapper { 
    padding: 10px 16px; 
    border-radius: 1rem; 
    margin-bottom: 1rem; 
  }
  .node-logo-wrapper img { 
    height: 48px; 
  }
  .node-title { 
    font-size: 1.35rem; 
  }
  .node-desc { 
    font-size: 0.88rem; 
    line-height: 1.7; 
    margin-bottom: 1.25rem; 
  }
  .node-action { 
    width: 100%; 
    justify-content: center; 
    padding: 12px 20px; 
  }
}

/* ==========================================================
   PORTFOLIO & AGENCIES SECTION (مركز الوكالات والتجهيزات)
   ========================================================== */
.dana-portfolio-section { 
  background: #f8fafc; 
  padding: 5rem 0; 
  border-bottom: 1px solid #e2e8f0; 
  position: relative; 
  z-index: 10; 
}
.portfolio-header { 
  text-align: center; 
  max-width: 800px; 
  margin: 0 auto 3.5rem; 
}
.portfolio-tag { 
  display: inline-flex; 
  gap: 8px; 
  padding: 6px 18px; 
  border-radius: 99px; 
  font-size: 0.8rem; 
  font-weight: 800; 
  background: #fee2e2; 
  color: var(--red); 
  border: 1px solid #fecaca; 
  margin-bottom: 1rem; 
}
.portfolio-header h2 { 
  font-size: clamp(1.8rem, 3vw, 2.5rem); 
  font-weight: 900; 
  color: #0f172a; 
  margin-bottom: 0.85rem; 
}
.portfolio-header p { 
  color: #334155; 
  font-size: 1rem; 
  font-weight: 500; 
  line-height: 1.7;
}
.gradient-line { 
  width: 80px; 
  height: 4px; 
  background: linear-gradient(to right, transparent, var(--red), transparent); 
  margin: 1.5rem auto 0; 
  border-radius: 99px; 
}

/* 3. Agencies Grid */
.portfolio-agencies-grid { 
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem; 
  margin-bottom: 4.5rem; 
  width: 100%;
}

@media (max-width: 1024px) {
  .portfolio-agencies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .portfolio-agencies-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
  }
}

.agency-card-v2 { 
  width: 100%;
  padding: 0; 
  overflow: hidden; 
  background: #fff; 
  border: 1px solid #e2e8f0; 
  border-radius: 1.5rem; 
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); 
  display: flex; 
  flex-direction: column; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}
.agency-card-v2:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); 
  border-color: #cbd5e1; 
}
.agency-img-header { 
  width: 100%; 
  height: 185px; 
  background: #0f172a; 
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agency-img-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.agency-card-v2:hover .agency-img-header img { 
  transform: scale(1.06); 
}
.agency-body-v2 { 
  padding: 1.75rem 1.5rem; 
  background: #fff; 
  position: relative; 
  z-index: 2; 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
}
.agency-tag-v2 { 
  margin-top: -45px; 
  margin-bottom: 1.25rem; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
  align-self: flex-start; 
  font-size: 11px; 
  font-weight: 800; 
  padding: 6px 16px; 
  border-radius: 99px; 
  display: inline-block; 
  backdrop-filter: blur(8px); 
}
.agency-body-v2 h3 { 
  font-size: 1.4rem; 
  font-weight: 900; 
  color: #0f172a; 
  margin-bottom: 0.75rem; 
  transition: color 0.3s; 
}
.agency-card-v2:hover h3 { 
  color: var(--red); 
}
.agency-body-v2 p { 
  font-size: 0.88rem; 
  color: #475569; 
  font-weight: 500; 
  line-height: 1.7; 
  margin: 0; 
}

/* Dynamic Tints */
.bg-red-tint { background: #fef2f2; border: 1px solid #fee2e2; } .text-dana-red { color: var(--red); }
.bg-amber-tint { background: #fffbeb; border: 1px solid #fef3c7; } .text-amber { color: #d97706; }
.bg-slate-tint { background: #0f172a; border: 1px solid #334155; }
.bg-emerald-tint { background: #ecfdf5; border: 1px solid #d1fae5; } .text-emerald { color: #047857; }
.bg-blue-tint { background: #eff6ff; border: 1px solid #dbeafe; } .text-blue { color: #2563eb; }

/* Categories Header */
.portfolio-subtitle { 
  text-align: center; 
  max-width: 600px; 
  margin: 0 auto 2.5rem; 
}
.portfolio-subtitle h3 { 
  font-size: 1.6rem; 
  font-weight: 900; 
  color: #0f172a; 
  margin-bottom: 0.5rem; 
}
.portfolio-subtitle p { 
  font-size: 0.95rem; 
  color: #475569; 
  font-weight: 500; 
}

/* 4. Categories Grid */
.portfolio-categories-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 1.75rem; 
  width: 100%;
}

@media (max-width: 1024px) {
  .portfolio-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .portfolio-categories-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.cat-card { 
  background: #fff; 
  border: 1px solid #e2e8f0; 
  border-radius: 1.5rem; 
  overflow: hidden; 
  display: flex; 
  flex-direction: column; 
  width: 100%;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.06); 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}
.cat-card:hover { 
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.12), 0 8px 10px -6px rgba(0,0,0,0.06); 
  transform: translateY(-5px); 
  border-color: #fecaca; 
}
.cat-img-wrap { 
  position: relative; 
  height: 210px; 
  width: 100%; 
  overflow: hidden; 
  background: #0f172a; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}
.cat-img-wrap img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.5s ease; 
  display: block;
}
.cat-card:hover .cat-img-wrap img { 
  transform: scale(1.06); 
}
.cat-floating-tag { 
  position: absolute; 
  top: 12px; 
  right: 12px; 
  z-index: 5; 
  font-size: 11px; 
  font-weight: 800; 
  padding: 5px 14px; 
  border-radius: 99px; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.2); 
  backdrop-filter: blur(8px); 
}
.tag-white { background: rgba(255,255,255,0.95); color: var(--red); border: 1px solid #fecaca; }
.tag-amber { background: #f59e0b; color: #0f172a; }
.tag-red { background: #dc2626; color: #fff; }
.cat-body { 
  padding: 1.75rem 1.5rem 1.25rem; 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
}
.cat-body h4 { 
  font-size: 1.2rem; 
  font-weight: 900; 
  color: #0f172a; 
  margin-bottom: 0.6rem; 
  line-height: 1.35;
}
.cat-desc { 
  font-size: 0.85rem; 
  color: #475569; 
  font-weight: 500; 
  margin-bottom: 1.25rem; 
  line-height: 1.7; 
}
.cat-list { 
  list-style: none; 
  padding: 0; 
  margin: 0 0 1rem 0; 
  font-size: 0.82rem; 
  color: #334155; 
  margin-top: auto; 
}
.cat-list li { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  margin-bottom: 0.6rem; 
}
.cat-list i { 
  color: var(--red); 
  font-weight: bold; 
  font-size: 1.1rem; 
}
.cat-footer { 
  padding: 0 1.5rem 1.5rem; 
}
.cat-btn { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  width: 100%; 
  background: var(--red); 
  color: #fff; 
  font-weight: 800; 
  font-size: 0.85rem; 
  padding: 13px; 
  border-radius: 99px; 
  text-decoration: none; 
  box-shadow: 0 4px 10px rgba(209,33,39,0.2); 
  transition: all 0.3s ease; 
}
.cat-btn:hover { 
  background: #b91c1c; 
  box-shadow: 0 6px 15px rgba(209,33,39,0.3); 
  transform: translateY(-1px); 
  color: #fff; 
}

/* Special Request Card */
.special-req-card {
  background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
  border: 1px solid #1e293b;
  color: #fff;
  border-radius: 1.5rem;
  padding: 2.25rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.special-req-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 30px -5px rgba(209, 33, 39, 0.15), 0 10px 10px -5px rgba(0,0,0,0.1);
  border-color: rgba(209, 33, 39, 0.4);
}
.sr-icon { 
  width: 54px; 
  height: 54px; 
  background: rgba(209, 33, 39, 0.2); 
  color: var(--red); 
  border: 1px solid rgba(209, 33, 39, 0.4); 
  border-radius: 1.1rem; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1.6rem; 
  margin-bottom: 1.25rem; 
}
.special-req-card h4 { 
  font-size: 1.25rem; 
  font-weight: 900; 
  margin-bottom: 0.75rem; 
  color: #fff; 
  line-height: 1.35;
}
.special-req-card p { 
  font-size: 0.85rem; 
  color: #cbd5e1; 
  font-weight: 500; 
  line-height: 1.7; 
  margin-bottom: 1.75rem; 
}
.sr-btn { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  width: 100%; 
  background: var(--red); 
  color: #fff; 
  font-weight: 800; 
  font-size: 0.85rem; 
  padding: 13px; 
  border-radius: 99px; 
  text-decoration: none; 
  transition: all 0.3s ease; 
  box-shadow: 0 4px 12px rgba(209,33,39,0.3); 
}
.sr-btn:hover { 
  background: #b91c1c; 
  box-shadow: 0 6px 15px rgba(209,33,39,0.4); 
  transform: translateY(-1px); 
  color: #fff; 
}

/* Adjusting the gap between dana-section and dana-profile */
#dana-section {
  padding-bottom: 0 !important; 
}
@media (max-width: 768px) {
  .dana-portfolio-section {
    padding: 3rem 0; /* Slightly tighter on mobile to avoid huge empty space */
  }
}

