/* ================================================================
   SIFOTECH ENGINEERING LTD — Main Stylesheet
   Dark Steel (#1C2833) | Teal (#0D7377) | Warm Gray (#F4F6F7)
   Roboto Slab (headings) + Roboto (body)
   ================================================================ */

/* ----------------------------------------------------------------
   1. CUSTOM PROPERTIES
   ---------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --steel:          #1C2833;
  --steel-dark:     #151D26;
  --steel-mid:      #22303C;
  --steel-light:    #2E4053;
  --teal:           #0D7377;
  --teal-text:      #5EEAD4;   /* teal for TEXT on dark surfaces (>= 9:1) */
  --teal-light:     #14A085;
  --teal-dark:      #0A5C60;
  --teal-glow:      rgba(13, 115, 119, 0.25);
  --warm-gray:      #F4F6F7;
  --warm-gray-dark: #E8EAEC;
  --orange:         #E67E22;
  --orange-light:   #F0932B;
  --orange-dark:    #CA6F1E;

  /* Text */
  --text-on-dark:   #F4F6F7;
  --text-muted:     #A9B7C0;
  --text-body:      #566573;
  --text-heading:   #1C2833;

  /* Surfaces */
  --white:          #FFFFFF;
  --card-bg:        #FFFFFF;
  --section-alt:    #F4F6F7;

  /* Borders */
  --border-light:   rgba(28, 40, 51, 0.12);
  --border-teal:    rgba(13, 115, 119, 0.3);

  /* Shadows */
  --shadow-sm:      0 2px 8px rgba(28, 40, 51, 0.08);
  --shadow-md:      0 6px 24px rgba(28, 40, 51, 0.12);
  --shadow-lg:      0 16px 48px rgba(28, 40, 51, 0.16);
  --shadow-teal:    0 8px 32px rgba(13, 115, 119, 0.2);

  /* Misc */
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius:         10px;
  --radius-lg:      16px;
  --radius-xl:      24px;
}

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

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

body {
  font-family: 'Roboto', system-ui, sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: var(--text-heading);
  line-height: 1.25;
}

/* Scrollbar */
::-webkit-scrollbar          { width: 6px; }
::-webkit-scrollbar-track    { background: var(--warm-gray); }
::-webkit-scrollbar-thumb    { background: var(--teal); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal-light); }

/* Selection */
::selection {
  background: rgba(13, 115, 119, 0.2);
  color: var(--text-heading);
}

/* ----------------------------------------------------------------
   3. UTILITIES
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.teal-text {
  color: var(--teal-text);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 26px;
  border-radius: var(--radius);
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--teal);
  color: var(--text-on-dark);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.btn-outline {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--teal-text);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--warm-gray);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1rem;
  border-radius: 12px;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-text);
  background: rgba(13, 115, 119, 0.08);
  border: 1px solid var(--border-teal);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-body);
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ---- Scroll animations ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0s);
}
.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------------
   4. KEYFRAMES
   ---------------------------------------------------------------- */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes rotateSlow {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes blueprintShift {
  0%   { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

@keyframes counterPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* ----------------------------------------------------------------
   5. NAVBAR
   ---------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--steel-dark);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  font-size: 1.1rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-logo:hover .nav-logo-icon {
  background: var(--teal-light);
}

.logo-text {
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-on-dark);
  line-height: 1.1;
}

.logo-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  letter-spacing: 1px;
  font-family: 'Roboto', sans-serif;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 15px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: 7px;
  transition: var(--transition);
  font-family: 'Roboto', sans-serif;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-on-dark);
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  margin-left: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  min-width: 44px;
  min-height: 44px;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

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

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------
   6. HERO
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--steel-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 100px 24px 80px;
}

