/* ============================================================
   LEBI TECH — MAIN STYLESHEET  (Template Match Restyle)
   Template palette: White navbar | Blue/cyan hero | White sections
   Large skewed diagonal shape dividers | Deep navy footer
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
  --navy: #0d2562;
  --blue: #1565c0;
  --cyan: #59ae66;
  --sky: #194c64;
  --light-grey: #f4f7fb;
  --white: #ffffff;
  --text: #333344;
  --muted: #666680;
  --border: #e0e8f5;
  --shadow: 0 6px 30px rgba(13, 37, 98, .10);
  --radius: 4px;
  --transition: .28s ease;
}

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4 {
  font-family: 'Raleway', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

.section-label {
  font-family: 'Open Sans', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: .4rem;
}

.section-title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  color: var(--navy);
  margin-bottom: .9rem;
  font-weight: 800;
}

.section-title span {
  color: var(--cyan);
}

/* Horizontal rule style accent — matches template title underline */
.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-title-wrap .section-title {
  margin-bottom: 0;
}

.title-accent {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--cyan), transparent);
  max-width: 120px;
}

.section-subtitle {
  font-size: .97rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem 1.65rem;
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  letter-spacing: .04em;
  text-transform: uppercase;
}

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

.btn-primary:hover {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn-outline-cyan {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}

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

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

/* ---------- NAVBAR ---------- */
/* Template: pure white, thin, logo left, links right, small caps */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 18px rgba(13, 37, 98, .10);
}

.nav-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin-left: 3.5rem;
  margin-right: auto;
}

.nav-links a {
  font-family: 'Open Sans', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .14em;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
}

.nav-cta {
  margin-left: 1.5rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.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);
}

/* ---------- HERO ---------- */
/* Template: full-bleed photo right side, diagonal blue overlay left,
   large white skewed polygon cutting across bottom left */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
  background: var(--navy);
}

/* Full bleed background photo */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* Blue gradient overlay — left to transparent, so photo shows right */
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      #0d2562 0%,
      #0d2562 38%,
      rgba(13, 37, 98, .88) 52%,
      rgba(21, 101, 192, .55) 68%,
      transparent 85%);
  z-index: 1;
}

/* THE signature template element: large diagonal white parallelogram */
.hero-diagonal {
  position: absolute;
  bottom: -5%;
  left: -5%;
  width: 55%;
  height: 50%;
  background: rgba(255, 255, 255, .065);
  transform: skewY(-8deg) skewX(2deg);
  z-index: 1;
  border-top: 2px solid rgba(0, 180, 216, .35);
}

.hero-diagonal-2 {
  position: absolute;
  bottom: -8%;
  left: -2%;
  width: 38%;
  height: 34%;
  background: rgba(0, 180, 216, .08);
  transform: skewY(-8deg) skewX(2deg);
  z-index: 1;
}

.hero-content {
  max-width: 1260px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0, 180, 216, .18);
  border: 1px solid rgba(0, 180, 216, .5);
  color: #7dd9f0;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.1rem, 4.5vw, 3.7rem);
  color: var(--white);
  margin-bottom: 1.2rem;
  font-weight: 800;
  line-height: 1.12;
}

.hero h1 .highlight {
  color: var(--cyan);
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Slider dots — template detail */
.hero-dots {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  transition: all var(--transition);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--cyan);
  width: 28px;
  border-radius: 5px;
}

.hero-image-side {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-side img {
  width: 100%;
  max-width: 520px;
  height: 480px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}

/* Floating card on hero image */
.hero-float-card {
  position: absolute;
  bottom: 30px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: .85rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}

.hero-float-card i {
  font-size: 1.4rem;
  color: var(--cyan);
}

.hero-float-card strong {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: .9rem;
  color: var(--navy);
  font-weight: 700;
}

.hero-float-card span {
  font-size: .72rem;
  color: var(--muted);
}

/* ---------- SECTION DIVIDERS (the template signature) ---------- */
/* Template uses large skewed white polygon shapes between sections */

/* White wave into white section */
.divider-wave-white {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--navy);
  /* colour of section ABOVE */
}

