:root {
  --navy: #041a3e;
  --navy-2: #0b2f68;
  --navy-3: #0f3f8c;
  --cyan: #3cd8f2;
  --teal: #14c8c9;
  --orange: #ff7f3f;
  --red: #d3606d;
  --sand: #f7f4ef;
  --white: #ffffff;
  --text: #dce7ff;
  --muted: #9db4dc;
  --shadow: 0 14px 44px rgba(4, 26, 62, 0.28);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

.shell {
  width: min(1100px, 94vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 5vw;
  background: rgba(4, 26, 62, 0.88);
  backdrop-filter: blur(10px);
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.06); */

}

.nav{
  position: relative;
   display: flex;
   max-width: 750px;
   margin: auto;
   gap: 18px;
   width: 100%;
   justify-content: space-between;
   align-items: center;      /* vertical */
     height: 80px;
  font-size: 1.3rem;
  font-weight: 600;
}


.topbar .brand img {
  width: 90px;
  height: auto;
  position: absolute;
  transform: translate(-50%, -30%);
  transition: width 220ms ease, transform 220ms ease;
}

.logo-small {
  width: 50px !important;
  transform: translate(-50%, -50%) !important;
}



.brand-bg {
  width: 150px !important;
  height: auto;
  position: absolute;
  transform: translate(-50%, -30%);
}




.hero {
  width: 100%;
  max-height: 80vh;
  position: relative;
  padding: 0;
  background: #020f26;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-video {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 200ms ease;
}


.video-toggle {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.55);
  color: #f2f6ff;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(4px);
  opacity: 0.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(120deg, #1ac6ff, #14c8c9);
  color: #001531;
  box-shadow: 0 10px 30px rgba(20, 200, 201, 0.35);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
}

.btn.full {
  width: 100%;
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-tags li {
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 216, 242, 0.2), transparent 60%);
  filter: blur(10px);
  z-index: 0;
}

.hero-main {
  width: min(520px, 90vw);
  position: relative;
  z-index: 1;
}

.logos {
  background: var(--white);
  padding: 80px 0;
  overflow: hidden;
}

.logo-marquee {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 90s linear infinite;
  filter: grayscale(1) brightness(0);
  opacity: 0.5;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 60px;
}

.logo-track img {
  max-height: 44px;
  object-fit: contain;
}

.about {
  background: var(--white);
  color: #0b1830;
  padding: 70px 0 50px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: center;
}

.mission-grid{

  margin-top: 100px;
  margin-bottom: -150px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--red);
}

.kicker-bar {
  width: 28px;
  height: 3px;
  background: var(--red);
  border-radius: 99px;
}

.about h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 4vw, 38px);
  margin: 12px 0 14px;
}

.about-text h2::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 35px;
  margin-right: 15px;
  margin-top: -5px;
  background: var(--red);
  vertical-align: middle;
}

.about p {
  color: #3c4a6e;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.pillar {
  padding: 20px;
  background: #4b6ab1;
  border-radius: 12px;
}
.pillar p {
  padding: 16px;
  background: #4b6ab1;
  border-radius: 12px;
  color: #fff !important;
  margin:0;
  padding: 0 16px;

}

.pillar h3 {
  margin: 0 0 6px;
  color: #fff !important;
    
}

.about-visual {
  display: grid;
  justify-items: center;
}

.about-visual img {
  max-width: 360px;
}

.services {
  padding: 200px 0 30px;
  background: #041a3e;
}

.section-title {
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 34px);
  margin: 0 0 32px;
}

.service {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
  padding: 10px 0 40px;
  margin-bottom: 38px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;

}

.service + .service {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 40px;
}

.service h3 {
  font-size: 45px;
  margin: 0 0 15px;
}

.service p {
  margin: 0 0 14px;
  color: var(--muted);
}

.service ul {
  margin: 0;
  padding-left: 18px;
  color: #d9e7ff;
  display: grid;
  gap: 6px;
}

.service-visual {
  position: relative;
  min-height: 260px;
  display: grid;
  justify-items: center;
  overflow: visible;
}

.service-bg,
.service-img {
  max-width: min(360px, 80vw);
  width: 100%;
  height: auto;
  will-change: transform, opacity;
  opacity: 0;
  transform: translateX(-60px);
}

.service-bg {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 0;
  transform: scale(1.4) !important;
  filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.25));
}

.service-img {
  position: relative;
  z-index: 1;
}

.parallax-layer {
  transition: opacity 260ms ease, transform 320ms ease;
}

.cases {
  padding: 64px 0;
  background: #041a3e;
   margin-bottom: -400px;
}

.cases-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.cases-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 600px;
}

