/* ==========================================================================
   BAREERAA TECHNICAL SERVICES LLC — DESIGN SYSTEM
   Brand palette: Royal Blue #1A73E8 · Vibrant Orange #FA8C16
   Backgrounds: #FFFFFF / #F8F9FA · Text: #202124
   ========================================================================== */

:root {
  --primary: #1A73E8;
  --primary-light: #4285F4;
  --primary-dark: #1765CC;
  --primary-soft: #E8F0FE;
  --accent: #FA8C16;
  --accent-dark: #E07B0E;
  --accent-soft: #FEF3E4;
  --ink: #202124;
  --ink-2: #3C4043;
  --grey: #5F6368;
  --grey-light: #9AA0A6;
  --paper: #F8F9FA;
  --white: #FFFFFF;
  --line: rgba(32, 33, 36, 0.12);
  --line-light: rgba(255, 255, 255, 0.22);
  --shadow-sm: 0 2px 12px rgba(32, 33, 36, 0.08);
  --shadow-md: 0 10px 34px rgba(32, 33, 36, 0.14);
  --shadow-lg: 0 24px 60px rgba(32, 33, 36, 0.20);
  --radius: 14px;
  --radius-lg: 22px;
  --font-head: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --header-h: 78px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

section { position: relative; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 10px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(250, 140, 22, 0.4); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(250, 140, 22, 0.35); }
.btn-outline-light { border-color: rgba(255,255,255,0.65); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--ink); transform: translateY(-2px); }
.btn-outline-dark { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline-dark:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1eb856; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Section headers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--primary); }
.eyebrow.center::after { content: ""; width: 34px; height: 2px; background: var(--primary); }

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--ink); }
.section-title.light { color: var(--white); }
.section-sub { color: var(--grey); font-size: 1.06rem; max-width: 640px; margin-top: 14px; }
.section-sub.light { color: rgba(255,255,255,0.8); }
.section-head { margin-bottom: 54px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   HEADER — Corporate Royal Blue bar with white links
   ========================================================================== */
.site-header, header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: var(--primary);
  box-shadow: 0 2px 16px rgba(26, 115, 232, 0.35);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled, header.scrolled { box-shadow: 0 6px 24px rgba(26, 115, 232, 0.45); }

.nav-container, .nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand, .logo { display: flex; align-items: center; gap: 12px; }
.brand-logo, .logo img {
  height: 52px; width: auto; flex-shrink: 0;
  background: var(--white); border-radius: 12px; padding: 4px 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; color: var(--white); }
.brand-tag { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.85); }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  padding: 10px 14px; border-radius: 8px; color: var(--white);
  font-size: 0.93rem; font-weight: 500; transition: background 0.2s, color 0.2s;
}
.nav-menu a:hover { background: rgba(255, 255, 255, 0.16); }
.nav-menu a.active { background: var(--white); color: var(--primary); font-weight: 700; }
.nav-menu a.active::after { content: ""; display: block; height: 2px; background: var(--accent); border-radius: 2px; margin-top: 4px; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-quote {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  padding: 11px 20px; border-radius: 9px; transition: background 0.2s, transform 0.2s;
}
.nav-quote:hover { background: var(--accent-dark); transform: translateY(-1px); }

.hamburger, .mobile-toggle {
  display: none; background: none; border: none; width: 44px; height: 44px;
  position: relative; z-index: 1100; color: var(--white); font-size: 1.5rem; line-height: 1;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px auto; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 1050;
  background: var(--white);
  display: flex; flex-direction: column; padding: 24px 24px 40px;
  transform: translateX(100%); transition: transform 0.35s ease;
  overflow-y: auto; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  color: var(--ink); font-family: var(--font-head); font-size: 1.12rem; font-weight: 600;
  padding: 15px 6px; border-bottom: 1px solid var(--line);
}
.mobile-menu a.active { color: var(--primary); }
.mobile-menu .btn { margin-top: 24px; }

/* ==========================================================================
   HERO — full-screen video, dark tint, glass card
   ========================================================================== */
.hero { min-height: 100vh; display: flex; align-items: center; background: #0d141b; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-tint {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(13, 20, 27, 0.85) 0%, rgba(13, 20, 27, 0.65) 45%, rgba(13, 20, 27, 0.40) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: calc(var(--header-h) + 60px) 24px 80px; width: 100%; }
.hero-content { max-width: 760px; }

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 26px; padding: 56px 52px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent); font-family: var(--font-head); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 44px; height: 2px; background: var(--accent); }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -0.01em; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { color: rgba(255,255,255,0.85); font-size: clamp(1.02rem, 1.6vw, 1.22rem); margin: 24px 0 38px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; }
.hero-badge { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; }
.hero-badge i { color: var(--accent); }
.hero .btn-outline-dark { border-color: rgba(255,255,255,0.6); color: var(--white); background: transparent; }
.hero .btn-outline-dark:hover { background: var(--white); color: var(--ink); }

