/* Header positioning fix */
.header {
  position: relative;
  z-index: 100;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2) !important;
  box-shadow: 0 2px 12px rgba(51, 65, 85, 0.08) !important;
}

.header .brand span {
  color: #1e293b !important;
  text-shadow: 0 1px 2px rgba(51, 65, 85, 0.1) !important;
}

.header .desktop-nav a,
.header .mobile-nav a {
  color: #475569 !important;
}

.header .desktop-nav a:hover,
.header .mobile-nav a:hover {
  color: #1e293b !important;
  background: rgba(0, 128, 128, 0.08) !important;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(20, 184, 166, 0.5);
  border-radius: var(--radius-2xl);
  padding: var(--space-sm) var(--space-lg);
  margin: -24px auto var(--space-md) auto;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(20, 184, 166, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 128, 128, 0.1), transparent);
  transition: left 0.8s;
}

.hero-badge:hover::before {
  left: 100%;
}

.hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 128, 128, 0.12);
  border-color: rgba(0, 128, 128, 0.3);
}

.hero-badge i {
  color: #14b8a6;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-badge span {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero Features */
.hero-features {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin: var(--space-md) 0;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-sm);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 128, 128, 0.1);
  box-shadow: 0 4px 16px rgba(0, 128, 128, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 100px;
  position: relative;
  overflow: hidden;
}

.hero-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 128, 128, 0.1), transparent);
  transition: left 0.6s;
}

.hero-feature:hover::before {
  left: 100%;
}

.hero-feature:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 128, 128, 0.15);
  border-color: rgba(0, 128, 128, 0.2);
}

.hero-feature i {
  font-size: 1.5rem;
  color: #008080;
  background: linear-gradient(135deg, #008080, #0f766e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.hero-feature:hover i {
  transform: scale(1.1) rotateY(180deg);
}

.hero-feature span {
  font-size: 0.8rem;
  color: #334155;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

/* Hero Trust */
.hero-trust {
  margin-top: calc(var(--space-xs) - 48px);
  position: relative;
}

.hero-trust::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #008080, transparent);
}

.trust-text {
  font-size: 0.85rem;
  color: #64748b;
  font-style: italic;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 128, 128, 0.1);
  box-shadow: 0 2px 8px rgba(0, 128, 128, 0.05);
}

/* Button Secondary */
.btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* ================= BALANCED DESIGN ================= */

/* Body Background */
body {
  background: linear-gradient(180deg, #fafaff 0%, #f0f4ff 50%, #e8f2ff 100%);
  min-height: 100vh;
}

.hero {
  min-height: 50vh;
  background: linear-gradient(135deg, #1e293b 0%, #334155 35%, #475569 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: calc(var(--space-md) + 40px) 0 var(--space-md) 0;
  margin-top: 0;
}

.hero-center {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Description */
.hero-description {
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.7;
  margin: var(--space-md) auto;
  max-width: 600px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.3px;
  position: relative;
  padding: 0 var(--space-md);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #008080, transparent);
}

.hero-title {
  font-size: 2rem !important;
  font-weight: 400 !important;
  color: #ffffff;
  margin-bottom: var(--space-md);
  letter-spacing: 1px;
  line-height: 1.3;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-subtitle {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: var(--space-xl) !important;
  font-weight: 400;
  line-height: 1.5;
}

.hero-cta {
  margin-top: var(--space-sm);
  position: relative;
}

.hero-cta .btn {
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(0, 128, 128, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta .btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 128, 128, 0.4);
}

/* Services Medium Size */
.services-simple {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
}

.service-item i {
  font-size: 2rem;
  color: var(--primary-600);
  margin-bottom: var(--space-xs);
}

/* Industries Enhanced but Simple */
.industries-enhanced {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.08) 0%, rgba(15, 118, 110, 0.08) 100%);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 128, 128, 0.15);
  box-shadow: 0 8px 24px rgba(0, 128, 128, 0.1);
  position: relative;
  overflow: hidden;
}

.industries-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 128, 128, 0.05), transparent);
  transition: left 1s;
}

.industries-enhanced:hover::before {
  left: 100%;
}

.industry {
  background: linear-gradient(135deg, #008080 0%, #0f766e 50%, #115e59 100%);
  color: white;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.industry:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 128, 128, 0.35);
  background: linear-gradient(135deg, #14b8a6 0%, #008080 50%, #0f766e 100%);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Section Headers Medium */
.section h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: var(--space-xl);
  color: var(--gray-800);
  font-weight: 500;
}

.section {
  padding: var(--space-2xl) 0;
}

/* Button Medium Size */
.btn {
  display: inline-block !important;
  padding: 12px 24px !important;
  border-radius: 6px !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem !important;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-600);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-700);
  transform: translateY(-1px);
}

