@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Poppins:wght@300;400;600;700;900&display=swap');

:root {
  --primary: #0a2342;
  --primary-light: #1a3a5f;
  --secondary: #1565c0;
  --accent: #00acc1;
  --gold: #ffa000;
  --dark: #0d1b2a;
  --light: #f5f7fa;
  --white: #ffffff;
  --text: #2c3e50;
  --muted: #78909c;
  --border: #e0e6ed;
  --shadow: 0 4px 24px rgba(10,35,66,.1);
  --shadow-hover: 0 12px 40px rgba(10,35,66,.18);
  --gradient: linear-gradient(135deg, #0a2342 0%, #1565c0 100%);
  --gradient-accent: linear-gradient(135deg, #0077b6 0%, #00acc1 100%);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: all .3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body.ltr { font-family: 'Poppins', sans-serif; }

/* ===== ICON FONT PROTECTION — prevent custom fonts from overriding Font Awesome ===== */
.fas, .far, .fal, .fat, .fad, .fab,
.fa-solid, .fa-regular, .fa-light, .fa-thin, .fa-duotone, .fa-brands {
  font-family: "Font Awesome 6 Free" !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  line-height: 1 !important;
}
.fab, .fa-brands { font-family: "Font Awesome 6 Brands" !important; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }

/* ===== UTILITY ===== */
.section-padding { padding: 90px 0; }
.section-title { font-size: 2.2rem; font-weight: 900; color: var(--primary); margin-bottom: .5rem; }
.section-subtitle { color: var(--muted); font-size: 1.05rem; margin-bottom: 50px; }
.section-label { display: inline-block; background: linear-gradient(135deg, rgba(21,101,192,.12), rgba(0,172,193,.12)); color: var(--secondary); font-size: .8rem; font-weight: 700; padding: 5px 16px; border-radius: 50px; margin-bottom: 12px; letter-spacing: 1px; text-transform: uppercase; }
.text-gold { color: var(--gold); }
.text-accent { color: var(--accent); }
.btn-primary-custom { background: var(--gradient); color: var(--white); border: none; padding: 12px 32px; border-radius: 50px; font-weight: 700; font-size: .95rem; transition: var(--transition); box-shadow: 0 4px 15px rgba(21,101,192,.35); }
.btn-primary-custom:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(21,101,192,.45); color: var(--white); }
.btn-outline-custom { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); padding: 11px 30px; border-radius: 50px; font-weight: 700; font-size: .95rem; transition: var(--transition); }
.btn-outline-custom:hover { background: rgba(255,255,255,.15); border-color: var(--white); color: var(--white); transform: translateY(-2px); }

/* ===== PRELOADER ===== */
#preloader { position: fixed; inset: 0; background: var(--primary); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity .5s ease; }
#preloader.fade-out { opacity: 0; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo { font-size: 2.5rem; font-weight: 900; color: var(--white); letter-spacing: 3px; }
.preloader-logo span { color: var(--gold); }
.preloader-bar { width: 200px; height: 3px; background: rgba(255,255,255,.2); border-radius: 3px; margin: 20px auto 0; overflow: hidden; }
.preloader-bar::after { content: ''; display: block; height: 100%; width: 0; background: var(--gold); border-radius: 3px; animation: load 1.5s ease forwards; }
@keyframes load { to { width: 100%; } }

/* ===== NAVBAR ===== */
.navbar { background: transparent; padding: 18px 0; transition: var(--transition); position: fixed; width: 100%; top: 0; z-index: 1000; }
.navbar.scrolled { background: rgba(10,35,66,.97); backdrop-filter: blur(12px); padding: 12px 0; box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.navbar-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-icon { width: 42px; height: 42px; background: var(--gradient); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 900; font-size: 1rem; flex-shrink: 0; }
.nav-logo-img { width: 46px; height: 46px; background: var(--white); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.nav-logo-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav-logo-text { line-height: 1.15; }
.nav-logo-text .brand-name { font-size: .95rem; font-weight: 900; color: var(--white); display: block; }
.nav-logo-text .brand-sub { font-size: .65rem; color: rgba(255,255,255,.65); display: block; letter-spacing: .5px; }
.navbar-nav .nav-link { color: rgba(255,255,255,.85) !important; font-weight: 600; font-size: .9rem; padding: 8px 14px !important; border-radius: 8px; transition: var(--transition); }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--white) !important; background: rgba(255,255,255,.1); }
.lang-btn { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: var(--white); padding: 6px 16px; border-radius: 20px; font-size: .8rem; font-weight: 700; cursor: pointer; transition: var(--transition); }
.lang-btn:hover { background: rgba(255,255,255,.22); }
.navbar-toggler { border: none; padding: 4px 8px; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ===== HERO ===== */
.hero { min-height: 100vh; background: var(--gradient); position: relative; display: flex; align-items: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle { position: absolute; width: 4px; height: 4px; background: rgba(255,255,255,.2); border-radius: 50%; animation: float linear infinite; }
@keyframes float { 0% { transform: translateY(100vh) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-100px) rotate(720deg); opacity: 0; } }
.hero-content { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.9); padding: 8px 18px; border-radius: 50px; font-size: .82rem; font-weight: 600; margin-bottom: 24px; backdrop-filter: blur(8px); }
.hero-badge .dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: .7; } }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 20px; }
.hero-title .highlight { color: var(--gold); position: relative; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 550px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(12px); }
.hero-card-title { color: rgba(255,255,255,.7); font-size: .8rem; margin-bottom: 16px; font-weight: 600; letter-spacing: 1px; }
.hero-service-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.hero-service-item:last-child { border: none; }
.hero-service-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .85rem; flex-shrink: 0; }
.hero-service-text { color: rgba(255,255,255,.85); font-size: .85rem; font-weight: 600; }
.floating-badge { position: absolute; background: var(--white); border-radius: var(--radius); padding: 14px 18px; box-shadow: 0 10px 40px rgba(10,35,66,.25); display: flex; align-items: center; gap: 10px; min-width: 150px; border: 1px solid rgba(255,255,255,.8); animation: floatBadge 3s ease-in-out infinite; }
.floating-badge.badge-1 { top: -24px; right: -24px; animation-delay: 0s; }
.floating-badge.badge-2 { bottom: -24px; left: -24px; animation-delay: 1.5s; }
@keyframes floatBadge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.badge-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.badge-icon-1 { background: linear-gradient(135deg, #ffa000, #ff6f00); color: #fff; }
.badge-icon-2 { background: linear-gradient(135deg, #1565c0, #00acc1); color: #fff; }
.badge-content { display: flex; flex-direction: column; }
.badge-num { font-size: 1rem; font-weight: 900; color: var(--primary); display: block; line-height: 1.2; }
.badge-txt { font-size: .68rem; color: var(--muted); font-weight: 600; display: block; margin-top: 2px; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.5); font-size: .75rem; text-align: center; animation: bounce 2s infinite; }
.hero-scroll i { display: block; font-size: 1.2rem; margin-top: 6px; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ===== STATS ===== */
.stats-section { background: var(--primary); padding: 60px 0; }
.stat-item { text-align: center; padding: 20px; position: relative; }
.stat-item::after { content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: rgba(255,255,255,.1); }
[dir="ltr"] .stat-item::after { left: auto; right: 0; }
.stat-item:last-child::after { display: none; }
.stat-icon { font-size: 2rem; color: var(--gold); margin-bottom: 10px; }
.stat-number { font-size: 2.8rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-label { color: rgba(255,255,255,.65); font-size: .85rem; margin-top: 6px; }

/* ===== SERVICES ===== */
.services-section { background: var(--light); }
.service-card { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); transition: var(--transition); height: 100%; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.service-icon-wrap { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--white); margin-bottom: 20px; }
.service-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.service-card p { font-size: .88rem; color: var(--muted); line-height: 1.8; }
.service-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--secondary); font-size: .82rem; font-weight: 700; margin-top: 16px; text-decoration: none; transition: var(--transition); }
.service-arrow:hover { gap: 10px; color: var(--accent); }
[dir="ltr"] .service-arrow i { transform: scaleX(-1); }

/* ===== PORTFOLIO ===== */
.portfolio-section { background: var(--white); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { padding: 8px 22px; border-radius: 50px; border: 2px solid var(--border); background: transparent; color: var(--muted); font-weight: 600; font-size: .85rem; cursor: pointer; transition: var(--transition); font-family: inherit; }
.filter-btn.active, .filter-btn:hover { border-color: var(--secondary); background: var(--secondary); color: var(--white); }
.project-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); height: 100%; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.project-card-img { height: 200px; background: var(--gradient); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.project-card-img .proj-icon { font-size: 3.5rem; color: rgba(255,255,255,.2); }
.project-card-img .proj-year { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.15); color: var(--white); font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
[dir="ltr"] .project-card-img .proj-year { right: auto; left: 14px; }
.proj-category-badge { display: inline-block; background: rgba(21,101,192,.1); color: var(--secondary); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; }
.project-card-body { padding: 22px; }
.project-card-body h5 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.project-card-body p { font-size: .83rem; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.proj-tag { background: var(--light); color: var(--muted); font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 6px; }

/* ===== WHY US ===== */
.why-section { background: var(--light); }
.why-card { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); text-align: center; transition: var(--transition); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon { width: 70px; height: 70px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--white); margin: 0 auto 16px; }
.why-card h5 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.why-card p { font-size: .85rem; color: var(--muted); }

/* ===== CTA ===== */
.cta-section { background: var(--gradient); padding: 80px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,.04); }
.cta-title { font-size: 2.2rem; font-weight: 900; color: var(--white); margin-bottom: 14px; }
.cta-sub { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 30px; }

/* ===== PAGE HEADER ===== */
.page-header { background: var(--gradient); padding: 140px 0 70px; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.page-header h1 { font-size: 2.5rem; font-weight: 900; color: var(--white); position: relative; }
.breadcrumb-custom { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,.65); font-size: .85rem; list-style: none; padding: 0; margin-top: 12px; }
.breadcrumb-custom a { color: rgba(255,255,255,.65); text-decoration: none; }
.breadcrumb-custom a:hover { color: var(--white); }
.breadcrumb-custom .sep { color: rgba(255,255,255,.35); }

/* ===== ABOUT ===== */
.about-image-wrap { position: relative; }
.about-img-placeholder { border-radius: var(--radius); background: var(--gradient); height: 400px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.3); font-size: 5rem; }
.about-badge { position: absolute; bottom: -20px; right: -20px; background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-hover); text-align: center; }
[dir="ltr"] .about-badge { right: auto; left: -20px; }
.about-badge .num { font-size: 2rem; font-weight: 900; color: var(--primary); line-height: 1; }
.about-badge .txt { font-size: .75rem; color: var(--muted); }
.value-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.value-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; flex-shrink: 0; }
.value-text h6 { font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.value-text p { font-size: .85rem; color: var(--muted); margin: 0; }
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); text-align: center; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.team-avatar { height: 200px; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 5rem; color: rgba(255,255,255,.2); }
.team-info { padding: 20px; }
.team-info h5 { font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.team-info p { font-size: .83rem; color: var(--muted); margin: 0; }

/* ===== CONTACT ===== */
.contact-info-card { background: var(--primary); border-radius: var(--radius); padding: 36px; height: 100%; }
.contact-info-card h3 { color: var(--white); font-weight: 700; margin-bottom: 8px; }
.contact-info-card p { color: rgba(255,255,255,.65); font-size: .9rem; margin-bottom: 30px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1rem; flex-shrink: 0; }
.contact-item-text span { display: block; color: rgba(255,255,255,.5); font-size: .75rem; margin-bottom: 2px; }
.contact-item-text a, .contact-item-text p { color: var(--white); font-size: .9rem; font-weight: 600; text-decoration: none; margin: 0; }
.contact-form-card { background: var(--white); border-radius: var(--radius); padding: 36px; border: 1px solid var(--border); height: 100%; }
.form-control, .form-select { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; font-family: inherit; font-size: .9rem; color: var(--text); transition: var(--transition); }
.form-control:focus, .form-select:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(21,101,192,.1); }
.form-label { font-weight: 600; color: var(--primary); font-size: .88rem; margin-bottom: 6px; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); padding: 60px 0 0; }
.footer-brand { margin-bottom: 20px; }
.footer-desc { color: rgba(255,255,255,.5); font-size: .88rem; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; font-size: .9rem; text-decoration: none; transition: var(--transition); }
.social-link:hover { background: var(--secondary); color: var(--white); }
.footer-title { color: var(--white); font-weight: 700; font-size: .95rem; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .88rem; text-decoration: none; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--accent); padding-inline-start: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; margin-top: 40px; }
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .82rem; margin: 0; }