.divider-wave-white svg {
  display: block;
}

/* Grey wave */
.divider-wave-grey {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.divider-wave-grey svg {
  display: block;
}

/* The iconic "skewed parallelogram" divider from template */
.skew-divider {
  position: absolute;
  width: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 10;
}

/* Template-style diagonal section overlap — white tail at bottom of hero */
.hero-tail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  overflow: hidden;
  line-height: 0;
}

/* ---------- SECTIONS ---------- */
.section-pad {
  padding: 5rem 0;
}

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== WELCOME / ABOUT PREVIEW ===== */
.welcome-section {
  background: var(--white);
  padding: 5.5rem 0;
  position: relative;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4.5rem;
  align-items: center;
}

.welcome-image {
  position: relative;
}

.welcome-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(13, 37, 98, .15);
}

/* Small cyan accent bar on image — template detail */
.welcome-image::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: 60%;
  height: 60%;
  border: 3px solid var(--cyan);
  border-radius: var(--radius);
  z-index: -1;
}

.welcome-image-tag {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  text-align: center;
  box-shadow: 0 8px 28px rgba(13, 37, 98, .25);
}

.welcome-image-tag strong {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.welcome-image-tag span {
  font-size: .75rem;
  opacity: .85;
}

.welcome-text .section-subtitle {
  margin-bottom: 1.4rem;
}

.welcome-features {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin: 1.4rem 0 2rem;
}

.welcome-feature {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--text);
}

.welcome-feature i {
  color: var(--cyan);
  font-size: .95rem;
  width: 18px;
}

/* ===== SERVICES ===== */
/* Template: light grey background, product cards 3 wide,
   centre card is cyan/blue coloured  */
.services-section {
  background: var(--light-grey);
  padding: 5rem 0;
  position: relative;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.services-header .section-subtitle {
  max-width: 420px;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem 2rem;
  box-shadow: 0 2px 16px rgba(13, 37, 98, .06);
  transition: all var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Cyan accent bottom bar — template card style */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--cyan), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 46px rgba(13, 37, 98, .13);
}

.service-card:hover::after {
  transform: scaleX(1);
}

/* Highlighted centre card */
.service-card.featured {
  background: linear-gradient(145deg, var(--cyan) 0%, #0096b7 100%);
  border-color: transparent;
  color: var(--white);
}

.service-card.featured h3 {
  color: var(--white);
}

.service-card.featured p {
  color: rgba(255, 255, 255, .82);
}

.service-card.featured .service-icon {
  background: rgba(255, 255, 255, .18);
}

.service-card.featured .service-icon i {
  color: var(--white);
}

.service-card.featured::after {
  display: none;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(0, 180, 216, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: background var(--transition);
}

.service-icon i {
  font-size: 1.45rem;
  color: var(--cyan);
  transition: color var(--transition);
}

.service-card:not(.featured):hover .service-icon {
  background: var(--cyan);
}

.service-card:not(.featured):hover .service-icon i {
  color: var(--white);
}

.service-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: .55rem;
  font-weight: 700;
}

.service-card p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== WHY US (dark section) ===== */
.why-section {
  background: linear-gradient(135deg, var(--navy) 0%, #163580 60%, var(--blue) 100%);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

/* subtle dot pattern */
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-section .section-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.why-section .section-label {
  color: var(--cyan);
}

.why-section .section-subtitle {
  color: rgba(255, 255, 255, .7);
  margin-bottom: 2rem;
}

.why-items {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.why-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.why-item-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: rgba(0, 180, 216, .15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 180, 216, .3);
}

.why-item-icon i {
  color: var(--cyan);
  font-size: 1.1rem;
}

.why-item-text h4 {
  font-family: 'Raleway', sans-serif;
  font-size: .97rem;
  color: var(--white);
  margin-bottom: .25rem;
  font-weight: 700;
}

.why-item-text p {
  font-size: .84rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.7;
}

.why-image {
  position: relative;
}

.why-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 72px rgba(0, 0, 0, .5);
}

.why-certifications {
  margin-top: 2rem;
  padding: 1.1rem 1.4rem;
  background: rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .12);
}

.why-certifications h5 {
  color: var(--cyan);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: .75rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
}

.cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.cert-tag {
  background: rgba(0, 180, 216, .15);
  border: 1px solid rgba(0, 180, 216, .35);
  color: rgba(255, 255, 255, .88);
  border-radius: 2px;
  font-size: .72rem;
  padding: .24rem .8rem;
  font-weight: 600;
  letter-spacing: .05em;
}

/* ===== TEAM ===== */
.team-section {
  background: var(--white);
  padding: 5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13, 37, 98, .08);
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(13, 37, 98, .14);
}

