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

html {
  scroll-behavior: smooth;
}

body {
  color: #10284f;
  background: #f7fbff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(34, 129, 220, 0.14);
  backdrop-filter: blur(12px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
  gap: 22px;
}

.brand img {
  width: 170px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #244168;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #2a8cf0;
}

.nav-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-button,
.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, #2f86f6, #58c8c0);
  box-shadow: 0 12px 28px rgba(47, 134, 246, 0.25);
}

.nav-button {
  padding: 0 20px;
}

.primary-button {
  padding: 0 24px;
}

.secondary-button {
  padding: 0 22px;
  color: #1b5398;
  border: 1px solid rgba(47, 134, 246, 0.35);
  background: #ffffff;
}

.nav-button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 46px;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 52px 0 64px;
}

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

.eyebrow {
  margin-bottom: 12px;
  color: #3aaec0;
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  color: #0b2a5d;
  font-size: clamp(2.7rem, 6vw, 5.25rem);
  font-weight: 900;
}

h2 {
  color: #0b2a5d;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 900;
}

h3 {
  margin: 18px 0 10px;
  color: #143264;
  font-size: 1.25rem;
}

.hero-text {
  margin-top: 22px;
  color: #375275;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.stats div {
  padding: 16px;
  border: 1px solid rgba(47, 134, 246, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(29, 80, 140, 0.08);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: #2f86f6;
  font-size: 1.5rem;
  line-height: 1;
}

.stats span {
  margin-top: 7px;
  color: #516984;
  font-size: 0.86rem;
  font-weight: 700;
}

.slideshow {
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(25, 83, 153, 0.18);
}

.slides {
  display: flex;
  width: 400%;
  animation: slideShow 18s infinite;
}

.slides img {
  width: 25%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@keyframes slideShow {
  0%, 20% {
    transform: translateX(0);
  }

  25%, 45% {
    transform: translateX(-25%);
  }

  50%, 70% {
    transform: translateX(-50%);
  }

  75%, 95% {
    transform: translateX(-75%);
  }

  100% {
    transform: translateX(0);
  }
}

.services,
.portfolio,
.about,
.contact,
.contact-hero,
.contact-page,
.page-hero,
.portfolio-gallery,
.about-detail,
.about-values {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(47, 134, 246, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(31, 85, 142, 0.08);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #2f86f6, #58c8c0);
  font-size: 1rem;
  font-weight: 900;
}

.service-card p,
.portfolio-copy p,
.about p,
.contact-panel p {
  color: #526a88;
}

.service-card strong {
  color: #2f86f6;
}

.app-coming-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 248, 255, 0.96)),
    url("images/front-2.png") center / cover;
}

.portfolio {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 40px;
}

.portfolio img {
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(25, 83, 153, 0.18);
}

.portfolio-copy p {
  margin-top: 18px;
  font-size: 1.05rem;
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: start;
  border-top: 1px solid rgba(47, 134, 246, 0.16);
  border-bottom: 1px solid rgba(47, 134, 246, 0.16);
}

.about p {
  font-size: 1.1rem;
}

.contact {
  padding-bottom: 88px;
}

.contact-panel {
  padding: 48px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(13, 43, 94, 0.94), rgba(39, 137, 237, 0.9)),
    url("images/front-4.png") center / cover;
  box-shadow: 0 24px 70px rgba(25, 83, 153, 0.2);
}

.contact-panel .eyebrow,
.contact-panel h2,
.contact-panel p {
  color: #ffffff;
}

.contact-panel p {
  max-width: 620px;
  margin: 16px 0 26px;
}

.contact-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 42px;
  padding-top: 52px;
}

.contact-hero-copy {
  max-width: 560px;
}

.contact-hero img {
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(25, 83, 153, 0.18);
}

