:root {
  --color-primary: #0bb289;
  --color-primary-dark: #05946f;
  --color-secondary: #0050c8;
  --color-bg: #f5f7fb;
  --color-surface: #ffffff;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-heading: #111827;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-full: 999px;
  --container-width: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-muted);
  background: var(--color-bg);
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-full);
  border: none;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(5, 80, 200, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.btn-outline {
  background: transparent;
  color: var(--color-secondary);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.4rem;
}

h1,
h2,
h3 {
  color: var(--color-heading);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.4rem, 3.2vw + 1rem, 3.4rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.7rem, 2vw + 0.6rem, 2.3rem);
}

h3 {
  font-size: 1.1rem;
}

.section {
  padding-block: 4.5rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header p {
  margin: 0.2rem 0;
}

.cards-grid {
  display: grid;
  gap: 1.6rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.card p {
  margin: 0.25rem 0 0;
}

.top-bar {
  background: #020617;
  color: #e5e7eb;
  font-size: 0.8rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.4rem;
  gap: 1rem;
}

.top-bar-left span,
.top-bar-right span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 0.9rem;
}

.top-bar i {
  color: var(--color-primary);
  font-size: 0.85rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #ffffff;
}

.logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.logo-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-subtitle {
  font-size: 0.72rem;
  color: #9ca3af;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: #e5e7eb;
  position: relative;
  padding-block: 0.25rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width 0.18s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: transparent;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

.hero {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.16), transparent 55%),
    linear-gradient(145deg, #020617, #020617 65%, #030712);
  color: #e5e7eb;
  padding-block: 4.2rem 4.8rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 3rem;
}

.hero-content h1 {
  color: #f9fafb;
  margin-bottom: 0.7rem;
}

.hero-subtitle {
  max-width: 520px;
  margin-bottom: 1.4rem;
  color: #cbd5f5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.hero-actions .btn-outline {
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.5);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.stat-value {
  display: block;
  font-weight: 700;
  font-size: 1.4rem;
  color: #f9fafb;
}

.stat-label {
  font-size: 0.8rem;
  color: #9ca3af;
}

.hero-media {
  position: relative;
}

.hero-slider {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.7);
}

.hero-slide {
  display: none;
}

.hero-slide.active {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.75);
  color: #e5e7eb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-control.prev {
  left: 14px;
}

.hero-control.next {
  right: 14px;
}

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.55);
  padding: 0;
  cursor: pointer;
}

.hero-dots button.active {
  width: 18px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.about-media img {
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-block: 1.4rem 1rem;
}

.highlight-value {
  display: block;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-secondary);
}

.highlight-label {
  font-size: 0.9rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.checklist i {
  color: var(--color-primary);
}

.services {
  background: #f1f5fb;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  padding-top: 2.2rem;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-image {
  height: 180px;
  border-radius: 18px;
  margin: -1.1rem -1.1rem 1.2rem;
  background-size: cover;
  background-position: center;
}

.project-image-1 {
  background-image: linear-gradient(120deg, #0ea5e9, #6366f1),
    url("https://images.pexels.com/photos/1181465/pexels-photo-1181465.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.project-image-2 {
  background-image: linear-gradient(120deg, #22c55e, #0ea5e9),
    url("https://images.pexels.com/photos/1181345/pexels-photo-1181345.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.project-image-3 {
  background-image: linear-gradient(120deg, #f97316, #6366f1),
    url("https://images.pexels.com/photos/1181335/pexels-photo-1181335.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.project-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.blog-date {
  font-weight: 500;
}

.blog-category {
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--color-primary-dark);
  font-weight: 500;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--color-secondary);
}

.blog-link::after {
  content: "→";
  transition: transform 0.15s ease-out;
}

.blog-link:hover::after {
  transform: translateX(3px);
}

.team {
  background: #f9fafb;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
  text-align: center;
}

.team-card .avatar {
  width: 92px;
  height: 92px;
  margin: -1.4rem auto 0.7rem;
  border-radius: 999px;
  padding: 3px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.team-card .avatar img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.social-links a {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 0.8rem;
}

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.rating {
  color: #facc15;
}

.contact {
  background: linear-gradient(145deg, #0f172a, #020617);
  color: #e5e7eb;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: flex-start;
}

.contact h2 {
  color: #f9fafb;
}

.contact-details {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

.detail {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.detail i {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.contact-form-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.8rem;
}

.contact-form {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 20px;
  padding: 1.7rem 1.6rem 1.6rem;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.5);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.form-field label {
  font-size: 0.8rem;
  color: #cbd5f5;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  padding: 0.65rem 0.8rem;
  font: inherit;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #6b7280;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.75);
  outline-offset: 1px;
}

.form-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

.contact-map iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 20px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55);
}

.site-footer {
  background: #020617;
  color: #9ca3af;
  padding-top: 3.2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 0.85fr));
  gap: 2.5rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(55, 65, 81, 0.8);
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-col h3 {
  color: #e5e7eb;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: #e5e7eb;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-size: 0.82rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.newsletter-form input {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  padding: 0.55rem 0.9rem;
  font: inherit;
}

.newsletter-form input::placeholder {
  color: #6b7280;
}

.footer-bottom {
  padding-block: 1rem 1.4rem;
  font-size: 0.82rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a:hover {
  color: #e5e7eb;
}

@media (max-width: 992px) {
  .hero-inner,
  .about-inner,
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    gap: 2.5rem;
  }

  .hero-media {
    order: -1;
  }

  .services-grid,
  .projects-grid,
  .blog-grid,
  .team-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-inner {
    padding-block: 0.7rem;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(15, 23, 42, 0.98);
    padding: 0.8rem 1.5rem 1.2rem;
    flex-direction: column;
    gap: 0.6rem;
    transform-origin: top;
    transform: scaleY(0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-block: 3.3rem 3.8rem;
  }

  .hero-slide img {
    height: 320px;
  }

  .hero-stats {
    gap: 1.1rem;
  }

  .services-grid,
  .projects-grid,
  .blog-grid,
  .team-grid,
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 1.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