/* Testimonials Compact Boxes */
.testimonials-compact {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-small {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: var(--space-sm);
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  flex: 1;
  min-width: 250px;
  max-width: 280px;
}

.testimonial-small p {
  font-size: 0.85rem;
  color: var(--gray-700);
  margin-bottom: var(--space-xs);
  font-style: italic;
  line-height: 1.4;
}

.testimonial-small .author {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.testimonial-small .rating {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.testimonial-small .rating i {
  color: #fbbf24;
  font-size: 0.8rem;
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: var(--space-lg) !important;
  max-width: 600px !important;
  margin: 0 auto;
}

.leader-image {
  height: 180px !important;
}

.leader-info {
  padding: var(--space-sm) !important;
}

.leader-info h3 {
  font-size: 1rem !important;
  margin-bottom: var(--space-xs);
}

.leader-role {
  font-size: 0.8rem !important;
}

.leader-education {
  font-size: 0.75rem !important;
}

.leader-description {
  font-size: 0.8rem !important;
  line-height: 1.4;
}

.leader-stats {
  gap: var(--space-xs) !important;
  margin-bottom: var(--space-xs) !important;
}

.leader-stats .stat-number {
  font-size: 1rem !important;
}

.leader-stats .stat-label {
  font-size: 0.65rem !important;
}

.expertise-tag {
  font-size: 0.7rem !important;
  padding: 2px 6px !important;
}

/* Section Separations - Clean */
.contact-bg {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
  border-top: 1px solid #cbd5e1;
  position: relative;
}

.contact-bg h2 {
  color: var(--gray-800) !important;
}

.contact-bg p {
  color: var(--gray-600) !important;
}

.contact-bg .email {
  color: var(--primary-600) !important;
}

/* Enhanced section spacing */
.section {
  padding: var(--space-lg) 0;
  position: relative;
}

/* Team Members Compact */
.team-compact {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 0 auto;
}

.team-member {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: var(--space-md);
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  flex: 1;
  min-width: 250px;
  max-width: 280px;
}

.member-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  margin-bottom: var(--space-sm);
}

.team-member h3 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
  color: var(--gray-800);
}

.team-member .role {
  font-size: 0.85rem;
  color: var(--primary-600);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.team-member .education {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-bottom: var(--space-sm);
}

.team-member .stats {
  font-size: 0.8rem;
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.team-member .skills {
  display: flex;
  gap: var(--space-xs);
  justify-content: center;
  flex-wrap: wrap;
}

.team-member .skills span {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
}

/* Innovative Avatar Styles */
.member-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.member-avatar:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.avatar-initials {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 2;
  letter-spacing: 1px;
}

.avatar-ring {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: rotate 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.member-avatar:hover .avatar-ring {
  opacity: 1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ceo-avatar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ceo-avatar:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.cto-avatar {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.cto-avatar:hover {
  background: linear-gradient(135deg, #ed64a6 0%, #e53e3e 100%);
}

/* Section Background Variety */
.section:nth-child(even) {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.section:nth-child(odd) {
  background: transparent;
}

/* About Section - Elegant with Background */
.section-about {
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.06) 0%, rgba(15, 118, 110, 0.06) 100%) !important;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.about-compact {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-intro {
  margin-bottom: var(--space-xl);
}

.about-intro p {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.about-features-compact {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.feature-small {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: var(--space-md);
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  transition: transform 0.2s ease;
}

.feature-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.feature-small i {
  font-size: 1.5rem;
  color: var(--primary-600);
  margin-bottom: var(--space-sm);
}

.feature-small h4 {
  font-size: 0.95rem;
  color: var(--gray-800);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.feature-small p {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.4;
}

.about-stats-compact {
  display: flex;
  gap: var(--space-xl);
  justify-content: center;
  flex-wrap: wrap;
}

.stat-small {
  text-align: center;
}

.stat-small .number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-600);
  line-height: 1;
}

.stat-small .label {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: var(--space-xs);
}

/* Contact Section - Light Background */
.contact-bg {
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.06) 0%, rgba(15, 118, 110, 0.06) 100%) !important;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 128, 128, 0.1);
  position: relative;
}

/* Careers and Customers Page Compact Styling */
.careers-hero .hero-title,
.customers-hero .hero-title {
  font-size: 2.5rem !important;
  line-height: 1.2 !important;
}

/* Hero Title Single Line Fix */
.hero h1 {
  white-space: nowrap;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  display: inline-block;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: auto;
  max-width: 100%;
}

.careers-hero .hero-subtitle,
.customers-hero .hero-subtitle {
  font-size: 1.1rem !important;
  max-width: 600px !important;
}

.careers-hero .btn,
.customers-hero .btn {
  padding: 10px 20px !important;
  font-size: 0.9rem !important;
}

.section-title {
  font-size: 1.75rem !important;
  margin-bottom: var(--space-lg) !important;
}

.section-description {
  font-size: 1rem !important;
  max-width: 600px !important;
  margin: 0 auto var(--space-lg) auto !important;
}

.feature h4,
.impact-stat .stat-number {
  font-size: 1.1rem !important;
}

.feature p,
.stat-description {
  font-size: 0.9rem !important;
}

.hero-badge .badge-text {
  font-size: 0.8rem !important;
}

.section-badge {
  font-size: 0.75rem !important;
  padding: 6px 16px !important;
}

.contact-bg h2 {
  color: var(--gray-800) !important;
}

.contact-bg p {
  color: var(--gray-600) !important;
}

.contact-bg .email {
  color: var(--primary-600) !important;
}