*{margin:0;padding:0;box-sizing:border-box;font-family:'Segoe UI',sans-serif}

:root{
  --blue:#3B82F6;
  --cyan:#00D4FF;
  --gradient:linear-gradient(90deg,#3B82F6,#00D4FF);

  --bg:#ffffff;
  --bg-soft:#f5f9ff;
  --text:#0f172a;
  --text-soft:#64748b;
  --card:#ffffff;
  --border:rgba(59,130,246,0.15);
  --glow:#60a5fa;
  --primary:#3b82f6;
  --card-shadow: 0 10px 30px rgba(59, 130, 246, 0.05);
}

html{
  scroll-behavior:smooth;
  scroll-padding-top:80px;
  font-size: 16px; /* Ukuran dasar standar */
}

body{
  background:linear-gradient(180deg,#ffffff,#f5f9ff);
  color:var(--text);
}
html, body{
  overflow-x:hidden;
}

/* NAVBAR */
.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 40px;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  background:rgba(255,255,255,0.8);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
  z-index:1000;
  transition: transform .3s ease, background .3s ease;
}

/* Sembunyikan navbar */
.navbar.hide{
  transform: translateY(-100%);
}

/* Efek saat discroll */
.navbar.scrolled{
  background:rgba(255,255,255,0.95);
  box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.logo{
  font-size: 1.375rem; /* Relatif ke ukuran html root */
  font-weight:bold;
  background:var(--gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.logo a {
    text-decoration: none;
}
.logo a:hover {
    text-decoration: none;
}

.nav-links{display:flex;gap:30px}
.nav-links a{
  color:var(--text-soft);
  text-decoration:none;
  position:relative;
}

/* Underline */
.nav-links a::after{
  content:"";
  position:absolute;
  width:0;height:2px;
  left:0;bottom:-5px;
  background:var(--gradient);
  transition:.3s;
}

.nav-links a:hover{
  color:var(--cyan);
}
.nav-links a:hover::after{
  width:100%;
}

/* ACTIVE */
.nav-links a.active{
  color:var(--cyan);
}
.nav-links a.active::after{
  width:100%;
}

/* BUTTON */
.btn{
    padding:8px 18px;
    background:linear-gradient(135deg,var(--primary),var(--glow));
    border:none;border-radius:10px;color:white;
    box-shadow:0 0 20px rgba(59,130,246,.5);
    cursor:pointer;
}

/* HAMBURGER */
.hamburger{
  display:none;
  flex-direction:column;
  cursor:pointer;
  z-index:1100;
}
.hamburger span{
  height:3px;width:25px;margin:4px;
  background:var(--gradient);
  transition:.3s;
}

/* X Animation */
.hamburger.active span:nth-child(1){
  transform:rotate(45deg) translate(5px,5px);
}
.hamburger.active span:nth-child(2){opacity:0;}
.hamburger.active span:nth-child(3){
  transform:rotate(-45deg) translate(6px,-6px);
}

/* OVERLAY */
.overlay{
  position:fixed;
  top:0;left:0;
  width:100%;height:100%;
  background:rgba(0,0,0,0.2);
  backdrop-filter:blur(5px);
  opacity:0;
  pointer-events:none;
  transition:.3s;
  z-index:900;
}
.overlay.show{
  opacity:1;
  pointer-events:auto;
}

/* LOCK BODY SCROLL */
body.lock{
  overflow:hidden;
  height:100vh;
}

/* HERO */
.hero {
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 60px;
  position:relative;
  background:
    radial-gradient(circle at 20% 30%, rgba(59,130,246,0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,212,255,0.15), transparent 40%),
    linear-gradient(180deg,#ffffff,#f5f9ff);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
  background-size:40px 40px;
  z-index:0;
}
.hero h1{
  font-size: clamp(30px, 4vw + 1rem, 70px); /* Fluid typography */
}
.hero span{color:var(--glow);text-shadow:0 0 20px var(--glow);}
.hero p{margin:20px 0;color:#94a3b8;}

/* WRAPPER VISUAL & GLOW */
.hero-visual{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
}

.glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--glow), transparent 70%);
    filter: blur(120px);
    z-index: 0;
    opacity: 0.7;
}

.hero-logo{
  width:100%;
  max-width:90%;
  height:auto;
  z-index:1;
  object-fit:contain;
  filter:drop-shadow(0 0 25px rgba(59,130,246,0.5));
}

/* SECTION */
.section{
  padding: 5rem 2.5rem; /* Menggunakan rem agar adaptif di layar besar */
  text-align:center;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title{
  font-size: clamp(24px, 2.5vw + 1rem, 42px);
  margin-bottom:10px;
}

.section-sub{
  color:var(--text-soft);
  margin-bottom:50px;
}

/* GRIDS */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.solutions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.portfolio{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:25px;
}

.blog{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:25px;
}

/* CARD SYSTEM */
.card{
  padding: 1.75rem; /* Berbasis rem */
  border-radius:18px;
  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(12px);
  border:1px solid var(--border);
  position:relative;
  overflow:hidden;
  transition:all .35s ease;
}

.card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:15px;
}

.icon{ font-size:26px; }

.badge{
  font-size:12px;
  padding:5px 10px;
  border-radius:20px;
  background:rgba(59,130,246,0.1);
  color:var(--blue);
}

.badge-enterprise {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #10b981 !important;
}

.enterprise-card {
  border: 2px solid #10b981 !important;
}

.card h3{
  font-size: 1.125rem; /* Menggunakan rem */
  margin-bottom:10px;
}

.card p{
  font-size: 0.875rem; /* Menggunakan rem */
  color:var(--text-soft);
  line-height:1.6;
  margin-bottom:15px;
}

/* HOVER EFFECT ON CARDS */
.card:hover{
  transform:translateY(-8px) scale(1.02);
  box-shadow:0 20px 50px rgba(59,130,246,0.15);
  border-color:rgba(59,130,246,0.3);
}

.card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent, rgba(0,212,255,0.15), transparent);
  opacity:0;
  transition:.4s;
}
.card:hover::before{ opacity:1; }
.gallery .card::before{ position:unset; }

.card::after{
  content:"";
  position:absolute;
  top:0; left:0; width:100%; height:3px;
  background:var(--gradient);
  opacity:0;
  transition:.3s;
}
.card:hover::after{ opacity:1; }

/* TECH STACKS & TAGS */
.tech{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:15px;
}

.tech span{
  font-size:12px;
  padding:5px 10px;
  border-radius:8px;
  background:var(--bg-soft);
  border:1px solid var(--border);
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tag-item {
    color: #555;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.tag-item:hover {
    background-color: var(--blue) !important;
    color: white;
    border-color: var(--blue);
}

/* PORTFOLIO CARD */
.portfolio-card{
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(12px);
  border:1px solid var(--border);
  transition:all .35s ease;
}

.portfolio-img{
  height:180px;
  overflow:hidden;
  position: relative;
}

.portfolio-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.5s;
}

.portfolio-content{
  padding:20px;
  text-align:left;
}

.portfolio-content h3{
  margin-bottom:10px;
  font-size: 1.125rem;
}

.portfolio-content p{
  font-size: 0.875rem;
  color:var(--text-soft);
  line-height:1.6;
  margin-bottom:15px;
}

.portfolio-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.btn-sm{
  font-size:13px;
  padding:6px 14px;
  border-radius:20px;
  text-decoration:none;
  background:var(--gradient);
  color:#fff;
}

.portfolio-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 50px rgba(59,130,246,0.15);
}

