@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root{
  --bg:#ffffff;
  --dark:#0f172a;
  --accent:#2563eb;
  --muted:#64748b;
  --card:#f8fafc;
}

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

body{
  font-family:Poppins,sans-serif;
  background:var(--bg);
  color:var(--dark);
  line-height:1.6;
}

/* HEADER */
.header{
  position:sticky;
  top:0;
  background:#fff;
  padding:20px 60px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #e5e7eb;
  z-index:10;
}

.logo{
  font-weight:600;
  font-size:20px;
}

.nav a{
  margin-left:24px;
  text-decoration:none;
  color:var(--dark);
  font-weight:500;
}

/* HERO */
.hero{
  min-height:90vh;
  display:flex;
  align-items:center;
  padding:80px 60px;
  background:linear-gradient(120deg,#f8fafc,#eef2ff);
}

.hero-content{
  max-width:700px;
}

.hero h1{
  font-size:48px;
  line-height:1.2;
  margin-bottom:20px;
}

.hero p{
  color:var(--muted);
  margin-bottom:30px;
}

.hero-buttons{
  display:flex;
  gap:16px;
}

/* BUTTONS */
.btn{
  padding:14px 32px;
  background:var(--accent);
  color:#fff;
  border-radius:40px;
  text-decoration:none;
  font-weight:500;
}

.btn.small{
  padding:12px 24px;
}

.btn-outline{
  padding:14px 32px;
  border:2px solid var(--accent);
  color:var(--accent);
  border-radius:40px;
  text-decoration:none;
  font-weight:500;
}

/* SECTIONS */
.section{
  padding:90px 60px;
}

.section.light{
  background:#f8fafc;
}

.section h2{
  text-align:center;
  font-size:32px;
  margin-bottom:60px;
}

/* SERVICES */
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
}

.service-card{
  background:var(--card);
  padding:30px;
  border-radius:20px;
  transition:.3s;
}

.service-card:hover{
  transform:translateY(-6px);
}



/* FOOTER */
.footer{text-align:center;padding:26px;background:#000;color:#9ca3af}
/* =========================
   GLOBAL HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0b0b0b;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.logo span {
  color: #888;
  font-weight: 500;
}

/* NAV */
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  color: #d5d5d5;
  text-decoration: none;
  font-size: 15px;
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #fff;
}

/* CTA BUTTON */
.nav-btn {
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  font-size: 14px;
}

.nav-btn:hover {
  background: #fff;
  color: #000;
}

/* MOBILE */
.menu-toggle {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

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

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0b0b0b;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    display: none;
  }

  .main-nav.active {
    display: flex;
  }
}

/* MOBILE – APP LIKE */
@media(max-width:768px){
  .header{
    padding:16px 20px;
  }

  .nav{
    display:none;
  }

  .hero{
    padding:60px 20px;
  }

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

  .section{
    padding:60px 20px;
  }

  .project-box{
    grid-template-columns:1fr;
  }

  .cta-buttons{
    flex-direction:column;
  }
}
/* CASE STUDY */

.case-hero{
  min-height:60vh;
}

.case-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:40px;
  align-items:flex-start;
}

.case-list{
  margin-top:20px;
  padding-left:20px;
}

.case-info{
  background:var(--card);
  padding:24px;
  border-radius:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.solution-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
}

.solution-card{
  background:#fff;
  padding:30px;
  border-radius:20px;
  transition:.3s;
}

.solution-card:hover{
  transform:translateY(-6px);
}

.preview-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}

.preview-box{
  height:280px;
  border-radius:20px;
  background:#e5e7eb;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-weight:500;
}

.preview-note{
  text-align:center;
  color:var(--muted);
  margin-top:20px;
}

.result-text{
  max-width:800px;
  margin:auto;
  text-align:center;
  font-size:18px;
}

/* MOBILE */
@media(max-width:768px){
  .case-grid,
  .preview-grid{
    grid-template-columns:1fr;
  }
}
/* ===== HEADER BASE ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  transition: transform 0.3s ease;
}

.site-header.hide {
  transform: translateY(-100%);
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
  text-decoration: none;
}

/* ===== DESKTOP NAV ===== */
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
}

.nav a.active {
  color: #111827;
  font-weight: 700;
}

/* ===== MENU BUTTON ===== */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-btn span {
  width: 26px;
  height: 3px;
  background: #111827;
  display: block;
  margin: 5px 0;
  border-radius: 2px;
}

/* ===== CLOSE BUTTON ===== */
.close-btn {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 20px;
}

/* ===== MOBILE DRAWER ===== */
@media (max-width: 900px) {

  .menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    padding: 90px 28px 28px;

    display: flex;
    flex-direction: column;
    gap: 22px;

    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1100;
  }

  .nav.active {
    transform: translateX(0);
  }

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

  .close-btn {
    display: block;
  }
}

