/* ============================================
   TOKENS
   ============================================ */
:root {
  --paper: #000000;
  --paper-dim: #ffffff;
  --ink: #ffffff;
  --ink-soft: #ffffff;
  --line: #dfdfdc;
  --accent: #2f44e1;
  --accent-ink: #0F1B8F;
  --accent-tint: #ffffff;

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --gutter: clamp(1.5rem, 4vw, 3.5rem);
  --maxw: 1200px;
  --maxx: 1090px;
  

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

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

html { scroll-behavior: smooth; }

body {
  background:var(--paper) ;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}


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

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

button { font: inherit; cursor: pointer; }


:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
/* .screen-img{
  height: fit-content;
  align-self: baseline;
} */
.log-img{
  height: 60px;
  cursor: pointer;
  
  
}


.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  background-color:var(--paper) ;
  
  /*display: flex;
  flex-direction: row;*/
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; }

p { color: var(--ink-soft); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 10px;
  z-index: 100;
  background:var(--paper);
  backdrop-filter: blur(10px);
  /*border-bottom: 1px solid var(--line); */
}

.nav .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-mark .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s var(--ease);
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.active { color: var(--ink); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
}

.nav-cta { display: none; }

.nav-toggle {
  display: none;
  background:none;
  border: none;
  width: 32px;
  height: 32px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 6px; right: 6px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 11px; }
.nav-toggle span:nth-child(2) { top: 19px; }

.nav-toggle.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 860px) {
  .nav-cta { display: inline-flex; }
}

@media (max-width: 859px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction:column;
    align-items: flex-start;
    gap: 0;
    background: var(--accent-ink);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .nav-links.open { max-height: 320px; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 1rem var(--gutter);
    border-bottom: 1px solid var(--paper);
  }
  .nav-links .nav-cta-mobile {
    display: block;
    padding: 1rem var(--paper-dim);
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.875rem; }

/* ============================================
   GRID RULE MOTIF
   ============================================ */
.ruled {
  position: relative;
  background-image: repeating-linear-gradient(
    to right,
    var(--line) 0,
    var(--line) 1px,
    transparent 1px,
    transparent calc((100% - 2px) / 4)
  );
}

.eyebrow-mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow-mono::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  margin-top: 60px;
  padding-block: clamp(rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--paper);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin-block: 1.1rem 1.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.1rem;
  flex-wrap: wrap;
}

/* --- Hero visual: responsive frame demo --- */
.frame-demo {
  /* border: 1px solid var(--line); */
  background: var(--paper);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: 6px;
}

.device-shell {
  height: 300px;
  background: #fffafafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(21,23,28,0.03);
}

.device-chrome {
  height: 32px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display:flex ;
  align-items:center;
  gap: 6px;
  padding-inline: 12px;
}
.device-chrome i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.device-viewport {
  width: 92%;
  margin: 0 auto;
  transition: width 1.4s var(--ease);
  animation: frame-resize 9s var(--ease) infinite;
}

@keyframes frame-resize {
  0%, 18% { width: 92%; }
  38%, 56% { width: 62%; }
  76%, 94% { width: 34%; }
  100% { width: 92%; }
}

.device-body {
  padding: 18px 16px 22px;
  display: flex;
  flex-direction:column-reverse;
  gap: 10px;
}

.dv-row {
  display: flex;
  gap: 8px;
}

.dv-block {
  background: var(--accent-tint);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.dv-nav { height: 10px; width: 40%; background: var(--ink); border-radius: 2px; }
.dv-hero { height: 34px; flex: 1; }
.dv-card { height: 46px; flex: 1; }
.dv-line { height: 8px; background: var(--paper); border-radius: 2px; }
.dv-line.short { width: 55%; }

.frame-label {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ============================================
   SECTION SPACING
   ============================================ */
.section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
 
}

.section-head {
  max-width: 620px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2 { margin-top: 0.6rem; }

.section-border-top { border-top: 1px solid var(--paper); }

/* ============================================
   FEATURE CARDS
   ============================================ */
.card-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

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

.feature-card {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-left: 3px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.feature-card:hover {
  border-left-color: var(--accent);
  background: var(--accent);
}

.feature-card h3 { margin-bottom: 0.65rem; }
.feature-card p { font-size: 0.96rem; }

.feature-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

/* ============================================
   CHECK LIST (Why choose us)
   ============================================ */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
 /* border-top: 1px solid var(--line);*/
}

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

.check-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.05rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}

.check-item svg { flex-shrink: 0; color: var(--accent); }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  max-width: var(--maxx);
  margin: 0 auto;
  justify-content: center;
  padding-inline: var(--gutter);
  background: var(--paper);
  color: var(--ink-soft);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background-color: rgb(58, 123, 101);
  flex-wrap: wrap;
  border-radius: 15px;
  height: 150px;
}