.portfolio-card:hover img{ transform:scale(1.05); }

.portfolio-card::after{
  content:"";
  position:absolute;
  top:0; left:0; width:100%; height:3px;
  background:var(--gradient);
  opacity:0;
  transition:.3s;
}
.portfolio-card:hover::after{ opacity:1; }

/* CLIENTS & INDUSTRIES */
.clients-section {
  padding: 50px 40px;
  background: var(--bg-soft);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.client-item {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  filter: grayscale(1);
  transition: .3s;
}

.client-item:hover {
  filter: grayscale(0);
  color: var(--primary);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.industry-card {
  padding: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  text-align: left;
  transition: .3s;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.1);
  border-color: var(--primary);
}

.industry-card h4 { margin-bottom: 8px; font-size: 16px; }
.industry-card p { font-size: 13px; color: var(--text-soft); margin: 0; }

/* BLOG STYLING */
.blog-card{
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius:18px;
    overflow:hidden;
    background:rgba(255,255,255,0.75);
    backdrop-filter:blur(12px);
    border:1px solid var(--border);
    transition:all .35s ease;
}

.blog-img{
  height:180px;
  overflow:hidden;
  position: relative;
}

.blog-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.5s;
}

.blog-content{
    display: flex;
    flex-direction: column;
    flex: 1;
    padding:20px;
    text-align:left;
}

.blog-meta{
  font-size:12px;
  color:var(--text-soft);
  margin-bottom:10px;
}

.blog-content h3{
  font-size: 1.125rem;
  margin-bottom:10px;
}

.blog-content p{
    flex-grow: 1;
    font-size: 0.875rem;
    color:var(--text-soft);
    line-height:1.6;
    margin-bottom:15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.5em;
}

.read-more{
    margin-top: auto;
    font-size:14px;
    text-decoration:none;
    color:var(--blue);
    font-weight:500;
}

.blog-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 50px rgba(59,130,246,0.15);
}

.blog-card:hover img{ transform:scale(1.05); }

.blog-card::after{
  content:"";
  position:absolute;
  top:0; left:0; width:100%; height:3px;
  background:var(--gradient);
  opacity:0;
  transition:.3s;
}
.blog-card:hover::after{ opacity:1; }

.blog-more{ text-align: center; margin-top: 40px; }

.btn-all{
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary), var(--glow));
    color: white;
    box-shadow: 0 0 20px rgba(59,130,246,.4);
    transition: .3s;
}

.btn-all:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59,130,246,.6);
}
.btn-all::after{ content:" →"; transition:.3s; }
.btn-all:hover::after{ margin-left:5px; }

