:root {
  --navy: #07162f;
  --blue: #0866df;
  --text: #0b1830;
  --muted: #4f6078;
  --line: #dfe6ef;
  --pale: #f5f9fe;
  --white: #ffffff;
}

/* =========================
   GLOBAL
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #ffffff;
}

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

/* =========================
   HEADER / NAVIGATION
========================= */

.header {
  height: 76px;
  padding: 0 5.2%;
  display: flex;
  align-items: center;
  gap: 38px;

  position: sticky;
  top: 0;
  z-index: 20;

  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eef2f7;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 235px;
}

.logo-mark {
  font-size: 40px;
  font-weight: 900;
  font-style: italic;
  color: var(--blue);
  line-height: 1;
}

.logo strong {
  display: block;
  letter-spacing: 7px;
  font-size: 21px;
}

.logo small {
  display: block;
  letter-spacing: 4px;
  font-size: 8px;
  margin-top: 3px;
}

.header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
}

.header nav a {
  padding: 28px 0 12px;
}

.header nav a:hover,
.header nav a.active {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
}

.menu {
  display: none;
  border: 0;
  background: transparent;
  font-size: 25px;
  cursor: pointer;
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    90deg,
    #075bc8,
    #1170e8
  );

  color: #ffffff;
  padding: 14px 25px;
  border-radius: 6px;
  font-weight: 700;

  box-shadow: 0 6px 15px rgba(0, 92, 205, 0.15);
}

.header-btn {
  white-space: nowrap;
}

.outline {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--blue);
  box-shadow: none;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 405px;

  display: grid;
  grid-template-columns: 1fr 1fr;

  background: linear-gradient(
    90deg,
    #ffffff 0,
    #ffffff 45%,
    #f5f8fb 100%
  );

  overflow: hidden;
}

.hero-copy {
  padding: 52px 4% 35px 5.2%;
  align-self: center;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  color: #52647e;
  font-weight: 700;
  margin: 0 0 10px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -1.5px;
}

.hero h1 span {
  color: var(--blue);
}

.lead {
  font-size: 16px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 540px;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin: 22px 0;
}

.trust {
  display: flex;
  gap: 32px;
  font-size: 14px;
}

.trust span {
  color: var(--blue);
  font-weight: 700;
}

.trust i {
  font-style: normal;
  color: var(--text);
  font-weight: 400;
  margin-left: 5px;
}

/* =========================
   HERO COMPUTER IMAGE
========================= */

.hero-image {
  min-height: 405px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: center;
}

/* =========================
   GENERAL SECTIONS
========================= */

.section {
  padding: 34px 5.2%;
}

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.section-top h2,
.about h2 {
  font-size: 27px;
  margin: 0 0 8px;
  letter-spacing: -0.7px;
}

.section-top > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  margin: 0 3% 10px 0;
}

/* =========================
   SERVICES
========================= */

.services {
  background: linear-gradient(
    90deg,
    #f9fbfe,
    #f1f6fc
  );
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
}

.service-grid article {
  padding: 0 28px 0 0;
  margin-right: 28px;
  border-right: 1px solid #ccd7e4;
}

.service-grid article:last-child {
  border-right: 0;
}

.icon {
  width: 48px;
  height: 48px;

  border-radius: 9px;
  background: #e3efff;
  color: var(--blue);

  display: grid;
  place-items: center;

  font-size: 26px;
  margin-bottom: 12px;
}

.service-grid h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

/* =========================
   PACKAGES
========================= */

.packages {
  padding-top: 30px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.price-card {
  position: relative;

  border: 1px solid var(--line);
  border-radius: 7px;

  padding: 20px 22px 17px;

  box-shadow: 0 3px 13px rgba(14, 38, 68, 0.06);
}

.price-card.featured {
  border: 1.5px solid var(--blue);
  padding-top: 30px;
}

.popular {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 23px;

  background: linear-gradient(
    90deg,
    #0b58ca,
    #1478ed
  );

  color: #ffffff;

  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;

  padding-top: 5px;

  border-radius: 6px 6px 0 0;
}

.price-card h3 {
  margin: 0;
  font-size: 16px;
}

.price {
  font-size: 30px;
  font-weight: 800;
  margin: 2px 0 12px;
}

.price-card ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;

  line-height: 1.7;
  font-size: 14px;
}

.price-card li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 900;
  margin-right: 12px;
}

.package-btn {
  display: block;

  text-align: center;

  border: 1px solid var(--blue);
  color: #075bc8;

  border-radius: 5px;
  padding: 10px;

  font-size: 13px;
  font-weight: 700;
}

.package-btn.filled {
  background: var(--blue);
  color: #ffffff;
}