/* ---------- Hero slide-up fade-in animations ---------- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-anim { opacity: 0; animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-anim-1 { animation-delay: 0.15s; }
.hero-anim-2 { animation-delay: 0.35s; }
.hero-anim-3 { animation-delay: 0.55s; }
.hero-anim-4 { animation-delay: 0.75s; }
.hero-anim-5 { animation-delay: 0.95s; }
@media (prefers-reduced-motion: reduce) {
  .hero-anim { animation: none; opacity: 1; }
}

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro { padding: 100px 0; background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.intro-media { position: relative; }
.intro-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 460px; object-fit: cover; }
.intro-media-card {
  position: absolute; bottom: -28px; right: -20px;
  background: var(--primary); color: var(--white); border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow-lg); max-width: 250px;
}
.intro-media-card strong { display: block; font-family: var(--font-head); color: var(--white); font-size: 1.05rem; margin-bottom: 4px; }
.intro-media-card span { font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.intro-text p { color: var(--grey); margin-bottom: 18px; }
.intro-text .lead { font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.intro-text .btn { margin-top: 10px; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-section { padding: 100px 0; background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(26, 115, 232, 0.4); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 58px; height: 58px; border-radius: 14px; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease;
}
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); }
.service-icon i { font-size: 1.4rem; color: var(--white); }
.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service-card p { color: var(--grey); font-size: 0.94rem; flex-grow: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  color: var(--primary); font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
}
.service-link i { transition: transform 0.25s ease; }
.service-card:hover .service-link i { transform: translateX(5px); }
.service-card.featured { border-color: rgba(26, 115, 232, 0.5); background: linear-gradient(160deg, var(--white) 0%, var(--primary-soft) 100%); }
.service-card.featured::after {
  content: "Core Specialisation"; position: absolute; top: 18px; right: -34px;
  background: var(--accent); color: var(--white); font-size: 0.66rem; font-weight: 700;
  font-family: var(--font-head); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 40px; transform: rotate(38deg);
}

/* ==========================================================================
   FEATURE (Gypsum & Ceiling spotlight)
   ========================================================================== */
