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

:root {
  --white: #ffffff;
  --off-white: #f8fafc;
  --light-gray: #e2e8f0;
  --mid-gray: #94a3b8;
  --dark-gray: #334155;
  --darker-gray: #0f172a;
  --blue: #1a6fbf;
  --blue-dark: #0e4d8a;
  --blue-light: #e8f2fc;
  --blue-accent: #3b9eff;
  --blue-glow: rgba(26, 111, 191, 0.15);
  --gradient-blue: linear-gradient(135deg, #1a6fbf 0%, #3b9eff 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  --shadow-blue: 0 8px 32px rgba(26, 111, 191, 0.2);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark-gray);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--light-gray);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  color: var(--darker-gray);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; font-weight: 700; }

p {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--blue);
  margin-bottom: 14px;
  padding: 6px 16px;
  background: var(--blue-light);
  border-radius: 30px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  max-width: 640px;
  color: var(--mid-gray);
  font-size: 1.05rem;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.section-desc.text-center {
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-blue);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(26, 111, 191, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(26, 111, 191, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* ===== HEADER / NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.06);
  border-bottom-color: var(--light-gray);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 90px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 2px 12px rgba(26, 111, 191, 0.18));
}

.logo img:hover {
  filter: drop-shadow(0 6px 24px rgba(26, 111, 191, 0.35));
  transform: scale(1.06);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-gray);
  position: relative;
  padding: 4px 0;
}

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

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

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

.nav-cta {
  padding: 10px 26px !important;
  background: var(--gradient-blue) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(26, 111, 191, 0.25);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 111, 191, 0.35) !important;
  color: var(--white) !important;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--darker-gray);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

/* Animated background pattern */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: hero-glow 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 158, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: hero-glow 8s ease-in-out infinite 4s;
}

@keyframes hero-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  margin-bottom: 20px;
  font-size: 3.2rem;
  line-height: 1.15;
}

.hero-content h1 span {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--mid-gray);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--light-gray);
}

.hero-stats .stat h3 {
  font-size: 2.2rem;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stats .stat p {
  font-size: 0.85rem;
  color: var(--mid-gray);
  margin: 0;
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-image-box {
  background: var(--white);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid var(--light-gray);
}

.hero-graphic {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue-light), var(--white));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-graphic-inner {
  text-align: center;
}

.hero-graphic-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
}

.hero-graphic-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue);
}

/* Animated scan line in hero graphic */
.hero-graphic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-accent), transparent);
  opacity: 0.5;
  animation: scan-line 3s linear infinite;
}

@keyframes scan-line {
  0% { top: 0; }
  100% { top: 100%; }
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
  border: 1px solid var(--light-gray);
}

.hero-float-card.card-1 {
  top: -20px;
  right: -20px;
}

.hero-float-card.card-2 {
  bottom: -16px;
  left: -20px;
  animation-delay: 3s;
}

.hero-float-card .card-icon {
  width: 42px;
  height: 42px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
}

.hero-float-card .card-text {
  font-size: 0.8rem;
}

.hero-float-card .card-text strong {
  display: block;
  color: var(--darker-gray);
  font-size: 0.85rem;
}

.hero-float-card .card-text span {
  color: var(--mid-gray);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== SECTION SPACING ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: var(--off-white);
  position: relative;
}

/* Decorative dots pattern for alt sections */
.section-alt::before {
  content: '';
  position: absolute;
  top: 40px;
  right: 40px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--blue) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.06;
  border-radius: 8px;
}