/* ===== TOAST ===== */
.toast-container { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 9000; }
.toast-msg { background: var(--primary); color: var(--white); padding: 14px 24px; border-radius: 50px; font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-hover); display: flex; align-items: center; gap: 10px; animation: slideUp .3s ease; }
.toast-msg.success { background: #1b5e20; }
.toast-msg.error { background: #b71c1c; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===== BACK TO TOP ===== */
#backToTop { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: var(--gradient); color: var(--white); border: none; border-radius: 12px; font-size: 1rem; cursor: pointer; opacity: 0; pointer-events: none; transition: var(--transition); z-index: 900; box-shadow: 0 4px 15px rgba(21,101,192,.35); }
[dir="rtl"] #backToTop { right: auto; left: 30px; }
#backToTop.show { opacity: 1; pointer-events: auto; }
#backToTop:hover { transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .section-padding { padding: 60px 0; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-visual { margin-top: 40px; }
  .floating-badge { display: none; }
  .stat-item::after { display: none; }

  /* Clients – tablet */
  .clients-section { padding: 60px 0; }
  .clients-track { gap: 60px; }
  .client-item { height: 90px; }
  .client-logo { height: 64px; max-width: 150px; }
}

@media (max-width: 767px) {
  .section-title { font-size: 1.7rem; }
  .section-subtitle { font-size: .95rem; }
  .hero-title { font-size: 2rem; }
  .cta-title { font-size: 1.7rem; }
  .page-header h1 { font-size: 1.8rem; }
  .about-badge { display: none; }

  /* Hero actions stack on small screens */
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; text-align: center; }

  /* Stats */
  .stat-number { font-size: 2.2rem; }

  /* Service / project cards full padding reduce */
  .service-card { padding: 24px; }
  .contact-info-card, .contact-form-card { padding: 24px; }

  /* Footer */
  .footer { padding: 44px 0 0; }

  /* Clients – mobile: names always visible (no hover on touch) */
  .clients-section { padding: 50px 0; }
  .clients-track { gap: 44px; }
  .client-item { height: 88px; }
  .client-logo { height: 52px; max-width: 120px; }
  .client-name { opacity: 1; font-size: .66rem; max-width: 120px; }
}

@media (max-width: 575px) {
  .section-title { font-size: 1.5rem; }
  .section-padding { padding: 50px 0; }

  /* Hero */
  .hero { padding: 100px 0 50px; }
  .hero-card { padding: 20px; }
  .hero-actions .btn { padding: 11px 24px; font-size: .9rem; }

  /* Stats */
  .stat-number { font-size: 2rem; }
  .stat-icon { font-size: 1.6rem; }

  /* Filter bar wraps */
  .filter-bar { gap: 8px; }
  .filter-btn { padding: 7px 16px; font-size: .8rem; }

  /* CTA */
  .cta-title { font-size: 1.45rem; }
  .cta-sub { font-size: .92rem; }

  /* Clients – small phone */
  .clients-section { padding: 44px 0; }
  .clients-track { gap: 36px; }
  .client-item { height: 72px; }
  .client-logo { height: 42px; max-width: 100px; }
  .client-name { opacity: 1; font-size: .62rem; max-width: 100px; }

  /* Back to top */
  #backToTop { bottom: 20px; right: 16px; }
  [dir="rtl"] #backToTop { right: auto; left: 16px; }
}