.feature { padding: 110px 0; background: var(--white); overflow: hidden; }
.feature::before {
  content: ""; position: absolute; top: -180px; right: -180px; width: 480px; height: 480px;
  border-radius: 50%; background: radial-gradient(circle, rgba(26, 115, 232, 0.08) 0%, transparent 65%);
}
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.feature-media img { border-radius: var(--radius-lg); width: 100%; height: 520px; object-fit: cover; box-shadow: var(--shadow-lg); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 28px 0 34px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: 0.95rem; }
.feature-list i { color: var(--accent); margin-top: 5px; }
.feature-text p { color: var(--grey); margin-bottom: 18px; }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { padding: 100px 0; background: var(--paper); }
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 22px; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.process-num {
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 18px;
  background: var(--primary); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.process-step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.process-step p { color: var(--grey); font-size: 0.88rem; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { padding: 100px 0; background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--white); }
.testimonial-stars { color: var(--accent); font-size: 0.95rem; letter-spacing: 0.2em; margin-bottom: 16px; }
.testimonial-text { color: var(--ink-2); font-size: 0.96rem; line-height: 1.75; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.testimonial-author strong { display: block; font-family: var(--font-head); font-size: 0.95rem; color: var(--ink); }
.testimonial-author span { font-size: 0.82rem; color: var(--grey); }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner { padding: 90px 0; background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%); overflow: hidden; }
.cta-banner::before {
  content: ""; position: absolute; bottom: -220px; left: -160px; width: 460px; height: 460px;
  border-radius: 50%; background: radial-gradient(circle, rgba(250, 140, 22, 0.3) 0%, transparent 65%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-inner h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-inner p { color: rgba(255,255,255,0.88); margin-top: 10px; max-width: 560px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%); padding: calc(var(--header-h) + 70px) 0 80px; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; top: -160px; right: -140px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 65%);
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.1rem); position: relative; }
.page-hero .crumb { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-top: 14px; position: relative; }
.page-hero .crumb a { color: var(--white); font-weight: 600; }
.page-hero .crumb a:hover { text-decoration: underline; }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-intro { padding: 100px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid img { border-radius: var(--radius-lg); width: 100%; height: 480px; object-fit: cover; box-shadow: var(--shadow-md); }
.about-grid p { color: var(--grey); margin-bottom: 18px; }
.mv-section { padding: 90px 0; background: var(--paper); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 44px 38px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.mv-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.mv-icon { width: 60px; height: 60px; border-radius: 14px; background: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.mv-icon i { font-size: 1.3rem; color: var(--white); }
.mv-card h3 { font-size: 1.35rem; margin-bottom: 14px; }
.mv-card p { color: var(--grey); }

/* ==========================================================================
   SERVICES PAGE — detailed sections
   ========================================================================== */
.service-detail { padding: 80px 0; background: var(--white); }
.service-detail:nth-of-type(even) { background: var(--paper); }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.service-detail-grid.reverse > .sd-media { order: 2; }
.sd-media img { border-radius: var(--radius-lg); width: 100%; height: 440px; object-fit: cover; box-shadow: var(--shadow-md); }
.sd-body h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 16px; }
.sd-body > p { color: var(--grey); margin-bottom: 24px; }
.sd-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 30px; }
.sd-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--ink-2); }
.sd-list i { color: var(--accent); margin-top: 5px; }
.sd-list.single { grid-template-columns: 1fr; }

/* ==========================================================================
   EXPERTISE PAGE
   ========================================================================== */
.expertise-types { padding: 90px 0; background: var(--white); }
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.type-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  background: var(--white); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.type-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(26, 115, 232, 0.5); }
.type-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.type-card p { color: var(--grey); font-size: 0.92rem; }

.gallery-section { padding: 90px 0; background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(32, 33, 36, 0.85));
  color: var(--white); font-size: 0.85rem; padding: 34px 16px 14px;
}

.pool-steps { padding: 90px 0; background: var(--white); }
.pool-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pool-step { text-align: center; }
.pool-step img { width: 100%; height: 190px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.pool-step span {
  display: inline-block; background: var(--accent); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  padding: 7px 16px; border-radius: 999px;
}

/* ==========================================================================
   PROJECTS PAGE — responsive grid
   ========================================================================== */
.projects-section { padding: 90px 0; background: var(--white); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 46px; }
.filter-btn {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--grey); font-family: var(--font-head);
  font-weight: 500; font-size: 0.88rem; transition: all 0.25s ease;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project-media { position: relative; overflow: hidden; }
.project-media img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-media img { transform: scale(1.05); }
.project-cats { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.project-cats span { background: var(--accent); color: var(--white); font-size: 0.7rem; font-weight: 600; font-family: var(--font-head); padding: 5px 12px; border-radius: 999px; letter-spacing: 0.04em; }
.project-body { padding: 26px; }
.project-body h3 { font-size: 1.22rem; margin-bottom: 12px; }
.project-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-bottom: 16px; }
.project-meta div { font-size: 0.88rem; color: var(--grey); }
.project-meta strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px; }
.project-body > p { color: var(--grey); font-size: 0.94rem; margin-bottom: 18px; }
.project-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; }
.project-hidden { display: none; }

/* ==========================================================================
   PROJECT MODAL
   ========================================================================== */