.contact-page {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.contact-info,
.contact-form {
  border: 1px solid rgba(47, 134, 246, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(31, 85, 142, 0.08);
}

.contact-info {
  padding: 34px;
}

.contact-info p {
  margin-top: 18px;
  color: #526a88;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-list div {
  padding: 16px;
  border-radius: 8px;
  background: #f3f8ff;
}

.contact-list strong,
.contact-list a,
.contact-list span {
  display: block;
}

.contact-list strong {
  color: #0b2a5d;
}

.contact-list a,
.contact-list span {
  margin-top: 4px;
  color: #3b6fa9;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 34px;
}

.contact-form label {
  color: #173764;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.auth-form input,
.auth-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(47, 134, 246, 0.25);
  border-radius: 8px;
  color: #173764;
  background: #f9fcff;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.auth-form input:focus,
.auth-form select:focus {
  border-color: #2f86f6;
  box-shadow: 0 0 0 4px rgba(47, 134, 246, 0.12);
  outline: none;
}

.form-button {
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}

.page-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 42px;
  padding-top: 52px;
}

.page-hero img {
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(25, 83, 153, 0.18);
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-gallery article {
  overflow: hidden;
  border: 1px solid rgba(47, 134, 246, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(31, 85, 142, 0.08);
}

.portfolio-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.portfolio-gallery h3,
.portfolio-gallery p {
  padding: 0 24px;
}

.portfolio-gallery h3 {
  margin-top: 22px;
}

.portfolio-gallery p {
  padding-bottom: 24px;
  color: #526a88;
}

.about-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: start;
  border-top: 1px solid rgba(47, 134, 246, 0.16);
}

.about-detail p {
  color: #526a88;
  font-size: 1.1rem;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 42px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 72px;
}

.dashboard-hero img {
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(25, 83, 153, 0.18);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 88px;
}

.dashboard-card {
  min-height: 245px;
  padding: 26px;
  border: 1px solid rgba(47, 134, 246, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(31, 85, 142, 0.08);
}

.dashboard-card p {
  color: #526a88;
}

.dashboard-card a {
  color: #2f86f6;
  font-weight: 800;
}

.dashboard-card .primary-button {
  width: 100%;
  margin-top: 20px;
  color: #ffffff;
}

.highlight-card {
  grid-column: span 2;
}

.auth-page {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 42px;
  width: min(1080px, calc(100% - 40px));
  min-height: calc(100vh - 150px);
  margin: 0 auto;
  padding: 72px 0;
}

.auth-copy {
  padding: 40px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(13, 43, 94, 0.92), rgba(39, 137, 237, 0.88)),
    url("images/front.png") center / cover;
  box-shadow: 0 24px 70px rgba(25, 83, 153, 0.18);
}

.auth-copy .eyebrow,
.auth-copy h1,
.auth-copy .hero-text {
  color: #ffffff;
}

.auth-form {
  display: grid;
  gap: 12px;
  padding: 36px;
  border: 1px solid rgba(47, 134, 246, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(31, 85, 142, 0.08);
}

.auth-form h2 {
  margin-bottom: 8px;
}

.auth-form label {
  color: #173764;
  font-weight: 800;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 8px;
  color: #3b6fa9;
  font-weight: 700;
}

.check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.check-label input {
  width: auto;
  min-height: auto;
}

.auth-switch {
  margin-top: 6px;
  color: #526a88;
  text-align: center;
}

.auth-switch a {
  color: #2f86f6;
  font-weight: 900;
}

.form-message {
  min-height: 22px;
  color: #526a88;
  font-size: 0.92rem;
  font-weight: 700;
}

.error-message {
  color: #c62828;
}

.app-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(88, 200, 192, 0.2), transparent 32%),
    linear-gradient(180deg, #eef7ff, #ffffff);
}

.mobile-app {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 16px 96px;
  background: #f7fbff;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 18px;
}

.app-topbar img {
  width: 138px;
}

.app-login-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #2f86f6, #58c8c0);
  font-weight: 900;
}

.app-hero-screen {
  overflow: hidden;
  display: grid;
  gap: 20px;
  padding: 26px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(11, 42, 93, 0.94), rgba(47, 134, 246, 0.88)),
    url("images/front.png") center / cover;
  box-shadow: 0 24px 70px rgba(25, 83, 153, 0.22);
}

.app-hero-screen .eyebrow,
.app-hero-screen h1,
.app-hero-screen p {
  color: #ffffff;
}

.app-hero-screen h1 {
  font-size: 2.15rem;
}

.app-phone-preview {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.app-phone-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.app-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.app-quick-actions a {
  display: grid;
  place-items: center;
  min-height: 84px;
  padding: 10px;
  border: 1px solid rgba(47, 134, 246, 0.14);
  border-radius: 8px;
  color: #173764;
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(31, 85, 142, 0.08);
}

.app-quick-actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #2f86f6, #58c8c0);
  font-size: 0.78rem;
}

.app-offer-card,
.app-contact-strip,
.app-service-list article {
  border: 1px solid rgba(47, 134, 246, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(31, 85, 142, 0.08);
}

.app-offer-card {
  overflow: hidden;
  margin-bottom: 18px;
}

.app-offer-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.app-offer-card div {
  padding: 22px;
}

.app-offer-card p:last-child,
.app-service-list p,
.app-contact-strip span {
  color: #526a88;
}

.app-service-list {
  display: grid;
  gap: 12px;
}

.app-service-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
}

.app-service-list h3 {
  margin-top: 0;
}

.app-service-list strong {
  color: #2f86f6;
}

.app-contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
}

.app-contact-strip strong,
.app-contact-strip span {
  display: block;
}

.app-contact-strip .primary-button {
  min-width: 96px;
}

.app-bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(47, 134, 246, 0.14);
  backdrop-filter: blur(12px);
}

.app-bottom-nav a {
  padding: 9px 4px;
  border-radius: 8px;
  color: #3b6fa9;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 900;
}

.app-bottom-nav a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #2f86f6, #58c8c0);
}

footer {
  padding: 26px 20px;
  color: #5c7190;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid rgba(47, 134, 246, 0.14);
}

@media (max-width: 900px) {
  .navbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero,
  .portfolio,
  .about,
  .contact-hero,
  .contact-page,
  .page-hero,
  .about-detail,
  .dashboard-hero,
  .auth-page {
    grid-template-columns: 1fr;
  }

  .portfolio-gallery {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  .service-grid,
  .stats,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .navbar,
  .hero,
  .services,
  .portfolio,
  .about,
  .contact,
  .contact-hero,
  .contact-page,
  .page-hero,
  .portfolio-gallery,
  .about-detail,
  .about-values,
  .dashboard-hero,
  .dashboard-grid {
    width: min(100% - 28px, 1180px);
  }

  .auth-page {
    width: min(100% - 28px, 1080px);
  }

  .brand img {
    width: 145px;
  }

  .nav-button {
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
  }

  h1 {
    font-size: 2.55rem;
  }

  .service-card,
  .contact-panel,
  .contact-info,
  .contact-form,
  .auth-copy,
  .auth-form {
    padding: 24px;
  }

  .form-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
