/*
Theme Name: Stesalit
Author: Your Jasobanta(j100775@gmail.com)
Description: A custom WordPress theme built completely from scratch.
Version: 1.0.0
*/
/* =========================================================
   STESALIT WEBSITE
   Main stylesheet
   ========================================================= */

:root {
  --blue: #2878f5;
  --navy: #0c1d49;
  --dark: #080f1e;
  --dark-card: #121c2f;
  --text: #101522;
  --muted: #667085;
  --white: #ffffff;
  --light: #f5f8fd;
  --border: rgba(255,255,255,.16);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:  "Montserrat", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

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

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

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

.site-header {
  position: relative;
  z-index: 100;
  background: #fff;
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  width: 150px;
  display: flex;
  flex-direction: column;
  line-height: .9;
  flex-shrink: 0;
}

.logo-main {
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -1.7px;
}

.logo-sub {
  margin-top: 4px;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .25px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  flex: 1;
}

.desktop-nav > a,
.nav-dropdown-btn {
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #1a2435;
  white-space: nowrap;
}

.desktop-nav > a:hover,
.desktop-nav > a.active,
.nav-dropdown-btn:hover {
  color: var(--blue);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn span {
  margin-left: 3px;
  font-size: 12px;
  vertical-align: super;
}

.dropdown-menu {
  display: none;
  position: absolute;
  left: -20px;
  min-width: 245px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.15);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  font-size: 12px;
  border-radius: 7px;
}

.dropdown-menu a:hover {
  background: #f1f5fb;
  color: var(--blue);
}

.header-contact {
  border: 1.5px solid var(--blue);
  color: var(--blue);
  border-radius: 25px;
  padding: 11px 23px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.mobile-menu-btn,
.mobile-menu {
  display: none;
}

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

.hero-section {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #17283a;
}

.hero-video-bg,
.hero-fallback,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video-bg {
  object-fit: cover;
}

.hero-fallback {
  background:
    linear-gradient(135deg, rgba(19,50,62,.85), rgba(32,49,68,.75)),
    url("../assets/images/hero.jpg") center/cover no-repeat;
  z-index: -2;
}

.hero-overlay {
  background: rgba(5, 15, 24, .62);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 0 95px;
  text-align: center;
  color: #fff;
}

.pill-badge {
  display: inline-block;
  padding: 9px 22px;
  margin-bottom: 27px;
  border-radius: 30px;
  background: rgba(25, 31, 38, .78);
  border: 1px solid rgba(255,255,255,.09);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .55px;
}

.pill-badge span {
  opacity: .6;
  padding: 0 4px;
}

.hero-title {
  font-size: clamp(42px, 5.2vw, 67px);
  line-height: .99;
  letter-spacing: -2.6px;
  font-weight: 800;
}

.hero-title span {
  position: relative;
}

.hero-title span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: #fff;
}

.hero-description {
  max-width: 820px;
  margin: 31px auto 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,.9);
}

