/* ===== Gen-IT Website — Styles ===== */
:root {
  --accent: #2563eb;
  --dark: #0f172a;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f8fafc;
  color: #334155;
  font-family: 'Cairo', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
body.lang-en { font-family: 'Poppins', system-ui, sans-serif; }
::selection { background: var(--dark); color: #fff; }
a { text-decoration: none; }
img { display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.hidden { display: none !important; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #eef2f6;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
.site-header .bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 24px; max-width: 1200px; margin: 0 auto;
}
.logo img { height: 50px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; justify-content: center; }
.nav a {
  color: #475569; font-weight: 600; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; transition: color 0.2s;
}
.nav a:hover { color: var(--accent); }
.btn-lang {
  background: #f1f5f9; color: var(--dark); border: 1px solid #e2e8f0;
  padding: 8px 15px; border-radius: 11px; font-size: 12px; font-weight: 700;
  cursor: pointer; font-family: 'Poppins', sans-serif; transition: background 0.2s;
}
.btn-lang:hover { background: #e2e8f0; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 88vh; padding: 160px 24px 96px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
  color: #fff; text-align: center;
}
.hero .glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(96,165,250,0.10) 0, transparent 60%); }
.hero .inner { max-width: 880px; position: relative; z-index: 1; }
.badge {
  display: inline-block; background: rgba(255,255,255,0.08); color: #93c5fd;
  font-size: 12px; font-weight: 700; padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14); margin-bottom: 26px;
  letter-spacing: 0.12em; font-family: 'Poppins', sans-serif;
}
.hero h1 { font-size: clamp(34px,5vw,58px); font-weight: 800; line-height: 1.12; margin: 0 0 22px; letter-spacing: -0.02em; }
.hero h1 span { display: block; color: #60a5fa; }
.hero p { color: #cbd5e1; font-size: clamp(15px,2vw,19px); line-height: 1.7; max-width: 680px; margin: 0 auto 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn-primary { background: #fff; color: var(--dark); padding: 16px 30px; border-radius: 14px; font-weight: 700; box-shadow: 0 10px 24px rgba(0,0,0,0.18); transition: transform 0.2s; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 16px 30px; border-radius: 14px; font-weight: 600; transition: background 0.2s; }
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* ===== Sections ===== */
.section { padding: 96px 24px; }
.bg-white { background: #fff; border-bottom: 1px solid #eef2f6; }
.bg-slate { background: #f8fafc; border-bottom: 1px solid #eef2f6; }
.bg-dark { background: var(--dark); color: #fff; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; display: block; margin-bottom: 12px; }
.eyebrow.light { color: #60a5fa; }
.section-title { font-size: clamp(26px,3vw,34px); font-weight: 700; color: var(--dark); margin: 0 0 22px; letter-spacing: -0.02em; }
.section-title.spaced { margin: 0 0 56px; }
.section-title.on-dark { color: #fff; }

/* ===== About ===== */
.about-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 64px; align-items: center; }
.about-text { text-align: start; }
.about-text p { color: #64748b; line-height: 1.8; font-size: 15px; margin: 0 0 18px; }
.about-text p:last-child { margin-bottom: 0; }
.about-side { display: flex; flex-direction: column; gap: 22px; }
.card { background: #fff; border: 1px solid #eef2f6; border-radius: 18px; padding: 30px; text-align: start; box-shadow: 0 4px 20px -2px rgba(50,50,93,0.05), 0 2px 8px -1px rgba(0,0,0,0.02); transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(15,23,42,0.08); border-color: #cbd5e1; }
.card h3 { color: var(--dark); font-weight: 700; font-size: 18px; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.card h3 i { color: var(--accent); font-size: 15px; }
.card p { color: #64748b; font-size: 14px; line-height: 1.75; margin: 0; }

/* ===== Services ===== */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 28px; max-width: 1200px; margin: 0 auto; }
.service-card { background: #fff; border: 1px solid #eef2f6; border-radius: 18px; padding: 32px; text-align: start; box-shadow: 0 4px 20px -2px rgba(50,50,93,0.05), 0 2px 8px -1px rgba(0,0,0,0.02); transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(15,23,42,0.08); border-color: #cbd5e1; }
.icon-box { width: 48px; height: 48px; border-radius: 14px; background: #eff6ff; color: var(--dark); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 22px; }
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin: 0 0 12px; letter-spacing: -0.01em; }
.service-card p { color: #64748b; font-size: 13.5px; line-height: 1.75; margin: 0; }

/* ===== Goals ===== */
.grid-goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 22px; max-width: 1200px; margin: 0 auto; }
.goal-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: 18px; padding: 30px; text-align: start; transition: border-color 0.3s, transform 0.3s; }
.goal-card:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-4px); }
.goal-card .icon-box { background: rgba(96,165,250,0.12); color: #60a5fa; }
.goal-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 10px; letter-spacing: -0.01em; }
.goal-card p { color: #94a3b8; font-size: 13px; line-height: 1.7; margin: 0; }

/* ===== Vendors ===== */
.vendors-wrap { max-width: 1100px; margin: 0 auto; }
.vendors-list { display: flex; flex-direction: column; gap: 24px; }
.vendor-cat { background: #f8fafc; border: 1px solid #eef2f6; border-radius: 18px; padding: 30px; text-align: start; }
.vendor-cat.sm { padding: 26px; }
.vendor-cat h3 { color: var(--dark); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 22px; border-inline-start: 4px solid var(--accent); padding-inline-start: 12px; }
.vendor-cat.sm h3 { font-size: 12px; margin: 0 0 18px; padding-inline-start: 11px; }
.badge-grid { display: grid; gap: 14px; }
.badge-grid.cols-auto { grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); }
.badge-grid.cols-auto-sm { grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); }
.badge-grid.two { grid-template-columns: 1fr 1fr; gap: 12px; }
.badge-grid.three { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.vendor-sub { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 22px; }
.vendor-badge { background: #fff; border: 1px solid #eef2f6; border-radius: 14px; height: 84px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px -2px rgba(0,0,0,0.03); transition: transform 0.2s, border-color 0.2s; }
.vendor-badge:hover { transform: scale(1.05); border-color: #cbd5e1; }
.vendor-badge.sm { height: 72px; border-radius: 12px; }
.vendor-badge span { font-family: 'Poppins', sans-serif; }

/* ===== Contact ===== */
.contact-wrap { max-width: 760px; margin: 0 auto; }
.contact-head { text-align: center; margin-bottom: 44px; }
.contact-head .section-title { margin: 0 0 14px; }
.contact-head p { color: #64748b; font-size: 15px; margin: 0; }
.sla { margin-bottom: 28px; background: #eff6ff; border: 1px solid #bfdbfe; color: var(--dark); padding: 24px; border-radius: 18px; text-align: start; box-shadow: 0 4px 16px rgba(37,99,235,0.06); }
.sla .row { display: flex; align-items: flex-start; gap: 16px; }
.sla .ic { color: var(--accent); font-size: 24px; margin-top: 2px; }
.sla h4 { font-weight: 700; margin: 0 0 8px; font-size: 14px; color: var(--dark); }
.sla p { color: #475569; font-size: 13.5px; line-height: 1.75; margin: 0; }
.form-card { background: #fff; padding: 36px; border-radius: 22px; border: 1px solid #e9eef4; box-shadow: 0 20px 40px -12px rgba(15,23,42,0.10); }
form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 22px; }
.field { text-align: start; }
label { display: block; color: #64748b; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
input, select, textarea { width: 100%; box-sizing: border-box; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 13px 16px; font-size: 14px; color: #0f172a; outline: none; transition: border-color 0.2s; font-family: inherit; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--dark); }
.btn-submit { width: 100%; background: var(--dark); color: #fff; font-weight: 700; padding: 16px; border-radius: 12px; border: none; cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 8px 20px rgba(15,23,42,0.15); transition: opacity 0.2s; font-family: inherit; }
.btn-submit:hover { opacity: 0.9; }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.form-error { color: #dc2626; font-size: 12.5px; text-align: center; font-weight: 700; margin: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); padding: 48px 24px; text-align: center; color: #94a3b8; }
.site-footer img { height: 62px; width: auto; display: inline-block; opacity: 0.95; margin: 0 auto 18px; }
.site-footer .name { color: #fff; font-weight: 700; letter-spacing: 0.08em; font-family: 'Poppins', sans-serif; font-size: 14px; margin: 0; }
.site-footer .slogan { margin: 8px 0 0; font-family: 'Poppins', sans-serif; color: #60a5fa; opacity: 0.85; font-size: 13px; }
.site-footer .copy { margin: 18px 0 0; color: #64748b; font-size: 12px; }

@media (max-width: 860px) {
  .nav { display: none; }
}
