/* =========================================
   TechSoft - Main Stylesheet
   ========================================= */

/* --- Variables & Reset --- */
:root {
  --bg: #071127;
  --card: #07182a88;
  --mint: #00F2A1;
  --blue: #0055FF;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.03);

  /* Layout Variables */
  --container-width: 1280px;
  --lateral-pad: 30px;
  --section-gap: 100px;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: #eaf2ff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

body.loaded {
  opacity: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

h1 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(120deg, #fff, var(--mint), #56a8ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

p.lead {
  color: rgba(235, 246, 255, 0.9);
  font-size: 18px;
  line-height: 1.7;
  margin: 0 auto 30px;
  max-width: 800px;
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  background: linear-gradient(180deg, rgba(7, 17, 38, .85), rgba(7, 17, 38, .65));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header.scrolled {
  padding: 12px 0;
  background: rgba(7, 17, 38, .95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--mint);
  width: 0%;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(0, 242, 161, 0.5);
  z-index: 101;
}

.brand {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 40px;
  position: relative;
  z-index: 10;
  max-width: 200px;
  overflow: hidden;
}

header.scrolled .brand {
  transform: scale(0.9);
}

.brand:hover {
  transform: scale(1.05);
}

.brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

nav a {
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  color: #dff3ff;
  opacity: .8;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40%;
  height: 2px;
  background: var(--mint);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 0 10px rgba(0, 242, 161, 0.5);
  transform-origin: center;
}

nav a:hover {
  background: var(--glass);
  transform: translateY(-2px);
}

nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

nav a.active {
  background: rgba(0, 242, 161, 0.08);
  color: var(--mint);
  opacity: 1;
  box-shadow: 0 0 20px rgba(0, 242, 161, 0.05);
}

nav a.active::after {
  transform: translateX(-50%) scaleX(1.2);
  height: 3px;
  opacity: 1;
}

/* --- Buttons & CTAs --- */
.btn {
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  transition: all 0.3s ease;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.2;
}

/* --- Services: Page Header --- */
.page-header {
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  color: #fff;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 35, 0.85);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header .hero-ctas {
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(90deg, var(--mint), #56a8ff);
  color: #042035;
  box-shadow: 0 6px 20px rgba(0, 242, 161, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 242, 161, 0.5);
}

.btn-ghost,
.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .12);
  color: #eaf2ff;
}

.btn-ghost:hover,
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--mint);
  transform: translateY(-3px);
}

.cta-small {
  background: linear-gradient(90deg, var(--mint), #56a8ff);
  color: #042028 !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 242, 161, 0.3);
  transition: all 0.3s ease;
}

.cta-small::after {
  display: none;
}

.cta-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 242, 161, 0.5);
  color: #00f2a1 !important;
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 110;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--mint);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* --- Layout Utilities --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--lateral-pad);
  padding-right: var(--lateral-pad);
  width: 100%;
}

@media (max-width: 768px) {
  :root {
    --lateral-pad: 20px;
    --section-gap: 60px;
  }
}

main {
  flex: 1;
}

/* Used in subpages (About, Services, etc) */
main.container,
.main-body {
  padding: 0 0 var(--section-gap);
  max-width: 100%;
  margin: 0;
}

.main-body .page-header+.container {
  padding-top: var(--section-gap);
}

section.wrap {
  padding: var(--section-gap) 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.page-header {
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 0 0;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: fadeInUp 0.8s ease-out;
}

.page-header::before,
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 17, 39, 0.7), rgba(7, 17, 39, 0.9));
  z-index: 1;
}

.page-header .container,
.hero .container {
  position: relative;
  z-index: 2;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, var(--mint), transparent);
  animation: scrollDown 2s infinite;
  z-index: 2;
}

@keyframes scrollDown {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--mint), #56a8ff);
  z-index: 9999;
}

/* --- Staggered Animation Delay Utilities --- */
/* These classes can be applied to elements that are animated,
   and JavaScript can dynamically add transition-delay based on index.
   For example, using an Intersection Observer to trigger animations
   with a staggered delay. The actual delay calculation and application
   would typically be handled by JavaScript. */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-item.animate {
  opacity: 1;
  transform: translateY(0);
}

/* --- Index: Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at top right, rgba(0, 242, 161, 0.05), transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

.hero-image {
  position: relative;
  border-radius: 20px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: slideInRight 1s ease-out;
}

.hero-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: block;
  margin-top: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, var(--mint), transparent);
  animation: scrollDown 2s infinite;
  z-index: 2;
}

.hero .container {
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(ellipse at top, rgba(0, 242, 161, 0.08), transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  animation: slideInRight 1.2s ease-out;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  mask-image: linear-gradient(to left, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 80%, transparent 100%);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: left;
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

@media (max-width: 992px) {
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
}

/* Remove old split layout hero-bg */
.hero-bg {
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--mint), #56a8ff);
  padding: 8px 16px;
  border-radius: 999px;
  color: #042028;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 13px;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

