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

:root {
  /* ─── Premium Blue & White Palette ─── */
  --primary-blue: #084B8A;
  --secondary-blue: #2A85FF;
  --accent-cyan: #00C9FF;
  --navy-dark: #0A1628;
  --navy-mid: #0F2240;
  --navy-light: #162D50;
  --light-blue-bg: #F0F7FF;
  --ice-blue: #E8F4FD;
  --white: #FFFFFF;
  --off-white: #F8FBFF;
  --text-dark: #1A202C;
  --text-gray: #4A5568;
  --text-light: rgba(255, 255, 255, 0.7);
  --whatsapp-green: #25D366;
  --linkedin-blue: #0077B5;

  /* Glass & Shadows */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(8, 75, 138, 0.08);
  --glass-dark: rgba(10, 22, 40, 0.85);

  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(8, 75, 138, 0.1);
  --shadow-lg: 0 25px 60px rgba(8, 75, 138, 0.15);
  --shadow-xl: 0 40px 80px rgba(8, 75, 138, 0.2);

  --border-radius: 12px;
  --border-radius-lg: 24px;
  --border-radius-xl: 40px;
  --transition-speed: 0.4s;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* ─── Reset ─── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Smooth Background ─── */
.bg-clouds {
  background: linear-gradient(180deg, #E8F4FD 0%, #F0F7FF 40%, #FFFFFF 100%);
  background-attachment: fixed;
  position: relative;
  min-height: 100vh;
}

.bg-clouds::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(42, 133, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(0, 201, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 70%, rgba(8, 75, 138, 0.03) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.bg-mesh-light,
.bg-mesh-dark {
  background: transparent !important;
}

/* ─── Typography ─── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* ─── Section Title System ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--secondary-blue);
  margin-bottom: 1.5rem;
}

.section-label .label-line {
  width: 40px;
  height: 2px;
  background: var(--secondary-blue);
  display: inline-block;
}

.section-number {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  color: rgba(8, 75, 138, 0.04);
  line-height: 1;
  position: absolute;
  top: -20px;
  left: 0;
  pointer-events: none;
  user-select: none;
}

.section-number-dark {
  color: rgba(255, 255, 255, 0.04);
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--navy-dark);
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.section-title-gradient {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
  max-width: 600px;
  font-weight: 400;
  line-height: 1.8;
}

/* ─── Button Styles ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-speed) var(--transition-smooth);
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  color: var(--white);
  box-shadow: 0 10px 30px -8px rgba(42, 133, 255, 0.5);
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary-blue), var(--accent-cyan));
  z-index: -1;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(42, 133, 255, 0.6);
  color: var(--white);
}

.btn-primary:hover::before {
  opacity: 1;
}

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

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

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

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

/* Button Group wrapper for responsive stacking */
.btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

/* ─── Navbar (Premium Glassmorphism) ─── */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1180px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2.5rem;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(8, 75, 138, 0.08);
  transition: all 0.5s var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 40px rgba(8, 75, 138, 0.12);
  top: 10px;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand img {
  height: 38px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-brand:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-gray);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.92rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

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

.nav-social .linkedin-icon {
  color: var(--linkedin-blue);
  font-size: 1.4rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-blue-bg);
}

.nav-social .linkedin-icon:hover {
  transform: translateY(-2px);
  background: var(--primary-blue);
  color: var(--white);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-blue);
  padding: 0.5rem;
}

/* ─── Hero Section ─── */
.hero-section {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  align-items: center;
  width: 100%;
  background: var(--white);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(8, 75, 138, 0.04);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--ice-blue);
  color: var(--primary-blue);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  border: 1px solid rgba(8, 75, 138, 0.08);
}

.hero-eyebrow i {
  font-size: 0.7rem;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: var(--navy-dark);
  margin-bottom: 1.5rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 500px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 550px;
}

.hero-image-wrapper .hero-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.hero-image-wrapper .hero-float-card {
  position: absolute;
  bottom: 30px;
  left: -40px;
  background: var(--white);
  padding: 1.8rem 2.2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  border: 1px solid rgba(8, 75, 138, 0.06);
}

.hero-float-card .float-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-float-card .float-label {
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-bg-number {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 25rem;
  font-weight: 900;
  color: rgba(8, 75, 138, 0.02);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* ─── Numbered Section Divider ─── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
}

.section-divider-number {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary-blue);
  letter-spacing: 2px;
}

.section-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(42, 133, 255, 0.3), transparent);
}

/* ─── About Section ─── */
.about-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 90%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.about-img-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--secondary-blue);
  border-radius: var(--border-radius-lg);
  z-index: 1;
  opacity: 0.3;
}

.about-overlay-card {
  position: absolute;
  bottom: -30px;
  right: 0;
  background: var(--white);
  padding: 2rem 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  border: 1px solid rgba(8, 75, 138, 0.06);
}

