/* ============================================================
   KYOBE TECHNOLOGY LTD — Main Stylesheet
   Version: 1.0 | Last Updated: 2026

   TABLE OF CONTENTS
   01. CSS Custom Properties (Design Tokens)
   02. Reset & Base
   03. Typography
   04. Layout Utilities
   05. Topbar
   06. Header & Navigation
   07. Mobile Menu
   08. Hero Section
   09. Clients Strip
   10. About Section
   11. Services Section
   12. Why Us Section
   13. Skills / Competencies
   14. Stats Strip
   15. Projects Section
   16. Team Section
   17. Testimonials
   18. CTA Banner
   19. Contact Page
   20. Footer
   21. Floating Button
   22. Animations
   23. Responsive Breakpoints
   24. Accessibility
============================================================ */


/* ─────────────────────────────────────────────────────────
   01. CSS CUSTOM PROPERTIES (Design Tokens)
   ───────────────────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --blue:    #0F2B5B;   /* Primary dark blue */
  --blue2:   #1A3A6E;   /* Secondary blue */
  --orange:  #E8650A;   /* Primary orange CTA */
  --orange2: #F47C2A;   /* Orange hover */
  --dark:    #0D1421;   /* Darkest navy (footer bg) */

  /* Text Colors */
  --text:    #2d2d2d;
  --grey:    #6b7280;
  --muted:   #9ca3af;

  /* Surface Colors */
  --light:   #f8f9fb;
  --white:   #ffffff;

  /* Border */
  --border:  #e5e7eb;

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing Scale */
  --section-pad: 80px;
  --container-width: 1200px;
  --gutter: 24px;

  /* Transitions */
  --trans-fast: 0.15s ease;
  --trans-med:  0.25s ease;
  --trans-slow: 0.4s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --shadow-orange: 0 6px 20px rgba(232,101,10,0.35);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
}


/* ─────────────────────────────────────────────────────────
   02. RESET & BASE
   ───────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-main);
}

input, textarea, select {
  font-family: var(--font-main);
}


/* ─────────────────────────────────────────────────────────
   03. TYPOGRAPHY
   ───────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  font-weight: 800;
  color: var(--blue);
  text-wrap: balance;
}

p {
  line-height: 1.7;
}

.section-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
}

.section-h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.18;
  margin-bottom: 10px;
}

.section-sub {
  font-size: 15px;
  color: var(--grey);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head .section-sub {
  margin-top: 10px;
}


/* ─────────────────────────────────────────────────────────
   04. LAYOUT UTILITIES
   ───────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-pad {
  padding: var(--section-pad) 0;
}


/* ─────────────────────────────────────────────────────────
   05. BUTTONS
   ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans-med);
  border: none;
  font-family: var(--font-main);
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-orange);
}

.btn-secondary {
  background: var(--blue);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--blue2);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: all var(--trans-med);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-white:hover {
  background: #f0f4ff;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  cursor: pointer;
  transition: all var(--trans-med);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.12);
}

.btn-outline-blue {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  cursor: pointer;
  transition: all var(--trans-med);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
}


/* ─────────────────────────────────────────────────────────
   06. TOPBAR
   ───────────────────────────────────────────────────────── */
.topbar {
  background: var(--blue);
  padding: 9px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
}

.topbar-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar a {
  color: rgba(255,255,255,0.65);
  transition: color var(--trans-fast);
}

.topbar a:hover {
  color: var(--white);
}

.topbar-contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar-social {
  display: flex;
  gap: 10px;
}

.topbar-social a {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  transition: all var(--trans-fast);
}

.topbar-social a:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
}