/* Blueprint grid overlay */
.hero-blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 115, 119, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 115, 119, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: blueprintShift 12s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* Teal gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 115, 119, 0.35) 0%,
    rgba(28, 40, 51, 0.6) 50%,
    rgba(21, 29, 38, 0.85) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Radial accent */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(13, 115, 119, 0.2) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(13, 115, 119, 0.18);
  border: 1px solid rgba(13, 115, 119, 0.45);
  color: rgba(255,255,255,0.9);
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.hero-tagline-badge i {
  color: var(--teal-light);
  font-size: 1rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--text-on-dark);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-accent {
  color: var(--teal-light);
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero animation classes */
.animate-hero {
  animation: fadeInUp 0.9s ease both;
}
.animate-hero-delay {
  animation: fadeInUp 0.9s ease 0.3s both;
}

/* Badge strip */
.hero-badge-strip {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 60px;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 36px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-badge-item i {
  color: var(--teal-light);
  font-size: 1.1rem;
}

.hero-badge-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   7. STATS
   ---------------------------------------------------------------- */
.stats {
  background: var(--steel);
  padding: 72px 0;
  position: relative;
}

.stats::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.stat-card {
  background: var(--steel-mid);
  padding: 44px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.stat-card:hover::before { transform: scaleX(1); }

.stat-card:hover {
  background: var(--steel-light);
}

.stat-icon {
  width: 56px;
  height: 56px;
  background: rgba(13, 115, 119, 0.15);
  border: 1px solid rgba(13, 115, 119, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.3rem;
  color: var(--teal-light);
  transition: var(--transition);
}

.stat-card:hover .stat-icon {
  background: rgba(13, 115, 119, 0.25);
  border-color: var(--teal);
}

.stat-number {
  font-family: 'Roboto Slab', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1;
  margin-bottom: 10px;
  animation: none;
}

.stat-number.counting {
  animation: counterPulse 0.3s ease;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ----------------------------------------------------------------
   8. SERVICES
   ---------------------------------------------------------------- */
.services {
  padding: 100px 0;
  background: var(--white);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.service-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--teal);
  transform: scaleY(0);
  transition: transform 0.35s ease;
  transform-origin: bottom;
  border-radius: 0 0 0 0;
}

.service-card:hover {
  border-color: var(--border-teal);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

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

.service-icon-wrap {
  width: 58px;
  height: 58px;
  background: rgba(13, 115, 119, 0.1);
  border: 1px solid rgba(13, 115, 119, 0.22);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--teal-text);
  transition: var(--transition);
  flex-shrink: 0;
}

.service-card:hover .service-icon-wrap {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--text-on-dark);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-heading);
}

.service-card > p {
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.7;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal-text);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  margin-top: auto;
  padding-top: 4px;
}

.service-link i {
  font-size: 0.78rem;
  transition: transform var(--transition);
}

.service-link:hover {
  color: var(--teal-light);
}

.service-link:hover i {
  transform: translateX(4px);
}

/* ----------------------------------------------------------------
   9. FEATURED PROJECTS
   ---------------------------------------------------------------- */
.projects {
  padding: 100px 0;
  background: var(--section-alt);
  position: relative;
}

.projects::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal-light), var(--teal-dark));
}

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

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.project-visual {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-gradient {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.project-grad-1 {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-light) 100%);
}
.project-grad-2 {
  background: linear-gradient(135deg, #0A4F52 0%, var(--teal-dark) 40%, var(--teal) 100%);
}
.project-grad-3 {
  background: linear-gradient(135deg, var(--steel-mid) 0%, var(--teal-dark) 60%, var(--teal) 100%);
}

/* Blueprint grid on project gradients */
.project-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.project-icon-large {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-on-dark);
  transition: var(--transition);
}

.project-card:hover .project-icon-large {
  background: rgba(255,255,255,0.22);
  transform: scale(1.06);
}

.project-overlay-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(28,40,51,0.75);
  color: var(--text-on-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.project-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.project-body h3 {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-heading);
}

.project-body > p {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal-text);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  padding-top: 6px;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.project-link i { font-size: 0.78rem; transition: transform var(--transition); }
.project-link:hover { color: var(--teal-light); }
.project-link:hover i { transform: translate(3px, -3px); }

/* ----------------------------------------------------------------
   10. WHY CHOOSE US
   ---------------------------------------------------------------- */
.why-us {
  padding: 100px 0;
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  text-align: center;
  padding: 40px 24px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: var(--white);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.why-card:hover {
  border-color: var(--border-teal);
  transform: translateY(-6px);
  box-shadow: var(--shadow-teal);
}

.why-icon {
  width: 68px;
  height: 68px;
  background: rgba(13, 115, 119, 0.1);
  border: 2px solid rgba(13, 115, 119, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--teal-text);
  transition: var(--transition);
  margin-bottom: 4px;
}

.why-card:hover .why-icon {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--text-on-dark);
}