.team-avatar {
  width: 100%;
  height: 200px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar i {
  font-size: 5rem;
  color: rgba(255, 255, 255, .22);
}

.team-info {
  padding: 1.5rem 1.25rem;
}

.team-info h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: .3rem;
  font-weight: 700;
}

.team-info .role {
  font-size: .77rem;
  color: var(--cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  display: block;
}

.team-bio {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .6rem;
  line-height: 1.65;
}

/* ===== GALLERY / ABOUT PREVIEW STRIP (matches template gallery row) ===== */
.preview-strip {
  background: var(--light-grey);
  padding: 5rem 0;
}

.preview-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 52px rgba(13, 37, 98, .12);
}

.preview-strip-image {
  min-height: 340px;
  object-fit: cover;
  width: 100%;
}

.preview-strip-content {
  background: var(--white);
  padding: 3rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 100%);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-strip h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--white);
  margin-bottom: .65rem;
  font-weight: 800;
}

.cta-strip p {
  color: rgba(255, 255, 255, .85);
  margin-bottom: 1.65rem;
  font-size: .97rem;
}

/* ===== FOOTER ===== */
/* Template: deep blue with diagonal/wave top, 4-col grid */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
}

.footer-wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--cyan);
  /* colour above — for sections that end in CTA strip */
}

.footer-inner {
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 44px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: .84rem;
  line-height: 1.75;
  opacity: .7;
  max-width: 240px;
}

.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--cyan);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer-col a {
  font-size: .84rem;
  opacity: .7;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: .45rem;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--cyan);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .84rem;
  opacity: .72;
  margin-bottom: .7rem;
  line-height: 1.6;
}

.footer-contact-item i {
  color: var(--cyan);
  font-size: .9rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: inherit;
}

.footer-contact-item a:hover {
  color: var(--cyan);
}

.footer-social {
  display: flex;
  gap: .6rem;
  margin-top: 1.2rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .48);
}

.footer-bottom a {
  color: var(--cyan);
  opacity: 1;
}

.footer-bottom a:hover {
  opacity: .8;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  background: var(--cyan);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 18px rgba(0, 180, 216, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 900;
  font-size: .9rem;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--navy);
  transform: translateY(-3px);
}

/* ===== PAGE HERO (inner pages) ===== */
/* Same diagonal overlay as main hero but smaller */
.page-hero {
  background: var(--navy);
  padding: 9rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .14;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d2562 0%, rgba(13, 37, 98, .9) 50%, rgba(21, 101, 192, .6) 100%);
}

/* Diagonal tail — same as hero */
.page-hero-diagonal {
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 65%;
  height: 80%;
  background: rgba(255, 255, 255, .05);
  transform: skewY(-10deg);
  border-top: 2px solid rgba(0, 180, 216, .25);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: .5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, .72);
  font-size: .97rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-size: .75rem;
  color: rgba(255, 255, 255, .5);
  margin-bottom: .9rem;
}

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

.breadcrumb span {
  color: rgba(255, 255, 255, .3);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    gap: 3rem;
  }
}

@media (max-width: 820px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

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

  .preview-strip-grid {
    grid-template-columns: 1fr;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: .5rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .10);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: .9rem 2rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-image-side {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-desc {
    max-width: 100%;
  }

  .welcome-image::before {
    display: none;
  }

  .welcome-image-tag {
    right: 10px;
    bottom: 10px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .team-grid {
    max-width: 360px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }

  .hero-float-card {
    display: none;
  }
}