.about-overlay-card h4 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 0.3rem;
  font-weight: 900;
}

.about-overlay-card p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text-content .about-description {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.about-text-content .about-description-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
}

/* ─── Services Section ─── */
.services-section {
  padding: 8rem 0;
  position: relative;
}

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

.service-card-v2 {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 75, 138, 0.06);
  transition: all 0.5s var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.service-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--transition-smooth);
}

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

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

.service-card-v2 .card-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: var(--ice-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 2rem;
  transition: all 0.4s ease;
}

.service-card-v2:hover .card-icon {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  color: var(--white);
  transform: scale(1.05);
}

.service-card-v2 h3 {
  font-size: 1.5rem;
  color: var(--navy-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-card-v2 p {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-card-v2 .card-link {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.service-card-v2 .card-link:hover {
  gap: 14px;
  color: var(--secondary-blue);
}

/* ─── Dark Stats Section ─── */
.stats-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue), var(--accent-cyan));
}

.stats-section::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(42, 133, 255, 0.08), transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(42, 133, 255, 0.3), transparent);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-number .counter-suffix {
  font-size: 2rem;
  color: var(--secondary-blue);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* ─── Clients Carousel Section (Polished) ─── */
.clients-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.clients-title {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 3;
}

.clients-carousel-wrapper {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  width: 100%;
  /* Use mask-image for a true transparency-based fade that works on any background */
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 7rem;
  animation: scroll-clients 45s linear infinite; /* Increased timing for smoother scroll */
  width: max-content;
}

.client-logo {
  flex: 0 0 auto;
  height: 42px; /* Subtle size adjustment for premium feel */
  width: auto;
  opacity: 0.6;
  transition: all 0.4s var(--transition-smooth);
  display: flex;
  align-items: center;
}

.client-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* Targeted inversion for dark logos on dark backgrounds */
.logo-invert {
  filter: brightness(0) invert(1);
}

.client-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

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

/* Pause animation on hover */
.clients-carousel-wrapper:hover .clients-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .clients-track {
    gap: 3rem;
  }
  .client-logo {
    height: 40px;
  }
}

/* ─── Why Choose Us Section ─── */
.why-section {
  padding: 8rem 0;
  position: relative;
}

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

.why-card {
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  background: var(--white);
  border: 1px solid rgba(8, 75, 138, 0.06);
  transition: all 0.4s var(--transition-smooth);
  text-align: center;
  display: block; /* Ensure it behaves as a block even on <a> tags */
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42, 133, 255, 0.15);
}

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

.why-card:hover .why-icon {
  background: var(--primary-blue);
  color: var(--white);
  transform: scale(1.1);
}

.why-card h4 {
  font-size: 1.2rem;
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
}

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

/* ─── CTA Section ─── */
.cta-section {
  padding: 6rem 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 50%, var(--primary-blue) 100%);
  border-radius: var(--border-radius-xl);
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(42, 133, 255, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 201, 255, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-box p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-box .cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ─── Floating WhatsApp ─── */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #25D366, #1DA851);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: all 0.4s var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

/* ─── Footer (Dark Premium) ─── */
footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue), var(--accent-cyan));
}

footer::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(42, 133, 255, 0.05), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.footer-brand-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  max-width: 320px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-links a:hover {
  background: var(--secondary-blue);
  color: var(--white);
  transform: translateY(-3px);
  border-color: var(--secondary-blue);
}

footer h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
}

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

footer ul li {
  margin-bottom: 0.8rem;
}

footer ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

footer ul li a:hover {
  color: var(--secondary-blue);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--secondary-blue);
  margin-top: 4px;
  font-size: 0.9rem;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

/* ─── Glass Card ─── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

/* ─── Page Header (for subpages) ─── */
.page-hero {
  padding-top: 140px;
  padding-bottom: 4rem;
  position: relative;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(8, 75, 138, 0.04);
}

.page-hero-content {
  padding: 4rem;
}

.page-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--navy-dark);
  margin-bottom: 1.5rem;
  font-weight: 900;
}

.page-hero-content p {
  font-size: 1.1rem;
  color: var(--text-gray);
  line-height: 1.8;
}

