/* ============================================
   Mohamed Yahya Theme - Main CSS
   ============================================ */

:root {
  --primary: #2B3DA8;
  --primary-dark: #1E2D7D;
  --primary-light: #3D50C0;
  --accent: #8090D0;
  --accent-light: #A0AFDF;
  --cream: #F8F4EE;
  --cream-dark: #EDE7DC;
  --dark: #111827;
  --dark-2: #1C2440;
  --dark-3: #2A3460;
  --gray: #6B7280;
  --white: #FFFFFF;
  --font: 'Cairo', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--dark); direction: rtl; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== TOP BAR ===== */
.top-bar { background: var(--primary-dark); padding: 9px 0; border-bottom: 2px solid var(--accent); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-contacts { display: flex; gap: 16px; flex-wrap: wrap; }
.top-bar a { color: #c5caee; font-size: 13px; display: flex; align-items: center; gap: 5px; transition: color .3s; }
.top-bar a:hover { color: var(--accent-light); }
.working-hours { color: #8891c5; font-size: 12px; }

/* ===== NAVBAR ===== */
.navbar { background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.08); border-bottom: 3px solid var(--primary); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img, .logo .custom-logo, .custom-logo-link img, .logo a img { height: 38px !important; width: auto !important; max-width: none !important; object-fit: contain; }
.logo-text .name { font-size: 17px; font-weight: 800; color: var(--dark); }
.logo-text .name span { color: var(--primary); }
.logo-text .sub { font-size: 11px; color: var(--gray); }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a { color: var(--dark); font-size: 13.5px; font-weight: 600; padding: 8px 13px; border-radius: 6px; transition: all .3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: 4px; right: 13px; left: 13px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { background: var(--primary) !important; color: white !important; border-radius: 8px !important; padding: 9px 18px !important; }
.nav-cta:hover { background: var(--primary-dark) !important; }
.nav-cta::after { display: none !important; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--dark); transition: .3s; }

/* ===== SECTION BASE ===== */
section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.section-label::before, .section-label::after { content: ''; width: 28px; height: 2px; background: var(--primary); }
.section-title { font-size: clamp(26px,3.8vw,40px); font-weight: 800; color: var(--dark); margin-bottom: 14px; line-height: 1.2; }
.section-title span { color: var(--primary); }
.section-desc { font-size: 15px; color: var(--gray); max-width: 580px; margin: 0 auto; line-height: 1.85; }

/* ===== BUTTONS ===== */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: white; padding: 13px 28px; border-radius: 10px; font-size: 15px; font-weight: 700; transition: all .3s; border: 2px solid var(--primary); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(43,61,168,.4); }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: white; padding: 13px 28px; border-radius: 10px; font-size: 15px; font-weight: 700; transition: all .3s; border: 2px solid #25D366; }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,.35); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: white; padding: 13px 28px; border-radius: 10px; font-size: 15px; font-weight: 700; transition: all .3s; border: 2px solid rgba(255,255,255,.18); }
.btn-secondary:hover { background: rgba(255,255,255,.07); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--primary); padding: 11px 24px; border-radius: 10px; font-size: 14px; font-weight: 700; transition: all .3s; border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }

/* ===== HERO ===== */
.hero { background: var(--dark-2); min-height: 90vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg,transparent,transparent 40px,rgba(43,61,168,.05) 40px,rgba(43,61,168,.05) 80px); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(128,144,208,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(128,144,208,.08) 1px,transparent 1px); background-size: 60px 60px; }
.hero-glow { position: absolute; top: -80px; left: -80px; width: 500px; height: 500px; background: radial-gradient(circle,rgba(43,61,168,.2) 0%,transparent 70%); pointer-events: none; }
.hero-glow2 { position: absolute; bottom: -100px; right: 8%; width: 400px; height: 400px; background: radial-gradient(circle,rgba(128,144,208,.12) 0%,transparent 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 780px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(128,144,208,.15); border: 1px solid rgba(128,144,208,.3); padding: 6px 16px; border-radius: 50px; color: #a8b4e8; font-size: 13px; font-weight: 600; margin-bottom: 24px; animation: fadeUp .8s ease both; }
.hero-badge .dot { width: 8px; height: 8px; background: var(--accent-light); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.2)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.hero h1 { font-size: clamp(34px,5.5vw,68px); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 10px; animation: fadeUp .8s ease .15s both; }
.hero h1 .highlight { color: var(--accent-light); display: block; }
.hero-tagline { font-size: clamp(15px,2.2vw,21px); color: #9aa3cc; margin-bottom: 28px; animation: fadeUp .8s ease .3s both; border-right: 3px solid var(--accent); padding-right: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 36px; animation: fadeUp .8s ease .4s both; }
.hero-tag { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #ccd0ee; padding: 7px 15px; border-radius: 6px; font-size: 13px; font-weight: 500; transition: all .3s; }
.hero-tag:hover { background: var(--primary); border-color: var(--primary); color: white; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUp .8s ease .5s both; }
.hero-stats { display: flex; gap: 36px; margin-top: 56px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.07); animation: fadeUp .8s ease .7s both; flex-wrap: wrap; }
.stat-num { font-size: 36px; font-weight: 900; color: var(--accent-light); line-height: 1; }
.stat-label { font-size: 12px; color: #7880aa; margin-top: 4px; }

/* ===== ABOUT ===== */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-main-card { background: var(--dark-2); border-radius: 16px; padding: 40px; position: relative; overflow: hidden; }
.about-main-card::before { content: ''; position: absolute; top: 0; right: 0; width: 120px; height: 120px; background: var(--primary); clip-path: polygon(100% 0,0 0,100% 100%); }
.about-logo-box { display: flex; justify-content: center; margin-bottom: 24px; position: relative; z-index: 1; }
.about-logo-box img { height: 110px; }
.about-main-card h3 { font-size: 20px; font-weight: 800; color: white; margin-bottom: 8px; position: relative; z-index: 1; }
.about-main-card p { color: #9aa3c8; font-size: 14px; line-height: 1.85; position: relative; z-index: 1; }
.about-float { background: white; border-radius: 12px; padding: 18px; box-shadow: 0 10px 40px rgba(0,0,0,.1); margin-top: 16px; display: flex; align-items: center; gap: 12px; border-right: 4px solid var(--primary); }
.about-float .num { font-size: 22px; font-weight: 800; color: var(--primary); }
.about-float .lbl { font-size: 11px; color: var(--gray); }
.about-content h2 { font-size: clamp(24px,3.2vw,36px); font-weight: 800; margin-bottom: 18px; }
.about-content h2 span { color: var(--primary); }
.about-content > p { font-size: 15px; color: var(--gray); line-height: 1.9; margin-bottom: 28px; }
.about-features { display: flex; flex-direction: column; gap: 14px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; padding: 16px; background: white; border-radius: 10px; border: 1px solid #e8e4f0; transition: all .3s; }
.feature-item:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(43,61,168,.08); }
.feature-icon { width: 44px; height: 44px; background: rgba(43,61,168,.09); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.feature-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.feature-text p { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ===== SERVICES ===== */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card { background: white; border: 1px solid #e8eaf4; border-radius: 16px; padding: 30px 26px; transition: all .35s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; bottom: 0; right: 0; left: 0; height: 3px; background: var(--primary); transform: scaleX(0); transition: transform .35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(43,61,168,.1); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 62px; height: 62px; background: rgba(43,61,168,.08); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; transition: all .35s; }
.service-card:hover .service-icon { background: var(--primary); }
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 13px; color: var(--gray); line-height: 1.8; }
.service-tag { display: inline-block; background: rgba(43,61,168,.08); color: var(--primary); padding: 4px 11px; border-radius: 20px; font-size: 11px; font-weight: 700; margin-top: 14px; }

/* ===== SCALE TYPES ===== */
.scale-types { background: var(--dark-2); }
.scale-types .section-title { color: white; }
.scale-types .section-desc { color: #7880aa; }
.scale-types .section-label { color: var(--accent-light); }
.scale-types .section-label::before,.scale-types .section-label::after { background: var(--accent-light); }
.scales-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.scale-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 26px 20px; text-align: center; transition: all .35s; position: relative; }
.scale-card::after { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .35s; }
.scale-card:hover { background: rgba(43,61,168,.12); border-color: rgba(43,61,168,.35); transform: translateY(-4px); }
.scale-card:hover::after { transform: scaleX(1); }
.scale-emoji { font-size: 34px; margin-bottom: 12px; display: block; }
.scale-card h4 { color: white; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.scale-card p { color: #7880aa; font-size: 12px; line-height: 1.7; }
.scale-cap { display: inline-block; background: rgba(43,61,168,.25); color: var(--accent-light); padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; margin-top: 9px; }

/* ===== WHY US ===== */
.why-us { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.why-content h2 { font-size: clamp(24px,3.2vw,36px); font-weight: 800; margin-bottom: 14px; }
.why-content h2 span { color: var(--primary); }
.why-content > p { font-size: 14px; color: var(--gray); line-height: 1.9; margin-bottom: 28px; }
.why-points { display: flex; flex-direction: column; gap: 12px; }
.why-point { display: flex; align-items: center; gap: 12px; background: white; padding: 14px 18px; border-radius: 10px; border-right: 4px solid var(--primary); box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.why-check { color: var(--primary); font-size: 18px; font-weight: 900; flex-shrink: 0; }
.why-point p { font-size: 13.5px; font-weight: 600; }
.why-visual { display: flex; flex-direction: column; gap: 18px; }
.why-stat-card { background: var(--dark-2); border-radius: 16px; padding: 28px; color: white; position: relative; overflow: hidden; }
.why-stat-card::before { content: ''; position: absolute; top: -30px; left: -30px; width: 100px; height: 100px; background: rgba(43,61,168,.3); border-radius: 50%; }
.why-stat-card .big-num { font-size: 50px; font-weight: 900; color: var(--accent-light); line-height: 1; }
.why-stat-card .big-label { font-size: 14px; color: #8891c5; margin-top: 5px; }
.why-sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-mini-card { background: white; border-radius: 12px; padding: 18px; text-align: center; border: 1px solid #e8eaf4; }
.why-mini-icon { font-size: 26px; margin-bottom: 7px; }
.why-mini-card h4 { font-size: 12.5px; font-weight: 700; }
.why-mini-card p { font-size: 11px; color: var(--gray); margin-top: 3px; }

/* ===== CLIENTS ===== */
.clients-section { background: white; }
.clients-intro { background: linear-gradient(135deg,var(--dark-2) 0%,var(--dark-3) 100%); border-radius: 20px; padding: 46px; margin-bottom: 44px; position: relative; overflow: hidden; }
.clients-intro::before { content: ''; position: absolute; top: -40px; left: -40px; width: 200px; height: 200px; background: radial-gradient(circle,rgba(43,61,168,.25) 0%,transparent 70%); }
.clients-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px; }
.clients-inner h3 { font-size: 24px; font-weight: 800; color: white; margin-bottom: 8px; }
.clients-inner p { font-size: 14px; color: #8891c5; line-height: 1.7; }
.clients-num .n { font-size: 68px; font-weight: 900; color: var(--accent-light); line-height: 1; }
.clients-num .l { font-size: 13px; color: #8891c5; text-align: center; }
.clients-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.client-card { background: var(--cream); border: 1px solid #e8eaf4; border-radius: 12px; padding: 16px 18px; display: flex; align-items: center; gap: 11px; transition: all .3s; }
.client-card:hover { border-color: var(--primary); background: white; box-shadow: 0 4px 20px rgba(43,61,168,.08); transform: translateY(-2px); }
.client-num { width: 30px; height: 30px; background: var(--primary); color: white; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.client-card span { font-size: 12.5px; font-weight: 600; }

/* ===== PORTFOLIO PAGE ===== */
.portfolio-section { background: white; }
.portfolio-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn { padding: 9px 22px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .3s; border: 2px solid #e8eaf4; background: white; color: var(--gray); font-family: var(--font); }
.filter-btn.active, .filter-btn:hover { background: var(--primary); border-color: var(--primary); color: white; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.portfolio-item { border-radius: 14px; overflow: hidden; border: 1px solid #e8eaf4; transition: all .35s; cursor: pointer; }
.portfolio-item:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(43,61,168,.12); }
.portfolio-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--cream); display: flex; align-items: center; justify-content: center; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.portfolio-item:hover .portfolio-img img { transform: scale(1.06); }
.portfolio-img .overlay { position: absolute; inset: 0; background: rgba(28,36,64,.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .35s; }
.portfolio-item:hover .overlay { opacity: 1; }
.overlay-icon { font-size: 36px; color: white; }
.portfolio-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 48px; color: var(--accent); width: 100%; height: 100%; background: linear-gradient(135deg, var(--cream) 0%, #e8eaf4 100%); min-height: 200px; }
.portfolio-placeholder p { font-size: 13px; color: var(--gray); margin-top: 8px; font-weight: 600; }
.portfolio-info { padding: 18px; }
.portfolio-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.portfolio-info p { font-size: 13px; color: var(--gray); }
.portfolio-info .ptag { display: inline-block; background: rgba(43,61,168,.08); color: var(--primary); padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; margin-top: 8px; }

/* Lightbox */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .35s; }
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: 10px; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; left: 20px; color: white; font-size: 32px; cursor: pointer; background: rgba(255,255,255,.1); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; transition: background .3s; border: none; }
.lightbox-close:hover { background: var(--primary); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 24px; cursor: pointer; background: rgba(255,255,255,.1); border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; transition: background .3s; border: none; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--primary); }
.lightbox-prev { right: 20px; }
.lightbox-next { left: 20px; }

/* ===== CONTACT ===== */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.contact-info h2 span { color: var(--primary); }
.contact-info > p { font-size: 14px; color: var(--gray); line-height: 1.85; margin-bottom: 28px; }
.contact-cards { display: flex; flex-direction: column; gap: 13px; }
.contact-card { background: white; border-radius: 12px; padding: 18px; display: flex; align-items: flex-start; gap: 14px; border: 1px solid #e8eaf4; transition: all .3s; }
.contact-card:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(43,61,168,.08); }
.contact-icon { width: 46px; height: 46px; background: rgba(43,61,168,.09); border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-card-content h4 { font-size: 12px; color: var(--gray); font-weight: 500; margin-bottom: 3px; }
.contact-card-content p, .contact-card-content a { font-size: 14px; font-weight: 700; color: var(--dark); display: block; }
.contact-card-content p small { font-size: 11px; color: var(--gray); font-weight: 400; }
.contact-social { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.cs-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 700; transition: all .3s; }
.cs-fb { background: #1877F2; color: white; }
.cs-fb:hover { background: #0e5cc0; }
.cs-tg { background: #2AABEE; color: white; }
.cs-tg:hover { background: #1a8cbf; }
.cs-wa { background: #25D366; color: white; }
.cs-wa:hover { background: #1da851; }
.social-svg { width: 16px; height: 16px; fill: currentColor; }
.contact-form-box { background: white; border-radius: 20px; padding: 38px; border: 1px solid #e8eaf4; }
.contact-form-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 22px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px 15px; border: 1.5px solid #e8eaf4; border-radius: 9px; font-size: 13px; font-family: var(--font); color: var(--dark); background: var(--cream); transition: border-color .3s; outline: none; direction: rtl; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); background: white; }
.form-group textarea { height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.btn-submit { width: 100%; background: var(--primary); color: white; border: none; padding: 13px; border-radius: 9px; font-size: 15px; font-weight: 700; font-family: var(--font); cursor: pointer; transition: all .3s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(43,61,168,.3); }
.form-success { display: none; text-align: center; padding: 30px; }
.form-success .icon { font-size: 48px; margin-bottom: 14px; }
.form-success h4 { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.form-success p { color: var(--gray); font-size: 14px; }

/* ===== PAGE HERO ===== */
.page-hero { background: var(--dark-2); padding: 70px 0; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg,transparent,transparent 40px,rgba(43,61,168,.05) 40px,rgba(43,61,168,.05) 80px); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(30px,5vw,54px); font-weight: 900; color: white; margin-bottom: 12px; }
.page-hero h1 span { color: var(--accent-light); }
.page-hero p { font-size: 16px; color: #8891c5; max-width: 560px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #6870a0; margin-bottom: 16px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: #4a5070; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { position: fixed; bottom: 28px; left: 28px; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 25px rgba(37,211,102,.4); z-index: 999; transition: all .3s; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 35px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ===== FOOTER ===== */
footer { background: var(--dark-2); padding: 60px 0 0; border-top: 3px solid var(--primary); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 38px; margin-bottom: 46px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo img { height: 60px; }
.footer-logo-text h3 { color: white; font-size: 15px; font-weight: 800; line-height: 1.2; }
.footer-logo-text span { font-size: 11px; color: #b0b5d8; }
.footer-brand p { color: #d0d4f0; font-size: 13px; line-height: 1.8; margin-bottom: 18px; }
.footer-social { display: flex; gap: 9px; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,.06); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: all .3s; border: 1px solid rgba(255,255,255,.07); }
.social-link svg { width: 16px; height: 16px; fill: #8891c5; }
.social-link:hover svg { fill: white; }
.social-link.fb:hover { background: #1877F2; border-color: #1877F2; }
.social-link.tg:hover { background: #2AABEE; border-color: #2AABEE; }
.social-link.wa:hover { background: #25D366; border-color: #25D366; }
.footer-col h4 { color: white; font-size: 14px; font-weight: 700; margin-bottom: 18px; padding-bottom: 9px; border-bottom: 2px solid rgba(43,61,168,.3); }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: #b8bde0; font-size: 13px; transition: color .3s; display: flex; align-items: center; gap: 5px; }
.footer-links a:hover { color: var(--accent-light); }
.footer-links a::before { content: '←'; font-size: 10px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 11px; }
.fc-item { display: flex; align-items: flex-start; gap: 9px; }
.fc-item .ic { font-size: 14px; margin-top: 2px; }
.fc-item p { color: #c8cce8; font-size: 12px; line-height: 1.7; }
.fc-item a { color: #c8cce8; font-size: 12px; }
.fc-item a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { color: #b0b5d8; font-size: 12px; }
.footer-bottom span { color: var(--accent); }
.blue-divider { height: 4px; background: linear-gradient(90deg,var(--primary) 0%,var(--accent-light) 50%,var(--primary) 100%); }

/* ===== ELEMENTOR OVERRIDES ===== */
.elementor-section { width: 100% !important; }
body.elementor-page .site-main { padding: 0 !important; }

/* ===== 404 ===== */
.notfound-section { min-height: 70vh; display: flex; align-items: center; background: var(--cream); }
.notfound-content { text-align: center; }
.notfound-num { font-size: 120px; font-weight: 900; color: var(--primary); opacity: .15; line-height: 1; }
.notfound-content h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; color: var(--dark); }
.notfound-content p { font-size: 16px; color: var(--gray); margin-bottom: 28px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .scales-grid { grid-template-columns: repeat(2,1fr); }
  .clients-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; right: 0; left: 0; background: white; padding: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.1); border-top: 2px solid var(--primary); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .navbar .container { position: relative; }
  .hero { min-height: 80vh; padding: 56px 0; }
  .hero-stats { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .scales-grid { grid-template-columns: 1fr 1fr; }
  .hero-buttons { flex-direction: column; }
  .portfolio-grid { grid-template-columns: 1fr; }
}



/* ===== DOWNLOAD PAGE IN NAV ===== */
.nav-download {
  background: linear-gradient(135deg, #E84393, #c0326f) !important;
  color: white !important;
  border-radius: 8px !important;
  padding: 9px 16px !important;
  animation: glow-dl 2.5s infinite;
}
@keyframes glow-dl {
  0%,100% { box-shadow: 0 0 0 0 rgba(232,67,147,.4); }
  50%      { box-shadow: 0 0 0 8px rgba(232,67,147,0); }
}
.nav-download:hover { background: linear-gradient(135deg,#c0326f,#9a1f54) !important; }
.nav-download::after { display: none !important; }

/* ===== DOWNLOAD HERO BUTTON ===== */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #E84393, #c0326f);
  color: white;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: all .3s;
  border: 2px solid transparent;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(232,67,147,.4); }



/* ===== FOOTER COLORS FIX ===== */
.footer-col h4 { color: #ffffff; }
.footer-links a { color: #c8cce8; }
.footer-links a:hover { color: #ffffff; }
.fc-item p { color: #c8cce8; }
.fc-item a { color: #c8cce8; }
.fc-item a:hover { color: #ffffff; }
.footer-brand p { color: #d0d4f0; }
.footer-bottom p { color: #b0b5d8; }
.footer-logo-text h3 { color: #ffffff; }
.footer-logo-text span { color: #b0b5d8; }
.footer-bottom span { color: var(--accent-light); }

/* ===== SIDE CONTACT BUTTONS — FIXED RIGHT ===== */
.side-contacts {
  position: fixed !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 9990 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  pointer-events: auto !important;
}
.side-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  color: white !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  font-family: var(--font) !important;
  border-radius: 10px 0 0 10px !important;
  overflow: hidden !important;
  transition: width .3s ease, box-shadow .3s !important;
  width: 48px !important;
  height: 48px !important;
  box-shadow: -3px 3px 14px rgba(0,0,0,.25) !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}
.side-btn svg {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0 !important;
  margin: 0 13px !important;
  transition: none !important;
}
.side-btn span {
  display: inline-block !important;
  max-width: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  transition: max-width .35s ease, opacity .25s !important;
  padding-left: 0 !important;
}
.side-btn:hover {
  width: 160px !important;
  box-shadow: -4px 4px 18px rgba(0,0,0,.3) !important;
}
.side-btn:hover span {
  max-width: 120px !important;
  opacity: 1 !important;
  padding-left: 6px !important;
  padding-right: 12px !important;
}
/* Each button color */
.side-call  { background: #2B3DA8 !important; }
.side-call:hover  { background: #1E2D7D !important; }
.side-wa    { background: #25D366 !important; }
.side-wa:hover    { background: #1da851 !important; }
.side-email { background: #E84393 !important; }
.side-email:hover { background: #c0326f !important; }
.side-fb    { background: #1877F2 !important; }
.side-fb:hover    { background: #0e5cc0 !important; }
.side-tg    { background: #2AABEE !important; }
.side-tg:hover    { background: #1a8cbf !important; }

/* Hide old floating WhatsApp */
.whatsapp-float { display: none !important; }

@media (max-width: 768px) {
  .side-contacts { display: none !important; }
}