.why-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-heading);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   11. TESTIMONIALS
   ---------------------------------------------------------------- */
.testimonials {
  padding: 100px 0;
  background: var(--steel-dark);
  position: relative;
}

.testimonials .section-tag {
  color: var(--teal-light);
  background: rgba(13, 115, 119, 0.15);
  border-color: rgba(13, 115, 119, 0.4);
}

.testimonials .section-title {
  color: var(--text-on-dark);
}

.testimonials .teal-text {
  color: var(--teal-light);
}

.testimonials .section-desc {
  color: var(--text-muted);
}

.testimonials-carousel {
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  background: var(--steel-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.testi-stars {
  color: var(--orange);
  font-size: 0.95rem;
  letter-spacing: 3px;
}

.testi-text {
  color: rgba(255,255,255,0.78);
  font-size: 0.98rem;
  line-height: 1.85;
  font-style: italic;
  position: relative;
  padding-left: 26px;
}

.testi-text::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -6px;
  font-size: 2.6rem;
  color: var(--teal-text);
  line-height: 1;
  font-style: normal;
  font-family: 'Roboto Slab', serif;
}

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

.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-on-dark);
  flex-shrink: 0;
  border: 2px solid rgba(13,115,119,0.5);
}

.testi-info strong {
  display: block;
  font-weight: 600;
  color: var(--text-on-dark);
  font-size: 0.95rem;
  font-family: 'Roboto Slab', serif;
}

.testi-info span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--steel-mid);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--text-on-dark);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot-item {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: var(--transition);
  cursor: pointer;
}

.dot-item.active {
  background: var(--teal);
  width: 26px;
  border-radius: 4px;
}

/* ----------------------------------------------------------------
   12. CTA BANNER
   ---------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, var(--teal-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

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

.cta-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 10px;
}

.cta-text p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  max-width: 460px;
}

/* ----------------------------------------------------------------
   13. CONTACT
   ---------------------------------------------------------------- */
.contact {
  padding: 100px 0;
  background: var(--warm-gray);
}

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

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.contact-info > p {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 36px;
  font-size: 0.95rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  width: 46px;
  height: 46px;
  background: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  font-size: 1rem;
  flex-shrink: 0;
}

.info-text strong {
  display: block;
  font-size: 0.78rem;
  color: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
  font-family: 'Roboto', sans-serif;
}

.info-text span,
.info-text a {
  color: var(--text-heading);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color var(--transition);
}

.info-text a:hover { color: #fff; }

.contact-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-body);
  font-size: 1rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--text-on-dark);
  transform: translateY(-2px);
}

/* Contact form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  font-family: 'Roboto', sans-serif;
}

.req { color: #FF8A80; }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--warm-gray);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text-heading);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9EA5B0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #E74C3C;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23566573' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: var(--white);
  color: var(--text-heading);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.field-error {
  font-size: 0.78rem;
  color: #E74C3C;
  min-height: 16px;
  display: block;
}

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}

.btn-loading {
  display: none;
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: rgba(13, 115, 119, 0.08);
  border: 1px solid rgba(13, 115, 119, 0.3);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--teal-text);
}

.form-success i {
  font-size: 1.3rem;
  color: var(--teal-text);
  flex-shrink: 0;
  margin-top: 1px;
}

.form-success strong { display: block; font-weight: 600; margin-bottom: 2px; }
.form-success span   { font-size: 0.88rem; color: var(--teal-text); }

/* ----------------------------------------------------------------
   14. FOOTER
   ---------------------------------------------------------------- */
.footer {
  background: var(--steel-dark);
  border-top: 3px solid var(--teal-dark);
  padding: 76px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-logo span {
  font-family: 'Roboto Slab', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
}

.footer-logo strong {
  font-weight: 700;
  color: var(--text-on-dark);
}

.footer-brand > p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--text-on-dark);
}

.footer-col h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 22px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-col ul li a,
.footer-col ul li span {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--teal-light); }

