/* Base */
:root{
  --bg:#ffffff; /* white */
  --primary:#2e7bff; /* blue */
  --accent:#ffd64d; /* yellow */
  --red:#ff4757; /* red */
  --white:#ffffff; /* white */
  --card:rgba(0,0,0,0.08);
  --card-border:rgba(0,0,0,0.18);
  --text:#000000;
  --muted:#666666;
  --glass-blur:16px;
  /* dynamic background controls (0..100) */
  --bg-x:50;
  --bg-y:50;
}

/* Respect reduced motion: lock background position */
@media (prefers-reduced-motion: reduce) {
  :root { --bg-x:50; --bg-y:50; }
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none
}

body {
  background-color: #fff;
  padding: 0;
  margin: 0;
  font-family: 'Kufam', 'Tajawal', system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  /* subtle tri-color dynamic glow (yellow, red, blue) */
  background: radial-gradient(600px 400px at calc(var(--bg-x) * 1%) calc(var(--bg-y) * 1%), rgba(255, 214, 77, 0.06), rgba(255, 214, 77, 0) 60%), radial-gradient(520px 360px at calc((100 - var(--bg-x)) * 1%) calc(var(--bg-y) * 1%), rgba(255, 59, 59, 0.045), rgba(255, 59, 59, 0) 60%), radial-gradient(700px 500px at calc(var(--bg-x) * 1%) calc((100 - var(--bg-y)) * 1%), rgba(46, 123, 255, 0.06), rgba(46, 123, 255, 0) 60%), #ffffff;
}

[lang="en"] {
  font-family: 'Montserrat', system-ui, Segoe UI, Roboto, Arial, sans-serif;
}

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 32px 20px
}

.section-title {
  font-size: 28px;
  margin: 0 0 18px 0
}

.grid {
  display: grid;
  gap: 18px
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr))
}
.container{max-width:1150px;margin:0 auto;padding:32px 20px}
.section-title{font-size:28px;margin:0 0 18px 0}
.grid{display:grid;gap:18px}
.grid-4{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}

/* Projects (Behance-like) */
.projects-grid{align-items:start}
.project-card{position:relative;overflow:visible;border-radius:14px;}
.project-card{margin-bottom:56px} /* space for half-out badge */
.project-cover{
  display:block;width:100%;height:auto;border-radius:14px;object-fit:cover;
  /* make the image look bigger behind the logo */
  transform: scale(1.18);
  will-change: transform;
  border:none;
}
.logo-badge{
  position:absolute;left:0;right:0;bottom:-48px;top:auto; /* half out for 96px */
  display:flex;align-items:center;justify-content:center;pointer-events:none;
}
.logo-badge img{
  width:96px;height:96px;border-radius:50%;object-fit:cover;
  border:3px solid rgba(255,255,255,.9);
  box-shadow:0 10px 30px rgba(0,0,0,.35);
  background:#fff;
}
/* Hide hover overlay per request */
.project-hover{display:none !important}
.project-meta, .project-title, .project-sub{display:none}

/* Static name under the logo at the end of the card */
.project-name{
  text-align:center;
  font-weight:700;
  margin-top: 14px; /* space below half-out logo */
}
.project-name .muted{display:none}

/* View project button */
.project-actions{display:flex;justify-content:center;margin-top:10px}
.project-actions .btn-view{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 14px;border-radius:12px;
  background:transparent;
  color:var(--text);text-decoration:none;font-weight:700;
  border:1px solid var(--card-border);
  backdrop-filter:blur(6px);
  transition:background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.project-actions .btn-view::after{
  content:"›"; /* subtle chevron */
  font-size:1rem;line-height:1;opacity:.7;
}
.project-actions .btn-view:hover{
  background:rgba(255,255,255,.08);
  border-color: rgba(0,0,0,0.22);
}
.project-actions .btn-view:active{transform:scale(.99)}
.project-actions .btn-view:focus{outline:2px solid rgba(46,123,255,0.35);outline-offset:2px}

/* Project details gallery */
.project-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.project-shot{width:100%;height:auto;border-radius:14px;border:1px solid var(--card-border);box-shadow:0 10px 20px rgba(0,0,0,.12)}

@media(max-width:767px){
  .logo-badge img{width:70px;height:70px}
  .logo-badge{bottom:-35px} /* half of 70px */
  .project-card{margin-bottom:44px}
  .project-cover{transform: scale(1.08)}
}

/* Bigger project cards on large screens */
@media(min-width: 1200px){
  .projects-grid{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))}
}
@media(min-width: 1600px){
  .projects-grid{grid-template-columns:repeat(auto-fit,minmax(380px,1fr))}
}

