/* ============================================
   Vertex Tech Solutions — Master CSS
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --navy: #0B1120;
  --blue: #38BDF8;
  --white: #F1F5F9;
  --light-gray: #1E293B;
  --gold: #818CF8;
  --navy-light: #1E293B;
  --navy-mid: #111827;
  --blue-dark: #0EA5E9;
  --text-muted: #94A3B8;
  --shadow: 0 8px 32px rgba(0, 0, 0, .4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .6);
  --radius: 14px;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition)
}

ul {
  list-style: none
}

img {
  max-width: 100%;
  display: block
}

button,
input,
textarea,
select {
  font-family: var(--font-body);
  border: none;
  outline: none
}

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto
}

.section {
  padding: 100px 0
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--navy)
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 48px;
  transition: var(--transition);
}

/* Color adaptation for dark backgrounds */
.bg-dark,
section[style*="background:var(--light-gray)"],
section[style*="background: var(--light-gray)"],
section[style*="background:var(--navy)"],
section[style*="background: var(--navy)"],
.stats-bar,
.why-strip,
.cta-banner,
.footer {
  --heading-color: var(--white);
  --subtitle-color: rgba(255, 255, 255, 0.8);
}

.bg-dark .section-title,
section[style*="background:var(--light-gray)"] .section-title,
section[style*="background: var(--light-gray)"] .section-title,
.stats-bar .section-title,
.why-strip .section-title,
.cta-banner h2 {
  color: var(--heading-color) !important;
}

.bg-dark .section-subtitle,
section[style*="background:var(--light-gray)"] .section-subtitle,
section[style*="background: var(--light-gray)"] .section-subtitle,
.stats-bar .section-subtitle,
.why-strip .section-subtitle {
  color: var(--subtitle-color) !important;
}

/* Sub-headings (h3, h4) color based on context */
h3, h4 {
  transition: var(--transition);
}

.bg-dark h3, .bg-dark h4,
section[style*="background:var(--light-gray)"] h3,
section[style*="background:var(--light-gray)"] h4,
.stats-bar h3, .stats-bar h4 {
  color: var(--gold);
}

/* Light background sub-headings */
.section h3, .section h4 {
  color: var(--navy);
}

.card h3 {
  color: var(--blue-dark);
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue)
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(56, 189, 248, .35)
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white)
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-3px)
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 700
}

.btn-gold:hover {
  background: #6366F1;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(129, 140, 248, .35)
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1200px;
  z-index: 1000;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.1); /* Lighter glass effect */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.navbar.scrolled {
  top: 10px;
  width: 98%;
  background: rgba(11, 17, 32, 0.98); /* Solid dark navy on scroll */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(56, 189, 248, 0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .5px;
}

.nav-logo .highlight {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 32px
}

.nav-links a {
  color: rgba(255, 255, 255, .85);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding: 4px 0
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition)
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white)
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition)
}

/* ---------- Hero Shared ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy);
  overflow: hidden;
  text-align: center;
  color: var(--white);
  padding: 100px 0 60px
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-carousel .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition: opacity 1s ease-in-out;
}

.hero-carousel .slide.active {
  opacity: 1;
}

.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.carousel-indicators .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-indicators .dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 20px
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.18
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .78);
  max-width: 620px;
  margin: 0 auto 24px
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Page hero (short) */
.page-hero {
  min-height: 40vh;
  padding: 90px 0 50px
}

.page-hero h1 {
  font-size: 2.6rem
}

/* ---------- Floating shapes (canvas bg) ---------- */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none
}

/* ---------- Typing effect ---------- */
.typing-wrapper {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 28px;
  min-height: 40px;
  font-weight: 600
}

.typing-cursor {
  animation: blink .7s infinite
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
}

.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 32px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 10px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  min-width: 0;
  word-wrap: break-word;
}

.stat-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
  word-break: break-all;
}

.stat-item .stat-label {
  color: var(--white);
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ---------- Cards generic ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 32px
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, .06)
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.3)
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 20px
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 10px
}

.card p {
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.65
}

/* Glow effect */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, .12), transparent 70%)
}

.card:hover::before {
  opacity: 1
}

/* ---------- Why Choose Us ---------- */
.why-strip {
  background: var(--light-gray);
  padding: 48px 0
}

.why-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  text-align: center
}

.why-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy)
}

.why-item .check {
  color: var(--blue);
  font-size: 1.3rem
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue), #0066cc);
  padding: 80px 0;
  text-align: center;
  color: var(--white)
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 24px
}