/* ─────────────────────────────────────────────────────────
   07. HEADER & NAVIGATION
   ───────────────────────────────────────────────────────── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: box-shadow var(--trans-med);
}

header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo svg {
  display: block;
}

.logo-name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.15;
}

.logo-name small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--grey);
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  gap: 2px;
  align-items: center;
}

nav a {
  padding: 7px 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
}

nav a:hover {
  color: var(--blue);
  background: rgba(15,43,91,0.06);
}

nav a.active {
  color: var(--orange);
  font-weight: 700;
}

.ham {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--blue);
  line-height: 1;
}

.ham svg {
  display: block;
}


/* ─────────────────────────────────────────────────────────
   08. MOBILE MENU
   ───────────────────────────────────────────────────────── */
.mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 1000;
  padding: 80px 24px 32px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.mob-menu.open {
  display: flex;
}

.mob-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  padding: 4px;
}

.mob-link {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block;
  text-decoration: none;
  transition: color var(--trans-fast);
}

.mob-link:hover {
  color: var(--orange);
}

.mob-cta {
  margin-top: 28px;
  background: var(--orange);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  text-align: center;
  display: block;
}


/* ─────────────────────────────────────────────────────────
   09. HERO SECTION
   ───────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}

/* Video hero */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13,20,33,0.88) 0%, rgba(13,20,33,0.6) 50%, rgba(13,20,33,0.25) 100%);
}

/* Photo hero (fallback) */
.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(13,20,33,0.88) 0%, rgba(13,20,33,0.6) 50%, rgba(13,20,33,0.25) 100%),
    url('../images/hero-bg.jpg') center / cover no-repeat;
}

.hero-body {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px var(--gutter) 90px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--orange);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.hero-h1 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-wrap: balance;
}

.hero-sub {
  font-size: 15.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.68;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Quote form */
.hero-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.22);
}

.hero-form-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 4px;
}

.hero-form-sub {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 20px;
}

.fld {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: var(--font-main);
  outline: none;
  transition: border-color var(--trans-fast);
  margin-bottom: 10px;
  color: var(--text);
  background: var(--white);
}

.fld:focus {
  border-color: var(--orange);
}

.fld::placeholder {
  color: #aaa;
}

select.fld {
  appearance: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E")
    no-repeat right 12px center / 12px,
    var(--white);
  cursor: pointer;
}

textarea.fld {
  resize: vertical;
  min-height: 80px;
}

.form-btn {
  width: 100%;
  padding: 12px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background var(--trans-med);
  margin-top: 4px;
}

.form-btn:hover {
  background: var(--orange2);
}

.form-note {
  font-size: 11px;
  color: var(--grey);
  text-align: center;
  margin-top: 10px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  color: var(--blue);
}

.form-success svg {
  width: 48px;
  height: 48px;
  color: #22c55e;
  margin: 0 auto 12px;
}


/* ─────────────────────────────────────────────────────────
   10. CLIENTS STRIP
   ───────────────────────────────────────────────────────── */
#clients {
  padding: 52px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.clients-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.client-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  white-space: nowrap;
}

.client-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

.client-names {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.client-name {
  font-size: 15px;
  font-weight: 800;
  color: #b0b8c8;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color var(--trans-med);
}

.client-name:hover {
  color: var(--blue);
}


/* ─────────────────────────────────────────────────────────
   11. ABOUT SECTION
   ───────────────────────────────────────────────────────── */
#about {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.15;
  margin-bottom: 14px;
}

.about-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--grey);
  margin-bottom: 24px;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.about-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-pt-icon {
  width: 42px;
  height: 42px;
  background: rgba(15,43,91,0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-pt-icon svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.about-pt-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 3px;
}

.about-pt-desc {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.58;
}

.about-img-wrap {
  position: relative;
}

.about-main-img {
  width: 100%;
  height: 420px;
  background:
    linear-gradient(135deg, var(--blue) 0%, var(--dark) 100%),
    url('../images/about-main.jpg') center / cover;
  background-blend-mode: multiply;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-stat-card {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: var(--orange);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-orange);
}

.about-stat-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.about-stat-num sup {
  font-size: 20px;
}

.about-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  margin-top: 3px;
}

