:root {
  /* Updated to subtle, matte colors with sophisticated palette */
  --primary: #c85a3a;
  --secondary: #2c3e50;
  --accent: #6b8ba8;
  --background: #fafbfc;
  --surface: #f3f5f8;
  --text: #2c3e50;
  --text-light: #7a8fa3;
  --border: #d8dfe8;
  --success: #5fa885;
  --warning: #d4945f;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
  opacity: 1;
  transition: opacity 0.3s ease;
}

body:not(.loaded) .hero-text h1,
body:not(.loaded) .hero-subtitle,
body:not(.loaded) .hero-ctas,
body:not(.loaded) .hero-image {
  opacity: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.1rem;
}

p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ENHANCED ANIMATIONS ===== */

/* Keyframe Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes flip {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(180deg);
  }
}

/* NEW ENHANCED ANIMATIONS */

/* Bounce Animation for CTAs */
@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0,0,0);
  }
  40%, 43% {
    transform: translate3d(0,-8px,0);
  }
  70% {
    transform: translate3d(0,-4px,0);
  }
}

/* Typewriter Effect */
@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blinkCursor {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: var(--primary);
  }
}

/* Staggered Fade In */
@keyframes staggeredFade {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glow Effect */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(200, 90, 58, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(200, 90, 58, 0.6), 0 0 30px rgba(200, 90, 58, 0.4);
  }
}

/* Morphing Background */
@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40%/50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  }
}