/* ---------- About ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 16px
}

.about-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative
}

.about-image img {
  width: 100%;
  height: auto;
  display: block
}

/* Mission / Vision */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px
}

.mv-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  transition: var(--transition)
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg)
}

.mv-card .mv-icon {
  font-size: 2.5rem;
  margin-bottom: 16px
}

.mv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px
}

.mv-card p {
  color: var(--text-muted);
  line-height: 1.75
}

/* Core values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center
}

.value-item {
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition)
}

.value-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg)
}

.value-item .val-icon {
  font-size: 2.4rem;
  margin-bottom: 14px
}

.value-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 6px
}

.value-item p {
  color: var(--text-muted);
  font-size: .88rem
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center
}

.team-card {
  padding: 40px 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition)
}

.team-card:hover {
  transform: translateY(-6px)
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--white)
}

.team-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem
}

.team-card .role {
  color: var(--blue);
  font-size: .9rem;
  font-weight: 500;
  margin-top: 4px
}

/* Trust Badges */
.trust-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 48px 0;
  text-align: center
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy)
}

.trust-badge .badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--blue)
}

/* ---------- Services ---------- */
.service-card-lg {
  padding: 40px 32px
}

.service-card-lg .card-icon {
  width: 70px;
  height: 70px;
  font-size: 1.8rem
}

.service-card-lg h3 {
  font-size: 1.35rem
}

.service-card-lg .btn {
  margin-top: 18px;
  font-size: .85rem;
  padding: 10px 24px
}

/* Timeline */
.timeline {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  position: relative;
  padding: 60px 0 40px
}

.timeline-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
  padding: 0 20px
}

.timeline-step .step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2
}

.timeline-step h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 6px
}

.timeline-step p {
  color: var(--text-muted);
  font-size: .88rem
}

.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(50% + 30px);
  width: calc(100% - 60px);
  height: 3px;
  background: linear-gradient(90deg, var(--blue), rgba(56, 189, 248, .3));
  z-index: 1
}

/* ---------- Team Experience Marquee ---------- */

.experience-marquee-section {
  padding: 60px 0;
  background: var(--white);
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  /* Add slight fade on edges */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: inline-block;
  animation: scrollMarquee 35s linear infinite;
}

/* Pause animation on hover */
.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

.company-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  vertical-align: middle;
}

/* ---------- Industry Item (Portfolio/Services) ---------- */
.industry-item {
  cursor: pointer;
}

.industry-item:hover {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: 0 16px 32px rgba(30, 144, 255, 0.12) !important;
  border-color: rgba(30, 144, 255, 0.2) !important;
}

.ind-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.industry-item:hover .ind-icon {
  transform: scale(1.15) rotate(5deg);
}

.company-logo {
  height: 45px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.company-logo-wrap:hover .company-logo {
  transform: scale(1.05);
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---------- Portfolio ---------- */
.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition)
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg)
}

.project-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, .2);
  position: relative;
  overflow: hidden
}

.project-thumb img,
.project-thumb .project-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.project-card:hover .project-thumb img,
.project-card:hover .project-thumb .project-bg {
  transform: scale(1.05);
}

.project-thumb .project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 144, 255, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition)
}

.project-card:hover .project-overlay {
  opacity: 1
}

.project-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--white);
  padding: 8px 24px;
  border-radius: 50px
}

.project-body {
  padding: 24px
}

.project-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 8px
}

.project-body p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 12px
}

.project-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  background: rgba(30, 144, 255, .1);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 600
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px
}

.testimonial-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition)
}

.testimonial-card:hover {
  transform: translateY(-5px)
}

.testimonial-card .quote {
  font-size: 2.6rem;
  color: var(--gold);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 14px
}

.testimonial-card p {
  color: var(--text-muted);
  font-style: italic;
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 18px
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--navy);
  font-size: .9rem
}

.testimonial-card .author span {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: .82rem;
  margin-top: 2px
}

/* Industries */
.industries-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px
}

.industry-item .ind-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--blue);
  transition: var(--transition)
}

.industry-item:hover .ind-icon {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.1)
}

.industry-item span {
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy)
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start
}

.contact-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
}

.form-group {
  margin-bottom: 22px
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 8px;
  color: var(--navy)
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  background: #f8fafc;
  color: var(--navy);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-light);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-direction: column;
  gap: 12px;
  font-size: 1.1rem
}

.contact-map .map-icon {
  font-size: 3rem;
  opacity: .4
}

.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px
}

.info-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition)
}

