/* =========================================================
   BENZINEHUB — style.css
   Plain CSS, no framework. Sections:
   1. Variables   2. Base   3. Buttons   4. Header
   5. Hero        6. Device mock-ups   7. Services
   8. Portfolio   9. Why choose us   10. Testimonials
   11. Call to action   12. Footer   13. Inner pages
   14. Responsive
   ========================================================= */

   

/* 1. VARIABLES — change colours and fonts here */
:root {
  --blue: #1558f5;
  --blue-dark: #0e43c9;
  --blue-soft: #eaf1ff;
  --navy: #0b1f44;
  --navy-deep: #08172f;
  --ink: #0f1b33;
  --muted: #5a6885;
  --line: #e3e9f4;
  --bg: #f6f9ff;
  --white: #ffffff;

  
  
  .ben

  --radius: 14px;
  --shadow: 0 12px 32px -14px rgba(16, 42, 100, 0.28);
  --header-h: 78px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
}

/* 2. BASE */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section { padding: 84px 0; }
.text-blue { color: var(--blue); }

/* icons (inline SVG sprite) */
.ic {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.ic.star { fill: #f5a623; stroke: none; }

/* small section label */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.label-ic {
  width: 20px; height: 20px; border-radius: 6px; background: var(--blue-soft);
  display: grid; place-items: center; font-size: 12px;
}
.label-light { color: #cfe0ff; }

/* handwritten notes */
.note {
  font-family: var(--script); font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.05;
  transform: rotate(-7deg);
}
.note-blue { color: var(--blue); }
.note-white { color: #fff; }

/* 3. BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 14px var(--font); cursor: pointer; white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -10px rgba(21, 88, 245, 0.7); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-soft); }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); }
.btn-lg { padding: 16px 30px; font-size: 15px; }
.arrow-circle {
  width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--blue);
  display: grid; place-items: center; font-size: 13px;
}
.btn-outline-light .arrow-circle { color: var(--blue-dark); }

.more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--blue);
}
.more:hover .ic { transform: translateX(3px); }
.more .ic { transition: transform 0.15s; }

/* 4. HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(21, 88, 245, 0.08);
}
.header-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 44px; height: 44px; }
.brand strong { display: block; font-size: 24px; font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -0.03em; }
.brand small { display: block; font-size: 10.5px; font-weight: 600; color: var(--navy); margin-top: 4px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 34px; }
.nav a:not(.btn) {
  display: block; padding: 8px 0; font-size: 14px; font-weight: 600; color: var(--ink);
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover,
.nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.only-mobile { display: none; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  place-items: center; font-size: 22px; cursor: pointer;
}

/* 5. HERO */
.hero { position: relative; overflow: hidden; background: #d5d8dd; }
/* Drop a background photo at images/hero-bg.jpg (school building) */
.hero-bg {
  position: absolute; inset: 0;
  background: url("../images/hero-bg.jpg") center / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #f3f8ff 0%, rgba(243, 248, 255, 0.94) 40%, rgba(243, 248, 255, 0.35) 75%, rgba(243, 248, 255, 0.15) 100%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 24px; align-items: center; min-height: 560px;
}
.hero-copy { padding: 56px 0; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 5px 16px 5px 6px; border-radius: 999px; background: #b4afaf;
  border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: #180000;
}
.badge-ic { width: 26px; height: 26px; border-radius: 8px; background: var(--blue-soft); display: grid; place-items: center; font-size: 14px; }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); font-weight: 800; }
.lead { margin: 22px 0 28px; max-width: 52ch; font-size: 16px; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.trust { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 22px; margin-top: 40px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 11.5px; line-height: 1.35; font-weight: 600; color: var(--muted); }
.trust-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 19px; flex: none; }

/* 6. DEVICE MOCK-UPS (built with CSS so you can swap in screenshots later) */
.hero-visual { position: relative; align-self: stretch; min-height: 480px; }
.hero-visual::before {
  content: ""; position: absolute; inset: 10% 0 0 6%; border-radius: 46% 54% 40% 60%;
  background: #dbe8ff; z-index: 0;
}
/* Drop a transparent cut-out PNG at images/hero-student.png */
.hero-student {
  position: absolute; right: -2%; bottom: 0; width: 62%; height: 108%; z-index: 1;
  background: url("../images/hero-student.png") right bottom / contain no-repeat;
}
.hero-visual .note { position: absolute; top: 6%; right: 2%; z-index: 4; color: var(--blue); }
.laptop { position: absolute; left: 0; bottom: 28px; width: 74%; z-index: 2; filter: drop-shadow(0 26px 28px rgba(11, 31, 68, 0.32)); }
.laptop-screen { border: 9px solid #14181f; border-bottom-width: 11px; border-radius: 14px 14px 3px 3px; background: #14181f; overflow: hidden; }
.laptop-base { height: 12px; width: 112%; margin-left: -6%; background: #c9cfda; border-radius: 0 0 16px 16px; }
.hero-phone {
  position: absolute; right: 4%; bottom: 10px; width: 17%; min-width: 96px; z-index: 3;
  border: 5px solid #14181f; border-radius: 20px; overflow: hidden; background: #14181f;
  filter: drop-shadow(0 18px 22px rgba(11, 31, 68, 0.35));
}

/* mini website screen used inside the laptop, phone and portfolio cards */
.scr { container-type: inline-size; display: flex; flex-direction: column; aspect-ratio: 16 / 10; background: #fff; overflow: hidden; color: #fff; }
.scr-nav { display: flex; align-items: center; gap: 2cqw; padding: 1.7cqw 3cqw; background: #fff; color: var(--ink); }
.scr-nav i { width: 3cqw; height: 3cqw; border-radius: 0.8cqw; background: var(--c); }
.scr-nav b { font-size: 2cqw; font-weight: 700; }
.scr-nav span { margin-left: auto; display: flex; gap: 1.6cqw; }
.scr-nav u { width: 4cqw; height: 0.7cqw; background: #c7cfdd; border-radius: 1cqw; }
.scr-nav em { width: 6cqw; height: 2.6cqw; border-radius: 0.8cqw; background: var(--c); }
.scr-nav span + em { margin-left: 0; }
.scr-hero { flex: 1; display: grid; grid-template-columns: 1fr 1.15fr; background: var(--bg); }
.scr-txt { align-self: center; padding: 4cqw 3cqw; }
.scr-txt small { display: block; font-size: 1.8cqw; opacity: 0.8; }
.scr-txt h4 { font-size: 4.6cqw; line-height: 1.12; margin: 1.2cqw 0 2.4cqw; }
.scr-txt em { display: inline-block; font-style: normal; font-size: 1.8cqw; font-weight: 700; background: var(--c); padding: 1cqw 2.4cqw; border-radius: 0.8cqw; }
.scr-photo { position: relative; overflow: hidden; background: #8db8ee; }
.scr-photo i { position: absolute; bottom: 0; width: 27%; height: 58%; background: #16264d; border-radius: 42% 42% 0 0; }
.scr-photo i::before { content: ""; position: absolute; top: -34%; left: 22%; width: 56%; aspect-ratio: 1; border-radius: 50%; background: #7a4a2f; }
.scr-photo i:nth-child(1) { left: 8%; height: 52%; }
.scr-photo i:nth-child(2) { left: 36%; height: 66%; background: #1558f5; }
.scr-photo i:nth-child(2)::before { background: #a8683f; }
.scr-photo i:nth-child(3) { left: 65%; height: 50%; }
.scr-photo i:nth-child(3)::before { background: #5a3520; }
/* phone version */
.scr.m { aspect-ratio: 9 / 19; }
.scr.m .scr-nav { padding: 5cqw 6cqw; gap: 3cqw; }
.scr.m .scr-nav i { width: 8cqw; height: 8cqw; border-radius: 2cqw; }
.scr.m .scr-nav b { font-size: 6.5cqw; }
.scr.m .scr-nav em { width: 14cqw; height: 6cqw; border-radius: 2cqw; margin-left: auto; }
.scr.m .scr-hero { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.scr.m .scr-txt { padding: 8cqw 6cqw 4cqw; }
.scr.m .scr-txt h4 { font-size: 11cqw; margin: 0 0 5cqw; }
.scr.m .scr-txt em { font-size: 5cqw; padding: 2.6cqw 5cqw; border-radius: 2cqw; }

/* 7. SERVICES */
.services { background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 100%); }
.services-grid { display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: 40px; align-items: start; }
.section-intro h2 { margin-bottom: 14px; }
.section-intro p:not(.label) { color: var(--muted); font-size: 15px; max-width: 40ch; margin-bottom: 26px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
  display: flex; flex-direction: column; padding: 22px 20px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-size: 24px; margin-bottom: 18px; }
.ico.blue { background: #1d63f0; } .ico.green { background: #10a36f; } .ico.purple { background: #7c4dff; }
.ico.orange { background: #f59e0b; } .ico.red { background: #e5484d; } .ico.teal { background: #0e9f8e; } .ico.pink { background: #d9469a; }
.svc h3 { font-size: 15px; margin-bottom: 8px; }
.svc p { flex: 1; margin-bottom: 16px; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* 8. PORTFOLIO */
.portfolio { background: var(--navy); color: #fff; }
.portfolio-grid { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 40px; align-items: center; }
.portfolio .section-intro p:not(.label) { color: #b9c6e2; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 10px 10px 4px; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6); }
.shot { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.shot img { width: 100%; }
.proj-body { padding: 14px 6px 12px; }
.proj-body h3 { font-size: 15px; }
.proj-body p { font-size: 12px; color: var(--muted); margin: 4px 0 10px; }

/* 9. WHY CHOOSE US */
.why-grid { display: grid; grid-template-columns: 1.3fr 0.95fr 0.75fr; gap: 28px; align-items: center; }
.why-sub { color: var(--muted); font-size: 15px; margin: 12px 0 30px; max-width: 46ch; }
.why-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.feat { display: flex; gap: 14px; align-items: flex-start; }
.feat-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 22px; flex: none; }
.feat h3 { font-size: 15px; }
.feat p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.stats {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stats li { padding: 8px 0; }
.stats strong { display: block; font-size: 32px; font-weight: 800; color: var(--blue); line-height: 1.1; }
.stats span { font-size: 12.5px; color: var(--muted); }
.stats .note { text-align: center; }
.code { align-self: stretch; min-height: 300px; border-radius: var(--radius); overflow: hidden; background: #0d1a36 url("../images/workspace.jpg") center / cover no-repeat; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.code-bar { display: flex; gap: 6px; padding: 12px 14px; background: rgba(255, 255, 255, 0.06); }
.code-bar i { width: 9px; height: 9px; border-radius: 50%; background: #5f7098; }
.code-body { display: grid; gap: 12px; padding: 22px 20px; align-content: start; }
.code-body i { display: block; height: 8px; border-radius: 4px; width: var(--w); background: var(--c); opacity: 0.85; margin-left: calc(var(--x, 0) * 22px); }

/* 10. TESTIMONIALS */
.testimonials { background: var(--bg); padding: 72px 0; }
.testi-grid { display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: 40px; align-items: center; }
.testi-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi { position: relative; padding: 26px 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.qmark { font-family: Georgia, serif; font-size: 54px; line-height: 0.6; color: var(--blue); height: 22px; }
.testi blockquote { font-size: 13.5px; line-height: 1.6; color: var(--ink); flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi figcaption > span:last-child { display: grid; gap: 1px; }
.testi strong { font-size: 13.5px; }
.testi small { font-size: 11.5px; color: var(--blue); font-weight: 600; }
.stars { display: flex; gap: 2px; margin-top: 4px; font-size: 13px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; flex: none; }

/* 11. CALL TO ACTION */
.cta { position: relative; color: #fff; background: var(--blue-dark) url("../images/cta-bg.jpg") center / cover no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(14, 67, 201, 0.92); }
.cta-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.cta-text p:not(.label) { color: #dbe7ff; }
.cta-action { display: grid; gap: 18px; justify-items: center; }
.perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 12.5px; font-weight: 600; color: #dbe7ff; }
.perks li { display: flex; align-items: center; gap: 7px; }
.cta .note { justify-self: end; text-align: right; font-size: clamp(1.5rem, 2.2vw, 2rem); }

/* 12. FOOTER */
.site-footer { background: var(--navy-deep); color: #c9d5ef; padding-top: 32px; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.brand-light strong { color: #fff; }
.brand-light small { color: #b9c6e2; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 30px; font-size: 13px; font-weight: 600; }
.footer-nav a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; font-size: 15px; color: #fff; }
.social a:hover { background: var(--blue); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding-top: 18px; padding-bottom: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12px; color: #9fb0d4; }

/* 13. INNER PAGES (About, Services, Portfolio, Blog, Contact...) */
.page-hero { background: linear-gradient(180deg, #eaf2ff, #f8fbff); padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { margin-top: 12px; color: var(--muted); max-width: 56ch; font-size: 17px; }
.coming { max-width: 560px; margin: 0 auto; text-align: center; padding: 48px 32px; background: #fff; border: 1px dashed var(--blue); border-radius: var(--radius); }
.coming h2 { font-size: 1.5rem; margin-bottom: 8px; }
.coming p { color: var(--muted); margin-bottom: 22px; }

/* 14. RESPONSIVE */
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-main { grid-column: 1 / -1; }
  .cta-grid { grid-template-columns: 1fr 1fr; }
  .cta .note { display: none; }
}
@media (max-width: 1000px) {
  .header-cta { display: none; }
  .menu-btn { display: grid; margin-left: auto; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0; display: none; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 32px 22px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 0; }
  .only-mobile { display: block; border-bottom: 0 !important; padding-top: 16px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 44px 0 0; }
  .hero-visual { min-height: 400px; margin-top: 10px; }
  .services-grid, .portfolio-grid, .testi-grid { grid-template-columns: 1fr; }
  .proj-grid, .testi-cards { grid-template-columns: repeat(2, 1fr); }
  .proj-grid .proj:nth-child(3), .testi-cards .testi:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .nav { padding: 8px 20px 22px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 320px; }
  .laptop { width: 82%; }
  .hero-phone { width: 20%; }
  .svc-grid, .proj-grid, .testi-cards, .why-feats, .why-grid, .cta-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .code { min-height: 220px; }
  .cta-action { justify-items: start; }
  .perks { justify-content: flex-start; }
  .btn-row .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
