/* ================================================================
   TAHIR & CO. — TACO ENGINEERING
   style.css — Covers: index.html + about.html
   Theme: Clean Corporate · Blue & Dark Steel
   Fonts: Bebas Neue (headings) + Barlow (body)
================================================================ */

/* ----------------------------------------------------------------
   GOOGLE FONTS IMPORT
---------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Barlow+Condensed:wght@400;600;700&display=swap');


/* ----------------------------------------------------------------
   CSS VARIABLES
---------------------------------------------------------------- */
:root {
  /* Brand colours — pulled from logo */
  --blue:        #2d82c5;
  --blue-dark:   #1a5a8f;
  --blue-light:  #4fa3e0;
  --blue-pale:   #d6eaf8;
  --blue-glow:   rgba(45, 130, 197, 0.18);

  /* Dark backgrounds */
  --dark:        #0d1117;
  --dark-2:      #111820;
  --dark-3:      #162030;
  --dark-mid:    #1e2e3e;

  /* Light backgrounds */
  --white:       #ffffff;
  --off-white:   #f4f7fb;
  --light-grey:  #e8eef5;

  /* Text */
  --text-dark:   #1a2533;
  --text-mid:    #3d5166;
  --text-muted:  #6b87a0;
  --steel:       #8fa8bf;

  /* Borders */
  --border:      rgba(45, 130, 197, 0.18);
  --border-mid:  rgba(45, 130, 197, 0.30);

  /* Spacing */
  --nav-h:       72px;
  --section-pad: 90px;
  --container:   1200px;
  --radius:      8px;
  --radius-lg:   14px;

  /* Transitions */
  --transition:  0.28s cubic-bezier(0.4, 0, 0.2, 1);
}


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

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

body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

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

ul {
  list-style: none;
}


/* ----------------------------------------------------------------
   TYPOGRAPHY HELPERS
---------------------------------------------------------------- */
.section-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.0;
  letter-spacing: 0.03em;
  color: var(--text-dark);
}

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

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* Scroll reveal — JS adds .visible class */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--transition), transform 0.65s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ----------------------------------------------------------------
   BUTTONS
---------------------------------------------------------------- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(45, 130, 197, 0.32);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.btn-secondary:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  transform: translateY(-2px);
}

.btn-overlay {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
  padding: 8px 20px;
  border-radius: var(--radius);
  transition: all var(--transition);
  margin-top: 10px;
}
.btn-overlay:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}


/* ================================================================
   NAVIGATION
================================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 20, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(45, 130, 197, 0.2);
  transition: box-shadow var(--transition);
}
#navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5%;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img {
  /* Logo image — forced to a consistent nav height */
  width: auto;
  height: 46px;
  object-fit: contain;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-links .nav-cta-btn {
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 8px 20px;
  margin-left: 8px;
}
.nav-links .nav-cta-btn::after {
  display: none;
}
.nav-links .nav-cta-btn:hover {
  background: var(--blue-dark);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(10, 14, 20, 0.98);
  border-top: 1px solid rgba(45, 130, 197, 0.15);
  padding: 12px 5% 24px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition);
}
.mobile-menu a:hover {
  color: #fff;
}


/* ================================================================
   INDEX.HTML — HERO
================================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Background image — fills entire hero regardless of original size */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* crops to fill, never distorts */
  object-position: center;
}

/* Dark overlay on top of hero image */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(10, 14, 20, 0.88) 0%,
    rgba(10, 14, 20, 0.72) 55%,
    rgba(10, 14, 20, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 5% 100px;
  width: 100%;
}

.hero-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.6rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 24px;
  max-width: 760px;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s forwards;
}
.hero-title span {
  color: var(--blue);
  -webkit-text-stroke: 0;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--steel);
  max-width: 540px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.65s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ================================================================
   INDEX.HTML — STATS BAR
================================================================ */
#stats-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
}