.info-card:hover {
  transform: translateY(-5px)
}

.info-card .info-icon {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 12px
}

.info-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 6px
}

.info-card p {
  color: var(--text-muted);
  font-size: .9rem
}

.info-card a {
  color: var(--blue);
  font-weight: 500
}

/* Business hours */
.hours-section {
  text-align: center;
  padding: 48px 0;
  background: var(--light-gray)
}

.hours-grid {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 8px 40px;
  text-align: left;
  font-size: 1rem
}

.hours-grid .day {
  font-weight: 600;
  color: var(--navy)
}

.hours-grid .time {
  color: var(--text-muted)
}

/* Social strip */
.social-strip {
  background: var(--navy);
  padding: 48px 0;
  text-align: center;
  color: var(--white)
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  transition: var(--transition)
}

.social-icon:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.12)
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .7);
  padding: 64px 0 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px
}

.footer h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 16px
}

.footer p {
  font-size: .9rem;
  line-height: 1.7
}

.footer-links li {
  margin-bottom: 10px
}

.footer-links a {
  font-size: .9rem;
  transition: color var(--transition)
}

.footer-links a:hover {
  color: var(--gold)
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 48px;
  padding: 20px 0;
  text-align: center;
  font-size: .85rem;
  color: rgba(255, 255, 255, .45)
}

/* ---------- Scroll animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

/* ---------- Responsive ---------- */

