@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary-color: #002d62; /* Deep Blue */
  --secondary-color: #00a4ff; /* Light Tech Blue */
  --accent-color: #e6f4ff; /* Very Light Blue */
  --text-main: #1a1a1a;
  --text-muted: #5f6368;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --gradient: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-white);
}

body.menu-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 2000;
  padding: 1.8rem 0;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled {
  padding: 1rem 0;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(0, 45, 98, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

header.scrolled::before {
  opacity: 1;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 1.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  letter-spacing: -0.03em;
  z-index: 2101;
  line-height: 1;
  flex: 0 0 200px; /* Fixed width for logo area to help centering */
}

.logo i {
  font-size: 1.8rem;
  color: var(--secondary-color);
  transition: var(--transition);
}

.logo:hover i {
  transform: rotate(15deg) scale(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.4rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 45, 98, 0.08);
  transition: var(--transition);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

header.scrolled .nav-links {
  background: transparent;
  border-color: transparent;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition);
  line-height: 1;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-white);
  color: var(--secondary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nav-btns {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 200px; /* Match logo area width for perfect center */
  z-index: 2101;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2101;
  color: var(--primary-color);
}

@media (max-width: 992px) {
  nav {
    display: flex;
    justify-content: space-between;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2100;
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    left: auto;
    transform: none;
    border: none;
    border-radius: 0;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.5rem;
    margin: 1rem 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-btns {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 0.95rem;
  text-align: center;
}

.btn-primary {
  background: var(--gradient);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 164, 255, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--accent-color);
}

/* Hero Section */
.hero {
  padding: 200px 0 120px;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(0, 164, 255, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(0, 45, 98, 0.05) 0%,
      transparent 40%
    );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Sections General */
section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

/* Cards */
.card {
  background: white;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: var(--accent-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: var(--secondary-color);
}

/* Industries Section */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.industry-card {
  position: relative;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover img {
  transform: scale(1.15);
}

.industry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2rem;
  background: linear-gradient(transparent, rgba(0, 45, 98, 0.95));
  color: white;
  transition: var(--transition);
}

.industry-overlay h3 {
  color: white;
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}

.industry-overlay p {
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.8);
}

.industry-card:hover .industry-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ Section */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1.8rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 2.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0, 1, 0, 1);
  color: var(--text-muted);
  font-size: 1rem;
}

.faq-item.active {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--secondary-color);
}

.faq-item.active .faq-answer {
  padding-bottom: 1.8rem;
  max-height: 1000px;
  transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .fa-chevron-down {
  transform: rotate(180deg);
  color: var(--secondary-color);
}

/* Trusted Logos */
.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5rem;
  opacity: 0.4;
  filter: grayscale(1);
  padding: 60px 0;
}

.logo-cloud i {
  font-size: 3rem;
}

/* Footer */
footer {
  background: #001a3a;
  color: white;
  padding: 100px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 5rem;
  margin-bottom: 80px;
}

.footer-about h3 {
  color: white;
  margin-bottom: 2rem;
}

.footer-about p {
  color: #a5b4fc;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.footer-links h4 {
  color: white;
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.footer-links ul li {
  margin-bottom: 1rem;
}

.footer-links ul li a {
  color: #a5b4fc;
  font-weight: 500;
}

.footer-links ul li a:hover {
  color: white;
  transform: translateX(8px);
  display: inline-block;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a5b4fc;
  font-size: 0.95rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }
  .hero {
    padding: 150px 0 80px;
  }
  .hero h1 {
    font-size: 2.22rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .section-header {
    margin-bottom: 40px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  .hero-btns .btn {
    width: 100%;
  }

  /* Process steps stacking */
  .process-step {
    gap: 1.5rem;
  }
  .step-num {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  .step-content {
    padding: 1.5rem;
  }
  .process-flow::before {
    left: 23px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cta-banner {
    margin: 0 !important;
    border-radius: 0 !important;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
}