@media (max-width: 992px) {
  .hero-ctas {
    justify-content: center;
  }
}

/* --- Index: Trust Bar --- */
.trust {
  margin: -60px 0 var(--section-gap);
  position: relative;
  z-index: 10;
  padding: 30px;
  border-radius: 16px;
  background: rgba(7, 24, 42, 0.7);
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.trust div {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  color: #dff3ff;
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
  font-size: 16px;
}

.trust div:hover {
  background: rgba(0, 242, 161, 0.1);
  transform: translateY(-3px);
}

.trust div i {
  color: var(--mint);
  font-size: 20px;
}

/* --- Common: Grid Systems --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 100%;
  margin: 0;
}

/* --- Index: Feature Cards --- */
.feature {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature::before,
.service::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 242, 161, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature:hover::before,
.service:hover::before {
  opacity: 1;
}

.feature:hover,
.service:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 161, 0.3);
  box-shadow: 0 15px 40px rgba(0, 242, 161, 0.15);
}

.feature .img {
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}

.feature img,
.service img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature:hover img,
.service:hover img {
  transform: scale(1.1);
}

.feature h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #fff;
}

.feature p {
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-link,
.learn-more {
  color: var(--mint);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

.feature-link:hover,
.learn-more:hover {
  gap: 12px;
  opacity: 0.8;
}

/* --- Services Page: Service Cards --- */
.service {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.service .thumb {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.service .thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 17, 39, 0.8));
}

.service-content {
  padding: 24px;
  position: relative;
  z-index: 1;
}

.service h3 {
  margin-bottom: 14px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service h3 i {
  color: var(--mint);
  font-size: 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service:hover h3 i {
  text-shadow: 0 0 20px rgba(0, 242, 161, 0.6);
  transform: scale(1.15) rotate(5deg);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.features-list li {
  padding: 8px 0;
  opacity: 0.85;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features-list li::before {
  content: '✓';
  color: var(--mint);
  font-weight: 700;
}

/* --- Index: Stats Counter --- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 100%;
  margin: var(--section-gap) 0;
  padding: 0;
}

.stat {
  text-align: center;
  padding: 28px;
  background: linear-gradient(135deg, rgba(0, 242, 161, 0.05), transparent);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 161, 0.3);
}

.stat .number {
  font-size: 42px;
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 8px;
}

.stat .label {
  opacity: 0.85;
  font-size: 16px;
}

/* --- Common: CTA Section --- */
.final-cta {
  margin: var(--section-gap) 0 100px;
  padding: 80px 0;
  border-radius: 24px;
  background: linear-gradient(135deg, #0055FF 0%, #05294d 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 85, 255, 0.3);
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 242, 161, 0.2), transparent 50%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.final-cta h2,
.final-cta p,
.final-cta .btn {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin-bottom: 4px;
}

.final-cta p {
  margin-bottom: 4px;
}

.cta-section {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 60px;
  flex-wrap: wrap;
}

/* --- Services: Why Section --- */
.why-section {
  margin-top: 80px;
  padding: 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.why-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.benefit {
  padding: 24px;
  background: linear-gradient(135deg, rgba(0, 242, 161, 0.05), transparent);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.benefit:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 161, 0.3);
  background: rgba(0, 242, 161, 0.08);
}

.benefit i {
  font-size: 32px;
  color: var(--mint);
  margin-bottom: 12px;
  display: block;
}

/* --- About Page --- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.text-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--mint);
}

.image-content {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-content img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.image-content:hover img {
  transform: scale(1.05);
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 100px;
}

.value-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  border-color: var(--mint);
  background: rgba(255, 255, 255, 0.06);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(0, 242, 161, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: var(--mint);
}

/* --- Industries Page --- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.industry-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: all 0.4s ease;
}


.industry-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 161, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.industry-card h3 {
  margin-bottom: 14px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.industry-card h3 i {
  color: var(--mint);
  font-size: 24px;
}

.card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-card:hover .card-img img {
  transform: scale(1.1);
}

.card-content {
  padding: 30px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  font-size: 13px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  color: var(--mint);
  border: 1px solid rgba(0, 242, 161, 0.1);
}

/* --- Careers Page --- */
.culture-section {
  margin-bottom: 80px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(0, 85, 255, 0.1), transparent);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.jobs-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 32px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.job-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(10px);
  border-color: var(--mint);
}

.job-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  opacity: 0.6;
}

.apply-btn {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--mint);
  color: var(--mint);
  border-radius: 100px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* --- Selection Styling --- */
::selection {
  background-color: var(--mint);
  color: #042035;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.apply-btn:hover {
  background: var(--mint);
  color: #042035;
}

/* --- Contact Page --- */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.info-card i {
  color: var(--mint);
  font-size: 28px;
  margin-bottom: 20px;
  display: block;
}

.info-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.info-card p,
.info-card a {
  color: rgba(235, 246, 255, 0.7);
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: var(--mint);
}

.text-break {
  word-wrap: break-word;
  word-break: break-all;
  overflow-wrap: break-word;
  font-size: 15px !important;
}

.landmark-text {
  font-size: 13px;
  margin-top: 8px;
  opacity: 0.7;
  display: block;
  font-style: italic;
}

.contact-form {
  background: linear-gradient(135deg, rgba(7, 17, 38, 0.95), rgba(7, 17, 38, 0.85));
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  transition: all 0.3s ease;
  pointer-events: none;
}

.input-with-icon:focus-within i {
  color: var(--mint);
}

.form-group select {
  width: 100%;
  padding: 14px 40px 14px 45px;
  background: rgba(255, 255, 255, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 16px center;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px 14px 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--mint);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 242, 161, 0.1);
}

.form-group select option {
  background-color: #07182a;
  color: #fff;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(90deg, var(--mint), #56a8ff);
  color: #042035;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 242, 161, 0.4);
  filter: brightness(1.1);
}

/* --- Premium Footer --- */
footer {
  background: linear-gradient(180deg, rgba(7, 17, 38, 0.95), #020b1c);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--section-gap) 0 30px;
  color: #eaf2ff;
  font-family: 'Poppins', sans-serif;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 24px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(235, 246, 255, 0.7);
  transition: all 0.3s ease;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-col ul li a:hover {
  color: var(--mint);
  transform: translateX(5px);
}

.footer-col ul li i {
  color: var(--mint);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.footer-col ul li a i,
.footer-col ul li span i {
  margin-top: 4px;
}

.footer-col ul li span {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.footer-brand p {
  opacity: 0.7;
  line-height: 1.6;
  margin: 20px 0;
  font-size: 15px;
  max-width: 300px;
}

.newsletter-form {
  position: relative;
  margin-top: 20px;
}

.newsletter-form input {
  width: 100%;
  padding: 14px 20px;
  padding-right: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  outline: none;
  transition: all 0.3s;
}

.newsletter-form input:focus {
  border-color: var(--mint);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  background: var(--mint);
  color: #042035;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.newsletter-btn:hover {
  transform: scale(1.05);
  background: #fff;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  opacity: 0.6;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 0;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: #fff;
  font-size: 14px;
}

.social-links a:hover {
  background: var(--mint);
  color: #042035;
  transform: translateY(-3px);
}

/* --- Scroll Top --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--mint), #56a8ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
  box-shadow: 0 4px 15px rgba(0, 242, 161, 0.3);
  color: #042035;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 242, 161, 0.5);
}

/* --- Responsive Media Queries --- */
@media(max-width:900px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(7, 17, 38, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px 0;
    gap: 8px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav.active {
    transform: translateY(0);
    opacity: 1;
  }

  nav a {
    width: 100%;
    padding: 14px;
    text-align: center;
  }

  /* Footer responsive */
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  /* Index responsive */
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 100px;
    justify-content: center;
  }

  .hero-bg {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 40px;
  }

  .hero-bg img {
    object-position: center;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  h1 {
    font-size: 36px;
  }

  /* Misc responsive */
  .content-grid,
  .mission-values,
  .contact-container,
  .job-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .job-card {
    align-items: flex-start;
    gap: 20px;
  }

  .benefit,
  .industry-grid,
  .grid,
  .benefits {
    grid-template-columns: 1fr;
  }
}

@media(max-width:600px) {

  main.container,
  .main-body {
    padding: 100px 0 40px;
  }

  .cta-section {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  h1 {
    font-size: 28px;
  }
}

@media(max-width:480px) {
  h1 {
    font-size: 24px;
  }

  .brand img {
    height: 32px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .stats {
    gap: 16px;
  }
}

/* --- Success Popup --- */
.success-popup {
  position: fixed;
  inset: 0;
  background: rgba(4, 32, 53, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.success-popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: linear-gradient(135deg, rgba(7, 17, 38, 1), #020b1c);
  border: 1px solid rgba(0, 242, 161, 0.2);
  padding: 40px;
  border-radius: 24px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 161, 0.1);
}

.success-popup.active .popup-content {
  transform: translateY(0);
}

.popup-content i {
  font-size: 60px;
  color: var(--mint);
  margin-bottom: 24px;
  animation: scaleBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s backwards;
}

@keyframes scaleBounce {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.popup-content h2 {
  font-size: 28px;
  margin-bottom: 12px;
  color: #fff;
}

.popup-content p {
  color: rgba(235, 246, 255, 0.7);
  margin-bottom: 30px;
  line-height: 1.6;
}

.popup-content .btn {
  width: 100%;
}