/* Certifications on About page */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.cert-badge {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  transition: all var(--trans-med);
}

.cert-badge:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}


/* ─────────────────────────────────────────────────────────
   12. SERVICES SECTION
   ───────────────────────────────────────────────────────── */
#services {
  padding: var(--section-pad) 0;
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--trans-med);
  border: 1px solid var(--border);
}

.svc-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.svc-img {
  height: 185px;
  position: relative;
  overflow: hidden;
}

.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.svc-card:hover .svc-img img {
  transform: scale(1.05);
}

/* Fallback gradient for service images */
.svc-img.no-img {
  background: linear-gradient(135deg, var(--blue2) 0%, var(--dark) 100%);
}

.svc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,20,33,0.7) 0%, transparent 60%);
}

.svc-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 1;
}

.svc-body {
  padding: 22px;
}

.svc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.svc-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--grey);
  margin-bottom: 16px;
}

.svc-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--trans-fast);
}

.svc-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--trans-med);
}

.svc-card:hover .svc-link svg {
  transform: translateX(4px);
}

/* Service detail bullets (services page) */
.svc-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
}

.svc-features li {
  font-size: 13px;
  color: var(--grey);
  padding-left: 16px;
  position: relative;
}

.svc-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}


/* ─────────────────────────────────────────────────────────
   13. WHY US SECTION
   ───────────────────────────────────────────────────────── */
#why {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.why-item {
  padding: 32px 28px;
  background: var(--light);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: background var(--trans-med);
}

.why-item:hover {
  background: #e8eef7;
}

.why-icon {
  width: 50px;
  height: 50px;
  background: var(--blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--trans-med);
}

.why-item:hover .why-icon {
  background: var(--orange);
}

.why-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.why-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}

.why-desc {
  font-size: 13px;
  line-height: 1.68;
  color: var(--grey);
}


/* ─────────────────────────────────────────────────────────
   14. SKILLS / COMPETENCIES
   ───────────────────────────────────────────────────────── */
#skills {
  padding: var(--section-pad) 0;
  background: var(--light);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.skill-photo {
  height: 440px;
  background:
    linear-gradient(135deg, rgba(15,43,91,0.65) 0%, rgba(13,20,33,0.8) 100%),
    url('../images/skills-bg.jpg') center / cover;
  background-blend-mode: multiply;
  border-radius: var(--radius-md);
}

.skill-bars {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
}

.skill-item {}

.skill-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.skill-pct {
  color: var(--orange);
  font-weight: 700;
}

.skill-track {
  height: 7px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 4px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-fill.animated {
  /* width set via inline style in JS */
}


/* ─────────────────────────────────────────────────────────
   15. STATS STRIP
   ───────────────────────────────────────────────────────── */
#stats {
  background: var(--blue);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 46px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-num .stat-suffix {
  color: var(--orange);
  font-size: 32px;
}

.stat-label {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  font-weight: 500;
}


/* ─────────────────────────────────────────────────────────
   16. PROJECTS SECTION
   ───────────────────────────────────────────────────────── */
#projects {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.projects-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 48px;
}

.proj-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.proj-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.proj-card.tall {
  height: 350px;
}

.proj-card.short {
  height: 220px;
}

.proj-bg {
  position: absolute;
  inset: 0;
  transition: transform var(--trans-slow);
  background: var(--blue);
}

.proj-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proj-card:hover .proj-bg {
  transform: scale(1.06);
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,20,33,0.92) 0%, rgba(13,20,33,0.2) 55%, transparent 100%);
}

.proj-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 20px;
}

.proj-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}

.proj-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.proj-scope {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  margin-top: 5px;
}

/* Brand accent card within mosaic */
.proj-brand-card {
  background: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 220px;
  text-align: center;
  padding: 24px;
}

.proj-brand-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.proj-brand-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Projects list page */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--trans-med);
}

.project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.project-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--blue);
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.project-card:hover .project-card-img img {
  transform: scale(1.05);
}