/* ARTICLE ACTIONS (EDIT/DELETE) */
.article-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.btn-edit, .btn-delete {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    transition: 0.3s;
}
.btn-edit { background: rgba(52, 152, 219, 0.9); }
.btn-delete { background: rgba(231, 76, 60, 0.9); }
.btn-edit:hover { background: #2980b9; }
.btn-delete:hover { background: #c0392b; }

/* PAGINATION */
.pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    margin-top:50px;
    flex-wrap:wrap;
}

.page{
    min-width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    border-radius:8px;
    background:rgba(255,255,255,0.7);
    border:1px solid var(--border);
    color:var(--text-soft);
    transition:.3s;
}

.page.active{
    background:linear-gradient(135deg,var(--primary),var(--glow));
    color:#fff;
    box-shadow:0 0 15px rgba(59,130,246,.5);
}

.page:hover{ transform:translateY(-2px); color:var(--primary); }
.page.disabled{ opacity:0.4; pointer-events:none; }
.dots{ padding:0 5px; color:var(--text-soft); }

/* CONTACT SECTION */
.contact-container{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  max-width:1100px;
  margin:auto;
  text-align:left;
}

.contact-info h2{ font-size:32px; margin-bottom:15px; }
.contact-info p{ color:var(--text-soft); margin-bottom:25px; }
.contact-item{ margin-bottom:12px; color:var(--text-soft); }
.contact-item a { color: #25D366; text-decoration: none; font-weight: 600; }
.contact-item a:hover { text-shadow: 0 0 10px rgba(37,211,102,0.7); }

.contact-form{
  background:var(--card);
  padding:30px;
  border-radius:12px;
  border:1px solid var(--border);
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.form-group{ margin-bottom:15px; }

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:12px;
  border-radius:8px;
  border:1px solid var(--border);
  outline:none;
  transition:.2s;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 2px rgba(59,130,246,0.2);
}

/* BACKEND EDITOR SYSTEM */
.editor-container { max-width: 1000px; margin: 40px auto; padding: 0 20px; }
.header-meta { margin-bottom: 30px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.input-group { margin-bottom: 25px; }
label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; color: var(--text); }

.title-input {
    width: 100%; font-size: 32px; font-weight: 700; border: none;
    border-left: 4px solid var(--blue); padding: 5px 20px; outline: none;
    color: var(--text); background: transparent; margin-bottom: 10px;
}

input[type="text"], select, textarea {
    width: 100%; padding: 12px 16px; border-radius: 10px;
    border: 1px solid var(--border); background: var(--bg-soft);
    font-size: 15px; outline: none; transition: 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--blue); background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.toolbar {
    display: flex; flex-wrap: wrap; gap: 8px; padding: 12px;
    background: #f1f5f9; border: 1px solid var(--border);
    border-bottom: none; border-radius: 10px 10px 0 0;
}

.tool-btn {
    background: #fff; border: 1px solid var(--border);
    padding: 6px 12px; border-radius: 6px; cursor: pointer;
    font-size: 13px; font-weight: 600; transition: 0.2s;
}
.tool-btn:hover { background: var(--blue); color: #fff; }

.editor-container textarea { min-height: 400px; border-radius: 0 0 10px 10px; line-height: 1.8; resize: vertical; }

.footer-actions {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border);
}

.status-container {
    font-size: 13px; color: var(--text-soft); font-weight: 500;
    display: flex; align-items: center; gap: 8px;
}

.action-btns { display: flex; gap: 12px; align-items: center; }
.btn-ghost { background: #f1f5f9; color: var(--text); }
.btn-ghost:hover { background: #e2e8f0; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 15px rgba(59, 130, 246, 0.3); }
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* PREVIEW MODAL */
.preview-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(8px);
    display: none; z-index: 2000; overflow-y: auto; padding: 40px 20px;
}

.preview-content {
    background: white; max-width: 850px; margin: 0 auto;
    padding: 50px; border-radius: 24px; position: relative;
}

.close-preview {
    position: fixed; top: 25px; right: 40px; background: #ef4444;
    color: white; border: none; padding: 10px 20px; border-radius: 8px;
    cursor: pointer; font-weight: bold; z-index: 2100;
}

.terminal-line {
    font-family: 'Fira Code', monospace; font-size: 14px;
    background: #0f172a; padding: 15px; border-radius: 8px;
    color: #f8fafc; border-left: 4px solid var(--blue); margin: 15px 0;
    white-space: pre-wrap; word-break: break-all;
}

#render-area p { margin-bottom: 1.2rem; color: #334155; }
#render-area ul { margin-bottom: 1.5rem; margin: 15px 0 15px 25px; color: #334155;}
#render-area li { margin-bottom: 8px; list-style-type: disc; }

.cursor {
    display: inline-block; width: 2px; height: 1.1em; background: #3B82F6;
    vertical-align: middle; margin-left: 4px; animation: blink 1s infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.card-write { background: #fff; padding: 40px; border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--card-shadow); }

/* FLOATING WHATSAPP */
.wa-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 9999;
  background: #25D366; color: white; padding: 15px 20px;
  border-radius: 50px; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  text-decoration: none; display: flex; align-items: center; gap: 10px;
  font-weight: bold; transition: 0.3s;
}
.wa-float:hover { transform: scale(1.05); background: #128C7E; }

/* DYNAMIC BLOG DETAIL */
.blog-detail{ max-width:800px; margin:auto; padding:100px 20px 60px; }
.blog-header h1{ font-size:32px; margin-bottom:10px; line-height:1.3; }
.blog-cover{ margin:30px 0; border-radius:16px; overflow:hidden; }
.blog-cover img{ width:100%; display:block; }
.blog-content{ line-height:1.8; font-size:16px; color:var(--text); }
.blog-content h2{ margin:30px 0 10px; font-size:22px; }
.blog-content ul{ margin:15px 0 15px 20px; }
.blog-content blockquote{
  margin:20px 0; padding:15px 20px;
  border-left:4px solid var(--blue); background:var(--bg-soft);
  border-radius:8px; color:var(--text-soft);
}
.blog-footer{ margin-top:40px; text-align:center; }

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

.footer{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 20% 10%,rgba(59,130,246,.15),transparent 45%),
        radial-gradient(circle at 80% 90%,rgba(0,212,255,.15),transparent 45%),
        #020617;

    color:#cbd5f5;
}

.footer-top{

    max-width:1300px;
    margin:auto;

    padding:60px 30px;

    display:grid;
    grid-template-columns:2fr repeat(3,1fr);

    gap:45px;

}

.footer-brand{

    max-width:420px;

}

.footer-logo{

    margin-bottom:20px;

}

.footer-logo img{

    width:220px;
    max-width:100%;
    height:auto;

}

.footer-brand h1{

    font-size:1.5rem;
    line-height:1.5;

    margin-bottom:20px;

}

.footer-brand span{

    color:var(--glow);

}

.footer-col h4{

    color:white;

    margin-bottom:18px;

    font-size:18px;

}

.footer-col a{

    display:block;

    color:#94a3b8;

    text-decoration:none;

    margin-bottom:12px;

    transition:.25s;

}

.footer-col a:hover{

    color:#00D4FF;

    padding-left:8px;

}

.btn-footer{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:12px 24px;

    background:linear-gradient(135deg,#25D366,#1ebe5d);

    border-radius:10px;

    color:white;

    text-decoration:none;

    box-shadow:0 10px 30px rgba(37,211,102,.25);

    transition:.3s;

}

.btn-footer:hover{

    transform:translateY(-3px);

}

.footer-bottom{

    max-width:1300px;

    margin:auto;

    padding:22px 30px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-social{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

}

.footer-social a{

    width:42px;

    height:42px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(255,255,255,.05);

    transition:.3s;

}

.footer-social svg{

    width:20px;

    height:20px;

    fill:#94a3b8;

    transition:.3s;

}

.footer-social a:hover{

    transform:translateY(-4px);

}

.footer-social a:hover svg{

    fill:white;

}

.footer-social .ig:hover{

    background:#d62976;

}

.footer-social .threads:hover{

    background:#000;

}

.footer-social .fb:hover{

    background:#1877F2;

}

.footer-social .ln:hover{

    background:#0A66C2;

}
/* =========================
   FOOTER RESPONSIVE
=========================*/

@media (max-width:992px){

    .footer-top{

        grid-template-columns:repeat(2,minmax(240px,1fr));

    }

    .footer-brand{

        grid-column:1/-1;

        max-width:100%;

    }

}

@media (max-width:768px){

    .footer-top{

        grid-template-columns:1fr;

        text-align:center;

        padding:45px 20px;

    }

    .footer-brand{

        margin:auto;

    }

    .footer-logo{

        text-align:center;

    }

    .footer-logo img{

        width:180px;

    }

    .footer-col{

        text-align:center;

    }

    .footer-col a:hover{

        padding-left:0;

    }

    .btn-footer{

        width:100%;

        max-width:280px;

    }

    .footer-bottom{

        flex-direction:column;

        justify-content:center;

        text-align:center;

    }

    .footer-social{

        justify-content:center;

    }

}
/* HANDPHONE SMALL TO MEDIUM (max 600px) */
@media (max-width: 600px) {
    .features, .solutions {
        grid-template-columns: 1fr;
    }
    .footer-top{
      grid-template-columns:1fr;
      text-align:center;
    }
    .footer-bottom{
      flex-direction:column;
      gap:10px;
    }
    .pagination{
        gap:6px;
    }
    .page{
        min-width:34px;
        height:34px;
        font-size:13px;
    }
}

/* MOBILE ADVANCED & TABLETS (max 768px) */
@media(max-width:768px){
  body{ padding-top:64px; }
  
  .nav-links{
    position:fixed; top:0; right:0; width:260px;
    flex-direction:column;
    background: radial-gradient(circle at 25% 25%, rgba(59,130,246,0.3), transparent 60%), linear-gradient(135deg, #0F172A, #1E3A8A, #0EA5E9);
    border-left:1px solid var(--border);
    padding:80px 20px; gap:20px; height:100vh;
    transform:translateX(100%); opacity:0; pointer-events:auto;
    overflow-y: auto; max-height: 100vh; -webkit-overflow-scrolling: touch; display: flex;
  }
  .nav-links a{ padding:12px 0; font-size:18px; color: #ffffff; }
  .hamburger{display:flex;}

  .hero{ flex-direction:column; text-align:center; height: auto; min-height: auto; }
  .hero div { margin-bottom: 30px; }
  .hero h1 { font-size: 30px; }
  .hero-visual{ order:-1; width:100%; }
  .hero-logo{ max-width:100%; padding: 60px 0px 60px; }

  .section{ padding:60px 20px; }
  .card{ text-align:left; }
  .portfolio-img{ height:160px; }
  .blog-img{ height:160px; }
  
  .contact-container{ grid-template-columns:1fr; text-align:center; }
  .contact-info{ order:2; }
  .contact-form{ order:1; }

  .blog-header h1{ font-size:24px; }
  .blog-detail{ padding:80px 15px 40px; }
  
  .meta-grid { grid-template-columns: 1fr; }
  .footer-actions { flex-direction: column; gap: 20px; align-items: flex-start; }
  .action-btns { width: 100%; justify-content: space-between; }
  .features {
    grid-template-columns: repeat(1, 1fr);
}
}

/* TABLET LARGE / DESKTOP ENTRY (max 992px) */
@media (max-width: 992px) {
 /*   .features { grid-template-columns: repeat(2, 1fr); } */
}


/* DESKTOP BASE (min 769px) */
@media(min-width:769px){
  .nav-links{
    transform:none !important; opacity:1 !important;
    pointer-events:auto !important; position:static;
  }
}


/* =======================================================
   AUTOSCALING ENGINE FOR HIGH RESOLUTION (FHD, QHD, UHD 4K)
   ======================================================= */

/* LAPTOP FHD / MONITOR STANDAR (Lebar dari 1400px) */
@media (min-width: 1400px) {
  html {
    font-size: 17px; /* Menaikkan semua komponen berbasis rem sebesar ~6% */
  }
}

/* DESKTOP MONITOR BESAR / QHD 2K (Lebar dari 1700px) */
@media (min-width: 1700px) {
  html {
    font-size: 19px; /* Menaikkan semua skala rem sebesar ~18.5% */
  }
  .hero {
    padding: 0 10%; /* Merapatkan space agar layout tidak melar ke samping */
  }
}

/* ULTRA HD / RESOLUSI 4K MURNI (Lebar dari 2200px) */
@media (min-width: 2200px) {
  html {
    font-size: 23px; /* Menaikkan seluruh elemen & teks sebesar ~43.7% secara otomatis */
  }
  .hero {
    padding: 0 15%;
  }
}
.hero > div:first-child{
    position:relative;
    z-index:10;
}

.glow,
.hero-logo,
.hero::before{
    pointer-events:none;
}
/* =========================
   PORTFOLIO CARD
========================= */

.portfolio-card{
    display:flex;
    flex-direction:column;
    height:100%;

    border-radius:18px;
    overflow:hidden;
    background:rgba(255,255,255,0.7);
    backdrop-filter:blur(12px);
    border:1px solid var(--border);
    transition:all .35s ease;

    position:relative;
}


/* IMAGE */

.portfolio-img{
    height:180px;
    overflow:hidden;
    position:relative;
    flex-shrink:0;
}

.portfolio-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}


/* CONTENT */

.portfolio-content{
    display:flex;
    flex-direction:column;
    flex:1;

    padding:20px;
    text-align:left;
}


/* TITLE */

.portfolio-content h3{
    margin-bottom:10px;
    font-size:1.125rem;
}


/* DESCRIPTION */

.portfolio-content p{
    font-size:0.875rem;
    color:var(--text-soft);
    line-height:1.6;
    margin-bottom:15px;

    /* Batasi tinggi deskripsi agar card lebih konsisten */
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}


/* TECH */

.portfolio-content .tech{
    margin-top:auto;
    margin-bottom:15px;
}


/* FOOTER / VIEW BUTTON */

.portfolio-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-top:auto;
}


/* BUTTON */

.btn-sm{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    font-size:13px;
    padding:7px 16px;
    border-radius:20px;

    text-decoration:none;
    background:var(--gradient);
    color:#fff;

    transition:.3s;
}

.btn-sm:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(59,130,246,.25);
}


/* HOVER */

.portfolio-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 50px rgba(59,130,246,0.15);
}

.portfolio-card:hover img{
    transform:scale(1.05);
}

.portfolio-card::after{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:3px;
    background:var(--gradient);
    opacity:0;
    transition:.3s;
}

.portfolio-card:hover::after{
    opacity:1;
}
/* =======================================================
   TEAM SECTION
======================================================= */

.teams-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:25px;
    margin-top:40px;
}


/* =========================
   TEAM CARD
========================= */

.team-card{
    display:flex;
    flex-direction:column;
    height:100%;

    background:rgba(255,255,255,0.72);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);

    border:1px solid var(--border);
    border-radius:18px;

    overflow:hidden;
    position:relative;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}


/* TOP GRADIENT LINE */

.team-card::after{
    content:"";

    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:3px;

    background:var(--gradient);

    opacity:0;

    transition:.35s;

    z-index:5;
}


/* HOVER */

.team-card:hover{
    transform:translateY(-8px);

    box-shadow:
        0 20px 50px rgba(59,130,246,.15);

    border-color:rgba(59,130,246,.3);
}

.team-card:hover::after{
    opacity:1;
}


/* =========================
   TEAM PHOTO
========================= */

.team-photo{
    height:300px;

    position:relative;
    overflow:hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(59,130,246,.15),
            transparent 70%
        ),
        var(--bg-soft);
}


.team-photo img{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;

    transition:
        transform .6s ease,
        filter .4s ease;
}


.team-card:hover .team-photo img{
    transform:scale(1.06);
}


/* =========================
   IMAGE OVERLAY
========================= */

.team-overlay{
    position:absolute;

    inset:0;

    display:flex;

    align-items:flex-end;
    justify-content:center;

    padding:20px;

    background:
        linear-gradient(
            to top,
            rgba(15,23,42,.75),
            transparent 55%
        );

    opacity:0;

    transition:.35s;
}


.team-card:hover .team-overlay{
    opacity:1;
}


/* =========================
   SOCIAL
========================= */

.team-social{
    display:flex;
    gap:8px;
}


.team-social a{
    width:38px;
    height:38px;

    display:flex;

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

    border-radius:50%;

    background:rgba(255,255,255,.9);

    color:var(--blue);

    font-size:11px;
    font-weight:700;

    text-decoration:none;

    transition:.3s;
}


.team-social a:hover{
    background:var(--gradient);
    color:#fff;

    transform:translateY(-3px);
}


/* =========================
   TEAM CONTENT
========================= */

.team-content{
    display:flex;
    flex-direction:column;

    flex:1;

    padding:22px;

    text-align:left;
}


/* ROLE */

.team-role{
    font-size:11px;

    color:var(--blue);

    text-transform:uppercase;

    letter-spacing:1px;

    font-weight:600;

    margin-bottom:8px;
}


/* NAME */

.team-content h3{
    font-size:1.2rem;

    margin-bottom:10px;
}


/* DESCRIPTION */

.team-content p{
    font-size:.875rem;

    color:var(--text-soft);

    line-height:1.6;

    margin-bottom:18px;
}


/* TECH */

.team-content .tech{
    margin-top:auto;

    margin-bottom:0;
}


/* =========================
   TEAM NUMBER / DECORATION
========================= */

.team-card:nth-child(1)::before,
.team-card:nth-child(2)::before,
.team-card:nth-child(3)::before,
.team-card:nth-child(4)::before{

    position:absolute;

    right:15px;
    bottom:8px;

    font-size:70px;

    font-weight:800;

    line-height:1;

    color:rgba(59,130,246,.035);

    pointer-events:none;

    z-index:0;
}

.team-card:nth-child(1)::before{
    content:"01";
}

.team-card:nth-child(2)::before{
    content:"02";
}

.team-card:nth-child(3)::before{
    content:"03";
}

.team-card:nth-child(4)::before{
    content:"04";
}


.team-content{
    position:relative;
    z-index:1;
}


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


/* LARGE DESKTOP */

@media (max-width:1200px){

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

}


/* TABLET */

@media (max-width:768px){

    .teams-grid{
        grid-template-columns:repeat(2,1fr);
        gap:20px;
    }

    .team-photo{
        height:260px;
    }

}


/* MOBILE */

@media (max-width:600px){

    .teams-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .team-photo{
        height:300px;
    }

    .team-content{
        padding:20px;
    }

    .team-card:hover{
        transform:translateY(-5px);
    }

}


/* SMALL MOBILE */

@media (max-width:400px){

    .team-photo{
        height:260px;
    }

    .team-content h3{
        font-size:1.1rem;
    }

    .team-content p{
        font-size:.82rem;
    }

}
/* =========================================================
   LATEST PROJECTS
========================================================= */

.latest-projects{
    padding:110px 0;
    border-top:1px solid var(--border,#e5e7eb);
}

.latest-projects-container{
    width:min(1180px,calc(100% - 40px));
    margin:auto;
}

.latest-projects-heading{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:50px;
    margin-bottom:30px;
}

.latest-projects-heading>div{
    flex:1;
}

.latest-projects-eyebrow{
    display:block;
    margin-bottom:9px;
    color:var(--primary,#2563eb);
    font-size:10px;
    font-weight:800;
    letter-spacing:2px;
    text-transform:uppercase;
}

.latest-projects .section-title{
    margin:0;
    color:var(--text-primary,#0f172a);
}

.latest-projects .section-title span{
    color:var(--primary,#2563eb);
}

.latest-projects-description{
    max-width:430px;
    margin:0;
    color:var(
        --text-soft,
        var(--text-secondary,#64748b)
    );
    font-size:13px;
    line-height:1.8;
}

.latest-projects-filter{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-bottom:28px;
}

.latest-filter{
    padding:8px 15px;
    border:1px solid var(--border,#e2e8f0);
    border-radius:8px;
    color:var(--text-soft,#64748b);
    background:#fff;
    cursor:pointer;
    font:inherit;
    font-size:11px;
    font-weight:700;
    transition:.2s ease;
}

.latest-filter:hover{
    border-color:var(--primary,#2563eb);
    color:var(--primary,#2563eb);
}

.latest-filter.active{
    border-color:var(--primary,#2563eb);
    color:#fff;
    background:var(--primary,#2563eb);
}

.latest-projects-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}

.latest-project-card{
    overflow:hidden;
    border:1px solid var(--border,#e2e8f0);
    border-radius:14px;
    background:#fff;
    cursor:pointer;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.latest-project-card:hover{
    transform:translateY(-4px);
    border-color:rgba(37,99,235,.25);
    box-shadow:0 16px 38px rgba(15,23,42,.08);
}

.latest-project-card:focus-visible{
    outline:2px solid var(--primary,#2563eb);
    outline-offset:3px;
}

.latest-project-image{
    position:relative;
    height:270px;
    overflow:hidden;
    background:#f8fafc;
}

.latest-project-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .5s ease;
}

.latest-project-card:hover
.latest-project-image img{
    transform:scale(1.025);
}

.latest-project-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(15,23,42,.62)
        );
    pointer-events:none;
}

.latest-project-number,
.latest-project-category{
    position:absolute;
    z-index:2;
    top:16px;
    padding:6px 10px;
    border:1px solid rgba(255,255,255,.3);
    border-radius:7px;
    color:#fff;
    background:rgba(15,23,42,.3);
    backdrop-filter:blur(8px);
    font-size:8px;
    font-weight:800;
    letter-spacing:1px;
}

.latest-project-number{
    left:16px;
    min-width:30px;
    text-align:center;
}

.latest-project-category{
    right:16px;
}

.latest-project-overlay{
    position:absolute;
    z-index:3;
    right:18px;
    bottom:18px;
    left:18px;
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:15px;
    color:#fff;
}

.latest-project-overlay small{
    display:block;
    margin-bottom:4px;
    color:rgba(255,255,255,.75);
    font-size:8px;
    font-weight:700;
    letter-spacing:1.2px;
    text-transform:uppercase;
}

.latest-project-overlay strong{
    display:block;
    font-size:21px;
    line-height:1.2;
    font-weight:700;
}

.latest-project-view{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:50%;
    color:#fff;
    background:var(--primary,#2563eb);
    font-size:15px;
    transition:transform .3s ease;
}

.latest-project-card:hover
.latest-project-view{
    transform:rotate(45deg);
}

.latest-project-info{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:17px 19px;
}

.latest-project-info h3{
    margin:0;
    color:var(--text-primary,#0f172a);
    font-size:15px;
    font-weight:700;
}

.latest-project-info p{
    margin:3px 0 0;
    color:var(
        --text-soft,
        var(--text-secondary,#64748b)
    );
    font-size:11px;
}

.latest-project-count{
    padding:5px 9px;
    border-radius:6px;
    color:var(--primary,#2563eb);
    background:var(--primary-soft,#eff6ff);
    font-size:9px;
    font-weight:800;
    white-space:nowrap;
}


/* =========================================================
   MODAL
========================================================= */

.latest-project-modal{
    position:fixed;
    z-index:9999;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.latest-project-modal.open{
    display:flex;
}

.latest-project-modal-overlay{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.65);
    backdrop-filter:blur(10px);
}

.latest-project-modal-box {
    position: relative;
    z-index: 2;

    width: min(1080px, 100%);
    max-height: calc(100vh - 40px);

    overflow: hidden;

    border: 1px solid var(--border, #e2e8f0);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .2);
}

.latest-project-modal-content {
    display: grid;
    grid-template-columns: 1.3fr .7fr;

    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
}

.latest-project-modal-close {
    position: absolute;
    z-index: 20;
    top: 13px;
    right: 13px;

    width: 36px;
    height: 36px;

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

    padding: 0;

    border: 1px solid var(--border, #e2e8f0);
    border-radius: 50%;

    color: var(--text-primary, #0f172a);
    background: #fff;

    cursor: pointer;
    font-size: 20px;
    line-height: 1;

    box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
}

.latest-project-gallery{
    padding:18px;
    background:#f8fafc;
}

.latest-project-gallery-main{
    position:relative;
    height:460px;
    overflow:hidden;
    border-radius:11px;
    background:#fff;
}

.latest-project-gallery-main img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.latest-project-gallery-arrow{
    position:absolute;
    z-index:2;
    top:50%;
    width:38px;
    height:38px;
    border:1px solid var(--border,#e2e8f0);
    border-radius:50%;
    color:var(--text-primary,#0f172a);
    background:#fff;
    cursor:pointer;
    transform:translateY(-50%);
    font-size:21px;
}

.latest-project-gallery-prev{
    left:12px;
}

.latest-project-gallery-next{
    right:12px;
}

.latest-project-gallery-counter{
    position:absolute;
    right:12px;
    bottom:12px;
    padding:5px 9px;
    border-radius:6px;
    color:var(--text-primary,#0f172a);
    background:#fff;
    font-size:9px;
    font-weight:800;
}

.latest-project-thumbs{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:7px;
    margin-top:9px;
}

.latest-project-thumb{
    height:58px;
    padding:0;
    overflow:hidden;
    border:2px solid transparent;
    border-radius:7px;
    background:#fff;
    cursor:pointer;
}

.latest-project-thumb.active{
    border-color:var(--primary,#2563eb);
}

.latest-project-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.latest-project-modal-info{
    padding:42px 30px;
}

.latest-project-modal-info h2{
    margin:0 0 13px;
    color:var(--text-primary,#0f172a);
    font-size:29px;
    line-height:1.15;
}

.latest-project-modal-description{
    color:var(
        --text-soft,
        var(--text-secondary,#64748b)
    );
    font-size:12px;
    line-height:1.8;
}

.latest-project-meta{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:9px;
    margin-top:23px;
}

.latest-project-meta div{
    padding:12px;
    border:1px solid var(--border,#e2e8f0);
    border-radius:9px;
    background:#fafafa;
}

.latest-project-meta small,
.latest-project-stack>small,
.latest-project-features>small{
    display:block;
    color:#94a3b8;
    font-size:8px;
    font-weight:800;
    letter-spacing:1px;
}

.latest-project-meta strong{
    display:block;
    margin-top:4px;
    color:var(--text-primary,#0f172a);
    font-size:11px;
}

.latest-project-stack{
    margin-top:20px;
}

.latest-project-stack-list{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:8px;
}

.latest-project-stack-list span{
    padding:5px 8px;
    border-radius:5px;
    color:var(--primary,#2563eb);
    background:var(--primary-soft,#eff6ff);
    font-size:8px;
    font-weight:800;
}

.latest-project-features{
    margin-top:22px;
}

.latest-project-features-list{
    display:grid;
    gap:8px;
    margin-top:9px;
}

.latest-project-feature{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:10px;
    border:1px solid var(--border,#e2e8f0);
    border-radius:9px;
    background:#fafafa;
}

.latest-project-feature-icon{
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:7px;
    color:var(--primary,#2563eb);
    background:var(--primary-soft,#eff6ff);
    font-size:11px;
}

.latest-project-feature-content{
    min-width:0;
}

.latest-project-feature-content strong{
    display:block;
    color:var(--text-primary,#0f172a);
    font-size:10px;
    font-weight:800;
    line-height:1.4;
}

.latest-project-feature-content p{
    margin:3px 0 0;
    color:var(
        --text-soft,
        var(--text-secondary,#64748b)
    );
    font-size:9px;
    line-height:1.6;
}

.latest-project-feature-empty{
    padding:10px;
    border:1px solid var(--border,#e2e8f0);
    border-radius:8px;
    color:#94a3b8;
    background:#fafafa;
    font-size:9px;
}

.latest-project-demo{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:23px;
    padding:11px 16px;
    border-radius:8px;
    color:#fff;
    background:var(--primary,#2563eb);
    font-size:10px;
    font-weight:800;
}

body.latest-project-modal-open{
    overflow:hidden;
}


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

@media(max-width:800px){

    .latest-projects{
        padding:80px 0;
    }

    .latest-projects-heading{
        display:block;
    }

    .latest-projects-description{
        margin-top:17px;
    }

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

    .latest-project-modal-content{
        grid-template-columns:1fr;
    }

    .latest-project-gallery-main{
        height:330px;
    }

    .latest-project-modal-info{
        padding:28px 22px;
    }

}

@media(max-width:520px){

    .latest-projects-container{
        width:min(100% - 28px,620px);
    }

    .latest-project-info{
        align-items:flex-start;
    }

    .latest-project-count{
        display:none;
    }

    .latest-project-modal{
        padding:10px;
    }

    .latest-project-modal-box{
        max-height:calc(100vh - 20px);
    }

    .latest-project-gallery{
        padding:11px;
    }

    .latest-project-gallery-main{
        height:270px;
    }

    .latest-project-overlay strong{
        font-size:19px;
    }

}
.latest-project-modal-content {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
}

/* Informasi utama */
.latest-project-modal-info {
    padding: 42px 30px;
}

/* Deskripsi full width di bawah */
.latest-project-modal-description {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px 30px 32px;

    border-top: 1px solid rgba(15, 23, 42, .08);

    color: var(
        --text-soft,
        var(--text-secondary, #64748b)
    );

    font-size: 13px;
    line-height: 1.8;
}
/* =========================================================
   PROJECTS PAGE
========================================================= */

.projects-page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 32px;
}


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

.projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.projects-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #718096;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

.projects-title {
    margin: 0;
    color: #172033;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -.03em;
}

.projects-description {
    margin: 8px 0 0;
    color: #718096;
    font-size: 14px;
}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.btn-project-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 17px;
    border-radius: 10px;
    background: #172033;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: .2s ease;
}

.btn-project-primary:hover {
    transform: translateY(-1px);
    opacity: .92;
}


/* =========================================================
   STATS
========================================================= */

.projects-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.project-stat-card {
    padding: 20px;
    border: 1px solid #e8eaf0;
    border-radius: 14px;
    background: #fff;
}

.project-stat-label {
    display: block;
    margin-bottom: 8px;
    color: #718096;
    font-size: 12px;
}

.project-stat-value {
    color: #172033;
    font-size: 25px;
}


/* =========================================================
   PROJECT CARD
========================================================= */

.projects-card {
    overflow: hidden;
    border: 1px solid #e8eaf0;
    border-radius: 16px;
    background: #fff;
}

.projects-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border-bottom: 1px solid #edf0f4;
}

.projects-card-header h2 {
    margin: 0;
    color: #172033;
    font-size: 17px;
}

.projects-card-header p {
    margin: 5px 0 0;
    color: #718096;
    font-size: 12px;
}

.projects-count {
    color: #718096;
    font-size: 12px;
}


/* =========================================================
   TABLE
========================================================= */

.projects-table-wrapper {
    overflow-x: auto;
}

.projects-table {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
}

.projects-table th {
    padding: 13px 18px;
    background: #fafbfc;
    color: #718096;
    font-size: 11px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
}

.projects-table td {
    padding: 15px 18px;
    border-top: 1px solid #edf0f4;
    vertical-align: middle;
}

.projects-table tbody tr {
    transition: background .15s ease;
}

.projects-table tbody tr:hover {
    background: #fcfcfd;
}


/* =========================================================
   PROJECT INFO
========================================================= */

.project-info {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 270px;
}

.project-thumbnail {
    width: 62px;
    height: 46px;
    flex: 0 0 62px;
    overflow: hidden;
    border-radius: 8px;
    background: #edf0f4;
}

.project-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-thumbnail-empty {
    display: grid;
    place-items: center;
    color: #9aa3b2;
    font-size: 18px;
}

.project-info-content {
    min-width: 0;
}

.project-info-content strong,
.project-info-content span {
    display: block;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-info-content strong {
    color: #172033;
    font-size: 13px;
    font-weight: 700;
}

.project-info-content span {
    margin-top: 4px;
    color: #8a93a2;
    font-size: 11px;
}


/* =========================================================
   TAGS
========================================================= */

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-width: 180px;
}

.project-tag {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 6px;
    background: #edf2f7;
    color: #445066;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.project-tag-soft {
    background: #f5f3ef;
    color: #756a5a;
}

.project-muted {
    color: #a0a8b5;
    font-size: 11px;
}


/* =========================================================
   STATUS
========================================================= */

.project-status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: capitalize;
}

.status-published {
    background: #e9f7ef;
    color: #27764b;
}

.status-draft {
    background: #fff6df;
    color: #967127;
}

.status-archived {
    background: #f0f1f3;
    color: #69717e;
}

.project-featured {
    color: #9a7530;
    font-size: 11px;
    font-weight: 700;
}

.project-year {
    color: #4a5568;
    font-size: 12px;
}


/* =========================================================
   ACTIONS
========================================================= */

.projects-action-column {
    width: 250px;
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.project-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: .18s ease;
}

.project-action-btn.view {
    border-color: #d9e1f0;
    background: #172033;
    color: #fff;
}

.project-action-btn.view:hover {
    background: #26334d;
    transform: translateY(-1px);
}

.project-action-btn.edit {
    border-color: #dfe4eb;
    background: #fff;
    color: #3d4758;
}

.project-action-btn.edit:hover {
    border-color: #c8d0dc;
    background: #f7f8fa;
}

.project-action-btn.delete {
    border-color: #f0dada;
    background: #fff;
    color: #b34d4d;
}

.project-action-btn.delete:hover {
    border-color: #e5bcbc;
    background: #fff4f4;
}

.project-action-btn.demo {
    border-color: #d7e6df;
    background: #f4faf7;
    color: #287153;
}

.project-action-btn.demo:hover {
    border-color: #b9d7c9;
    background: #eaf7f0;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.projects-empty {
    padding: 70px 24px;
    text-align: center;
}

.projects-empty-icon {
    margin-bottom: 15px;
    color: #b0b7c3;
    font-size: 34px;
}

.projects-empty h3 {
    margin: 0;
    color: #172033;
    font-size: 18px;
}

.projects-empty p {
    margin: 7px 0 20px;
    color: #718096;
    font-size: 13px;
}


/* =========================================================
   ALERT
========================================================= */

.alert {
    max-width: 1600px;
    margin: 0 auto 18px;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.alert-success {
    border-color: #cfe8d9;
    background: #f0faf4;
    color: #28734b;
}

.alert-error {
    border-color: #efd0d0;
    background: #fff5f5;
    color: #a64444;
}


/* =========================================================
   PROJECT DETAIL MODAL
   Active modal: latest-project-*
========================================================= */

.latest-project-modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.latest-project-modal.open {
    display: flex;
}

.latest-project-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .65);
    backdrop-filter: blur(10px);
}

.latest-project-modal-box {
    position: relative;
    z-index: 2;

    width: min(1080px, 100%);
    max-height: calc(100vh - 40px);

    overflow: hidden;

    border: 1px solid var(--border, #e2e8f0);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .2);
}

.latest-project-modal-content {
    display: grid;
    grid-template-columns: 1.3fr .7fr;

    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
}

.latest-project-modal-close {
    position: absolute;
    z-index: 20;
    top: 13px;
    right: 13px;

    width: 36px;
    height: 36px;

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

    padding: 0;

    border: 1px solid var(--border, #e2e8f0);
    border-radius: 50%;

    color: var(--text-primary, #0f172a);
    background: #fff;

    cursor: pointer;
    font-size: 20px;
    line-height: 1;

    box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
}

.latest-project-gallery {
    padding: 18px;
    background: #f8fafc;
}

.latest-project-gallery-main {
    position: relative;
    height: 460px;
    overflow: hidden;
    border-radius: 11px;
    background: #fff;
}

.latest-project-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.latest-project-gallery-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 50%;
    background: #fff;
    color: var(--text-primary, #0f172a);
    cursor: pointer;
    transform: translateY(-50%);
    font-size: 21px;
}

.latest-project-gallery-prev {
    left: 12px;
}

.latest-project-gallery-next {
    right: 12px;
}

.latest-project-gallery-counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    border-radius: 6px;
    background: #fff;
    color: var(--text-primary, #0f172a);
    font-size: 9px;
    font-weight: 800;
}

.latest-project-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
    margin-top: 9px;
}

.latest-project-thumb {
    height: 58px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
}

.latest-project-thumb.active {
    border-color: var(--primary, #2563eb);
}

.latest-project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-project-modal-info {
    padding: 42px 30px;
}

.latest-project-modal-info h2 {
    margin: 0 0 13px;
    color: var(--text-primary, #0f172a);
    font-size: 29px;
    line-height: 1.15;
}

.latest-project-modal-description {
    grid-column: 1 / -1;

    margin: 0;
    padding: 28px 30px 32px;

    border-top: 1px solid rgba(15, 23, 42, .08);

    color: var(
        --text-soft,
        var(--text-secondary, #64748b)
    );

    font-size: 13px;
    line-height: 1.8;
}

.latest-project-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 23px;
}

.latest-project-meta div {
    padding: 12px;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 9px;
    background: #fafafa;
}

.latest-project-meta small,
.latest-project-stack > small,
.latest-project-features > small {
    display: block;
    color: #94a3b8;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.latest-project-meta strong {
    display: block;
    margin-top: 4px;
    color: var(--text-primary, #0f172a);
    font-size: 11px;
}

.latest-project-stack {
    margin-top: 20px;
}

.latest-project-stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.latest-project-stack-list span {
    padding: 5px 8px;
    border-radius: 5px;
    background: var(--primary-soft, #eff6ff);
    color: var(--primary, #2563eb);
    font-size: 8px;
    font-weight: 800;
}

.latest-project-features {
    margin-top: 22px;
}

.latest-project-features-list {
    display: grid;
    gap: 8px;
    margin-top: 9px;
}

.latest-project-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 9px;
    background: #fafafa;
}

.latest-project-feature-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    border-radius: 7px;
    background: var(--primary-soft, #eff6ff);
    color: var(--primary, #2563eb);
    font-size: 11px;
}

.latest-project-feature-content {
    min-width: 0;
}

.latest-project-feature-content strong {
    display: block;
    color: var(--text-primary, #0f172a);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
}

.latest-project-feature-content p {
    margin: 3px 0 0;
    color: var(--text-soft, var(--text-secondary, #64748b));
    font-size: 9px;
    line-height: 1.6;
}


/* =========================================================
   IMAGE LIGHTBOX
========================================================= */

.project-image-lightbox {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: .2s ease;
}

.project-image-lightbox.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.project-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .86);
}

.project-lightbox-content {
    position: relative;
    z-index: 2;
    max-width: min(1200px, 94vw);
    max-height: 92vh;
}

.project-lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 88vh;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.project-lightbox-close {
    position: absolute;
    z-index: 3;
    top: -48px;
    right: 0;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
    transition: .2s ease;
}

.project-lightbox-close:hover {
    background: #f4f6f8;
    color: #172033;
    transform: rotate(90deg);
}


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

@media (max-width: 900px) {

    .projects-page {
        padding: 22px 16px;
    }

    .projects-header {
        align-items: flex-start;
        flex-direction: column;
    }

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

}


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

@media (max-width: 800px) {

    .latest-project-modal-content {
        grid-template-columns: 1fr;
    }

    .latest-project-gallery-main {
        height: 330px;
    }

    .latest-project-modal-info {
        padding: 28px 22px;
    }

}


@media (max-width: 620px) {

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

    .projects-title {
        font-size: 28px;
    }

    .projects-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 520px) {

    .latest-project-modal {
        padding: 10px;
    }

    .latest-project-modal-box {
        max-height: calc(100vh - 20px);
    }

    .latest-project-gallery {
        padding: 11px;
    }

    .latest-project-gallery-main {
        height: 270px;
    }

}
.latest-project-demo{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:23px;
    padding:11px 16px;
    border-radius:8px;
    color:#fff;
    background:var(--primary,#2563eb);
    font-size:10px;
    font-weight:800;
    text-decoration: none;
}

/* =========================
   HERO FEATURES - ALL DEVICES
========================= */

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 620px;
    margin-top: 35px;
}

.hero-feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 0 12px;
}

.hero-feature:first-child {
    padding-left: 0;
}

.hero-feature:last-child {
    padding-right: 0;
}

.hero-feature + .hero-feature {
    border-left: 1px solid rgba(40, 120, 210, 0.25);
}

/* Ikon */

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    color: #1687ef;
}

.feature-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Teks */

.hero-feature > div:last-child {
    flex: 1;
    min-width: 0;
}

.hero-feature strong,
.hero-feature span {
    display: block;
    white-space: normal;
    overflow-wrap: break-word;
}

.hero-feature strong {
    margin-bottom: 4px;
    color: #22568d;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
}

.hero-feature span {
    color: #7188a8;
    font-size: 10px;
    line-height: 1.4;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {
    .hero-features {
        gap: 0;
        margin-top: 28px;
    }

    .hero-feature {
        gap: 7px;
        padding: 0 8px;
    }

    .feature-icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .hero-feature strong {
        font-size: 11px;
    }

    .hero-feature span {
        font-size: 9px;
    }
}

/* =========================
   HP
========================= */

@media (max-width: 600px) {
    .hero-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        margin-top: 24px;
    }

    .hero-feature {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 7px;
        padding: 10px 7px;
    }

    .hero-feature:first-child {
        padding-left: 0;
    }

    .hero-feature:last-child {
        padding-right: 0;
    }

    .hero-feature + .hero-feature {
        border-left: 1px solid rgba(40, 120, 210, 0.20);
    }

    .feature-icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }

    .hero-feature strong {
        font-size: 10px;
        line-height: 1.4;
    }

    .hero-feature span {
        font-size: 9px;
        line-height: 1.5;
    }
}
.hero-actions{
    display:flex;
    gap:15px;
    margin-top:25px;
}

.btn-outline{
    padding:12px 20px;
    border-radius:10px;
    text-decoration:none;
    border:1px solid var(--primary);
    color:var(--primary);
    cursor: pointer;
    background: transparent;
}

.btn-outline:hover{
    background:var(--primary);
    color:white;
}