/* =========================
   PORTFOLIO
========================= */

.portfolio {
  padding-top: 16px;
}


.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
}


.portfolio-grid article {
  min-width: 0;
}

.portfolio-grid img {
  display: block;

  width: 100%;
  height: 180px;

  object-fit: cover;
  object-position: top;

  border-radius: 6px;
  border: 1px solid var(--line);

  transition: transform 0.2s ease;
}

.portfolio-grid img:hover {
  transform: translateY(-3px);
}

.portfolio-grid h3 {
  font-size: 16px;
  margin: 9px 0 3px;
}

.portfolio-grid p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 7px;
}

.project-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

.project-link:hover {
  text-decoration: underline;
}

/* =========================
   ABOUT
========================= */

.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;

  background: #f7faff;
  padding-top: 55px;
  padding-bottom: 55px;
}

.about-heading h2 {
  margin: 0;
  font-size: 30px;
  white-space: nowrap;
}

.about-content > p {
  margin: 0;
  max-width: 620px;

  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;

  margin-top: 20px;
}

.about-features span {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.about-features span::first-letter {
  color: var(--blue);
}

/* Allow heading to wrap on smaller screens */
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-heading h2 {
    white-space: normal;
  }
}

/* =========================
   CALL TO ACTION
========================= */

.cta {
  padding: 40px 5.2%;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;

  background: linear-gradient(
    90deg,
    #eef5fd,
    #e8f2fc
  );
}

.cta .eyebrow {
  margin-bottom: 8px;
}

.cta h2 {
  margin: 0 0 7px;

  font-size: 27px;
  letter-spacing: -0.5px;
}

.cta-content > p:last-child {
  margin: 0;

  color: var(--muted);
  font-size: 15px;
}

.cta .btn {
  min-width: 190px;
}


/* =========================
   FOOTER
========================= */

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1.2fr 1fr;
  gap: 55px;

  /* Reduced vertical whitespace */
  padding: 38px 5.2% 22px;

  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-column h4 {
  margin: 0 0 7px;
  color: var(--text);
  font-size: 13px;
}

.footer-column a {
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--blue);
}

.footer-column .footer-email {
  margin-top: 5px;
  color: var(--blue);
  font-weight: 600;
}

.footer-location p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-bottom {
  grid-column: 1 / -1;

  /* Reduced space above copyright */
  margin-top: 10px;
  padding-top: 15px;

  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: #6d7b8e;
  font-size: 11px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

  .about {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta {
    align-items: flex-start;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-bottom {
    grid-column: 1 / -1;
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 560px) {

  .about {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .about-features {
    flex-direction: column;
    gap: 10px;
  }

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

  .cta .btn {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    grid-column: 1;
  }
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

  .header {
    gap: 18px;
  }

  .header nav {
    display: none;

    position: absolute;
    top: 76px;
    left: 0;
    right: 0;

    background: #ffffff;

    flex-direction: column;
    align-items: flex-start;

    padding: 20px 5%;
    gap: 8px;

    border-bottom: 1px solid var(--line);
  }

  .header nav.open {
    display: flex;
  }

  .header nav a {
    padding: 8px 0;
  }

  .header-btn {
    display: none;
  }

  .menu {
    display: block;
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 320px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .section-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cta {
    gap: 25px;
  }

  footer {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  footer nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-right {
    align-items: flex-start;
  }

  .copyright {
    position: static;
    grid-column: 1;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 560px) {

  .logo {
    min-width: 0;
  }

  .logo strong {
    font-size: 17px;
    letter-spacing: 5px;
  }

  .hero-copy {
    padding: 42px 5% 28px;
  }

  .hero h1 {
    font-size: 37px;
  }

  .hero-actions,
  .trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

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

  .service-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }

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

  .portfolio-grid img {
    height: auto;
  }
}
/* Service card hover */
.service-grid article {
  transition: transform 0.25s ease;
}

.service-grid article:hover {
  transform: translateY(-5px);
}

/* Package card hover */
.price-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(14, 38, 68, 0.12);
}

/* Portfolio image hover */
.portfolio-grid img {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-grid img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(14, 38, 68, 0.15);
}
.hero-image {
  overflow: hidden;
}

.hero-image img {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-image img:hover {
  opacity: 0.7;
  transform: scale(1.03);
}

/* Facebook Footer Link */

.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  color: #0866df;
  font-size: 14px;
  font-weight: 600;
}

.facebook-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

.facebook-link:hover {
  color: #074ca5;
}

.service-learn-more {
  display: inline-block;
  margin-top: 12px;
  color: #0866df;
  font-weight: 700;
  text-decoration: none;
}

.service-learn-more:hover {
  text-decoration: underline;
}