.stat-item {
  padding: 36px 5%;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.stat-item:last-child {
  border-right: none;
}
.stat-item:hover {
  background: rgba(45, 130, 197, 0.05);
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--blue);
  line-height: 1;
}
.stat-plus {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--blue);
  line-height: 1;
}
.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 6px;
}


/* ================================================================
   INDEX.HTML — ABOUT INTRO
================================================================ */
#about-intro {
  padding: var(--section-pad) 5%;
  background: var(--white);
}

.about-intro-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

/* About image — always fills its container regardless of source size */
.about-intro-image {
  position: relative;
  width: 100%;
  /* Fixed aspect ratio container */
  aspect-ratio: 7 / 6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(45, 130, 197, 0.12);
}
.about-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* fills box, crops if needed */
  object-position: center;
}

.about-intro-text .section-title {
  margin-bottom: 20px;
}
.about-intro-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 0.98rem;
  line-height: 1.8;
}
.about-intro-text .btn-primary {
  margin-top: 10px;
}


/* ================================================================
   INDEX.HTML — SERVICES OVERVIEW
================================================================ */
#services-overview {
  padding: var(--section-pad) 5%;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(45, 130, 197, 0.13);
  border-color: var(--border-mid);
}
.service-card:hover::before {
  transform: scaleX(1);
}

/* Service icon — div wrapper containing an inline SVG */
.service-icon {
  width: 58px;
  height: 58px;
  background: rgba(45, 130, 197, 0.10);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  margin-bottom: 22px;
  transition: background var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(45, 130, 197, 0.20);
}
.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--blue);
}

.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}


/* ================================================================
   INDEX.HTML — WHY US
================================================================ */
#why-us {
  position: relative;
  padding: var(--section-pad) 5%;
  overflow: hidden;
}

/* Background image — fills entire section */
.why-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.why-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay — heavy so text is readable */
.why-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(10, 14, 20, 0.93) 0%,
    rgba(10, 14, 20, 0.80) 60%,
    rgba(10, 14, 20, 0.70) 100%
  );
}

.why-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

.why-text .section-label {
  color: var(--blue-light);
}
.why-text .section-title {
  color: #fff;
  margin-bottom: 20px;
}
.why-text p {
  color: var(--steel);
  font-size: 1rem;
  line-height: 1.8;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-point {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(45, 130, 197, 0.2);
  border-radius: var(--radius-lg);
  transition: background var(--transition), border-color var(--transition);
}
.why-point:hover {
  background: rgba(45, 130, 197, 0.08);
  border-color: rgba(45, 130, 197, 0.4);
}

/* Why icon wrapper — wraps the inline SVG */
.why-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(45, 130, 197, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.why-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--blue-light);
}

/* If using image icons instead of SVG */
.why-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.why-point h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 5px;
}
.why-point p {
  font-size: 0.88rem;
  color: var(--steel);
  line-height: 1.6;
  margin: 0;
}


/* ================================================================
   INDEX.HTML — FEATURED PROJECTS
================================================================ */
#featured-projects {
  padding: var(--section-pad) 5%;
  background: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* Fixed aspect ratio — all project cards same height regardless of photo size */
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--transition);
}
.project-card:hover img {
  transform: scale(1.06);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 14, 20, 0.92) 0%,
    rgba(10, 14, 20, 0.40) 55%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 24px;
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover .project-overlay {
  opacity: 1;
}
.project-overlay h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}
.project-overlay p {
  font-size: 0.87rem;
  color: var(--steel);
  line-height: 1.5;
  margin-bottom: 14px;
}


/* ================================================================
   INDEX.HTML — CLIENTS STRIP / TICKER
================================================================ */
#clients-strip {
  padding: 56px 5%;
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.clients-strip-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  text-align: center;
  margin-bottom: 36px;
}

.clients-ticker {
  overflow: hidden;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.clients-track:hover {
  animation-play-state: paused;
}

.client-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 30px;
  min-width: 160px;
  height: 68px;
  transition: border-color var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}