/* Slide Up with Spring */
@keyframes slideUpSpring {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  80% {
    transform: translateY(-5px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Rotate 3D */
@keyframes rotate3D {
  0% {
    opacity: 0;
    transform: rotate3d(1, 1, 0, 45deg);
  }
  100% {
    opacity: 1;
    transform: rotate3d(0, 0, 0, 0deg);
  }
}

/* Wave Animation */
@keyframes wave {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(0);
  }
}

/* Gradient Shift */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Ripple Effect */
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Loading Animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Shake Animation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Card Entrance */
@keyframes cardEntrance {
  to {
    opacity: 1;
    transform: perspective(1000px) rotateX(0) translateY(0);
  }
}

/* Loading Bar */
@keyframes loadingBar {
  0% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

/* Count Up */
@keyframes countUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Success Check */
@keyframes successCheck {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Floating Animation */
@keyframes floating {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===== ANIMATION CLASSES ===== */

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.float-up {
  animation: floatUp 0.8s ease-out;
}

.scale-in {
  animation: scaleIn 0.6s ease-out;
}

.bounce {
  animation: bounce 1s ease infinite;
}

.typewriter {
  overflow: hidden;
  border-right: 3px solid var(--primary);
  white-space: nowrap;
  animation: typewriter 3s steps(40, end), blinkCursor 0.8s step-end infinite;
}

.staggered-fade > * {
  opacity: 0;
  animation: staggeredFade 0.6s ease-out forwards;
}

.staggered-fade > *:nth-child(1) { animation-delay: 0.1s; }
.staggered-fade > *:nth-child(2) { animation-delay: 0.2s; }
.staggered-fade > *:nth-child(3) { animation-delay: 0.3s; }
.staggered-fade > *:nth-child(4) { animation-delay: 0.4s; }
.staggered-fade > *:nth-child(5) { animation-delay: 0.5s; }
.staggered-fade > *:nth-child(6) { animation-delay: 0.6s; }

.glow {
  animation: glow 2s ease-in-out infinite;
}

.morph {
  animation: morph 8s ease-in-out infinite;
}

.slide-up-spring {
  animation: slideUpSpring 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rotate-3d {
  animation: rotate3D 1s ease-out;
}

.wave {
  display: inline-block;
  animation: wave 2s ease-in-out infinite;
}

.gradient-shift {
  background: linear-gradient(-45deg, var(--primary), var(--secondary), var(--accent), var(--success));
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

.loading {
  animation: spin 1s linear infinite;
}

.success-check {
  animation: successCheck 0.6s ease-out;
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

.card-entrance {
  opacity: 0;
  transform: perspective(1000px) rotateX(10deg) translateY(50px);
  animation: cardEntrance 0.8s ease-out forwards;
}

.counter {
  display: inline-block;
  animation: countUp 0.5s ease-out forwards;
}

.loading-bar {
  animation: loadingBar 2s ease-in-out infinite;
}

/* Staggered Grid Animation */
.staggered-grid > * {
  opacity: 0;
  transform: translateY(30px);
  animation: staggeredFade 0.6s ease-out forwards;
}

.staggered-grid > *:nth-child(1) { animation-delay: 0.1s; }
.staggered-grid > *:nth-child(2) { animation-delay: 0.2s; }
.staggered-grid > *:nth-child(3) { animation-delay: 0.3s; }
.staggered-grid > *:nth-child(4) { animation-delay: 0.4s; }
.staggered-grid > *:nth-child(5) { animation-delay: 0.5s; }
.staggered-grid > *:nth-child(6) { animation-delay: 0.6s; }

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-animate.delay-1 { transition-delay: 0.1s; }
.scroll-animate.delay-2 { transition-delay: 0.2s; }
.scroll-animate.delay-3 { transition-delay: 0.3s; }
.scroll-animate.delay-4 { transition-delay: 0.4s; }

/* Page Transition */
.page-transition {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease-out 0.2s forwards;
}

/* ===== HOVER EFFECTS ===== */

.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.hover-glow {
  transition: all 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(200, 90, 58, 0.4);
  transform: translateY(-2px);
}

.hover-shake:hover {
  animation: shake 0.5s ease-in-out;
}

.hover-pulse:hover {
  animation: pulse 1s ease infinite;
}

.flip-card {
  transition: all 0.3s ease;
  background-position: 0% center;
}

.flip-card:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  transform: translateY(-5px);
}

.flip-card:hover h3,
.flip-card:hover p,
.flip-card:hover .card-link {
  color: white;
}

.flip-card:hover .card-link {
  color: rgba(255, 255, 255, 0.9);
}

.focus-scale:focus {
  transform: scale(1.05);
  box-shadow: 0 0 0 3px rgba(200, 90, 58, 0.3);
}

/* ===== NAVIGATION ===== */

.navbar {
  background: var(--background);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.navbar-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-brand {
  flex: 0 0 auto;
  margin-right: auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  color: var(--primary);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(15deg);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: 2rem;
  flex-grow: 1;
  justify-content: center; /* 👈 PERFECT CENTER */
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0.8rem;
  white-space: nowrap;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transition: left 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::before {
  left: 0;
}

.nav-link:hover::after {
  width: 100%;
}

.cta-button {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  flex: 0 0 auto;
  margin-left: auto;
  position: relative;
  overflow: hidden;
}

.cta-button::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;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background-color: transparent;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(200, 90, 58, 0.3);
}

/* Ripple Effects */
.ripple, .ripple-enhanced {
  position: relative;
  overflow: hidden;
}

.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  margin-left: 1rem;
  transition: all 0.3s ease;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

.nav-menu.active {
  display: flex !important;
  animation: slideInRight 0.3s ease-out;
}

/* ===== HERO SECTION ===== */

.hero {
  padding: 6rem 20px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(27, 43, 77, 0.02) 100%);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--secondary);
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: slideInLeft 0.8s ease-out 0.6s both;
}

.cta-primary,
.cta-secondary {
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.cta-primary {
  background-color: var(--primary);
  color: white;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.2);
}

.cta-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cta-secondary:hover {
  background-color: var(--primary);
  color: white;
}

.cta-primary.large {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  animation: slideInRight 0.8s ease-out 0.4s both;
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #e8f0f5 0%, #d0e4f2 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.image-placeholder:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-placeholder.large {
  height: 500px;
}

.image-placeholder svg {
  width: 100%;
  height: 100%;
}

/* Hero Stats */
.hero-stats {
  max-width: 1200px;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--surface);
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ===== SECTIONS ===== */

.why-choose,
.services-preview,
.cta-section,
.services-detail,
.solutions-content,
.industries-content,
.careers-content,
.contact-content {
  padding: 5rem 20px;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--secondary);
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  animation: floatUp 0.6s ease-out both;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-card p {
  margin-bottom: 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 10px;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.card-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.card-link:hover {
  transform: translateX(5px);
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(27, 43, 77, 0.05) 100%);
  padding: 4rem 20px;
  text-align: center;
  margin-bottom: 3rem;
}

.page-hero h1 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.about-text h2 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.mission-section {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(74, 144, 226, 0.05) 100%);
  padding: 3rem;
  border-radius: 10px;
  text-align: center;
  max-width: 1200px;
  margin: 3rem auto;
  transition: all 0.3s ease;
}

.mission-section:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.mission-text {
  font-size: 1.3rem;
  color: var(--secondary);
  font-weight: 500;
}

/* Global Network */
.global-network {
  max-width: 1200px;
  margin: 3rem auto;
}

.global-network h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.network-item {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  font-weight: 600;
  color: var(--secondary);
  transition: all 0.3s ease;
}

.network-item:hover {
  transform: translateX(5px);
  background: var(--primary);
  color: white;
}

/* Leadership */
.leadership {
  max-width: 1200px;
  margin: 3rem auto;
}

.leadership h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.leadership-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.leadership-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.leadership-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #e8f0f5 0%, #d0e4f2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.leadership-card:hover .leadership-image {
  transform: scale(1.05);
}

.leadership-image svg {
  width: 100%;
  height: 100%;
}

.leadership-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Service Detail Items */
.service-detail-item {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 2rem;
  background: var(--surface);
  border-radius: 10px;
  border-left: 5px solid var(--primary);
  transition: all 0.3s ease;
}

.service-detail-item:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-number {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.service-detail-item h2 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.service-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

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

.feature {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.feature p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Solutions */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto;
}

.solution-card {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.solution-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.solution-card:hover .solution-icon {
  transform: scale(1.1) rotate(5deg);
}

.solution-icon svg {
  width: 100%;
  height: 100%;
}

.solution-card h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.solution-tagline {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

.solution-description {
  margin-bottom: 1.5rem;
}

.use-cases,
.benefits {
  list-style: none;
  margin-bottom: 1.5rem;
}

.use-cases li,
.benefits li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.solution-card:hover .use-cases li,
.solution-card:hover .benefits li {
  color: var(--text);
}

.use-cases li::before,
.benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.future-partnerships {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(74, 144, 226, 0.05) 100%);
  padding: 2rem;
  border-radius: 10px;
  max-width: 1200px;
  margin: 3rem auto;
  text-align: center;
  transition: all 0.3s ease;
}

.future-partnerships:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Industries */
.industries-intro {
  text-align: center;
  font-size: 1.05rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.industry-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.industry-icon {
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

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

.industry-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.industry-card ul {
  list-style: none;
}

.industry-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.industry-card:hover li {
  color: var(--text);
  transform: translateX(5px);
}

.industry-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Careers */
.careers-intro {
  max-width: 1200px;
  margin: 0 auto 3rem;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto 3rem;
}

.benefit-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.benefit-card h3 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.opportunities {
  max-width: 1200px;
  margin: 3rem auto;
}

.opportunities h2 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

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

.role-item {
  background: white;
  border: 2px solid var(--border);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.role-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.role-item h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.role-item p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.careers-cta {
  text-align: center;
  margin: 2rem 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.contact-info h2 {
  color: var(--secondary);
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-item p {
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-item a:hover {
  text-decoration: underline;
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-block;
  background: var(--surface);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Contact Form */
.contact-form {
  background: var(--surface);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.contact-form:hover {
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 90, 58, 0.1);
  transform: translateY(-2px);
}

.contact-form button {
  width: 100%;
}

.form-message {
  padding: 1rem;
  border-radius: 5px;
  border-left: 4px solid;
  font-weight: 500;
  animation: slideInRight 0.5s ease-out;
}

/* Map Section */
.map-section {
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #e8f0f5 0%, #d0e4f2 100%);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.map-placeholder:hover {
  transform: scale(1.01);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.map-placeholder svg {
  width: 100%;
  height: 100%;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background: var(--secondary);
  color: white;
  padding: 3rem 20px 1rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-section p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom .social-links {
  justify-content: center;
  margin-top: 1rem;
}

.footer-bottom .social-icon {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.footer-bottom .social-icon:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

/* Text Effects */
.highlight {
  color: var(--primary);
  font-weight: 600;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Smooth Transitions */
a,
button,
input,
textarea,
select {
  transition: all 0.3s ease;
}

/* SVG Animations */
svg circle,
svg path,
svg rect,
svg line {
  transition: all 0.3s ease;
}

.hover-lift:hover svg {
  opacity: 0.9;
  filter: brightness(1.1);
}

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

@media (max-width: 1024px) {
  .nav-menu {
    margin: 0 2rem;
    max-width: 700px;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .features-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    text-align: center;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    gap: 0;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    justify-content: flex-start;
  }

  .nav-menu.active li {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }

  .nav-link {
    display: block;
    padding: 0.8rem 1rem;
  }

  .cta-button {
    margin-left: 1rem;
  }

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

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

  .features-grid,
  .services-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-features {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .navbar-container {
    padding: 1rem 15px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .cta-button {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: 3rem 15px;
  }

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

  .hero-text h1 {
    font-size: 1.5rem;
  }

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

  .stat-item {
    padding: 1.5rem;
  }

  .roles-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

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

  .map-placeholder {
    height: 300px;
  }
  
  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Ensure animations work properly */
.loaded .hero-text h1,
.loaded .hero-subtitle,
.loaded .hero-ctas,
.loaded .hero-image {
  animation-play-state: running !important;
}

/* Prevent animations from running immediately */
.hero-text h1,
.hero-subtitle,
.hero-ctas,
.hero-image {
  animation-play-state: paused;
}