.why-choose-us{text-align:center;margin:60px 0 40px; padding:40px 20px}
.stats{text-align:center;margin:40px 0 60px; padding:40px 20px}
.stat{margin-bottom:20px}
.stat-number{font-size:48px;font-weight:800;color:var(--primary);margin-bottom:8px}
.stat p{color:var(--muted);font-size:16px}

.process{text-align:center;margin:60px 0 40px; padding:40px 20px}
/* تحسين مظهر بطاقات الإحصائيات */
.stats .card{
  width: 100%;               /* تملأ عرض العمود بالكامل */
  padding: 24px;             /* مساحة داخلية أكبر */
  min-height: 180px;         /* ارتفاع موحّد */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.stats .card .icon{ margin-bottom: 6px; }
/* توحيد لون الأيقونات في الصفحة الرئيسية والأقسام */
.features .card .icon,
.why-choose-us .card .icon,
.stats .card .icon,
.process .card .icon {
  color: var(--primary) !important;
  background: linear-gradient(135deg, rgba(46,123,255,0.06), rgba(255,214,77,0.06)) !important;
}
.step{position:relative;margin-bottom:20px;padding:20px;border-radius:12px;background:rgba(255,255,255,.05);transition:transform 0.3s}
.step:hover{transform:translateY(-5px)}
.step-number{position:absolute;top:-10px;left:10px;background:#2e7bff;color:#fff;border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600}
.step-icon{font-size:32px;margin-bottom:12px;color:#2e7bff}
.step h3{font-size:20px;margin-bottom:8px}
.step p{font-size:14px;color:#cfd7e6}

.stats{text-align:center;margin:40px 0}
.stat{margin-bottom:20px}
.stat-number{font-size:48px;font-weight:800;color:var(--primary);margin-bottom:8px}
.stat p{color:var(--muted);font-size:16px}

@media (min-width: 768px) {
  .why-choose-us {
    padding: 32px 20px; /* مطابقة padding .container */
    max-width: 1150px; /* مطابق لعرض .container */
    margin: 60px auto 40px; /* زيادة margin */
  }
  .stats {
    padding: 32px 20px; /* مطابقة padding .container */
    max-width: 1150px; /* مطابق لعرض .container */
    margin: 40px auto 80px; /* زيادة margin-bottom */
  }
  .process {
    padding: 32px 20px; /* مطابقة padding .container */
    max-width: 1150px; /* مطابق لعرض .container */
    margin: 80px auto 40px; /* زيادة margin-top */
  }
  .why-choose-us .grid-4 {
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%; /* نفس عرض الحاوية */
    margin: 0 auto;
  }
  .stats .grid-4 {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    justify-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%; /* نفس عرض الحاوية */
    margin: 0 auto;
  }
  /* تكبير إضافي في الشاشات الكبيرة جداً */
  @media (min-width: 1200px) {
    .stats .grid-4 { grid-template-columns: repeat(4, minmax(250px, 1fr)); }
  }
  .process .grid-4 {
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%; /* نفس عرض الحاوية */
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .stats {
    padding: 20px 10px; /* تقليل padding في الصغيرة */
  }
  .stats .grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* أصغر في الصغيرة */
  }
  .process .grid-4 {
    grid-template-columns: 1fr;
  }
  .process {
    padding: 20px 10px; /* تقليل padding في الصغيرة */
  }
}

/* Glassmorphism */
.glass{
  background:var(--card);
  border:1px solid var(--card-border);
  backdrop-filter:blur(var(--glass-blur));
  -webkit-backdrop-filter:blur(var(--glass-blur));
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

/* Footer */
.footer{background:var(--card);padding:40px 0;margin-top:60px;border-top:1px solid var(--border)}
.footer-section h3{margin-bottom:16px;font-size:20px;color:var(--primary)}
.footer-section ul{list-style:none;padding:0}
.footer-section ul li{margin-bottom:8px}
.footer-section ul li a{color:var(--text);text-decoration:none;transition:color 0.3s}
.footer-section ul li a:hover{color:var(--primary)}
.footer-bottom{text-align:center;padding-top:20px;border-top:1px solid var(--border);color:var(--muted)}
.social-links{display:flex;gap:12px}
.social-links a{color:var(--text);font-size:20px;transition:transform 0.3s, color 0.3s}
.social-links a:hover{transform:scale(1.1);color:var(--primary)}

/* Header */
.navbar{
  position:sticky;top:0;z-index:50;
  margin:0 0 14px 0;
  background-image: url('../img/header-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.navbar-inner{display:flex;align-items:center;justify-content:space-between;padding:10px 16px}
.nav-links{display:flex;gap:8px;flex-wrap:wrap}
/* For Arabic pages, layout header LTR so logo is on the left and links on the right */
html[lang="ar"] .navbar-inner{direction:ltr}
html[lang="ar"] .nav-links a{direction:rtl}
.brand{font-weight:800;letter-spacing:.5px}
.brand-logo img { height: 60px; width: auto; max-width: 150px; margin-top: 10px; }
.nav-links{display:flex;gap:8px;flex-wrap:wrap}
.nav-links a{color:var(--text);text-decoration:none;padding:10px 14px;border-radius:12px}
.nav-links a.active, .nav-links a:hover{background:rgba(255,255,255,.08)}

/* Hamburger */
.hamburger{
  display:flex;flex-direction:column;gap:4px;background:none;border:none;cursor:pointer;padding:10px;
  width:40px;height:40px;justify-content:center;align-items:center;
}
.hamburger.hide{display:none !important}
.hamburger span{
  display:block;width:24px;height:2px;background: white !important;transition:.3s;
}
.hamburger.open span:nth-child(1){transform:rotate(45deg) translate(6px,6px)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(6px,-6px)}

/* Side Menu */
.side-menu{
  position:fixed;top:0;left:-280px;width:260px;height:100vh;z-index:60;
  padding:20px;display:flex;flex-direction:column;gap:10px;overflow-y:auto;
  background:rgba(11,18,32,0.95);border-right:1px solid var(--card-border);
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  transition:left .3s ease;will-change:left;
  pointer-events:none;visibility:hidden; /* hidden until open */
  scrollbar-width:none;-ms-overflow-style:none;
}
.side-menu::-webkit-scrollbar{display:none}
.side-menu.open{left:0;pointer-events:auto;visibility:visible}
.side-menu a{display:block;padding:12px 16px;border-radius:12px;text-decoration:none;color:var(--text)}
.side-menu a.active{background:var(--primary);color:#fff}
.side-menu a:hover{background:rgba(255,255,255,.08)}
.close-btn{
  align-self:flex-end;background:none;border:none;color:var(--text);font-size:20px;cursor:pointer;
  padding:8px;border-radius:50%;transition:.2s;
}
.close-btn:hover{background:rgba(255,255,255,.1)}

/* Responsive */
@media(max-width:900px){
  .nav-links{display:none}
  .hamburger{display:flex}
}
@media(min-width:901px){
  .hamburger{display:none}
  .side-menu{display:none}
  .nav-links a, .nav-links .btn-ghost {
    color: white;
  }
  .nav-links a.active, .nav-links a:hover {
    background: rgba(255,255,255,.1);
  }
  .nav-links .btn-ghost:hover {
    border-color: rgba(255,255,255,.5);
  }
}

/* Loading Overlay */
.loading-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  opacity: 1; transition: opacity 0.5s ease;
}
.loading-overlay.hide { opacity: 0; pointer-events: none; }
.loading-container { text-align: center; position: relative; }
/* حلقة أنيقة بدلاً من دائرة بنص */
.logo-pulse-loading {
  width: 110px; height: 110px; position: relative; margin: 0 auto 18px;
  background: transparent; color: transparent; /* إخفاء أي نص داخلي */
  /* لا ندير الحاوية نفسها؛ سنُدير المثلثات حول المركز */
}
/* مثلث أبيض يدور حول المركز */
.logo-pulse-loading::before{
  --r: 42px; /* نصف قطر المدار */
  content:''; position:absolute; left:50%; top:50%;
  width:0;height:0; border-left:16px solid transparent; border-right:16px solid transparent; border-bottom:28px solid #ffffff;
  transform: translate(-50%,-50%) rotate(0deg) translate(var(--r)) rotate(-0deg);
  animation: orbit 1.8s linear infinite;
}
/* مثلث أصفر بإزاحة طور 90° */
.logo-pulse-loading::after{
  --r: 42px;
  content:''; position:absolute; left:50%; top:50%;
  width:0;height:0; border-left:14px solid transparent; border-right:14px solid transparent; border-top:22px solid rgba(255,214,77,.6);
  transform: translate(-50%,-50%) rotate(0deg) translate(var(--r)) rotate(-0deg);
  animation: orbit 1.8s linear infinite;
  animation-delay: -0.45s; /* ربع دورة */
}
.loading-text { color: #cfd7e6; font-size: 14px; margin: 8px 0 12px; opacity: .9; }
/* نستخدم .spinner لعمل مثلثين إضافيين (أحمر وأزرق) فوق نفس المساحة */
.spinner{ position:absolute; width:110px; height:110px; left:50%; top:50%; transform:translate(-50%,-50%); background:none; border:none; }
/* مثلث أحمر بإزاحة طور 180° */
.spinner::before{
  --r: 42px;
  content:''; position:absolute; left:50%; top:50%;
  width:0;height:0; border-left:16px solid transparent; border-right:16px solid transparent; border-bottom:28px solid #ff3b3b;
  transform: translate(-50%,-50%) rotate(0deg) translate(var(--r)) rotate(-0deg);
  animation: orbit 1.8s linear infinite;
  animation-delay: -0.9s; /* نصف دورة */
}
/* مثلث أزرق بإزاحة طور 270° */
.spinner::after{
  --r: 42px;
  content:''; position:absolute; left:50%; top:50%;
  width:0;height:0; border-left:16px solid transparent; border-right:16px solid transparent; border-bottom:28px solid #2e7bff;
  transform: translate(-50%,-50%) rotate(0deg) translate(var(--r)) rotate(-0deg);
  animation: orbit 1.8s linear infinite;
  animation-delay: -1.35s; /* ثلاثة أرباع الدورة */
}
/* مسار دائري يحافظ على اتجاه المثلث للخارج */
@keyframes orbit {
  from { transform: translate(-50%,-50%) rotate(0deg) translate(var(--r)) rotate(-0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg) translate(var(--r)) rotate(-360deg); }
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Hero */
.hero{
  display:grid;grid-template-columns:1.1fr .9fr;gap:20px;align-items:center;padding:60px;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0; /* remove rounded corners */
  position: relative;
  min-height: 400px;
}
@media (max-width: 767px) {
  .hero {
    grid-template-columns: 1fr;
    /* قلل ارتفاع البطاقة واجعل الصورة أعرض */
    padding: 40px 20px;
    min-height: 300px;
    /* اجعل الخلفية أعرض في الشاشات الصغيرة */
    background-size: 240% auto;
    background-position: center top;
  }
}
/* شاشات أصغر جدًا */
@media (max-width: 480px) {
  .hero {
    /* مزيد من الاتساع على الشاشات الأصغر جدًا */
    background-size: 270% auto;
    min-height: 320px;
    padding: 44px 18px;
  }
}
@media (min-width: 768px){
  .hero {
    background-size: 140% auto;
  }
  .nav-links .btn-primary {
    display: none;
  }
}

/* Wider banner on large screens */
@media (min-width: 1400px) {
  .container { max-width: 1400px; }
  .hero { padding: 80px; min-height: 70vh; background-position: center top; }
}
@media (min-width: 1700px) {
  .container { max-width: 1600px; }
  .hero { min-height: 80vh; background-position: center top; }
  /* على الشاشات الأعرض، زد الاتساع قليلًا */
  .hero.container { background-size: 130% auto; }
}

/* Full-bleed hero (edge-to-edge) on wide screens */
@media (min-width: 1200px) {
  .hero.container {
    /* ارجاع البنر داخل الحاوية بدل الامتداد الكامل */
    margin-left: auto;
    margin-right: auto;
    width: auto;
    border-radius: 18px; /* restore rounded corners on large screens */
    /* إبقاء الخلفية أعرض قليلاً بدون الخروج عن الحاوية */
    background-size: 120% auto;
    background-position: center top; /* إبراز الجزء العلوي من الصورة */
  }
  .hero.container::before { border-radius: 18px; }
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25); /* تقليل التعتيم لزيادة وضوح الصورة */
  border-radius: 0; /* remove rounded corners */
  z-index: 1;
}
.hero > * {
  position: relative; z-index: 2;
}
/* allow tagline to anchor to .hero, not .hero-content */
.hero .hero-content{ position: static; }
/* tagline bottom-center overlay */
.hero .tagline{
  position:absolute; left:50%; bottom:calc(env(safe-area-inset-bottom, 0px) + 24px); transform:translateX(-50%);
  margin:0; padding:6px 10px; border-radius:10px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-weight:500; color:#ffffff; text-align:center; z-index:3;
  display:inline-block; line-height:1.2; max-width:80vw;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.hero .tagline span{ display:block; opacity:.95; font-size:.9em; font-weight:400; }
/* Arabic page: move up a bit and to the right */
html[lang="ar"] .hero .tagline{
  left: auto; right: 24px; transform:none; text-align:right;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 96px);
}
/* English page: move up a bit and to the left */
html[lang="en"] .hero .tagline{
  left: 24px; transform:none; text-align:left;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 96px);
}
@media (min-width: 768px){
  .hero .tagline{ white-space: nowrap; padding:10px 16px; max-width:60vw; }
  html[lang="ar"] .hero .tagline, html[lang="en"] .hero .tagline{ bottom: 120px; }
}
@media (max-width: 767px){
  .hero .tagline{ font-size:19px; padding:5px 9px; max-width:66vw; }
}
@media (max-width: 480px){
  .hero .tagline{ font-size:17px; padding:4px 7px; max-width:60vw; }
}
/* subtle noise overlay */
.hero::after{ content:none; }


/* CTA Hero */
.cta-hero {
  text-align: center;
  padding: 20px 0;
}

/* Show full hero image on small screens and increase visible height */
@media (max-width: 767px){
  .hero{ padding:18px; min-height: 62vh; background-size: cover; background-position: center; }
}
@media (max-width: 480px){
  .hero{ padding:16px; min-height: 70vh; background-size: cover; background-position: center; }
}

/* Packages page lists: avoid double bullets */
.price-card ul{list-style:none; padding-inline-start:0; margin:0 0 10px 0}
.price-card li{margin:6px 0}
.cta-hero .cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.logo-pulse{
  width:180px;height:180px;border-radius:40px;
  background:none;
  border:1px solid var(--card-border);
  position:relative;
  box-shadow:inset 0 0 50px rgba(46,123,255,.25), 0 20px 60px rgba(0,0,0,.35);
}
.logo-pulse::after{
  content:"";position:absolute;inset:0;display:grid;place-items:center;
  font-weight:800;font-size:72px;color:#fff; text-shadow:0 4px 20px rgba(0,0,0,.45);
}

/* Cards */
.card{padding:18px}
.card .icon{
  font-size:32px; margin-bottom:12px;
  color:#2e7bff;
  background: linear-gradient(135deg, rgba(46,123,255,0.06), rgba(255,214,77,0.06));
  border-radius:50%; padding:16px;
  width:64px; height:64px; display:flex; align-items:center; justify-content:center;
  transition: all 0.3s ease;
}
.card:hover .icon{
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(46,123,255,0.05), rgba(255,214,77,0.05));
}
.card .stat-number{margin-bottom:0}

/* CTA */
.cta-wide{text-align:center;padding:28px;margin-top:20px}

/* Buttons */
.btn{display:inline-block;padding:12px 16px;border-radius:12px;text-decoration:none;font-weight:600}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{filter:brightness(1.03)}
.btn-outline{border:1px solid var(--card-border);color:var(--text)}
.btn-outline:hover{background:rgba(255,255,255,.06)}
.btn-ghost{background:transparent;border:1px solid transparent;color:var(--text)}
.btn-ghost:hover{border-color:var(--card-border)}

/* Footer */
.footer{ background:#0b2a5b; color:#ffffff; }
.footer.glass{ background:#0b2a5b !important; backdrop-filter:none; -webkit-backdrop-filter:none; border-radius:0; }
.footer a{ color:rgba(255,255,255,.9); }
.footer a:hover{ color:var(--accent); }
.footer .col-title{ color:#ffffff; }
.footer small, .footer .muted{ color:rgba(255,255,255,.8) }
.footer-inner{padding:24px 0}
.footer-grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:flex-start}
.footer-grid .brand-logo img{height:60px}
.footer-grid .brand-logo{display:inline-block; transform:translate(-6px,-4px)}
.footer-grid .col-title{margin:0 0 8px 0;font-size:16px;color:#ffffff}
.footer-links,.footer-contact{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.footer-links a,.footer-contact a{color:#ffffff;text-decoration:none}
.footer-links a:hover,.footer-contact a:hover{color:var(--accent)}
.footer .social-icons a i{ color:#ffffff; }
.footer-contact i{margin-inline-end:8px;color:#ffffff}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:16px;border-top:1px solid rgba(255,255,255,.18);padding-top:10px;font-size:12px;color:#ffffff}
.footer small{color:#ffffff}
.footer-content{display:flex;justify-content:space-between;align-items:center;width:100%}
.footer-text{text-align:right}
.footer-text.en{text-align:left}
.social-icons{display:flex;gap:12px}
.social-icons a{color:var(--text);font-size:28px;text-decoration:none;transition:color 0.3s}
.social-icons a:hover{color:var(--primary)}

/* Side Menu */
.side-menu {
  background: rgba(0, 0, 0, 0.9);
}
.side-menu a {
  color: white !important;
}

/* WhatsApp FAB */
.whatsapp-fab{
  position:fixed;bottom:18px;left:18px;z-index:60;
  width:54px;height:54px;border-radius:16px;display:grid;place-items:center;
  background:linear-gradient(135deg,#25d366,#128c7e);color:white;font-size:22px;text-decoration:none;
  box-shadow:0 10px 20px rgba(0,0,0,.3);
}
.whatsapp-fab:hover{transform:translateY(-1px)}

/* Sections shared */
.page-hero{padding:36px;margin-bottom:12px}
.page-hero h1{margin:0}

/* Forms */
.input, .textarea{
  width:100%;padding:12px;border-radius:12px;border:1px solid var(--card-border);
  background:rgba(255,255,255,.06);color:var(--text);
}
.textarea{min-height:140px;resize:vertical}
.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}

/* Pricing */
.pricing{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}
.price-card{padding:20px;border-radius:18px}
.price{font-size:28px;font-weight:800;color:var(--accent)}

/* Testimonials */
.testimonials{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.quote{font-style:italic;color:var(--muted)}

/* FAQ */
.accordion{border-radius:14px;overflow:hidden}
.ac-item{border-bottom:1px solid var(--card-border)}
.ac-header{display:flex;justify-content:space-between;align-items:center;padding:14px;cursor:pointer}
.ac-body{display:none;padding:0 14px 14px}
.ac-item.open .ac-body{display:block}

/* Utilities */
.muted{color:var(--muted)}
.center{text-align:center}
.ltr{direction:ltr; unicode-bidi: bidi-override;}

/* Contact page: social icons polished */
.contact-social{margin-top:16px}
.contact-social .social-icons{justify-content:center; gap:14px}
.contact-social .social-icons a{color:#fff}
.contact-social .pill{
  display:inline-flex; width:48px; height:48px; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.22); border-radius:14px;
  background: rgba(255,255,255,.08); backdrop-filter: blur(4px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.contact-social .pill:hover{ background: rgba(255,255,255,.14); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }

/* Official brand colors */
.contact-social .pill.instagram{ color:#E4405F; border-color: rgba(228,64,95,.4); }
.contact-social .pill.instagram:hover{ background: rgba(228,64,95,.12); }
.contact-social .pill.facebook{ color:#1877F2; border-color: rgba(24,119,242,.4); }
.contact-social .pill.facebook:hover{ background: rgba(24,119,242,.12); }
.contact-social .pill.linkedin{ color:#0A66C2; border-color: rgba(10,102,194,.4); }
.contact-social .pill.linkedin:hover{ background: rgba(10,102,194,.12); }
.contact-social .pill.tiktok{ color:#000; border-color: rgba(255,255,255,.3); }
.contact-social .pill.tiktok:hover{ background: rgba(255,255,255,.16); }
.contact-social .pill.snapchat{ color:#FFFC00; border-color: rgba(255,252,0,.4); }
.contact-social .pill.snapchat:hover{ background: rgba(255,252,0,.12); }

@media (max-width: 480px){
  .contact-social .pill{ width:42px; height:42px; border-radius:12px }
}

/* Responsive */
@media(max-width:900px){
  .hero{grid-template-columns:1fr}
}

/* Footer: strong mobile overrides */
@media (max-width: 767px){
  .footer .footer-grid{display:flex !important; flex-direction:column !important; gap:22px !important; text-align:center !important; align-items:center !important}
  .footer .footer-grid .about, .footer .footer-grid .links, .footer .footer-grid .contact{width:100%}
  .footer .footer-links a{display:block; padding:6px 0; color:#fff}
  .footer .footer-contact{display:grid; gap:10px; justify-items:center}
  .footer .footer-contact li{display:flex; align-items:center; gap:8px; justify-content:center}
  .footer .social-icons{display:flex; justify-content:center}
  .footer .footer-bottom{flex-direction:column; gap:6px; font-size:11px; text-align:center}
}