.section-alt::after {
  content: '';
  position: absolute;
  bottom: 40px;
  left: 40px;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(var(--blue) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.04;
  border-radius: 8px;
}

/* ===== SCROLL REVEAL BASE ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ===== ABOUT PREVIEW (Home) ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-image img {
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue-light), var(--white));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
}

.about-image-placeholder .placeholder-icon {
  font-size: 4rem;
  opacity: 0.6;
}

.about-content .section-desc {
  margin-bottom: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--blue-light);
  transition: all var(--transition);
}

.about-feature:hover {
  background: var(--blue);
  color: var(--white);
}

.about-feature:hover .check {
  color: var(--white);
}

.about-feature .check {
  color: var(--blue);
  font-size: 1.1rem;
  transition: color var(--transition);
}

/* ===== SERVICES CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: 50%;
  transform: translate(30%, 30%);
}

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

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

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.5rem;
  color: var(--blue);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: var(--gradient-blue);
  color: var(--white);
  transform: scale(1.05) rotate(-3deg);
  box-shadow: var(--shadow-blue);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--mid-gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card .learn-more {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.service-card .learn-more svg {
  transition: transform var(--transition);
}

.service-card:hover .learn-more svg {
  transform: translateX(6px);
}

/* ===== WHY CHOOSE US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.why-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.why-card:hover {
  background: var(--white);
  border-color: var(--light-gray);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.why-icon {
  width: 72px;
  height: 72px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 1.5rem;
  color: var(--blue);
  transition: all 0.4s ease;
  position: relative;
}

.why-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed var(--blue);
  opacity: 0;
  transition: all 0.4s ease;
  animation: rotate-slow 12s linear infinite;
}

.why-card:hover .why-icon::after {
  opacity: 0.3;
}

.why-card:hover .why-icon {
  background: var(--gradient-blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

@keyframes rotate-slow {
  to { transform: rotate(360deg); }
}

.why-card h4 {
  margin-bottom: 8px;
}

.why-card p {
  color: var(--mid-gray);
  font-size: 0.9rem;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--gradient-dark);
  border-radius: 24px;
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 158, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: hero-glow 6s ease-in-out infinite;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 111, 191, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: hero-glow 6s ease-in-out infinite 3s;
}

/* Grid pattern overlay */
.cta-banner .cta-inner {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* ===== ABOUT PAGE ===== */
.page-hero {
  padding: 150px 0 80px;
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--light-gray), transparent);
}

.page-hero h1 {
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--mid-gray);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--mid-gray);
  position: relative;
  z-index: 1;
}

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

.breadcrumb svg {
  width: 14px;
  height: 14px;
}

/* Vision / Mission / Values */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.vm-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue);
}

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

.vm-icon {
  width: 68px;
  height: 68px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 1.5rem;
  color: var(--blue);
  transition: all var(--transition);
}

.vm-card:hover .vm-icon {
  background: var(--gradient-blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.vm-card h3 {
  margin-bottom: 12px;
}

.vm-card p {
  color: var(--mid-gray);
  font-size: 0.95rem;
}

/* Core Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.value-card {
  display: flex;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
  background: var(--white);
}

.value-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-card .value-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--blue);
  transition: all var(--transition);
}

.value-card:hover .value-icon {
  background: var(--gradient-blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.value-card h4 {
  margin-bottom: 4px;
}

.value-card p {
  color: var(--mid-gray);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== SERVICES PAGE DETAIL ===== */
.service-detail {
  padding: 60px 0;
  border-bottom: 1px solid var(--light-gray);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-content h2 {
  margin-bottom: 16px;
}

.service-detail-content > p {
  color: var(--mid-gray);
  margin-bottom: 24px;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.service-list li:hover {
  background: var(--blue-light);
}

.service-list li svg {
  color: var(--blue);
  min-width: 20px;
  margin-top: 3px;
}

.service-detail-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-detail-visual img {
  transition: transform 0.6s ease;
}

.service-detail-visual:hover img {
  transform: scale(1.03);
}

.service-detail-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue-light), var(--off-white));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  font-size: 3.5rem;
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

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

.project-thumb {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--blue-light), var(--off-white));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.project-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.03));
}

.project-card-body {
  padding: 24px;
}

.project-card-body h3 {
  margin-bottom: 8px;
}

.project-card-body p {
  color: var(--mid-gray);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-tag {
  font-size: 0.75rem;
  padding: 5px 14px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 30px;
  font-weight: 600;
  transition: all var(--transition);
}

.project-card:hover .project-tag {
  background: var(--blue);
  color: var(--white);
}

/* ===== INDUSTRIES ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.industry-card {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-blue);
  opacity: 0;
  transition: opacity var(--transition);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card:hover {
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
}

.industry-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  transition: transform var(--transition);
}

.industry-card:hover .industry-icon {
  transform: scale(1.15);
}

.industry-card h4 {
  font-size: 1rem;
  position: relative;
  z-index: 1;
  transition: color var(--transition);
}

.industry-card:hover h4 {
  color: var(--white);
}

/* ===== TECHNOLOGIES ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.tech-card {
  text-align: center;
  padding: 30px 16px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  font-weight: 600;
  font-size: 0.95rem;
}

.tech-card:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.tech-card .tech-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info-cards {
  display: grid;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.contact-info-card:hover {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.contact-info-card .info-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--gradient-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  box-shadow: var(--shadow-blue);
}

.contact-info-card h4 {
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--mid-gray);
  margin: 0;
  font-size: 0.9rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue);
}

.contact-form h3 {
  margin-bottom: 24px;
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--darker-gray);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--dark-gray);
  background: var(--white);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-glow);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 16px 34px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--darker-gray);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue);
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo img {
  height: 80px;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 10px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--blue-accent);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--blue-accent);
  transition: width var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-links a:hover::before {
  width: 12px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact li svg {
  min-width: 16px;
  margin-top: 4px;
  color: var(--blue-accent);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: var(--blue-accent);
}

/* ===== BLUE LINE DIVIDER ===== */
.blue-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-blue);
  border-radius: 2px;
  margin-bottom: 20px;
}

