/* Global reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: #fff;
}

body.index-page {
  font-family: "Inter", sans-serif;
}

body.about-page,
body.contact-page,
body.career-page,
body.services-page {
  font-family: "Poppins", sans-serif;
  color: #0f172a;
}

body.about-page,
body.contact-page {
  background: #f8fbff;
}

body.technologies-page {
  font-family: Inter, sans-serif;
  background: #f4f9ff;
  color: #0f172a;
}

body.career-page,
body.services-page {
  background: #fff;
}

/* Glass panels */
body.index-page .glass,
body.about-page .glass,
body.contact-page .glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px);
}

body.career-page .glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.services-page .glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

body.technologies-page .glass {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
}

/* Gradient text */
body.index-page .gradient-text,
body.about-page .gradient-text,
body.technologies-page .gradient-text {
  background: linear-gradient(to right, #0047ff, #00bfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.contact-page .gradient-text,
body.career-page .gradient-text,
body.services-page .gradient-text {
  background: linear-gradient(to right, #00bfff, #00c389);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero backgrounds */
body.index-page .hero-bg {
  background:
    radial-gradient(circle at top left, rgba(0, 255, 200, 0.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(0, 120, 255, 0.12), transparent 30%),
    linear-gradient(to bottom, #eef8ff, #ffffff);
}

body.services-page .hero-bg,
body.career-page .hero-bg {
  background: linear-gradient(135deg, #071b36, #0a2a66, #00c389);
}

body.technologies-page .wave {
  background:
    radial-gradient(circle at top left, rgba(0, 183, 255, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(0, 160, 255, 0.18), transparent 25%);
}

/* Buttons and tags */
.btn-primary {
  padding: 16px 40px;
  background: linear-gradient(90deg, #0a2a66, #00c389);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.4s;
}

.btn-primary:hover {
  transform: translateY(-5px);
}

.btn-outline {
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid #0a2a66;
  color: #0a2a66;
  font-weight: 600;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 12px 25px;
  background: #fff;
  border: 1px solid #dbe7f5;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #0a2a66;
  margin-bottom: 25px;
}

.card-hover {
  transition: 0.4s ease;
}

.card-hover:hover {
  transform: translateY(-12px);
}

.pulse-glow {
  animation: pulseGlow 3s infinite;
}

.marquee {
  animation: marquee 20s linear infinite;
}

.animate-gradient {
  background-size: 300% 300%;
  animation: gradientMove 6s ease infinite;
}

/* Company and mission */
.company {
  padding: 100px 10%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.company-image img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.company-content h2 {
  font-size: 45px;
  margin-bottom: 20px;
  color: #0a2a66;
}

.company-content p,
.about-hero p,
.contact-hero p,
.service-card p,
.info-card p {
  line-height: 1.9;
  color: #666;
}

.points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.point i {
  color: #00c389;
}

.stats {
  padding: 80px 10%;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.stat-box {
  background: #f8fbff;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  transition: 0.4s;
}

.stat-box:hover {
  transform: translateY(-10px);
}

.stat-box h3 {
  font-size: 50px;
  color: #00c389;
}

.stat-box p {
  margin-top: 10px;
  color: #555;
}

.mission {
  padding: 100px 10%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mission-card {
  background: #fff;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
  transition: 0.4s;
}

.mission-card:hover {
  transform: translateY(-10px);
}

.mission-card i {
  font-size: 50px;
  color: #00c389;
  margin-bottom: 20px;
}

/* About + contact sections */
.why {
  padding: 100px 10%;
  background: #f8fbff;
}

.section-title {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-title h2 {
  font-size: 42px;
  font-weight: 800;
  color: #0a2a66;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.feature {
  background: #fff;
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-align: center;
}

.feature:hover {
  transform: translateY(-10px);
}

.feature i {
  color: #00c389;
  font-size: 32px;
  margin-bottom: 20px;
}

.feature h4 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #0a2a66;
}

.feature p {
  color: #575f7a;
  line-height: 1.8;
}

.process {
  padding: 100px 10%;
  background: #fff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.step {
  background: #eef6ff;
  border-radius: 24px;
  padding: 30px;
  text-align: center;
}

.step span {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #00c389;
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
}

.step h4 {
  font-size: 20px;
  color: #0a2a66;
}

.services {
  padding: 100px 10%;
  background: #f8fbff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-box {
  background: #fff;
  border-radius: 24px;
  padding: 35px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-box:hover {
  transform: translateY(-10px);
}

.service-box i {
  font-size: 32px;
  color: #00c389;
  margin-bottom: 18px;
}

.service-box h3 {
  font-size: 22px;
  color: #0a2a66;
}

.cta {
  padding: 100px 10%;
  text-align: center;
  background: linear-gradient(135deg, #0047ff, #00c389);
  color: #fff;
}

.cta h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.cta p {
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.95;
  line-height: 1.9;
}

.cta a {
  display: inline-flex;
  margin-top: 30px;
  padding: 16px 36px;
  border-radius: 9999px;
  background: #fff;
  color: #0a2a66;
  font-weight: 700;
  transition: transform 0.25s ease;
}

.cta a:hover {
  transform: translateY(-3px);
}

.map-section {
  padding: 100px 10%;
}

.map-section iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

/* Contact page */
.contact-hero {
  padding: 120px 10%;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eef6ff, #ffffff);
}

.contact-hero::before,
.about-hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: #00c38920;
  border-radius: 50%;
  filter: blur(100px);
}

.contact-hero::before {
  top: -250px;
  right: -150px;
}

.contact-hero::after,
.about-hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: #0a2a6620;
  border-radius: 50%;
  filter: blur(100px);
}

.contact-hero::after {
  bottom: -250px;
  left: -150px;
}

.about-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 10%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #edf4ff, #ffffff);
}

.about-hero h1 {
  font-size: 70px;
  font-weight: 800;
  line-height: 1.1;
  color: #0a2a66;
  margin-bottom: 20px;
}

.about-hero h1 span,
.contact-hero h1 span {
  color: #00c389;
}

.about-hero p,
.contact-hero p {
  max-width: 850px;
  margin: auto;
  font-size: 18px;
  line-height: 1.8;
  color: #555;
}

.about-hero .hero-buttons,
.contact-hero .hero-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-hero h1 {
  font-size: 65px;
  font-weight: 800;
  color: #0a2a66;
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact-section {
  padding: 100px 10%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-card {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transition: 0.4s;
}

.info-card:hover {
  transform: translateY(-8px);
}

.info-card i {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0a2a66, #00c389);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
}

.info-card h4 {
  margin-bottom: 8px;
  color: #0a2a66;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
  margin-bottom: 30px;
  color: #0a2a66;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  outline: none;
}

.contact-form textarea {
  resize: none;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #0a2a66, #00c389);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* Services and career cards */
.service-card {
  transition: 0.4s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tech-card,
.industry-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tech-card:hover,
.industry-card:hover,
body.technologies-page .tech-card:hover,
body.technologies-page .industry-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14);
}

.job-card {
  transition: 0.4s;
}

.job-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-card {
  transition: 0.4s;
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.tech-border {
  border-image: linear-gradient(90deg, #0047ff, #00bfff) 1;
  border-width: 2px;
  border-style: solid;
}

.nav-active {
  color: #06b6d4;
  font-weight: 700;
}

/* Animations */
.animate-float {
  animation: float 5s ease-in-out infinite;
}

.animate-float2 {
  animation: float2 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-18px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes float2 {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(18px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-fade-up {
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-700 {
  animation-delay: 0.7s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

.animate-spin-slow {
  animation: spinSlow 25s linear infinite;
}

.animate-spin-reverse {
  animation: spinReverse 35s linear infinite;
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(0, 191, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 191, 255, 0.5);
  }
  100% {
    box-shadow: 0 0 0 rgba(0, 191, 255, 0.4);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Responsive utility adjustments */
@media screen and (max-width: 1024px) {
  .company,
  .mission,
  .contact-section,
  .stats,
  .service-grid,
  .points,
  .features,
  .timeline,
  .row {
    grid-template-columns: 1fr;
  }

  .about-hero h1,
  .service-title,
  .cta h2,
  .section-title h2 {
    font-size: 38px;
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .feature,
  .service-box,
  .step {
    padding: 24px;
  }
}