.project-card-body {
  padding: 20px;
}

.project-client {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 6px;
}

.project-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.project-desc {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.6;
}


/* ─────────────────────────────────────────────────────────
   17. TEAM SECTION
   ───────────────────────────────────────────────────────── */
#team {
  padding: var(--section-pad) 0;
  background: var(--light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 28px;
  text-align: center;
  transition: all var(--trans-med);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 4px solid rgba(232,101,10,0.2);
  background: linear-gradient(135deg, var(--blue2) 0%, var(--dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-desc {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.65;
}


/* ─────────────────────────────────────────────────────────
   18. TESTIMONIALS
   ───────────────────────────────────────────────────────── */
#testimonials {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.testi-card {
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid var(--border);
  transition: all var(--trans-med);
}

.testi-card:hover {
  box-shadow: var(--shadow-sm);
}

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: #f59e0b;
}

.testi-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testi-text {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text);
  margin-bottom: 18px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-ava {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testi-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}

.testi-company {
  font-size: 12px;
  color: var(--grey);
}


/* ─────────────────────────────────────────────────────────
   19. CTA BANNER
   ───────────────────────────────────────────────────────── */
#cta-banner {
  padding: 68px 0;
  background: var(--orange);
  position: relative;
  overflow: hidden;
}

#cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

#cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
  max-width: 500px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn-cta-white {
  background: var(--white);
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--trans-med);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-cta-white:hover {
  background: #f5f5f5;
}

.btn-cta-outline {
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.5);
  transition: all var(--trans-med);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-cta-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.12);
}


/* ─────────────────────────────────────────────────────────
   20. CONTACT PAGE
   ───────────────────────────────────────────────────────── */
#contact-page {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-info-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 14px;
}

.contact-info-sub {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(15,43,91,0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.contact-detail-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey);
  margin-bottom: 3px;
}

.contact-detail-value {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue);
}

.contact-form-wrap {
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--border);
}

.contact-form-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 6px;
}

.contact-form-sub {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 24px;
}


/* ─────────────────────────────────────────────────────────
   21. FOOTER
   ───────────────────────────────────────────────────────── */
footer {
  background: #0a1628;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  margin-top: 16px;
  max-width: 250px;
}

.footer-col-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color var(--trans-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-icon svg {
  width: 14px;
  height: 14px;
  color: var(--orange);
}

.footer-contact-text {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12.5px;
  color: rgba(255,255,255,0.25);
}

.footer-slogan {
  font-size: 12.5px;
  color: rgba(255,255,255,0.25);
}

.footer-slogan span {
  color: var(--orange);
}


/* ─────────────────────────────────────────────────────────
   22. FLOATING BUTTON
   ───────────────────────────────────────────────────────── */
.float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  background: var(--orange);
  color: var(--white);
  border: none;
  cursor: pointer;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
  transition: all var(--trans-med);
  font-family: var(--font-main);
  opacity: 0;
  pointer-events: none;
}

.float-btn.visible {
  opacity: 1;
  pointer-events: all;
}

.float-btn:hover {
  background: var(--orange2);
  transform: scale(1.1);
}

.float-btn svg {
  width: 22px;
  height: 22px;
}


/* ─────────────────────────────────────────────────────────
   23. PAGE HERO (Inner Pages)
   ───────────────────────────────────────────────────────── */
.page-hero {
  background:
    linear-gradient(100deg, rgba(13,20,33,0.9) 0%, rgba(13,20,33,0.75) 100%),
    url('../images/hero-bg.jpg') center / cover no-repeat;
  padding: 72px 0;
  text-align: center;
}

.page-hero-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.page-hero-h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}

.page-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}

.breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: color var(--trans-fast);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb-sep {
  color: rgba(255,255,255,0.3);
}

.breadcrumb-current {
  color: var(--orange);
}