.text-center .blue-divider {
  margin-left: auto;
  margin-right: auto;
}

/* ===== PARTNERS / OEM ===== */
.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 36px 44px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all var(--transition);
  min-width: 180px;
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-blue);
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

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

.partner-logo {
  font-size: 2.5rem;
  color: var(--blue);
  line-height: 1;
  transition: transform var(--transition);
}

.partner-card:hover .partner-logo {
  transform: scale(1.1);
}

.partner-card h4 {
  font-size: 1rem;
  color: var(--darker-gray);
  font-weight: 700;
}

.partner-card p {
  font-size: 0.8rem;
  color: var(--mid-gray);
  margin: 0;
}

/* ===== CLIENTS ===== */
.clients-marquee-wrapper {
  overflow: hidden;
  margin-top: 48px;
  padding: 20px 0;
}

.clients-marquee {
  display: flex;
  gap: 40px;
  animation: marquee 20s linear infinite;
  width: max-content;
}

.clients-marquee:hover {
  animation-play-state: paused;
}

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

.client-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 32px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  white-space: nowrap;
  min-width: 260px;
  transition: all var(--transition);
}

.client-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.client-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--gradient-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-blue);
}

.client-card h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.client-card p {
  font-size: 0.78rem;
  color: var(--mid-gray);
  margin: 0;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all var(--transition);
  cursor: pointer;
  animation: whatsapp-pulse 2s ease-in-out infinite;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.5);
  animation: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.whatsapp-float .tooltip {
  position: absolute;
  right: 76px;
  background: var(--darker-gray);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
}

.whatsapp-float .tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--darker-gray);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ===== GLOBAL ANIMATED EFFECTS ===== */

/* Animated underline on section titles */
.section-title {
  position: relative;
  display: inline-block;
}

/* Image hover glow */
.about-image img,
.service-detail-visual img {
  border-radius: var(--radius-lg);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.about-image:hover img,
.service-detail-visual:hover img {
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(26, 111, 191, 0.15);
}

/* Gradient border animation on contact form */
.contact-form {
  background: var(--white);
  position: relative;
}

/* Animated dashed border on vm-cards */
.vm-card::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--gradient-blue);
  border-radius: 3px;
  opacity: 0;
  transition: all var(--transition);
}

.vm-card:hover::after {
  opacity: 1;
  width: 60px;
}