.footer-contact-col ul li i {
  color: var(--teal-text);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

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

.footer-bottom > p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 28px;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer-legal a:hover { color: var(--teal-light); }

/* ----------------------------------------------------------------
   15. BACK TO TOP
   ---------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  font-size: 0.9rem;
  box-shadow: var(--shadow-teal);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--teal-light);
  transform: translateY(-4px);
}

/* ----------------------------------------------------------------
   16. RESPONSIVE — 1024px (Tablet)
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  /* Hamburger */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(21, 29, 38, 0.97);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 999;
    padding: 80px 24px;
  }

  .nav-links.open .nav-link {
    font-size: 1.25rem;
    padding: 14px 36px;
    width: 100%;
    text-align: center;
    border-radius: 10px;
    color: rgba(255,255,255,0.85);
  }

  .nav-links.open .nav-link:hover {
    background: rgba(13, 115, 119, 0.2);
    color: var(--text-on-dark);
  }

  /* Grids */
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .projects-grid  { grid-template-columns: repeat(2, 1fr); }
  .why-grid       { grid-template-columns: repeat(2, 1fr); }
  .stats-grid     { grid-template-columns: repeat(3, 1fr); }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: 1 / -1; }

  /* Contact */
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }

  /* CTA banner */
  .cta-inner { flex-direction: column; text-align: center; align-items: center; }
  .cta-text p { margin: 0 auto; }

  /* Hero badge strip */
  .hero-badge-strip {
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-badge-divider { display: none; }
  .hero-badge-item { padding: 0 16px; }
}

/* ----------------------------------------------------------------
   17. RESPONSIVE — 768px (Mobile)
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  .services-grid  { grid-template-columns: 1fr; }
  .projects-grid  { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr 1fr; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: auto; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 24px; }

  .hero-ctas { flex-direction: column; align-items: center; }

  .section-header { margin-bottom: 44px; }

  .testimonial-card { padding: 32px 28px; }

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

  .back-to-top { bottom: 20px; right: 20px; }

  .stats-grid { gap: 0; border-radius: var(--radius); }
}

/* ----------------------------------------------------------------
   18. RESPONSIVE — 480px (Small mobile)
   ---------------------------------------------------------------- */
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: 2.2rem; }

  .hero-badge-strip { display: none; }

  .testimonial-card { padding: 24px 20px; }
  .testi-text { font-size: 0.9rem; }

  .contact-form { padding: 20px 16px; }

  .carousel-btn { width: 38px; height: 38px; }

  .cta-inner .btn-white { width: 100%; justify-content: center; }

  .footer-legal { flex-direction: column; gap: 10px; align-items: center; }
}

/* ----------------------------------------------------------------
   19. PRELOADER
   ---------------------------------------------------------------- */
#preloader { position:fixed; top:0; left:0; width:100%; height:100%; background:#1C2833; display:flex; align-items:center; justify-content:center; z-index:9999; transition:opacity 0.5s; }
#preloader.hidden { opacity:0; pointer-events:none; }
.spinner { border:4px solid rgba(255,255,255,0.1); border-top:4px solid #0D7377; border-radius:50%; width:50px; height:50px; animation:spin 0.8s linear infinite; }
@keyframes spin { to{transform:rotate(360deg)} }

/* ----------------------------------------------------------------
   20. HERO CANVAS (Three.js)
   ---------------------------------------------------------------- */
#hero-canvas { position:absolute; top:0; left:0; width:100%; height:100%; z-index:1; pointer-events:none; }
.hero { position:relative; overflow:hidden; }
.hero > .container, .hero > .hero-badge-strip { position:relative; z-index:2; }

/* ----------------------------------------------------------------
   21. WHATSAPP FLOAT BUTTON
   ---------------------------------------------------------------- */
.whatsapp-float { position:fixed; width:60px; height:60px; bottom:30px; right:30px; background:#25D366; color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:28px; box-shadow:2px 2px 12px rgba(0,0,0,0.3); z-index:1000; text-decoration:none; animation:wapulse 2s infinite; }
.whatsapp-float:hover { transform:scale(1.1); background:#128C7E; }
@keyframes wapulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,0.7)} 70%{box-shadow:0 0 0 12px rgba(37,211,102,0)} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0)} }
@media(max-width:768px){ .whatsapp-float{width:50px;height:50px;bottom:20px;right:20px;font-size:24px;} }