.client-item:hover {
  border-color: var(--border-mid);
  box-shadow: 0 4px 16px var(--blue-glow);
}
/* Client logo image — constrained so any size logo fits neatly */
.client-item img {
  max-width: 130px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.6);
  transition: filter var(--transition);
}
.client-item:hover img {
  filter: grayscale(0) opacity(1);
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ================================================================
   INDEX.HTML — CTA BANNER
================================================================ */
#cta-banner {
  position: relative;
  padding: 100px 5%;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(13, 17, 23, 0.85);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}
.cta-content .section-label {
  color: var(--blue-light);
  margin-bottom: 14px;
}
.cta-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1;
  margin-bottom: 18px;
}
.cta-content p {
  color: var(--steel);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}


/* ================================================================
   FOOTER
================================================================ */
#footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 70px 5% 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  max-width: var(--container);
  margin: 0 auto 50px;
}

.footer-brand {
  padding-right: 20px;
}
/* Footer logo — always consistent height */
.footer-logo {
  width: auto;
  height: 50px;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--steel);
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.88rem;
  color: var(--steel);
  margin-bottom: 10px;
  line-height: 1.55;
  transition: color var(--transition);
}
.footer-col a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  font-size: 0.83rem;
  color: #3d5166;
}


/* ================================================================
   WHATSAPP FLOATING BUTTON
================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.42);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}
/* WhatsApp icon image */
.whatsapp-float img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.42); }
  50%      { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.68); }
}


/* ================================================================
   ABOUT.HTML — PAGE HERO
================================================================ */
#page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 5% 80px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(10, 14, 20, 0.92) 0%,
    rgba(10, 14, 20, 0.78) 55%,
    rgba(10, 14, 20, 0.60) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.breadcrumb {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 14px;
}
.breadcrumb a {
  color: var(--steel);
  transition: color var(--transition);
}
.breadcrumb a:hover {
  color: var(--blue-light);
}

.page-hero-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 18px;
}
.page-hero-content h1 span {
  color: var(--blue);
}

.page-hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--steel);
  max-width: 520px;
  line-height: 1.75;
}


/* ================================================================
   ABOUT.HTML — COMPANY STORY
================================================================ */
#company-story {
  padding: var(--section-pad) 5%;
  background: var(--white);
}

.story-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

/* Image column — stacked overlapping images */
.story-images {
  position: relative;
  /* Height driven by main image aspect ratio */
}

/* Main large story image */
.story-img-main {
  width: 100%;
  aspect-ratio: 6 / 5;        /* fixed ratio — your image cropped to fit */
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Accent image — overlaps bottom-right of main image */
.story-img-accent {
  position: absolute;
  bottom: -30px;
  right: -24px;
  width: 44%;              /* always proportional to container */
  aspect-ratio: 4 / 3;    /* fixed ratio regardless of source size */
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  border: 4px solid var(--white);
  box-shadow: 0 12px 36px rgba(0,0,0,0.2);
}

/* Decorative year badge */
.story-year-badge {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 82px;
  height: 82px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(45, 130, 197, 0.4);
  z-index: 2;
}
.badge-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1;
}
.badge-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* Story text */
.story-text .section-title {
  margin-bottom: 22px;
}
.story-text p {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}


/* ================================================================
   ABOUT.HTML — TIMELINE
================================================================ */
#timeline {
  padding: var(--section-pad) 5%;
  background: var(--off-white);
}

.timeline-container {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 0;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--border-mid);
  flex-shrink: 0;
  margin-top: 4px;
}

.timeline-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin: 8px 0;
  min-height: 40px;
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin-bottom: 32px;
  flex: 1;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.timeline-card:hover {
  box-shadow: 0 12px 36px rgba(45, 130, 197, 0.1);
  border-color: var(--border-mid);
}

