/* ==========================================================
   Design polish: hero, section rhythm, typography
   Loaded last so it overrides the legacy theme rules.
   ========================================================== */

:root {
  --sec-pad: 80px;       /* vertical padding of a normal content section */
  --sec-pad-sm: 52px;    /* same, on phones */
  --brand-navy: #070f4d;
  --brand-blue: #4356d6;
  --brand-accent: #ff4a35;
}

/* ---------- Typography: section titles ---------- */
.section-title span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .6px;
}
.section-title h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-title.text-center p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-title p {
  line-height: 1.7;
}

/* ---------- Section rhythm (same vertical spacing everywhere) ---------- */
.about-area,
.backend-sec,
.tech-sec,
.brands-about,
.folio-sec,
.faq-bg-into,
.pricing-sec-new.price-area {
  padding-top: var(--sec-pad) !important;
  padding-bottom: var(--sec-pad) !important;
}
.pricing-sec-new.folio-home {
  margin-top: 0;
}
.client-area {
  padding-top: var(--sec-pad);
  padding-bottom: var(--sec-pad) !important;
}
.cta-sec {
  padding-top: 70px;
  padding-bottom: 70px;
}
.our-service {
  padding-bottom: 40px;
}
.counter-area-2.counter_section_spacing {
  padding: 40px 0;
}
.pricing-sec-new .section-title {
  margin-bottom: 10px;
}
.pricing-sec-new.price-area.packages-sec {
  padding-top: var(--sec-pad) !important;
  padding-bottom: 110px !important;
}

/* ---------- Home hero ---------- */
.banner-area .banner-into {
  padding-top: 100px;
  padding-bottom: 110px;
}
/* soft dark gradient on the left so the text always reads clearly */
.banner-area::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 8, 36, .78) 0%, rgba(4, 8, 36, .48) 42%, rgba(4, 8, 36, 0) 72%);
}
.banner-area .banner-into,
.banner-area .banner-content {
  position: relative;
  z-index: 2;
}
.banner-content h1 {
  font-size: clamp(34px, 4.1vw, 54px) !important;
  line-height: 1.15 !important;
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 22px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.banner-content p {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 38px;
  opacity: .95;
}
.banner-content .banner-content-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .banner-area .banner-into {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .banner-area::after {
    background: linear-gradient(180deg, rgba(4, 8, 36, .72) 0%, rgba(4, 8, 36, .55) 100%);
  }
}
@media (max-width: 767px) {
  .about-area,
  .backend-sec,
  .tech-sec,
  .brands-about,
  .folio-sec,
  .faq-bg-into,
  .pricing-sec-new.price-area {
    padding-top: var(--sec-pad-sm) !important;
    padding-bottom: var(--sec-pad-sm) !important;
  }
  .pricing-sec-new.price-area.packages-sec {
    padding-top: var(--sec-pad-sm) !important;
    padding-bottom: 70px !important;
  }
  .client-area {
    padding-top: var(--sec-pad-sm);
    padding-bottom: var(--sec-pad-sm) !important;
  }
  .cta-sec {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .counter-area-2.counter_section_spacing {
    padding: 28px 0;
  }
  .banner-area .banner-into {
    padding-top: 56px;
    padding-bottom: 60px;
  }
  .banner-content p {
    font-size: 16px;
  }
}

/* ==========================================================
   "Let's build a website together" band + footer
   ========================================================== */
:root {
  /* left/right edge of the .container, so full-width bands line up with it */
  --edge: max(24px, calc((100vw - 1170px) / 2 + 12px));
}

/* ---- Left side: headline + Let's Chat + contact lines ---- */
.footer-sec-bottom > .container-fluid,
.footer-sec-bottom .row {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}
.footer-sec-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  margin: 0;
  padding: 90px 48px 90px var(--edge);
  background: linear-gradient(135deg, #f4f6ff 0%, #eceff8 100%);
}
.footer-sec-head .section-title {
  margin-bottom: 8px;
}
.footer-sec-head .section-title h2 {
  margin-bottom: 0;
}
.footer-sec-head h3 {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-sec-head a.footer-tel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 7px 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--brand-navy);
  transition: color .25s;
}
.footer-sec-head a.footer-tel:hover {
  color: var(--brand-accent);
}
.footer-sec-head a.footer-tel i {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-accent);
  font-size: 17px;
  box-shadow: 0 6px 16px rgba(7, 15, 77, .1);
}

/* ---- Right side: contact form on the red photo ---- */
.footer-sec-head-two {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px var(--edge) 70px 60px;
}
.footer-sec-head-two h4 {
  margin-bottom: 24px;
  font-size: 30px;
  font-weight: 700;
}
.footer-sec-head-two input,
.footer-sec-head-two textarea {
  margin-bottom: 18px;
  border-radius: 10px;
  color: #fff;
}
.footer-sec-head-two input::placeholder,
.footer-sec-head-two textarea::placeholder {
  color: rgba(255, 255, 255, .9);
}
.footer-sec-head-two textarea {
  height: 110px;
}