.project-modal { position: fixed; inset: 0; z-index: 1500; display: none; align-items: center; justify-content: center; padding: 24px; }
.project-modal.open { display: flex; }
.pm-backdrop { position: absolute; inset: 0; background: rgba(32, 33, 36, 0.7); backdrop-filter: blur(4px); }
.pm-panel {
  position: relative; background: var(--white); border-radius: var(--radius-lg);
  max-width: 760px; width: 100%; max-height: 88vh; overflow-y: auto;
  padding: 40px 36px; box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.pm-close {
  position: absolute; top: 14px; right: 16px; width: 40px; height: 40px;
  border: none; border-radius: 50%; background: var(--paper); color: var(--ink);
  font-size: 1.3rem; line-height: 1; transition: background 0.2s, color 0.2s; z-index: 2;
}
.pm-close:hover { background: var(--accent); color: var(--white); }
.pm-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pm-cats span { background: var(--accent); color: var(--white); font-size: 0.7rem; font-weight: 600; font-family: var(--font-head); padding: 5px 12px; border-radius: 999px; letter-spacing: 0.04em; }
.pm-panel h2 { font-size: 1.5rem; margin-bottom: 14px; }
.pm-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 18px; }
.pm-meta div { font-size: 0.88rem; color: var(--grey); }
.pm-meta strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px; }
.pm-desc { color: var(--grey); margin-bottom: 18px; }
.pm-scopes { margin: 0 0 18px; padding-left: 2px; list-style: none; }
.pm-scopes li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--ink-2); padding: 5px 0; }
.pm-scopes li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent); font-size: 0.8rem; margin-top: 4px; }
.pm-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.pm-gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.pm-video video { width: 100%; border-radius: var(--radius); }
.pm-video-note { font-size: 0.8rem; color: var(--grey-light); margin-top: 8px; }
.pm-cta { margin-top: 20px; }

/* ---------- Expertise type cards with media ---------- */
.type-card { display: flex; flex-direction: column; }
.type-media { margin: -30px -26px 20px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.type-media img { width: 100%; height: 170px; object-fit: cover; transition: transform 0.5s ease; }
.type-card:hover .type-media img { transform: scale(1.05); }

/* ==========================================================================
   WHY US PAGE
   ========================================================================== */
.why-section { padding: 100px 0; background: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-icon { width: 54px; height: 54px; border-radius: 13px; background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-icon i { font-size: 1.2rem; color: var(--white); }
.why-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.why-card p { color: var(--grey); font-size: 0.92rem; }

/* ==========================================================================
   CONTACT / QUOTE
   ========================================================================== */
.contact-section { padding: 100px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info-card {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white); border-radius: var(--radius-lg);
  padding: 42px 36px; box-shadow: 0 16px 40px rgba(26, 115, 232, 0.3);
}
.contact-info-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,0.88); font-size: 0.95rem; margin-bottom: 30px; }
.ci-item { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-light); }
.ci-item:first-of-type { border-top: none; }
.ci-icon { width: 46px; height: 46px; border-radius: 11px; background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-icon i { font-size: 1rem; color: var(--white); }
.ci-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.7); font-family: var(--font-head); }
.ci-value { font-weight: 500; margin-top: 2px; display: block; }
a.ci-value:hover { color: var(--accent); }
.contact-form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 42px 38px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--ink-2); }
.form-field label .req { color: #D93025; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  background: var(--paper); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--primary); background: var(--white);
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.15);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--grey-light); margin-top: 6px; }
.map-wrap { margin-top: 56px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-fallback { padding: 60px 30px; text-align: center; background: var(--paper); color: var(--grey); }
.map-fallback i { color: var(--primary); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 100%); color: rgba(255,255,255,0.8); }
.footer-main { padding: 80px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 44px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-tag { color: rgba(255,255,255,0.75); }
.footer-brand p { font-size: 0.92rem; line-height: 1.75; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--accent); }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 0.92rem; transition: color 0.2s, padding-left 0.2s; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.92rem; align-items: flex-start; }
.footer-contact i { color: var(--accent); margin-top: 4px; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 26px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12); color: var(--white); transition: background 0.25s, transform 0.25s, color 0.25s;
}
.social-row a:hover { background: var(--accent); color: var(--white); transform: translateY(-3px); }

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float i { font-size: 1.7rem; }