.page-hero-image {
  height: 100%;
  min-height: 550px;
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── GSAP Animation Classes ─── */
.gsap-reveal {
  opacity: 0;
  transform: translateY(40px);
  visibility: visible !important;
}

.gsap-reveal-left {
  opacity: 0;
  transform: translateX(-60px);
}

.gsap-reveal-right {
  opacity: 0;
  transform: translateX(60px);
}

.gsap-reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

.hero-anim {
  opacity: 0;
  transform: translateY(30px);
}

.gsap-stagger-card {
  opacity: 0;
  transform: translateY(40px);
}

/* ─── Services Page ─── */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-page-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(8, 75, 138, 0.06);
  transition: all 0.4s var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-page-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

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

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

.service-page-card .card-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: var(--ice-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.service-page-card h3 {
  font-size: 1.4rem;
  color: var(--navy-dark);
  margin-bottom: 1rem;
}

.service-page-card .card-text {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex: 1;
}

/* ─── Contact Page ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(8, 75, 138, 0.06);
}

.contact-map-area {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.contact-map-area .pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--secondary-blue);
  font-size: 2.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.contact-details {
  padding: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.contact-detail-item i {
  color: var(--primary-blue);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.contact-detail-item span {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(8, 75, 138, 0.06);
}

.contact-form-card h3 {
  color: var(--navy-dark);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1.5px solid rgba(8, 75, 138, 0.1);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--off-white);
  outline: none;
  transition: all 0.3s ease;
  color: var(--text-dark);
}

.form-input:focus {
  border-color: var(--secondary-blue);
  box-shadow: 0 0 0 4px rgba(42, 133, 255, 0.08);
  background: var(--white);
}

.form-input::placeholder {
  color: var(--text-gray);
  font-weight: 400;
}

/* ─── Careers Page ─── */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.job-card {
  background: var(--white);
  border: 1px solid rgba(8, 75, 138, 0.06);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42, 133, 255, 0.15);
}

.job-tag {
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tag-blue {
  background: var(--ice-blue);
  color: var(--primary-blue);
}

.tag-green {
  background: #dcfce7;
  color: #16a34a;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  width: 90%;
  max-width: 800px;
  height: 90vh;
  border-radius: var(--border-radius-lg);
  position: relative;
  transform: translateY(30px);
  transition: all 0.4s var(--transition-smooth);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(8, 75, 138, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #ef4444;
}

.modal-body {
  flex: 1;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Loading */
.loading-jobs {
  text-align: center;
  padding: 4rem;
  font-size: 1.1rem;
  color: var(--primary-blue);
}

.spinner {
  border: 3px solid rgba(8, 75, 138, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border-left-color: var(--secondary-blue);
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

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

/* ─── Animations ─── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* ─── Utilities ─── */
.section-padding {
  padding: 8rem 0;
}

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

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-3 {
  margin-top: 3rem;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrapper .hero-float-card {
    left: 20px;
    bottom: -20px;
  }

  .hero-bg-number {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .about-img-main {
    width: 100%;
  }

  .services-grid-home {
    grid-template-columns: 1fr;
  }

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

  .stat-item:nth-child(2)::after {
    display: none;
  }

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

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

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

  .page-hero-content {
    padding: 3rem 2rem;
  }

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

/* Global grids (used in contact page quick actions, etc.) */
.responsive-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.responsive-grid-2-tight {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  /* Utility Classes for Responsive Grids */
  .responsive-grid-2 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .responsive-grid-2-tight {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Make button groups stack full width on mobile */
  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

  .navbar {
    width: 95%;
    padding: 0.7rem 1.5rem;
    top: 10px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(8, 75, 138, 0.06);
    gap: 0.5rem;
    text-align: center;
  }

  .nav-social {
    display: none !important;
  }

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

  .hamburger {
    display: block;
  }

  .hero-section {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-content {
    padding: 1.5rem 1rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 1rem;
    padding: 0 1rem;
  }

  .hero-image-wrapper .hero-img-main {
    height: 380px;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
  }

  .hero-image-wrapper .hero-float-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 90%;
    margin-top: -40px;
    padding: 1.5rem;
  }

  .about-overlay-card {
    position: relative;
    bottom: 0;
    margin-top: -30px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .stats-section {
    padding: 4rem 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .stat-item {
    padding: 1rem;
  }

  .stat-item::after {
    display: none !important;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .cta-box {
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius-lg);
  }

  .services-page-grid {
    grid-template-columns: 1fr;
  }

  .service-card-v2, .why-card, .service-page-card, .glass-card, .project-content {
    padding: 1.5rem;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }
  
  .about-section, .services-section, .why-section, .projects-section, .approach-section {
    padding: 4rem 0;
  }
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-blue), var(--secondary-blue));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* ─── Selection ─── */
::selection {
  background: rgba(42, 133, 255, 0.15);
  color: var(--navy-dark);
}
/* ─── Projects Section ─── */
.projects-section {
  padding: 8rem 0;
  position: relative;
  background: var(--off-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s var(--transition-smooth);
  border: 1px solid rgba(8, 75, 138, 0.06);
}

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

.project-img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.08);
}

.project-content {
  padding: 2rem;
}

.project-category {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.project-title {
  font-size: 1.3rem;
  color: var(--navy-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.project-desc {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── Approach Section ─── */
.approach-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}
.approach-grid {
  /* Inherits from about-grid */
}
@media (max-width: 992px) {
  .approach-grid .approach-text-content {
    order: 2 !important;
  }
  .approach-grid .about-images {
    order: 1 !important;
  }
}