.cta-band h2 { color: var(--ink-soft); max-width: 20ch; }

.cta-band .btn-primary {
  background: var(--ink);
}
.cta-band .btn-primary:hover { background: var(--accent) }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  /*border-top: 1px solid var(--line);*/
  padding-block: 2.75rem;
}.srv

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}.st

.footer-mark {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-tag {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 28ch;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  /*border-top: 1px solid var(--line);*/
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;/*
  padding-left: 40%;
  padding-right: 40%;*/
}

/* ============================================
   PAGE HERO (secondary pages)
   ============================================ */
.page-hero {
  padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  margin-top: 0.75rem;
  max-width: 16ch;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 3vw, 2.5rem);
}

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

.approach-item {
  /* padding-top: 1.25rem; */
  padding: clamp(1.5rem, 3vw, 2.25rem);
  /* border-top: 2px solid var(--ink); */
}
.approach-item:hover{
  
  border-left-color: var(--accent);
  background: var(--accent);
  border-radius: 5%;
}
.approach-item h3 { margin-bottom: 0.6rem; }
.approach-item p { font-size: 0.96rem; }

.skills-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-chip {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  border: 1px solid var(--line);
  padding: 0.5rem 0.9rem;
  border-radius: 3px;
  color: var(--ink-soft);
}

.container_about{
  padding-top: 10px;
}

.about-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 820px) {
  .about-body { grid-template-columns: 1fr; }
}

.about-body p + p { margin-top: 1rem; }

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  cursor: pointer;
}

.service-card {
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  grid-column: span 3;
  transition: background 0.25s var(--ease);
}

.service-card:hover { background: var(--accent); }

.service-card.wide { grid-column: span 6; display: flex; gap: 2rem; align-items: flex-end; flex-wrap: wrap; }

.service-card .tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  /* color: var(--paper-dim); */
  color: rgb(236, 39, 147);
  margin-bottom: 0.9rem;
  display: block;
}

.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { font-size: 0.95rem; }

@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.wide { grid-column: span 1; }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.field {
  margin-bottom: 1.4rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.field textarea { resize: vertical; min-height: 130px; }

.contact-info{
font-style: italic;
color: #2812cd;
}
.contact-info-block {
  border-left: 2px solid var(--ink);
  padding-left: 1.5rem;
  
}

.contact-info-block {
  margin-top: 2rem;
}

.contact-info-block h3 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--ink-soft); font-family: var(--font-body); font-weight: 500; }
.contact-info-block a, .contact-info-block p { font-size: 1.05rem; color: var(--ink); }

.social-row {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.4rem;
}
.social-row a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.social-row a:hover { color: var(--accent); }

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--accent);
  display: none;
}
.form-status.show { display: block; }


/*SLIDES sECTION*/
.slider {
  width: 100%;
  overflow: hidden;
}
.slider-container{
     width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.slider-container .slider-track {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
     animation: slide 9s infinite;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slider-container .slider-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* .slides img {
  width: 100%;
  flex-shrink: 0;
  object-fit: contain;
} */

@keyframes slide {
  0%, 30% {
    transform: translateX(0);
  }

  33%, 63% {
    transform: translateX(-100%);
  }

  66%, 96% {
    transform: translateX(-200%);
  }

  100% {
    transform: translateX(-300%);
  }
}
.slider-container:hover .slider-track{
  animation-play-state: paused;

}

/*.slide h3 {
    font-size: 22px;
    margin-top: 15px;
    color: #222;

}
/* Automatic Slider Animation*/
/* @keyframes slideForward {

    0%, 28% {
        transform: translateX(0);
    }

    33%, 61% {
        transform: translateX(-33.3333%);
    }

    66%, 94% {
        transform: translateX(-66.6666%);
    }

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


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

    .slider-container {
        margin: 20px auto;
    }

    .slide img {
        height: 280px;
    }

    .slide h3 {
        font-size: 18px;
    }
} */

/* Pause Slider on Hover */
/* .slider-container:hover .slider-track {
    animation-play-state: paused;
} */