.hero-buttons,
.cta-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.btn {
  min-height: 46px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  transition: .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-glass {
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}

.btn-blue {
  color: #fff;
  background: var(--blue);
}

.circle-arrow {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 17px;
}

/* ================= TRUSTED ================= */

/* .trusted-section {
  padding: 28px 0 31px;
  background: #fff;
} */

/* .trusted-title {
  text-align: center;
  font-size: 16px;
  margin-bottom: 18px;
  font-weight: 800;
} */

/* .logo-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
} */
/* 
.client-logo {
  min-height: 47px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 6px;
  background: #eff5fd;
  color: #3464a8;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
} */




/* =========================================================
   TRUSTED CLIENT CAROUSEL
   ========================================================= */

.trusted-section {
  padding: 30px 0 35px;
  background: #ffffff;
}

.trusted-title {
  margin-bottom: 22px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: #101522;
}

/* Carousel outer area */
.trusted-carousel {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* Visible area */
.carousel-viewport {
  width: 100%;
  overflow: hidden;
}

/* Moving row */
.carousel-track {
  display: flex;
  gap: 10px;
  transition: transform 0.2s ease-in-out;
  will-change: transform;
}

/* Individual logo box */
.client-logo {
  flex: 0 0 calc((100% - 60px) / 7);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #eff5fd;
  border-radius: 7px;
  overflow: hidden;
}

/* Logo image */
.client-logo img {
  display: block;

  width: 100%;
  max-width: 120px;
  height: 40px;

  object-fit: contain;
}

/* ================= ARROWS ================= */

.carousel-btn {
  position: absolute;
  top: 50%;

  transform: translateY(-50%);

  z-index: 5;

  width: 38px;
  height: 38px;

  border: none;
  border-radius: 50%;

  background: #ffffff;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);

  color: #1e6bff;

  font-size: 18px;

  cursor: pointer;

  display: none;
  align-items: center;
  justify-content: center;

  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: #1e6bff;
  color: #ffffff;
}

.carousel-prev {
  left: -18px;
}

.carousel-next {
  right: -18px;
}

/* ================= DOTS ================= */

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 7px;

  margin-top: 18px;
}

.carousel-dot {
  width: 7px;
  height: 7px;

  padding: 0;

  border: none;
  border-radius: 50%;

  background: #d7deea;

  cursor: pointer;

  transition: all 0.2s ease;
}

.carousel-dot.active {
  width: 8px;
  height: 8px;

  background: #1e6bff;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet */
@media (max-width: 1000px) {

  .client-logo {
    flex-basis: calc((100% - 30px) / 4);
  }

  .carousel-prev {
    left: -10px;
  }

  .carousel-next {
    right: -10px;
  }
}

/* Mobile */
@media (max-width: 650px) {

  .trusted-title {
    font-size: 14px;
    padding: 0 25px;
  }

  .client-logo {
    flex-basis: calc((100% - 10px) / 2);
    height: 70px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .carousel-prev {
    left: -7px;
  }

  .carousel-next {
    right: -7px;
  }
}

/* ================= LOGIC ================= */

.logic-section {
  background: var(--navy);
  color: #fff;
  padding: 43px 0;
}

.logic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.eyebrow {
  display: block;
  margin-bottom: 7px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #74aaff;
}

.logic-section h2 {
  font-size: 21px;
  line-height: 1.1;
}

.logic-copy {
  color: rgba(255,255,255,.76);
  font-size: 11px;
  line-height: 1.55;
}

.logic-copy p + p {
  margin-top: 15px;
}

/* ================= CAPABILITIES ================= */

.capabilities-section {
  padding: 50px 0 62px;
  background: var(--dark);
  color: #fff;
}

.dark-heading h2 {
  font-size: 27px;
  line-height: 1.03;
}

.dark-heading h2 span,
.projects-heading h2 span {
  color: var(--blue);
}

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

.capability-card {
  overflow: hidden;
  border-radius: 9px;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,.04);
}

.card-image {
  height: 145px;
  background-size: cover;
  background-position: center;
}

.image-gis {
  background:
    linear-gradient(135deg, rgba(0,0,0,.05), rgba(0,0,0,.3)),
    url("../assets/images/enterprise-gis.jpg") center/cover no-repeat,
    linear-gradient(135deg,#456, #182f4e);
}

.image-iot {
  background:
    linear-gradient(135deg, rgba(0,0,0,.05), rgba(0,0,0,.3)),
    url("../assets/images/system-integration.jpg") center/cover no-repeat,
    linear-gradient(135deg,#3a4653, #111923);
}

.image-urban {
  background:
    linear-gradient(135deg, rgba(0,0,0,.05), rgba(0,0,0,.3)),
    url("../assets/images/urban-consultancy.jpg") center/cover no-repeat,
    linear-gradient(135deg,#547e4b, #182d20);
}

.card-body {
  padding: 14px 16px 18px;
}

.card-body h3 {
  font-size: 12px;
  margin-bottom: 8px;
}

.card-body p {
  min-height: 62px;
  font-size: 9px;
  line-height: 1.45;
  color: #aeb8c9;
}

.card-body a {
  display: inline-block;
  margin-top: 13px;
  font-size: 7px;
  letter-spacing: 1px;
  color: #fff;
}

/* ================= PROJECTS ================= */

.projects-section {
  padding: 58px 0 48px;
  background: #fff;
}

.projects-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
}

.projects-heading h2 {
  font-size: 28px;
  line-height: 1.03;
}

.projects-heading > p {
  font-size: 11px;
  color: #737d8e;
  max-width: 380px;
}

.projects-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.project-card {
  overflow: hidden;
  border-radius: 9px;
  background: #0e1728;
  color: #fff;
}

.project-image {
  height: 190px;
  background-position: center;
  background-size: cover;
}

.project-power .project-image {
  background:
    linear-gradient(135deg,rgba(0,0,0,.05),rgba(0,0,0,.15)),
    url("../assets/images/powerline.jpg") center/cover no-repeat,
    linear-gradient(135deg,#60778a,#29343f);
}

.project-infrastructure .project-image {
  background:
    linear-gradient(135deg,rgba(0,0,0,.05),rgba(0,0,0,.15)),
    url("../assets/images/public-infrastructure.jpg") center/cover no-repeat,
    linear-gradient(135deg,#7994aa,#34495e);
}

.project-city .project-image {
  background:
    linear-gradient(135deg,rgba(0,0,0,.05),rgba(0,0,0,.15)),
    url("../assets/images/smart-city.jpg") center/cover no-repeat,
    linear-gradient(135deg,#608d70,#304c3a);
}

.project-oil .project-image {
  background:
    linear-gradient(135deg,rgba(0,0,0,.05),rgba(0,0,0,.15)),
    url("../assets/images/oil-gas.jpg") center/cover no-repeat,
    linear-gradient(135deg,#a0a79b,#515850);
}

.project-content {
  padding: 12px 15px 15px;
}

.project-content > span {
  font-size: 7px;
  letter-spacing: 1.1px;
  color: #b5c5df;
}

.project-content h3 {
  margin-top: 6px;
  font-size: 12px;
}

.project-content p {
  margin-top: 5px;
  font-size: 8px;
  line-height: 1.4;
  color: #aeb8c9;
}

.center-button {
  display: flex;
  justify-content: center;
  margin-top: 27px;
}

.small-blue-btn {
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--blue);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

/* ================= ADVANTAGE ================= */

.advantage-section {
  padding: 45px 0;
  background: var(--navy);
  color: #fff;
}

.advantage-grid {
  display: grid;
  grid-template-columns: 1.15fr 2fr;
  gap: 50px;
  align-items: center;
}

.advantage-intro h2 {
  font-size: 21px;
  line-height: 1.1;
}

.advantage-intro p {
  margin-top: 11px;
  max-width: 370px;
  font-size: 9px;
  line-height: 1.45;
  color: rgba(255,255,255,.72);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat strong {
  display: block;
  font-size: 18px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 9px;
  font-size: 8px;
  line-height: 1.4;
  color: rgba(255,255,255,.68);
}

/* ================= CTA ================= */

.cta-section {
  position: relative;
  padding: 40px 0 52px;
  background: #03294a;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,53,91,.55),rgba(0,33,61,.65)),
    url("../assets/images/cta-city.jpg") center/cover no-repeat;
}

.cta-box {
  position: relative;
  z-index: 1;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 24px;
  color: #fff;
  

}

.cta-box h2 {
  font-size: 25px;
  margin-top: 2px;
}

.cta-box p {
  margin-top: 5px;
  font-size: 10px;
  color: rgba(255,255,255,.85);
}

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

.site-footer {
  background: #080f1e;
  color: #fff;
}

.footer-grid {
  padding: 37px 0 28px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1.15fr;
  gap: 35px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-brand > p {
  max-width: 230px;
  font-size: 9px;
  color: #9ca8bb;
  line-height: 1.5;
}

.socials {
  display: flex;
  gap: 7px;
  margin-top: 15px;
}

.socials a {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: var(--blue);
  font-size: 10px;
  font-weight: 700;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-column h3 {
  margin-bottom: 6px;
  font-size: 9px;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  font-size: 8px;
  line-height: 1.45;
  color: #a9b2c2;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  min-height: 42px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 7px;
  color: #8f9aac;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {
  .desktop-nav {
    gap: 14px;
  }

  .header-inner {
    gap: 15px;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    height: 68px;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .mobile-menu-btn {
    margin-left: auto;
    width: 38px;
    height: 38px;
    border: 0;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .mobile-menu-btn span {
    width: 23px;
    height: 3px;
    margin-left: auto;
    border-radius: 2px;
    background: #111827;
  }

  .mobile-menu {
    display: none;
    padding: 8px 16px 20px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
  }

  .mobile-menu.open {
    display: block;
  }

  .mobile-menu a {
    display: block;
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 600;
  }

  .mobile-menu .mobile-contact {
    margin-top: 8px;
    text-align: center;
    color: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 24px;
  }

  .hero-section {
    min-height: 640px;
  }

  .hero-content {
    padding: 80px 0;
  }

  .pill-badge {
    font-size: 8px;
    padding: 8px 12px;
  }

  .hero-title {
    font-size: 39px;
    letter-spacing: -1.6px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: fit-content;
  }

  .logo-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .logic-grid,
  .projects-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .capability-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 25px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
  }
}

@media (max-width: 460px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-description {
    font-size: 12px;
  }

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


/* ================= INNER PAGES ================= */

.inner-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(110deg, rgba(7,20,43,.95), rgba(17,54,91,.78)),
    url("../assets/images/inner-hero.jpg") center/cover no-repeat;
  color: #fff;
  padding: 80px 0;
}

.inner-hero .eyebrow {
  color: #73aaff;
}

.inner-hero h1 {
  max-width: 800px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -2px;
}

.inner-hero p {
  max-width: 650px;
  margin-top: 20px;
  font-size: 17px;
  color: rgba(255,255,255,.82);
}

.inner-content {
  padding: 65px 0;
  background: #f6f8fc;
}

.inner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.inner-card {
  min-height: 220px;
  padding: 30px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e7ebf2;
  box-shadow: 0 10px 30px rgba(12,29,73,.05);
}

.inner-card h2 {
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.15;
}

.inner-card p {
  margin-top: 12px;
  color: #687386;
  font-size: 13px;
  line-height: 1.6;
}

.inner-card a {
  display: inline-block;
  margin-top: 18px;
  color: #2878f5;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 700px) {
  .inner-hero {
    min-height: 300px;
  }

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

  .inner-card {
    min-height: 180px;
  }
}