/* -- Tablet landscape -- */
@media(max-width:1024px) {
  .container {
    width: 92%
  }

  .hero {
    min-height: 70vh
  }

  .hero h1 {
    font-size: 2.6rem
  }

  .section {
    padding: 80px 0
  }

  .section-title {
    font-size: 2rem
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .team-grid {
    grid-template-columns: 1fr 1fr
  }

  .testimonial-grid {
    grid-template-columns: 1fr 1fr
  }

  .contact-info-cards {
    grid-template-columns: repeat(3, 1fr)
  }

  .stats-grid {
    gap: 24px
  }

  .stat-item .stat-number {
    font-size: 2.4rem
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .cta-banner {
    padding: 60px 0
  }

  .cta-banner h2 {
    font-size: 1.9rem
  }
}

/* -- Tablet portrait / large phones -- */
@media(max-width:768px) {
  .hero {
    min-height: 65vh;
    padding: 130px 0 48px
  }

  .hero h1 {
    font-size: 2rem
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 18px
  }

  .page-hero {
    min-height: 35vh;
    padding: 120px 0 40px
  }

  .page-hero h1 {
    font-size: 1.8rem
  }

  .section {
    padding: 56px 0
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 12px
  }

  .section-subtitle {
    font-size: .95rem;
    margin-bottom: 36px
  }

  .btn {
    padding: 12px 24px;
    font-size: .88rem
  }

  .typing-wrapper {
    font-size: 1.05rem;
    min-height: 32px
  }

  .stats-bar {
    padding: 40px 0
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
  }

  .stat-item .stat-number {
    font-size: 2rem
  }

  .stat-item .stat-label {
    font-size: .85rem
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .card {
    padding: 28px 22px
  }

  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .mv-grid {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .mv-card {
    padding: 28px 24px
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
  }

  .value-item {
    padding: 24px 16px
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .team-avatar {
    width: 80px;
    height: 80px;
    font-size: 1.8rem
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .testimonial-card {
    padding: 28px 22px
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .contact-form {
    padding: 28px 24px
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .contact-map {
    min-height: 300px
  }

  .footer {
    padding: 48px 0 0
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center
  }

  .footer-bottom {
    margin-top: 32px;
    padding: 16px 0
  }

  .timeline {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 40px 0 20px
  }

  .timeline-step {
    min-width: auto;
    max-width: 280px
  }

  .timeline-step:not(:last-child)::after {
    display: none
  }

  .why-strip {
    padding: 36px 0
  }

  .why-grid {
    gap: 24px
  }

  .cta-banner {
    padding: 48px 0
  }

  .cta-banner h2 {
    font-size: 1.6rem
  }

  .trust-row {
    gap: 24px;
    padding: 36px 0
  }

  .industries-row {
    gap: 28px
  }

  .industry-item .ind-icon {
    width: 58px;
    height: 58px;
    font-size: 1.3rem
  }

  .hours-section {
    padding: 36px 0
  }

  .social-strip {
    padding: 36px 0
  }

  .social-icons {
    gap: 14px
  }

  .social-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem
  }

  .project-thumb {
    height: 160px
  }

  /* Mobile nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 90px 32px 36px;
    gap: 20px;
    transition: var(--transition);
    box-shadow: -4px 0 30px rgba(0, 0, 0, .4)
  }

  .nav-links.open {
    right: 0
  }

  .nav-links a {
    font-size: 1.05rem
  }

  .hamburger {
    display: flex
  }

  .navbar {
    top: 10px;
    width: 96%;
    padding: 10px 20px;
  }
}

/* -- Small phones -- */
@media(max-width:480px) {
  .container {
    width: 94%
  }

  .hero {
    min-height: 60vh;
    padding: 120px 0 40px
  }

  .hero h1 {
    font-size: 1.6rem
  }

  .hero p {
    font-size: .92rem
  }

  .page-hero {
    min-height: 30vh;
    padding: 110px 0 40px
  }

  .page-hero h1 {
    font-size: 1.5rem
  }

  .section {
    padding: 44px 0
  }

  .section-title {
    font-size: 1.35rem
  }

  .section-subtitle {
    font-size: .88rem;
    margin-bottom: 28px
  }

  .btn {
    padding: 11px 20px;
    font-size: .83rem
  }

  .typing-wrapper {
    font-size: .95rem
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 10px
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px
  }

  .stat-item .stat-number {
    font-size: 1.7rem
  }

  .card {
    padding: 24px 18px
  }

  .service-card-lg {
    padding: 28px 20px
  }

  .service-card-lg .card-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem
  }

  .mv-card {
    padding: 24px 18px
  }

  .mv-card h3 {
    font-size: 1.15rem
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px
  }

  .value-item {
    padding: 20px 12px
  }

  .value-item h4 {
    font-size: 1rem
  }

  .value-item p {
    font-size: .82rem
  }

  .trust-row {
    gap: 16px;
    flex-direction: column;
    align-items: center
  }

  .trust-badge {
    font-size: .9rem
  }

  .industries-row {
    gap: 18px
  }

  .industry-item .ind-icon {
    width: 50px;
    height: 50px;
    font-size: 1.1rem
  }

  .industry-item span {
    font-size: .82rem
  }

  .contact-form {
    padding: 22px 18px
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 14px;
    font-size: .9rem
  }

  .contact-map {
    min-height: 250px
  }

  .project-thumb {
    height: 140px
  }

  .project-body {
    padding: 18px
  }

  .project-body h3 {
    font-size: 1.05rem
  }

  .hours-grid {
    gap: 6px 24px;
    font-size: .92rem
  }

  .nav-logo {
    font-size: 1rem;
    line-height: 1.3
  }
}

/* -- Extra small phones -- */
@media(max-width:360px) {
  .hero h1 {
    font-size: 1.4rem
  }

  .hero p {
    font-size: .85rem
  }

  .section-title {
    font-size: 1.2rem
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .stat-item .stat-number {
    font-size: 1.5rem
  }

  .values-grid {
    grid-template-columns: 1fr
  }

  .footer-grid {
    text-align: left
  }
}

/* ---------- Wide Service Cards (Split Layout) ---------- */
.services-list-wide {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 50px;
}

.service-wide-card {
  display: flex;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  height: 320px; /* Fixed height to prevent stretching */
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  border-top: 3px solid var(--blue);
  transition: var(--transition);
}

.service-wide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-wide-card .service-content {
  flex: 1;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.service-wide-card .service-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.service-wide-card .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.service-wide-card:hover .service-image img {
  transform: scale(1.05);
}

.service-wide-card .service-num {
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(30, 144, 255, 0.04);
  line-height: 1;
  pointer-events: none;
}

.service-wide-card .service-icon-box {
  width: 44px;
  height: 44px;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--blue);
  margin-bottom: 16px;
}

.service-wide-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-wide-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 95%;
}

.btn-inquire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}


.btn-inquire:hover {
  gap: 12px;
  color: var(--blue-dark);
}

/* Alternating layout */
.service-wide-card:nth-child(even) {
  flex-direction: row-reverse;
}

.service-wide-card:nth-child(even) .service-num {
  right: auto;
  left: 40px;
}

@media (max-width: 992px) {
  .service-wide-card {
    flex-direction: column-reverse !important;
    height: auto; /* Reset fixed height for mobile */
  }
  .service-wide-card .service-num {
    font-size: 3rem;
    top: 20px;
    right: 20px;
    left: auto !important;
  }
  .service-wide-card .service-content {
    padding: 30px;
  }
  .service-wide-card .service-image {
    height: 250px;
  }
}