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

:root {
  --primary: #37EAC2;
  --primary-dark: #24D9B0;
  --primary-darker: #163B5C;
  --primary-light: #6FF5D7;
  --primary-lighter: #B6FFF0;

  --primary-bg: #ECFFF9;
  --primary-bg-2: #D8FFF4;

  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --white: #ffffff;
  --border: #e2e8f0;

  --bg-gray: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;

  --font: "Montserrat", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1140px, 92vw); margin: 0 auto; }

.title-line {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.title-line::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.title-line.title-light { color: var(--white); }
.title-line.title-light::after { background: var(--primary-light); }

.section-head { margin-bottom: 2.5rem; }
.section-head.center { text-align: center; }
.section-head.center .title-line::after { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--text-muted); max-width: 640px; font-size: 1rem; }
.section-head.center p { margin: 0 auto; }

.section { padding: 5rem 0; }
.section-gray { background: var(--bg-gray); }
.section-dark { background: var(--primary-darker); color: var(--white); }

.text-light { color: rgba(255,255,255,.85) !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all .25s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,130,246,.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.65rem 1.25rem; font-size: 0.8125rem; }
.btn-full { width: 100%; }

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all .3s;
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(4vw, 20px);
  max-width: 1280px;
  margin: 0 auto;
}

.header.on-scroll {
  background: var(--white);
  box-shadow: 0 2px 24px rgba(0,0,0,.08);
}

.logo img { height: 36px; width: auto; }
.logo-dark { display: none; }
.header.on-scroll .logo-light { display: none; }
.header.on-scroll .logo-dark { display: block; }

.nav { display: flex; gap: 2rem; }
.nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  transition: color .2s;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width .25s;
}
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.header.on-scroll .nav a { color: var(--text-muted); }
.header.on-scroll .nav a:hover { color: var(--primary); }

.header .btn { margin-left: 1.5rem; }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-btn span {
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: background .2s;
}
.header.on-scroll .menu-btn span { background: var(--text); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { font-weight: 600; font-size: 1.125rem; color: var(--text); }

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.active { opacity: 1; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30,58,95,.85) 0%, rgba(30,58,95,.65) 40%, rgba(30,58,95,.35) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: calc(72px + 3rem) 0 5rem;
}

.hero-content { max-width: 680px; }

.hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  pointer-events: none;
}
.hero-dot { pointer-events: auto; }

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: all .3s;
}
.hero-dot.active { background: var(--white); transform: scale(1.3); }

.stats {
  padding: 3rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
}

.stats-grid span {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(59,130,246,.1);
  border-color: var(--primary-lighter);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.35rem;
  color: var(--primary);
  transition: all .3s;
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-list {
  list-style: none;
  margin-top: 1rem;
  text-align: left;
}
.service-list li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  line-height: 1.5;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
}

.solutions {
  background: linear-gradient(135deg, var(--primary-darker) 0%, #0f2b4a 100%);
  color: var(--white);
}

.solutions .section-head p { color: rgba(255,255,255,.7); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.solution-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  aspect-ratio: 16/9;
  border: 1px solid rgba(255,255,255,.1);
}

.solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.solution-card:hover img { transform: scale(1.08); }

.solution-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,43,74,.92) 0%, rgba(15,43,74,.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.solution-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.solution-info p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.75);
}

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

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .3s;
}
.about-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,.06); }

.about-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.about-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  padding: 1.25rem 1.5rem 0.25rem;
}

.about-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0 1.5rem 1.5rem;
  line-height: 1.6;
}

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

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 1.25rem;
  transition: all .3s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59,130,246,.1);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 1rem;
}

.team-card span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.partners-grid img {
  max-height: 60px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.75;
  transition: all .3s;
}
.partners-grid img:hover {
  filter: none;
  opacity: 1;
}

.contact {
  padding: 5rem 0;
  background: var(--primary-darker);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info p { margin-bottom: 1.5rem; }

.contact-list {
  list-style: none;
  margin: 0 0 1.5rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.contact-list i {
  width: 20px;
  color: var(--primary-light);
  margin-top: 3px;
}

.contact-list a { color: var(--primary-light); }
.contact-list a:hover { text-decoration: underline; }

.contact-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all .25s;
}
.contact-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.contact-form {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.25);
  color: var(--white);
  font-family: inherit;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary-light);
}

.contact-form .check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400;
  font-size: 0.75rem;
  color: rgba(255,255,255,.65);
}

.form-message {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  transition: opacity .3s;
}
.form-message.success {
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.4);
  color: #86efac;
}
.form-message.error {
  background: rgba(239,68,68,.15);
  border: 1px solid rgba(239,68,68,.4);
  color: #fca5a5;
}

.footer {
  background: #0f172a;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
  text-align: center;
}
.footer-inner img { margin: 0 auto 1rem; }
.footer-inner p { font-size: 0.875rem; color: var(--text-light); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-light);
  transition: color .2s;
}
.footer-links a:hover { color: var(--primary-light); }

.footer .copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,.35);
}

.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all .25s;
  z-index: 50;
  box-shadow: 0 4px 16px rgba(59,130,246,.3);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .contact-grid,
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav, .header .btn { display: none; }
  .menu-btn { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .solutions-grid,
  .about-grid,
  .team-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .header .btn { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stats-grid strong { font-size: 1.75rem; }
}