.back-to-top {
  position: fixed; bottom: 26px; left: 26px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.25s, background 0.25s;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); background: var(--accent); }

/* ==========================================================================
   NOTIFICATION
   ========================================================================== */
.notification {
  position: fixed; top: calc(var(--header-h) + 16px); right: 20px; z-index: 2000;
  background: var(--white); color: var(--ink); border-left: 4px solid var(--primary);
  padding: 16px 22px; border-radius: 10px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; max-width: 380px;
  animation: slideIn 0.35s ease;
}
.notification.error { border-left-color: #D93025; }
.notification i { color: var(--primary); flex-shrink: 0; }
.notification.error i { color: #D93025; }
@keyframes slideIn { from { transform: translateX(110%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ==========================================================================
   CHATBOT WIDGET
   ========================================================================== */
#chatbot { position: fixed; bottom: 96px; right: 26px; z-index: 950; }
.chatbot-bubble {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; cursor: pointer; border: none;
  box-shadow: 0 8px 26px rgba(26, 115, 232, 0.45);
  transition: transform 0.25s ease, background 0.25s ease;
  margin-left: auto;
}
.chatbot-bubble:hover { transform: scale(1.08); background: var(--accent); }
.chatbot-panel {
  position: absolute; bottom: 72px; right: 0;
  width: 340px; max-width: calc(100vw - 48px); height: 460px;
  background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
#chatbot.open .chatbot-panel { opacity: 1; visibility: visible; transform: none; }
.chatbot-head {
  background: var(--primary); color: var(--white);
  padding: 14px 18px; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-head);
}
.chatbot-close { background: none; border: none; color: var(--white); font-size: 1.3rem; cursor: pointer; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 16px; background: var(--paper); display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 0.88rem; line-height: 1.5; }
.chat-msg.bot { background: var(--white); color: var(--ink); align-self: flex-start; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--primary); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg.lead { border: 1px solid var(--accent); }
.chat-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--grey-light); animation: chatBlink 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatBlink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
.chatbot-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px; background: var(--white); border-top: 1px solid var(--line); }
.chatbot-quick button {
  border: 1px solid var(--primary); color: var(--primary); background: var(--white);
  border-radius: 999px; padding: 6px 12px; font-size: 0.78rem; font-weight: 600;
  font-family: var(--font-head); cursor: pointer; transition: all 0.2s;
}
.chatbot-quick button:hover { background: var(--primary); color: var(--white); }
.chatbot-form { display: flex; gap: 8px; padding: 12px 16px; background: var(--white); border-top: 1px solid var(--line); }
.chatbot-form input {
  flex: 1; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 10px 16px; font-size: 0.88rem; font-family: var(--font-body); color: var(--ink);
}
.chatbot-form input:focus { outline: none; border-color: var(--primary); }
.chatbot-form button {
  width: 42px; height: 42px; border-radius: 50%; border: none;
  background: var(--accent); color: var(--white); cursor: pointer; font-size: 0.95rem;
  transition: background 0.2s;
}
.chatbot-form button:hover { background: var(--accent-dark); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid, .types-grid, .gallery-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .pool-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid, .about-grid, .service-detail-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .service-detail-grid.reverse > .sd-media { order: 0; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-media-card { right: 10px; }
}

@media (max-width: 860px) {
  .nav-menu, .nav-quote { display: none; }
  .hamburger, .mobile-toggle { display: block; }
}

@media (max-width: 768px) {
  .projects-grid, .why-grid, .mv-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .pool-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .feature-list, .sd-list { grid-template-columns: 1fr; }
  .project-meta { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .contact-form-card, .contact-info-card { padding: 30px 24px; }
  .glass-card { padding: 36px 26px; }
  .intro-media img, .about-grid img, .sd-media img, .feature-media img { height: 320px; }
}

@media (max-width: 560px) {
  .services-grid, .types-grid, .gallery-grid, .process-steps, .pool-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