/* =====================================================
   ABOUT SECTION (SifoTech)
   ===================================================== */
.stabout { padding: 100px 0; background: #1C2833; }
.stabout__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.stgeo { position: relative; width: 100%; height: 380px; display: flex; align-items: center; justify-content: center; }
.stgeo__shape { position: absolute; border-radius: 18px; }
.stgeo__s1 { width: 140px; height: 140px; background: linear-gradient(135deg, #0D7377, #14A9AD); top: 10%; left: 6%; opacity: 0.85; animation: stFloat 6.4s ease-in-out infinite 0s; }
.stgeo__s2 { width: 88px;  height: 88px;  background: linear-gradient(135deg, #E67E22, #F39C12); top: 56%; left: 18%; border-radius: 50%; opacity: 0.7; animation: stFloat 6.4s ease-in-out infinite 1.2s; }
.stgeo__s3 { width: 108px; height: 108px; background: linear-gradient(135deg, #14A9AD, #E67E22); top: 22%; right: 9%; opacity: 0.65; animation: stFloat 6.4s ease-in-out infinite 2.3s; }
.stgeo__s4 { width: 72px;  height: 72px;  background: linear-gradient(135deg, #0D7377, #E67E22); bottom: 19%; right: 21%; border-radius: 50%; opacity: 0.8; animation: stFloat 6.4s ease-in-out infinite 1.7s; }
.stgeo__center { width: 140px; height: 140px; background: rgba(13,115,119,0.15); backdrop-filter: blur(12px); border: 1px solid rgba(13,115,119,0.4); border-radius: 28px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 5; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.stgeo__center i { font-size: 64px; background: linear-gradient(135deg, #0D7377, #E67E22); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: stSpin 12s linear infinite; }
@keyframes stSpin { to { transform: rotate(360deg); } }
.stgeo__badge { position: absolute; bottom: 28px; right: 18px; background: rgba(230,126,34,0.15); backdrop-filter: blur(8px); border: 1px solid rgba(230,126,34,0.35); border-radius: 14px; padding: 12px 20px; text-align: center; z-index: 6; }
.stgeo__num { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.65); }
.stgeo__yr  { display: block; font-size: 1.6rem; font-weight: 700; color: #E67E22; line-height: 1.2; }
@keyframes stFloat { 0%,100%{transform:translateY(0) rotate(0deg)} 33%{transform:translateY(-22px) rotate(4deg)} 66%{transform:translateY(14px) rotate(-4deg)} }
.stabout__content p { line-height: 1.8; margin-bottom: 1rem; color: rgba(255,255,255,0.75); }
.stabout__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 1.5rem 0 2rem; }
.stabout__check { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.stabout__check i { color: #0D7377; }
@media(max-width:900px){ .stabout__grid{grid-template-columns:1fr;gap:40px} .stgeo{height:280px} }

/* ── ANIMATED AVATAR RINGS ───────────────────────────────── */
.testi-avatar, .author-avatar, .team-photo, .agent-avatar { position: relative; }
.testi-avatar::after, .author-avatar::after, .team-photo::after, .agent-avatar::after { content:''; position:absolute; inset:-5px; border-radius:50%; border:2px solid #0D7377; opacity:0; animation:stRing 2.5s ease-in-out infinite; }
@keyframes stRing { 0%,100%{transform:scale(1);opacity:0.5} 50%{transform:scale(1.12);opacity:0} }

/* ── HERO ANIMATED ICON ──────────────────────────────────── */
.hero-icon-animated {
  width: 110px; height: 110px;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
  backdrop-filter: blur(10px); border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.8rem; animation: heroFloat 4s ease-in-out infinite;
  box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 1.5px solid rgba(255,255,255,.15);
}
.hero-icon-animated i { font-size: 54px; color: #fff; animation: hiPulse 3s ease-in-out infinite; }
@keyframes heroFloat { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-18px) rotate(4deg)} }
@keyframes hiPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.82;transform:scale(1.1)} }

/* ── STAT ICON WRAPPER ───────────────────────────────────── */
.stat-icon-wrapper {
  width: 68px; height: 68px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto .75rem; animation: siBounce 2.2s ease-in-out infinite;
}
.stat-icon-wrapper .stat-icon { background: none; width: auto; height: auto; box-shadow: none; }
@keyframes siBounce { 0%,100%{transform:scale(1)} 50%{transform:scale(1.15)} }

/* ── GRADIENT SERVICE CARDS ──────────────────────────────── */
.service-card {
  position: relative; min-height: 300px; border-radius: 24px;
  padding: 2.8rem 2rem 2rem; overflow: hidden; cursor: pointer;
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s;
  border: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; align-items: flex-start; background: transparent;
}
.card-gradient-bg { position: absolute; inset: 0; z-index: 1; transition: transform .4s; border-radius: 24px; }
.service-card:hover .card-gradient-bg { transform: scale(1.06); }
.card-grad-1 { background: linear-gradient(135deg,#1C2833 0%,#1A3A3A 55%,#0D7377 100%); }
.card-grad-2 { background: linear-gradient(135deg,#1C2833 0%,#2A2A1A 55%,#E67E22 100%); }
.card-grad-3 { background: linear-gradient(135deg,#1C1C33 0%,#0D3A3A 55%,#0D7377 100%); }
.card-grad-4 { background: linear-gradient(135deg,#331C1C 0%,#4A2A1A 55%,#E67E22 100%); }
.card-grad-5 { background: linear-gradient(135deg,#1A1C33 0%,#2A1A3A 55%,#0D7377 100%); }
.card-grad-6 { background: linear-gradient(135deg,#1C2A1C 0%,#0D3A2A 55%,#E67E22 100%); }
.service-icon-container {
  position: relative; z-index: 3; width: 76px; height: 76px;
  margin-bottom: 1.6rem; animation: scFloat 3.2s ease-in-out infinite;
}
.service-icon-container i { font-size: 58px; color: rgba(255,255,255,.92); display: block; animation: scGlow 2.4s ease-in-out infinite; }
@keyframes scFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-13px)} }
@keyframes scGlow { 0%,100%{filter:drop-shadow(0 0 8px rgba(255,255,255,.25));opacity:1} 50%{filter:drop-shadow(0 0 18px rgba(255,255,255,.55));opacity:.9} }
.service-badge {
  position: relative; z-index: 3; background: linear-gradient(135deg,#0D7377,#E67E22);
  color: #fff; padding: .6rem 1.3rem; border-radius: 8px; font-weight: 700;
  font-size: .82rem; letter-spacing: .8px; text-transform: uppercase;
  display: inline-block; box-shadow: 0 4px 14px rgba(13,115,119,.4); margin-bottom: .8rem;
}
.service-description { position: relative; z-index: 3; color: rgba(255,255,255,.82); line-height: 1.65; font-size: .93rem; flex: 1; }
.service-link-card {
  position: relative; z-index: 3; color: rgba(255,255,255,.75); font-size: .88rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.2rem; transition: color .3s, gap .3s;
}
.service-link-card:hover { color: var(--teal-text); gap: .7rem; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 32px 64px rgba(0,0,0,.45); }

/* ============================================================
   ENHANCED HERO — Split Layout with Icon Cluster (sifotech)
   ============================================================ */

.hero-split-st {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 6rem 0 5rem;
}
.hero-split-st__text { text-align: left; }
.hero-split-st__text .hero-tagline-badge { justify-content: flex-start; margin-bottom: 1.2rem; }
.hero-split-st__text .hero-title { text-align: left; }
.hero-split-st__text .hero-description { text-align: left; max-width: 480px; }
.hero-split-st__text .hero-ctas { justify-content: flex-start; }

.hero-features-st {
  list-style: none;
  margin: 1.2rem 0 1.8rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hero-features-st li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}
.hero-features-st li i { color: #14b8a6; font-size: 1rem; flex-shrink: 0; }

.hero-split-st__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.icon-cluster-st {
  position: relative;
  width: 340px;
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ic-st-center {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.ic-st-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(13,115,119,0.3), rgba(20,184,166,0.25));
  border: 2px solid rgba(20,184,166,0.5);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: #2dd4bf;
  backdrop-filter: blur(14px);
  animation: icStPulse 3.5s ease-in-out infinite;
}
.ic-st-ring {
  position: absolute;
  inset: -14px;
  border-radius: 40px;
  border: 2px dashed rgba(20,184,166,0.35);
  animation: icStSpin 14s linear infinite;
}
@keyframes icStPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(20,184,166,0.4); }
  50%      { box-shadow: 0 0 0 20px rgba(20,184,166,0); }
}
@keyframes icStSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.ic-st-orbit {
  position: absolute;
  width: 56px;
  height: 56px;
  z-index: 2;
}
.ic-st-orbit__icon {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(20,184,166,0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  backdrop-filter: blur(8px);
}
.ic-st-orbit--1 { top: 10px;  left: 20px;  animation: icStFloat1 6s ease-in-out infinite; }
.ic-st-orbit--2 { top: 10px;  right: 20px; animation: icStFloat2 7.5s ease-in-out infinite; }
.ic-st-orbit--3 { top: 50%;   left: 0;     transform: translateY(-50%); animation: icStFloat3 8s ease-in-out infinite; }
.ic-st-orbit--4 { bottom: 80px; left: 30px;  animation: icStFloat1 9s ease-in-out infinite; }
.ic-st-orbit--5 { bottom: 80px; right: 30px; animation: icStFloat2 6.5s ease-in-out infinite; }

.ic-st-orbit--1 .ic-st-orbit__icon { color: #fbbf24; }
.ic-st-orbit--2 .ic-st-orbit__icon { color: #60a5fa; }
.ic-st-orbit--3 .ic-st-orbit__icon { color: #34d399; }
.ic-st-orbit--4 .ic-st-orbit__icon { color: #f472b6; }
.ic-st-orbit--5 .ic-st-orbit__icon { color: #a78bfa; }

@keyframes icStFloat1 {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(8deg); }
}
@keyframes icStFloat2 {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(-6deg); }
}
@keyframes icStFloat3 {
  0%,100% { transform: translateY(-50%) rotate(0deg); }
  50%      { transform: translateY(calc(-50% - 14px)) rotate(5deg); }
}

.ic-st-stats {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 0.8rem 1.5rem;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.ic-st-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.ic-st-stat__num {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2dd4bf;
  line-height: 1;
}
.ic-st-stat__lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .hero-split-st {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 5rem 0 8rem;
  }
  .hero-split-st__text .hero-tagline-badge,
  .hero-split-st__text .hero-title,
  .hero-split-st__text .hero-description,
  .hero-split-st__text .hero-ctas { justify-content: center; text-align: center; }
  .hero-features-st { align-items: center; }
  .icon-cluster-st { width: 280px; height: 300px; }
}

/* Fallback: if the AOS library fails to load, never leave content hidden */
.no-aos [data-aos] { opacity: 1 !important; transform: none !important; }

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: fixed; top: -48px; left: 12px; z-index: 100000;
  background: var(--teal); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 8px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, .dot-item:focus-visible {
  outline: 2px solid #A78BFA; outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-aos] { opacity: 1 !important; transform: none !important; }
  .animate-on-scroll { opacity: 1; transform: none; }
  #cursor-glow, .sifo-orb, .sifo-hero-rings, .sifo-scan-line { display: none !important; }
}

/* Footer/legal link tap targets */
.footer-col ul li a, .footer-legal a { display: inline-block; padding: 8px 0; }

/* Sector photos */
.project-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}
.project-card:hover .project-photo { transform: scale(1.06); }
.project-tint { position: absolute; inset: 0; opacity: .10; }
.project-tint::before { display: none; }
.project-visual::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,9,18,.38) 0%, rgba(5,9,18,0) 32%, rgba(5,9,18,0) 75%, rgba(5,9,18,.22) 100%);
}
.project-overlay-tag { z-index: 2; }

/* About: icons inside the decorative shapes */
.stgeo__shape { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.95); }
.stgeo__s1 i { font-size: 3.4rem; }
.stgeo__s2 i { font-size: 2rem; }
.stgeo__s3 i { font-size: 2.6rem; }
.stgeo__s4 i { font-size: 1.7rem; }
.stgeo__shape i { filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }

/* ===== Why-us icons: colourful + live ===================================== */
.why-icon {
  --wi-a: #14B8A6; --wi-b: #22D3EE; --wi-glow: rgba(20,184,166,.45);
  position: relative; isolation: isolate;
  width: 76px; height: 76px; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--wi-a), var(--wi-b));
  border: 0; color: #fff; font-size: 1.9rem;
  box-shadow: 0 10px 28px var(--wi-glow), inset 0 1px 0 rgba(255,255,255,.35);
  animation: wiFloat 4.2s ease-in-out infinite;
}
.why-card:nth-child(1) .why-icon { --wi-a: #F59E0B; --wi-b: #FCD34D; --wi-glow: rgba(245,158,11,.5); animation-delay: 0s; }
.why-card:nth-child(2) .why-icon { --wi-a: #7C3AED; --wi-b: #C084FC; --wi-glow: rgba(139,92,246,.5); animation-delay: .5s; }
.why-card:nth-child(3) .why-icon { --wi-a: #0891B2; --wi-b: #22D3EE; --wi-glow: rgba(34,211,238,.45); animation-delay: 1s; }
.why-card:nth-child(4) .why-icon { --wi-a: #EA580C; --wi-b: #FB923C; --wi-glow: rgba(249,115,22,.5); animation-delay: 1.5s; }

/* rotating gradient ring */
.why-icon::before {
  content: ''; position: absolute; inset: -7px; border-radius: 50%; z-index: -2;
  background: conic-gradient(from 0deg, var(--wi-a), transparent 35%, var(--wi-b) 55%, transparent 80%, var(--wi-a));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: wiSpin 5s linear infinite;
}
/* expanding pulse */
.why-icon::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  box-shadow: 0 0 0 0 var(--wi-glow);
  animation: wiPulse 2.6s ease-out infinite;
}
.why-icon i { display: inline-block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); transform-origin: center; }
/* each glyph gets its own little motion */
.why-card:nth-child(1) .why-icon i { transform-origin: 50% 0; animation: wiSwing 3s ease-in-out infinite; }    /* medal swings */
.why-card:nth-child(2) .why-icon i { animation: wiNod 2.8s ease-in-out infinite; }                              /* person bobs */
.why-card:nth-child(3) .why-icon i { animation: wiTick 4s ease-in-out infinite; }                               /* clock shakes */
.why-card:nth-child(4) .why-icon i { animation: wiHat 2.6s ease-in-out infinite; }                              /* hard hat tips */
.why-card:hover .why-icon { background: linear-gradient(135deg, var(--wi-b), var(--wi-a)); transform: scale(1.12) rotate(-4deg); border: 0; color: #fff; }
.why-card:hover .why-icon::before { animation-duration: 1.6s; }
.why-icon { transition: transform .35s cubic-bezier(.16,1,.3,1); }

@keyframes wiSpin  { to { transform: rotate(360deg); } }
@keyframes wiFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes wiPulse { 0% { box-shadow: 0 0 0 0 var(--wi-glow); } 70%,100% { box-shadow: 0 0 0 20px rgba(0,0,0,0); } }
@keyframes wiSwing { 0%,100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
@keyframes wiNod   { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.08); } }
@keyframes wiTick  { 0%,70%,100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } 80% { transform: rotate(12deg); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(8deg); } }
@keyframes wiHat   { 0%,100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-5px) rotate(-10deg); } 60% { transform: translateY(-5px) rotate(10deg); } }

/* tap targets and tablet stats */
.service-link-card, .project-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; }
@media (max-width: 768px) { .stat-card { padding: 28px 12px; } .stat-number { font-size: 2rem; } .stat-label { font-size: .8rem; } }

/* hamburger bars were var(--white) = 5% white on the dark theme (invisible) */
.hamburger span { background: #fff; }
/* remaining tap targets */
.cta-btn { display: inline-flex; align-items: center; min-height: 44px; }
.info-text a { display: inline-block; padding: 12px 0; }
.form-group select option { background: #161b2e; color: #e2e8f0; }