.slides {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.case-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: var(
    --case-bg,
    linear-gradient(140deg, rgb(57, 111, 196), rgba(2, 60, 114, 1))
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 40px;
  transition: opacity 400ms ease, visibility 0s linear 400ms;
}

.imgwhite{
   filter: grayscale(1) brightness(100);
}
.case-info img {


 margin-top:20px;
 /* max-height: 35px; */
 max-width: 200px;
  max-height: 60px;
 margin-bottom: 40px;

}

.case-what{
  padding: 10px  20px;
  background-color: #272768;
  border-radius: 5px;
  margin: 10px 0;
  display: inline-block;
}

.case-card.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 400ms ease, visibility 0s linear 0s;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: start;
}

.case-brand h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.case-brand p {
  margin: 0;
  color: var(--muted);
}

.case-media img {
padding:70px;
height: auto;
}

.case-notes ul {
  margin: 0;
  padding-left: 18px;
  color: #e5f0ff;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.case-gallery img {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px;
}

.slider-btn {
  width: 40px;
  height: 80%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background-color: #263986;
  cursor: pointer;
}

.dot.active {
  background: var(--cyan);
  border-color: var(--cyan);
}

.skills {

  padding: 60px 0;
  background: var(--white);
  color: #0b1830;
    padding-top: 400px;
}

.skills .section-title {
  margin-bottom: 24px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.skill {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #e5ecff;
  background: #f7f9ff;
  display: grid;
  gap: 10px;
}

.skill-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-head img {
  width: 28px;
  height: 28px;
}

.skill h4 {
  margin: 0;
  color: #0b2f68;
  font-size: 17px;
}

.skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  color: #24345a;
  font-size: 15px;
}

.skill-list .stars {
  display: inline-flex;
  gap: 3px;
  vertical-align: middle;
}

.skill-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-list .label {
  flex: 1;
}

.stars {
  margin-left: auto;
  display: inline-flex;
  gap: 2px;
}


.star-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  background-color: #c7d1e1;
  mask-image: url('img/star-o.svg');
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url('img/star-o.svg');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  opacity: 0.8;
}

.star-icon.filled {
  background-color: var(--star-color, #ff7f3f);
  mask-image: url('img/star.svg');
  -webkit-mask-image: url('img/star.svg');
  opacity: 1;
}

.star-icon.half {
  background-color: var(--star-color, #ff7f3f);
  mask-image: url('img/star-h.svg');
  -webkit-mask-image: url('img/star-h.svg');
  opacity: 1;
}

.skill-tools {
  margin: 0;
  color: #3c4a6e;
  font-size: 14px;
  line-height: 1.5;
}

.skill.radar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill.radar img {
  max-width: 260px;
}

.clients-logos {
  padding: 70px 0;
  background: var(--white);
  color: #0b1830;
}

.logo-block, .logo-block {
  margin: 44px 0;
  margin-bottom: 100px;
}

.logo-block h3::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 35px;
  margin-right: 15px;
  margin-top: -5px;
  background: var(--red);
  vertical-align: middle;
}

.logo-block h3 {
  margin: 44px 0;
}


.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 70px;
  align-items: center;
 
}

.logo-wall img {
  max-height: 36px;
  object-fit: contain;
  justify-self: center;
  /* filter: grayscale(0.2); */
   margin-top: 70px;
}

.contact {
  padding: 70px 0;
  background: linear-gradient(180deg, #041a3e 0%, #0b2f68 100%);
  color: var(--text);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  align-items: start;
}

.contact h2 {
  font-size: clamp(26px, 4vw, 32px);
  margin: 10px 0 8px;
}

.contact p {
  margin: 0 0 12px;
  color: var(--muted);
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.form-row label {
  font-weight: 600;
  color: var(--text);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer {
  padding: 22px 0 26px;
  background: #020f26;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-shell {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: center;
}

.footer-brand img {
  width: 56px;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-note {
  justify-self: end;
}


@media (max-width: 860px) {
  .cases-slider {
    grid-template-columns: 1fr;
  }
  .slider-btn {
    order: -1;
    justify-self: center;
  }
  .logo-small {
  width: 40px !important;
  transform: translate(-50%, -50%) !important;
}
  .video-toggle {
    opacity: 0;
  }

}

@media (max-width: 600px) {


  .service,
  .service-alt {
    padding: 18px;
  }
  .logo-strip {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  .logo-wall {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  .footer-shell {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-note {
    justify-self: center;
  }

  .nav{
  font-size: 0.8rem;
  font-weight: 600;
 }
 


.topbar .brand img {
  width: 60px;
}



}

@media (max-width: 720px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .logo-marquee {
    gap: 24px;
  }
  .logos, .about{
       padding: 40px 0;
  }

    .about{
       padding:  10px 0;
  }

  .service {
    grid-template-columns: 1fr;
  }
  .service-visual {
    order: -1;
    justify-self: center;
  }

  .slider-btn {
  position: absolute;
  z-index: 3;
  
}
  .next {
  right: 0px;
}
 .prev {
   left: 0px;
 }

 
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