/* Page hero entrance animation */
.page-hero h1 {
  animation: fadeSlideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.page-hero p {
  animation: fadeSlideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards;
  opacity: 0;
}

.page-hero .breadcrumb {
  animation: fadeSlideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.05s forwards;
  opacity: 0;
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero content entrance */
.hero-content {
  animation: fadeSlideRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
  opacity: 0;
}

.hero-visual {
  animation: fadeSlideLeft 1s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
  opacity: 0;
}

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

@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Hover shimmer on project cards */
.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(26, 111, 191, 0.03), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.project-card {
  position: relative;
  overflow: hidden;
}

.project-card:hover::after {
  left: 100%;
}

/* Glowing border animation on service icons (inner pages) */
.service-detail-content .blue-divider {
  transition: width 0.5s ease;
}

.service-detail-content:hover .blue-divider {
  width: 100px;
}

/* Footer links arrow animation */
.footer-links a:hover::before {
  width: 16px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  color: var(--blue);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

/* ===== RESPONSIVE ===== */

/* --- TABLET (481px – 1024px) --- */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail-grid.reverse {
    direction: ltr;
  }

  .hero {
    padding: 130px 0 70px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    max-width: 100%;
  }

  .hero-float-card.card-1 {
    right: 0;
  }

  .hero-float-card.card-2 {
    left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .section {
    padding: 70px 0;
  }

  .page-hero {
    padding: 130px 0 60px;
  }

  /* Services grid - 2 cols on tablet */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 36px;
  }

  /* Why grid - 3 cols on tablet, 2 cols on smaller */
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
  }

  /* Projects grid - 2 cols on tablet */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 36px;
  }

  /* Contact grid - stack on tablet */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* CTA */
  .cta-banner {
    padding: 56px 40px;
  }

  /* Partners - wrap nicely */
  .partner-card {
    padding: 28px 32px;
    min-width: 160px;
  }

  /* VM grid */
  .vm-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* --- Mobile Menu Enhancements (shared for all mobile) --- */

/* --- LARGE MOBILE / SMALL TABLET (481px – 768px) --- */
@media (max-width: 768px) {

  /* ---- MOBILE NAVIGATION ---- */

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 32px;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links li {
    width: 100%;
    max-width: 320px;
    border-bottom: 1px solid var(--light-gray);
  }

  .nav-links li:last-child {
    border-bottom: none;
    margin-top: 12px;
  }

  .nav-links a {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 20px 8px;
    display: block;
    text-align: center;
    color: var(--darker-gray);
    border: none;
    border-radius: 0;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
  }

  .nav-links a:hover {
    color: var(--blue);
    background: none;
  }

  .nav-links a.active {
    color: var(--blue);
    background: none;
  }

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

  .nav-cta {
    display: block !important;
    text-align: center;
    padding: 16px 36px !important;
    border-radius: 50px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 24px rgba(26, 111, 191, 0.3) !important;
    margin-top: 8px;
  }

  /* Hamburger button */
  .menu-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .menu-toggle span {
    width: 22px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Lock body scroll when menu open */
  body.menu-open {
    overflow: hidden;
  }

  /* ---- TYPOGRAPHY ---- */
  html {
    font-size: 15px;
  }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }

  .container {
    padding: 0 18px;
  }

  /* ---- HERO - Mobile Attractive ---- */
  .hero {
    padding: 110px 0 50px;
  }

  .hero::before {
    width: 400px;
    height: 400px;
    top: -30%;
    right: -30%;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content .section-label {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content h1 {
    font-size: 1.9rem;
    line-height: 1.22;
    letter-spacing: -0.03em;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 28px;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    line-height: 1.75;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    border-radius: 14px;
    font-size: 0.92rem;
  }

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

  .hero-image-box {
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(26, 111, 191, 0.12);
  }

  .hero-graphic {
    border-radius: 12px;
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 32px;
    padding-top: 24px;
  }

  .hero-stats .stat {
    text-align: center;
  }

  .hero-stats .stat h3 {
    font-size: 1.5rem;
  }

  /* ---- SECTIONS ---- */
  .section {
    padding: 52px 0;
  }

  .section-label {
    font-size: 0.72rem;
    padding: 6px 14px;
    letter-spacing: 2px;
    border-radius: 30px;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  /* ---- ABOUT SECTION ---- */
  .about-grid {
    gap: 32px;
  }

  .about-image img {
    border-radius: 14px !important;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .about-feature {
    font-size: 0.85rem;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .about-content {
    text-align: center;
  }

  .about-content .blue-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .about-content .section-desc {
    text-align: left;
  }

  /* ---- SERVICE CARDS - Horizontal layout on mobile ---- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
  }

  .service-card {
    padding: 24px 22px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    border-radius: 14px;
  }

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

  .service-icon {
    margin-bottom: 0;
    min-width: 52px;
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  .service-card p {
    font-size: 0.88rem;
    margin-bottom: 10px;
    line-height: 1.55;
  }

  .service-card .learn-more {
    font-size: 0.82rem;
  }

  /* ---- WHY CHOOSE US - 2 cols ---- */
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
  }

  .why-card {
    padding: 22px 14px;
    border-radius: 14px;
    border: 1px solid var(--light-gray);
    background: var(--white);
  }

  .why-card p {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .why-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }

  .why-icon svg {
    width: 22px;
    height: 22px;
  }

  /* ---- VM GRID ---- */
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .vm-card {
    padding: 28px 22px;
    border-radius: 14px;
  }

  .vm-icon {
    width: 58px;
    height: 58px;
  }

  /* ---- VALUES ---- */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
  }

  .value-card {
    padding: 20px;
    border-radius: 14px;
  }

  /* ---- PROJECTS ---- */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 32px;
  }

  .project-card {
    border-radius: 14px;
  }

  .project-thumb {
    height: 130px;
    font-size: 2rem;
  }

  .project-card-body {
    padding: 14px;
  }

  .project-card-body h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .project-card-body p {
    font-size: 0.8rem;
    margin-bottom: 10px;
    line-height: 1.5;
  }

  .project-tag {
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 20px;
  }

  /* ---- INDUSTRIES ---- */
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 32px;
  }

  .industry-card {
    padding: 20px 10px;
    border-radius: 14px;
  }

  .industry-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .industry-card h4 {
    font-size: 0.78rem;
  }

  /* ---- TECH GRID ---- */
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 32px;
  }

  .tech-card {
    padding: 18px 10px;
    font-size: 0.8rem;
    border-radius: 12px;
  }

  .tech-card .tech-icon {
    font-size: 1.4rem;
  }

  /* ---- CONTACT ---- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .contact-form {
    padding: 28px 22px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  }

  .contact-info-cards {
    gap: 12px;
  }

  .contact-info-card {
    padding: 18px;
    border-radius: 14px;
    border: 1px solid var(--light-gray);
    background: var(--white);
  }

  .contact-info-card .info-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
  }

  /* Form inputs - touch friendly */
  .form-group input,
  .form-group textarea {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
  }

  /* ---- PARTNERS ---- */
  .partners-grid {
    gap: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-card {
    padding: 22px 16px;
    min-width: 0;
    border-radius: 14px;
  }

  .partner-logo svg {
    width: 36px;
    height: 36px;
  }

  .partner-card h4 {
    font-size: 0.85rem;
  }

  .partner-card p {
    font-size: 0.72rem;
  }

  /* ---- CLIENTS MARQUEE ---- */
  .clients-marquee {
    gap: 16px;
  }

  .client-card {
    padding: 14px 18px;
    min-width: 210px;
    border-radius: 14px;
  }

  .client-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  /* ---- CTA BANNER ---- */
  .cta-banner {
    padding: 42px 24px;
    border-radius: 18px;
  }

  .cta-banner h2 {
    font-size: 1.45rem;
    margin-bottom: 12px;
  }

  .cta-banner p {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .cta-banner .btn {
    border-radius: 14px;
    padding: 14px 28px;
  }

  /* ---- FOOTER ---- */
  .footer {
    padding: 48px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-brand p {
    max-width: 400px;
    margin: 0 auto;
  }

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

  /* ---- PAGE HERO ---- */
  .page-hero {
    padding: 120px 0 50px;
  }

  .page-hero h1 {
    font-size: 1.9rem;
  }

  .page-hero p {
    font-size: 0.95rem;
    padding: 0 8px;
  }

  /* ---- SERVICE DETAIL ---- */
  .service-detail-grid {
    gap: 28px;
  }

  .service-detail-content h2 {
    font-size: 1.35rem;
  }

  .service-detail-visual img {
    border-radius: 14px !important;
  }

  .service-list li {
    padding: 10px 12px;
    border-radius: 10px;
  }

  /* ---- BUTTONS ---- */
  .btn {
    padding: 14px 26px;
    font-size: 0.9rem;
    min-height: 48px;
    border-radius: 14px;
  }

  /* ---- FLOATING ELEMENTS ---- */
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 16px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-float .tooltip {
    display: none;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 82px;
    right: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }

  /* Map */
  .section-alt iframe {
    min-height: 280px;
  }

  /* Smoother scroll on mobile */
  * {
    -webkit-tap-highlight-color: transparent;
  }
}

/* --- MOBILE (320px – 480px) --- */
@media (max-width: 480px) {
  html {
    font-size: 14.5px;
  }

  .container {
    padding: 0 16px;
  }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  h4 { font-size: 1rem; }

  .nav {
    height: 85px;
  }

  .logo img {
    height: 68px;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 18px 8px;
  }

  /* ---- HERO ---- */
  .hero {
    padding: 96px 0 36px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
    line-height: 1.22;
    letter-spacing: -0.03em;
  }

  .hero-content p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .hero-buttons .btn {
    padding: 14px 22px;
    font-size: 0.88rem;
    border-radius: 12px;
  }

  .hero-image-box {
    padding: 6px;
    border-radius: 14px;
  }

  .hero-graphic {
    border-radius: 10px;
  }

  /* ---- SECTIONS ---- */
  .section {
    padding: 40px 0;
  }

  .section-label {
    font-size: 0.68rem;
    padding: 5px 12px;
    letter-spacing: 1.5px;
  }

  .section-desc {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* ---- ABOUT ---- */
  .about-grid {
    gap: 28px;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .about-feature {
    font-size: 0.8rem;
    padding: 9px 10px;
    border-radius: 8px;
  }

  /* ---- SERVICES - compact horizontal cards ---- */
  .services-grid {
    gap: 12px;
  }

  .service-card {
    padding: 20px 16px;
    gap: 14px;
    border-radius: 12px;
  }

  .service-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 11px;
  }

  .service-icon svg {
    width: 22px;
    height: 22px;
  }

  .service-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .service-card p {
    font-size: 0.84rem;
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .service-card .learn-more {
    font-size: 0.8rem;
  }

  /* ---- WHY CHOOSE US - horizontal layout on phone ---- */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .why-card {
    padding: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-align: left;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    background: var(--white);
  }

  .why-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    margin: 0;
    border-radius: 12px;
  }

  .why-icon svg {
    width: 22px;
    height: 22px;
  }

  .why-icon::after {
    display: none;
  }

  .why-card h4 {
    font-size: 0.92rem;
    margin-bottom: 2px;
  }

  .why-card p {
    font-size: 0.78rem;
    line-height: 1.45;
    margin: 0;
  }

  /* ---- VM CARDS ---- */
  .vm-card {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .vm-card h3 {
    font-size: 1.02rem;
  }

  .vm-card p {
    font-size: 0.86rem;
  }

  .vm-icon {
    width: 52px;
    height: 52px;
  }

  /* ---- VALUES - horizontal ---- */
  .value-card {
    padding: 16px;
    gap: 12px;
    border-radius: 12px;
  }

  .value-card .value-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
  }

  .value-card h4 {
    font-size: 0.92rem;
  }

  .value-card p {
    font-size: 0.8rem;
  }

  /* ---- PROJECTS - single col ---- */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-card {
    border-radius: 14px;
  }

  .project-thumb {
    height: 140px;
    font-size: 2rem;
  }

  .project-card-body {
    padding: 16px;
  }

  .project-card-body h3 {
    font-size: 1rem;
  }

  .project-card-body p {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .project-tag {
    font-size: 0.65rem;
    padding: 3px 9px;
  }

  /* ---- INDUSTRIES ---- */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .industry-card {
    padding: 18px 10px;
    border-radius: 12px;
  }

  .industry-icon {
    font-size: 1.7rem;
    margin-bottom: 6px;
  }

  .industry-card h4 {
    font-size: 0.78rem;
  }

  /* ---- TECH GRID ---- */
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .tech-card {
    padding: 16px 10px;
    font-size: 0.78rem;
    border-radius: 10px;
  }

  .tech-card .tech-icon {
    font-size: 1.3rem;
    margin-bottom: 6px;
  }

  /* ---- CONTACT ---- */
  .contact-form {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .contact-form h3 {
    font-size: 1.08rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .form-group {
    margin-bottom: 8px;
  }

  .form-group label {
    font-size: 0.82rem;
    margin-bottom: 4px;
  }

  .form-group input,
  .form-group textarea {
    padding: 13px 14px;
    font-size: 16px;
    border-radius: 10px;
    border-width: 1.5px;
  }

  .form-group textarea {
    height: 100px;
  }

  .form-submit .btn {
    border-radius: 12px;
    font-size: 0.9rem;
  }

  .contact-info-card {
    padding: 14px;
    gap: 12px;
    border-radius: 12px;
  }

  .contact-info-card .info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
  }

  .contact-info-card h4 {
    font-size: 0.9rem;
  }

  .contact-info-card p {
    font-size: 0.8rem;
    word-break: break-word;
  }

  /* ---- PARTNERS ---- */
  .partners-grid {
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-card {
    padding: 18px 12px;
    min-width: 0;
    border-radius: 12px;
  }

  .partner-logo svg {
    width: 30px;
    height: 30px;
  }

  .partner-card h4 {
    font-size: 0.82rem;
  }

  .partner-card p {
    font-size: 0.68rem;
  }

  /* ---- CLIENTS ---- */
  .clients-marquee {
    gap: 12px;
  }

  .client-card {
    padding: 12px 14px;
    min-width: 190px;
    border-radius: 12px;
  }

  .client-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.8rem;
    border-radius: 8px;
  }

  .client-card h4 {
    font-size: 0.82rem;
  }

  .client-card p {
    font-size: 0.7rem;
  }

  /* ---- CTA ---- */
  .cta-banner {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .cta-banner h2 {
    font-size: 1.25rem;
  }

  .cta-banner p {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .cta-banner .btn {
    border-radius: 12px;
    width: 100%;
    justify-content: center;
  }

  /* ---- FOOTER ---- */
  .footer {
    padding: 36px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-brand .logo img {
    height: 60px;
    padding: 6px 10px;
  }

  .footer-brand p {
    font-size: 0.82rem;
    max-width: 300px;
    margin: 0 auto;
  }

  .footer h4 {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links a {
    font-size: 0.82rem;
    justify-content: center;
  }

  .footer-contact {
    text-align: left;
    display: inline-block;
  }

  .footer-contact li {
    font-size: 0.82rem;
  }

  .footer-bottom {
    padding: 16px 0;
    font-size: 0.76rem;
  }

  /* ---- PAGE HERO ---- */
  .page-hero {
    padding: 96px 0 36px;
  }

  .page-hero h1 {
    font-size: 1.65rem;
  }

  .page-hero p {
    font-size: 0.88rem;
    padding: 0 4px;
  }

  .breadcrumb {
    font-size: 0.78rem;
    margin-bottom: 12px;
  }

  /* ---- SERVICE DETAIL ---- */
  .service-detail-content h2 {
    font-size: 1.2rem;
  }

  .service-detail-content > p {
    font-size: 0.88rem;
  }

  .service-list li {
    font-size: 0.86rem;
    padding: 8px 10px;
    gap: 10px;
    border-radius: 8px;
  }

  .service-list li svg {
    min-width: 18px;
    width: 18px;
    height: 18px;
  }

  .service-detail-placeholder {
    font-size: 2.5rem;
  }

  .service-detail-visual img {
    border-radius: 12px !important;
  }

  /* ---- BUTTONS ---- */
  .btn {
    padding: 13px 22px;
    font-size: 0.86rem;
    min-height: 46px;
    border-radius: 12px;
  }

  .btn-white {
    padding: 13px 26px;
  }

  /* ---- FLOATING ELEMENTS ---- */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 14px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .back-to-top {
    width: 38px;
    height: 38px;
    bottom: 74px;
    right: 14px;
    border-radius: 10px;
  }

  .back-to-top svg {
    width: 16px;
    height: 16px;
  }

  /* Map */
  .section-alt iframe {
    min-height: 220px;
    border-radius: 12px !important;
  }

  /* Disable hover transforms on touch */
  .service-card:hover,
  .why-card:hover,
  .project-card:hover,
  .industry-card:hover,
  .partner-card:hover,
  .vm-card:hover,
  .value-card:hover,
  .tech-card:hover {
    transform: none;
  }
}

/* --- VERY SMALL MOBILE (320px – 360px) --- */
@media (max-width: 360px) {
  html {
    font-size: 13.5px;
  }

  .container {
    padding: 0 12px;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }

  .nav {
    height: 76px;
  }

  .logo img {
    height: 56px;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 16px 8px;
  }

  .hero {
    padding: 90px 0 36px;
  }

  .hero-content h1 {
    font-size: 1.45rem;
  }

  .page-hero {
    padding: 90px 0 32px;
  }

  .page-hero h1 {
    font-size: 1.45rem;
  }

  .section {
    padding: 32px 0;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .industry-card {
    padding: 16px 8px;
  }

  .industry-icon {
    font-size: 1.5rem;
  }

  .industry-card h4 {
    font-size: 0.75rem;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .cta-banner {
    padding: 28px 14px;
  }

  .cta-banner h2 {
    font-size: 1.15rem;
  }

  .partner-card {
    flex: 1 1 calc(50% - 8px);
    padding: 14px 10px;
  }

  .form-group input,
  .form-group textarea {
    padding: 11px 12px;
  }
}