/* ─────────────────────────────────────────────────────────
   24. ANIMATIONS
   ───────────────────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="100"] { transition-delay: 0.1s; }
[data-animate-delay="200"] { transition-delay: 0.2s; }
[data-animate-delay="300"] { transition-delay: 0.3s; }
[data-animate-delay="400"] { transition-delay: 0.4s; }
[data-animate-delay="500"] { transition-delay: 0.5s; }

[data-animate="fade-left"] {
  transform: translateX(-28px);
}

[data-animate="fade-right"] {
  transform: translateX(28px);
}

[data-animate="fade-left"].in-view,
[data-animate="fade-right"].in-view {
  transform: translateX(0);
}

[data-animate="scale"] {
  transform: scale(0.92);
}

[data-animate="scale"].in-view {
  transform: scale(1);
}


/* ─────────────────────────────────────────────────────────
   25. RESPONSIVE BREAKPOINTS
   ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  nav,
  .topbar-contact {
    display: none;
  }

  .ham {
    display: flex;
  }

  .hero-body {
    grid-template-columns: 1fr;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero-form {
    max-width: 520px;
  }

  .about-grid,
  .skills-grid,
  .projects-mosaic,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-stat-card {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 16px;
    display: inline-block;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .team-grid,
  .testi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .stat-item:nth-child(2n) {
    border-right: none;
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 56px;
  }

  .services-grid,
  .team-grid,
  .testi-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .clients-inner {
    flex-direction: column;
    gap: 16px;
  }

  .client-divider {
    display: none;
  }

  .hero-btns {
    flex-direction: column;
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* ─────────────────────────────────────────────────────────
   26. ACCESSIBILITY
   ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }

  .skill-fill {
    transition: none;
  }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =============================================================
   MULTI-PAGE ADDITIONS
   Inner pages: page-hero, service details, projects full,
   contact layout, project filters, content notes
   ============================================================= */

/* ── CLIENT STRIP (homepage version) ──────────────────────── */
.clients-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 42px 0;
}
.clients-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 24px;
}
.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.client-item {
  text-align: center;
}
.client-name {
  font-size: 15px;
  font-weight: 800;
  color: #aab3c8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--trans-med);
}
.client-item:hover .client-name { color: var(--blue); }
.client-type {
  font-size: 11px;
  color: var(--grey);
  margin-top: 3px;
}


/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(1, 14, 40, 0.55) 0%,
    rgba(1, 14, 40, 0.80) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
}
.page-hero-breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.page-hero-breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.page-hero-breadcrumb a:hover { color: var(--orange); }
.page-hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 12px;
  line-height: 1.12;
}
.page-hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 520px;
}


/* ── SERVICE DETAIL (services.html) ─────────────────────── */
.service-detail-section {
  background: var(--white);
}
.service-detail-section.service-detail-alt {
  background: var(--bg-soft);
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-detail-reverse {
  direction: rtl;
}
.service-detail-reverse > * {
  direction: ltr;
}
.service-detail-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.service-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
.service-detail-badge {
  position: absolute;
  bottom: -16px;
  left: 24px;
  background: var(--orange);
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(253,110,2,0.35);
}
.service-detail-badge-num {
  font-size: 1.1rem;
  font-weight: 800;
}
.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-soft);
}
.service-features li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .service-detail-reverse { direction: ltr; }
}