/* ---- Footer ---- */
.footer-area-another .footer-top-2.pt-100.pb-70 {
  padding: 70px 0 20px;
}
.footer-single-2 .footer-single-content-2 a img {
  width: 200px;
  margin-bottom: 16px;
}
.footer-single-2 .footer-single-content-2 p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 340px;
}
.footer-single-2 .footer-social li {
  padding-right: 0;
  margin-right: 8px;
}
.footer-single-2 .footer-social li a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef0ff;
  font-size: 20px;
  transition: background .25s, color .25s, transform .25s;
}
.footer-single-2 .footer-social li a:hover {
  background: var(--brand-blue);
  color: #fff;
  transform: translateY(-3px);
}
.footer-list-2 h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 22px;
}
.footer-list-2 ul li {
  margin-top: 0;
  padding: 6px 0;
  line-height: 1.5;
}
.footer-list-2 ul li a {
  font-size: 15px;
}
.footer-list-2 ul li > i {
  margin-right: 4px;
  color: var(--brand-accent);
}
.footer-list-2.ml-50,
.footer-list-2.ml-20 {
  margin-left: 0;
}
.footer-bottom-2 {
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (max-width: 991px) {
  .footer-sec-head {
    padding: 60px 24px;
  }
  .footer-sec-head-two {
    padding: 60px 24px;
  }
}
@media (max-width: 767px) {
  .footer-sec-head {
    padding: 48px 20px;
  }
  .footer-sec-head-two {
    padding: 48px 20px;
  }
  .footer-sec-head a.footer-tel {
    font-size: 15px;
    word-break: break-word;
  }
}

/* footer lists: chevron and text stay on one line, long emails wrap cleanly */
.footer-list-2 ul li {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.footer-list-2 ul li > i {
  margin: 3px 4px 0 0;
  flex: 0 0 auto;
}
.footer-list-2 ul li a,
.footer-list-2 ul li span {
  overflow-wrap: anywhere;
}
.footer-list-2 ul li {
  font-size: 15px;
}


@media (max-width: 991px) {
  .footer-sec-head,
  .footer-sec-head .section-title,
  .footer-sec-head .section-title span,
  .footer-sec-head .section-title h2,
  .footer-sec-head a.footer-tel {
    text-align: left;
  }
  .footer-sec-head .section-title span {
    display: block;
  }
}

/* remaining headings and price blocks that did not use .section-title / .pricing-sec-new */
.about-content h2,
.faq-content h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.25;
}
.price-area {
  padding-top: var(--sec-pad) !important;
  padding-bottom: var(--sec-pad) !important;
}
.price-area.packages-sec {
  padding-bottom: 110px !important;
}
@media (max-width: 767px) {
  .price-area {
    padding-top: var(--sec-pad-sm) !important;
    padding-bottom: var(--sec-pad-sm) !important;
  }
  .price-area.packages-sec {
    padding-bottom: 70px !important;
  }
}

/* ==========================================================
   FAQ block: the white card is dropped below the blue band (top: --faq-drop).
   The band gets the same bottom margin, so the next section never sits under the card.
   ========================================================== */
.faq-bg {
  --faq-drop: 100px;
  margin-bottom: var(--faq-drop);
}
.faq-bg-into {
  top: var(--faq-drop);
}
@media (min-width: 1200px) and (max-width: 1600px) {
  .faq-bg { --faq-drop: 20px; }
}
@media (max-width: 991px) {
  .faq-bg { --faq-drop: 0px; }
}

/* ==========================================================
   Awards / badges band (about page)
   The badge images are 284-390px; shown full size they made the band very tall.
   ========================================================== */
.brands-box {
  padding: 36px 0;
}
ul.brands-list-about {
  justify-content: center;
  gap: clamp(28px, 7vw, 110px);
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
ul.brands-list-about li {
  display: flex;
  align-items: center;
  justify-content: center;
}
ul.brands-list-about li img {
  width: auto;
  height: 150px;
  max-width: 100%;
  object-fit: contain;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), filter .35s;
}
ul.brands-list-about li img:hover {
  transform: translateY(-5px) scale(1.04);
}
@media (max-width: 767px) {
  .brands-box { padding: 28px 0; }
  ul.brands-list-about { gap: 22px; }
  ul.brands-list-about li img { height: 110px; }
}

/* ==========================================================
   Images carry real width/height attributes (stops the page jumping while they load).
   `height: auto` keeps the attributes as a pure aspect-ratio hint, so images
   still scale with their container and never stretch. Class rules still win.
   ========================================================== */
img {
  height: auto;
}

/* the about photo is sized by height only; keep its width proportional (the width attribute would otherwise pin it) */
.about-img-2 .about-man img {
  width: auto;
}