.timeline-year {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: rgba(45, 130, 197, 0.1);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 3px 14px;
  margin-bottom: 10px;
}

.timeline-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.timeline-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Timeline image inside card — always consistent height regardless of source size */
.timeline-img {
  width: 100%;
  height: 200px;            /* fixed height */
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  margin-top: 4px;
  display: block;
}


/* ================================================================
   ABOUT.HTML — CORE VALUES
================================================================ */
#core-values {
  padding: var(--section-pad) 5%;
  background: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.value-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--transition);
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(45, 130, 197, 0.11);
  border-color: var(--border-mid);
}
.value-card:hover::after {
  transform: scaleX(1);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: rgba(45, 130, 197, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  padding: 16px;
  transition: background var(--transition);
}
.value-card:hover .value-icon {
  background: rgba(45, 130, 197, 0.18);
}
.value-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--blue);
}

.value-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.value-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}


/* ================================================================
   ABOUT.HTML — MISSION / VISION / PROMISE
================================================================ */
#mission-vision {
  position: relative;
  padding: var(--section-pad) 5%;
  overflow: hidden;
}

.mv-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.mv-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mv-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 14, 20, 0.90);
}

.mv-container {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
}

.mv-container .section-header::after {
  background: var(--blue);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--container);
  margin: 0 auto;
}

.mv-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(45, 130, 197, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.mv-card:hover {
  background: rgba(45, 130, 197, 0.08);
  border-color: rgba(45, 130, 197, 0.42);
  transform: translateY(-4px);
}

.mv-icon {
  width: 68px;
  height: 68px;
  background: rgba(45, 130, 197, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  padding: 18px;
  transition: background var(--transition);
}
.mv-card:hover .mv-icon {
  background: rgba(45, 130, 197, 0.28);
}
.mv-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--blue-light);
}

.mv-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.mv-card p {
  font-size: 0.92rem;
  color: var(--steel);
  line-height: 1.75;
}


/* ================================================================
   ABOUT.HTML — TEAM PHOTO
================================================================ */
#team-photo {
  padding: var(--section-pad) 5% 0;
  background: var(--white);
}

.team-photo-wrap {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* Fixed height — your image fills it regardless of size */
  height: 460px;
}
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* favour showing faces */
  display: block;
}

/* Caption box overlaid bottom-left */
.team-photo-caption {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: rgba(10, 14, 20, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(45, 130, 197, 0.3);
  border-radius: var(--radius);
  padding: 18px 24px;
}
.caption-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--blue);
  line-height: 1;
}
.caption-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 4px;
}


/* ================================================================
   ABOUT.HTML — STATS (reuses index stats styles above)
================================================================ */
#about-stats {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0; /* padding is on .stat-item */
}
/* Inherits .stats-container and .stat-item from index stats above */


/* ================================================================
   RESPONSIVE — TABLET (max 1024px)
================================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}


/* ================================================================
   RESPONSIVE — MOBILE (max 768px)
================================================================ */
@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
    --nav-h: 64px;
  }

  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-title {
    font-size: clamp(2.8rem, 10vw, 4.5rem);
  }
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Stats */
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  /* About intro */
  .about-intro-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  /* Why us */
  .why-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-overlay {
    opacity: 1; /* always visible on mobile since no hover */
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* About page */
  .story-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .story-img-accent {
    display: none; /* hide overlap image on small screens */
  }
  .story-year-badge {
    top: -12px;
    left: -12px;
    width: 68px;
    height: 68px;
  }

  /* Timeline */
  .timeline-item {
    gap: 20px;
  }

  /* Values */
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Mission vision */
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Team photo */
  .team-photo-wrap {
    height: 280px;
  }

  /* CTA */
  .cta-content h2 {
    font-size: 2rem;
  }
}


/* ================================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
================================================================ */
@media (max-width: 480px) {
  .stats-container {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
  }
  .nav-logo img {
    height: 36px;
  }
}