/* ── PROJECTS FULL GRID (projects.html) ──────────────────── */
.project-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.project-filter-btn {
  padding: 9px 20px;
  border: 1.5px solid var(--border);
  background: transparent;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: all var(--trans-fast);
  font-family: var(--font-main);
}
.project-filter-btn:hover,
.project-filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.projects-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}
.project-full-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.project-full-card-featured {
  grid-column: span 2;
}
.project-full-img {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.6s ease;
}
.project-full-card-featured .project-full-img {
  height: 420px;
}
.project-full-card:hover .project-full-img {
  transform: scale(1.04);
}
.project-full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(1, 14, 40, 0.95) 0%,
    rgba(1, 14, 40, 0.30) 70%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background 0.4s ease;
}
.project-full-overlay h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin: 8px 0 8px;
  line-height: 1.3;
}
.project-full-card-featured .project-full-overlay h3 {
  font-size: 1.4rem;
}
.project-full-overlay p {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 12px;
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 900px) {
  .projects-full-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-full-card-featured { grid-column: span 2; }
}
@media (max-width: 640px) {
  .projects-full-grid { grid-template-columns: 1fr; }
  .project-full-card-featured { grid-column: span 1; }
  .project-full-img,
  .project-full-card-featured .project-full-img { height: 280px; }
}


/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-section { }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  margin-bottom: 1rem;
}
.contact-info > p {
  color: var(--text-soft);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
}
.contact-detail-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-detail-item p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}
.contact-detail-item a {
  color: var(--blue);
  text-decoration: none;
}
.contact-detail-item a:hover { color: var(--orange); }

.contact-form-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.contact-form-card > p {
  color: var(--text-soft);
  margin-bottom: 24px;
  font-size: 14px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg-soft);
  transition: border-color var(--trans-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--grey);
  margin-top: 12px;
}
.form-note svg { flex-shrink: 0; color: var(--grey); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}


/* ── MAP PLACEHOLDER ─────────────────────────────────────── */
.map-placeholder {
  background: var(--bg-soft);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.map-placeholder-inner { padding: 40px; }
.map-pin { color: var(--orange); margin-bottom: 16px; }
.map-placeholder-inner p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}


/* ── TEAM GRID LARGE (about.html) ────────────────────────── */
.team-grid-large {
  grid-template-columns: repeat(4, 1fr);
}
.team-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

@media (max-width: 1024px) {
  .team-grid-large { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .team-grid-large { grid-template-columns: 1fr; }
}


/* ── CONTENT NOTE (editor hint) ──────────────────────────── */
.content-note {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13.5px;
  color: #78350f;
  line-height: 1.55;
}
.content-note code {
  background: rgba(0,0,0,0.07);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 12px;
}


/* ── FORM SUCCESS STATE ───────────────────────────────────── */
.form-success {
  text-align: center;
  padding: 32px 20px;
}
.form-success-icon {
  width: 56px;
  height: 56px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 auto 16px;
}
.form-success strong {
  display: block;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-success p {
  color: var(--text-soft);
  font-size: 14px;
}


/* ── HERO CARD (homepage quick enquiry) ──────────────────── */
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden;
  align-self: center;
}
.hero-card-inner { padding: 28px 28px 24px; }
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--border);
}
.hero-card-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.hero-card-icon svg { width: 22px; height: 22px; }
.hero-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
}
.hero-card-sub {
  font-size: 12px;
  color: var(--grey);
  margin-top: 2px;
}
.hero-card .form-group {
  margin-bottom: 12px;
}
.hero-card .form-group input,
.hero-card .form-group select {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg-soft);
  outline: none;
  transition: border-color var(--trans-fast);
}
.hero-card .form-group input:focus,
.hero-card .form-group select:focus {
  border-color: var(--blue);
  background: var(--white);
}


/* ── HERO CLIENTS STRIP ──────────────────────────────────── */
.hero-clients {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-clients-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.hero-clients-logos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-clients-logos span {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ── RESPONSIVE ADJUSTMENTS ──────────────────────────────── */
@media (max-width: 1024px) {
  .service-detail-image img { height: 320px; }
}

@media (max-width: 768px) {
  .page-hero { min-height: 280px; padding-top: 100px; }
  .contact-form-card { padding: 24px; }
}

@media (max-width: 640px) {
  .project-filters { gap: 8px; }
  .project-filter-btn { padding: 7px 14px; font-size: 12px; }
  .hero-clients { flex-direction: column; align-items: flex-start; gap: 10px; }
}
