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

:root {
  --blue: #0047CC;
  --blue-light: #1a6aff;
  --green: #25D366;
  --white: #ffffff;
  --bg: #f5f7fa;
  --text: #1a1a2e;
  --muted: #5a6a7a;
  --border: #dde3ee;
}

body { font-family: 'Poppins', sans-serif; color: var(--text); background: #fff; }

/* NAV */
nav {
  background: var(--blue);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-box {
  width: 38px; height: 38px;
  background: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: var(--blue);
}
.logo-text { color: #fff; font-size: 14px; font-weight: 700; line-height: 1.25; }
.logo-text small { display: block; font-size: 10px; font-weight: 400; opacity: 0.75; letter-spacing: 0.5px; }

.nav-links { display: flex; gap: 22px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 13px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-wa {
  background: var(--green);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
}

.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

.mobile-nav { display: none; background: #0039aa; padding: 10px 5% 20px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; color: rgba(255,255,255,0.9); padding: 11px 0; font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.1); }

/* HERO */
.hero {
  background: linear-gradient(135deg, #003399 0%, #0047CC 60%, #0062ff 100%);
  padding: 60px 5% 70px;
  text-align: center;
  color: #fff;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}
.hero h1 {
  font-size: clamp(26px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}
.hero h1 span { color: #7dd3fc; }
.hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 10px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 30px;
}
.hero-tag {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  padding: 4px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 26px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--blue); }
.btn-green { background: var(--green); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }

.hero-contact-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.hero-contact-bar a { color: rgba(255,255,255,0.9); text-decoration: none; }
.hero-contact-bar a:hover { color: #fff; text-decoration: underline; }

/* STATS */
.stats {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 30px 5%;
}
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.stat {
  flex: 1;
  min-width: 130px;
  max-width: 180px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 16px;
  text-align: center;
}
.stat-num { font-size: 26px; font-weight: 800; color: var(--blue); line-height: 1; }
.stat-lbl { font-size: 11.5px; color: var(--muted); margin-top: 5px; font-weight: 500; }

/* SECTIONS */
section { padding: 60px 5%; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag {
  display: inline-block;
  background: #e8f0ff;
  color: var(--blue);
  border-radius: 5px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-header h2 { font-size: clamp(22px, 3.5vw, 34px); font-weight: 700; color: var(--text); line-height: 1.25; margin-bottom: 10px; }
.section-header p { font-size: 14.5px; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.6; }

/* ABOUT */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-info h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--text); margin-bottom: 14px; }
.about-info p { font-size: 14.5px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.about-points { list-style: none; }
.about-points li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0;
  font-size: 14px; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.about-points li:last-child { border-bottom: none; }
.about-points li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  margin-top: 1px;
  flex-shrink: 0;
}
.about-card {
  background: var(--blue);
  border-radius: 16px;
  padding: 36px;
  color: #fff;
  text-align: center;
}
.about-card-icon { font-size: 48px; margin-bottom: 16px; }
.about-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.about-card p { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.65; margin-bottom: 22px; }
.about-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.about-badge {
  background: rgba(255,255,255,0.15);
  border-radius: 5px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
}

/* SERVICES */
.services { background: #fff; }
.cat-block { margin-bottom: 44px; }
.cat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue);
}
.cat-title span { font-size: 22px; }
.srv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.srv-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.srv-card:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(0,71,204,0.12); }
.srv-icon { font-size: 26px; margin-bottom: 10px; }
.srv-card h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.srv-card p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* PORTFOLIO */
.portfolio { background: var(--bg); }
.port-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.port-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}
.port-card:hover { box-shadow: 0 6px 24px rgba(0,71,204,0.13); transform: translateY(-3px); }
.port-img {
  height: 190px;
  overflow: hidden;
  position: relative;
}
.port-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.port-placeholder {
  width: 100%; height: 100%;
  background: #f0f4ff;
  border-bottom: 2px dashed #a0b4e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #6080c0;
}
.port-placeholder .ph-icon { font-size: 34px; opacity: 0.5; }
.port-placeholder .ph-text { font-size: 12px; font-weight: 600; letter-spacing: 0.3px; }
.port-placeholder .ph-hint { font-size: 11px; color: #90a8d8; font-weight: 400; }
.port-info { padding: 14px 16px; }
.port-info h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.port-info p { font-size: 12px; color: var(--blue); font-weight: 500; }

/* TESTIMONIALS */
.testimonials { background: #fff; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.testi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 22px;
}
.testi-stars { color: #f59e0b; font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.testi-text { font-size: 14px; color: var(--muted); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.testi-author { display: flex; align-items: center; gap: 10px; }

.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px dashed #a0b4e0;
  background: #e8f0ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--blue);
  text-align: center;
  line-height: 1.2;
}
.testi-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.testi-name { font-size: 13.5px; font-weight: 600; color: var(--text); }
.testi-role { font-size: 11.5px; color: var(--muted); }

/* WHY */
.why { background: var(--blue); }
.why .section-header h2 { color: #fff; }
.why .section-header p { color: rgba(255,255,255,0.7); }
.why .section-tag { background: rgba(255,255,255,0.15); color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.why-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 24px 20px;
}
.why-card-icon { font-size: 30px; margin-bottom: 12px; }
.why-card h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.why-card p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.55; }

/* CONTACT */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-info h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.contact-info p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.c-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.c-item:last-of-type { border-bottom: none; }
.c-icon {
  width: 40px; height: 40px;
  background: #e8f0ff;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.c-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 3px; }
.c-val { font-size: 14.5px; color: var(--text); }
.c-val a { color: var(--blue); text-decoration: none; }
.c-val a:hover { text-decoration: underline; }

.wa-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  padding: 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 24px;
  transition: opacity 0.2s;
}
.wa-big:hover { opacity: 0.9; }

.form-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}
.form-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.form-box p { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-group { margin-bottom: 15px; }
.f-group label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.f-group input, .f-group select, .f-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  padding: 11px 13px;
  font-size: 13.5px;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus { border-color: var(--blue); }
.f-group textarea { resize: vertical; min-height: 100px; }
.f-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity 0.2s;
  margin-top: 4px;
}
.f-submit:hover { opacity: 0.9; }

/* CTA */
.cta-section {
  background: #1a1a2e;
  padding: 60px 5%;
  text-align: center;
}
.cta-section h2 { font-size: clamp(22px, 3.5vw, 36px); font-weight: 700; color: #fff; margin-bottom: 12px; }
.cta-section p { font-size: 15px; color: rgba(255,255,255,0.65); margin-bottom: 28px; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-blue { background: var(--blue); color: #fff; }

/* FOOTER */
footer { background: #0a0a1a; padding: 50px 5% 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.f-brand p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.65; margin: 14px 0 18px; }
.f-col h4 { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.f-col ul { list-style: none; }
.f-col ul li { margin-bottom: 9px; }
.f-col ul li a { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; }
.f-col ul li a:hover { color: #7dd3fc; }
.f-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.f-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }
.f-bottom a { color: #7dd3fc; text-decoration: none; }

/* WA FLOAT */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { box-shadow: 0 6px 24px rgba(37,211,102,0.6); transform: scale(1.1); }
.wa-float svg { width: 56px; height: 56px; border-radius: 50%; }

/* RESPONSIVE */
@media (max-width: 880px) {
  .nav-links, .nav-wa { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  section { padding: 50px 4%; }
  .hero { padding: 48px 4% 56px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .f-bottom { flex-direction: column; text-align: center; }
}

/* ABOUT PHOTO SLOT */
.about-photo-slot {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 2px dashed rgba(255,255,255,0.35);
}
.about-photo-slot img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.about-photo-placeholder {
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255,255,255,0.75);
}
.about-photo-placeholder .ph-icon { font-size: 32px; opacity: 0.7; }
.about-photo-placeholder .ph-text { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; }
.about-photo-placeholder .ph-hint { font-size: 11px; color: rgba(255,255,255,0.5); }

.hero-img-slot {
  width: 100%;
  max-width: 700px;
  height: 180px;
  margin: 30px auto 0;
  border-radius: 14px;
  border: 2px dashed rgba(255,255,255,0.3);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.hero-img-slot img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.hero-img-placeholder {
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
#portfolio{
    padding:80px 10%;
    text-align:center;
}

/* Portfolio Section */
#portfolio{
    padding:80px 10%;
    text-align:center;
}

#portfolio h2{
    font-size:2.5rem;
    margin-bottom:40px;
}

/* Grid Layout */
.portfolio-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

/* Website Card */
.website-card{
    background:#ffffff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.15);
    transition:0.3s ease;
}

.website-card:hover{
    transform:translateY(-10px);
}

.website-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

.website-card h3{
    padding:15px 15px 5px;
    font-size:1.3rem;
    color:#222;
}

.website-card p{
    padding:0 15px 15px;
    color:#666;
    line-height:1.6;
}

.visit-btn{
    display:inline-block;
    margin-bottom:20px;
    padding:12px 25px;
    background:#007bff;
    color:#fff;
    text-decoration:none;
    border-radius:8px;
    font-weight:600;
    transition:0.3s ease;
}

.visit-btn:hover{
    background:#0056b3;
}

/* Mobile */
@media(max-width:768px){
    #portfolio{
        padding:60px 5%;
    }

    #portfolio h2{
        font-size:2rem;
    }

    .website-card img{
        height:180px;
    }
}
.cookie-banner{
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    background:#111;
    color:#fff;
    padding:15px;
    text-align:center;
    font-size:14px;
}

.cookie-banner button{
    margin-left:10px;
    padding:8px 15px;
    border:none;
    cursor:pointer;
    background:#0d6efd;
    color:#fff;
    border-radius:5px;
}
.typing::after{
    content:"|";
    animation:blink 0.8s infinite;
    margin-left:3px;
    color:#0d6efd;
}

@keyframes blink{
    50%{opacity:0;}
}
/* Scroll Section Container */
.scroll-section{
    width:100%;
    overflow:hidden;
    background:#0f1b33;
    padding:15px 0;
    border-top:1px solid rgba(255,255,255,0.1);
    border-bottom:1px solid rgba(255,255,255,0.1);
}

/* Moving Track */
.scroll-track{
    display:flex;
    width:max-content;
    animation:scrollLeft 18s linear infinite;
}

/* Items */
.scroll-item{
    color:#fff;
    padding:10px 25px;
    margin:0 10px;
    background:rgba(255,255,255,0.08);
    border-radius:30px;
    white-space:nowrap;
    font-weight:500;
    border:1px solid rgba(255,255,255,0.1);
}

/* Animation */
@keyframes scrollLeft{
    0%{
        transform:translateX(0);
    }
    100%{
        transform:translateX(-50%);
    }
}

/* Pause on hover (premium feel) */
.scroll-section:hover .scroll-track{
    animation-play-state:paused;
}
.site-footer{
    background:#0b1220;
    color:#aab4d6;
    text-align:center;
    padding:30px 15px;
    margin-top:60px;
    border-top:1px solid rgba(255,255,255,0.08);
    font-size:14px;
}

.footer-links{
    margin-bottom:15px;
}

.footer-links a{
    color:#4f8cff;
    text-decoration:none;
    margin:0 10px;
    font-weight:500;
}

.footer-links a:hover{
    text-decoration:underline;
}

.site-footer p{
    margin:8px 0;
}

.site-footer a{
    color:#4f8cff;
}
.social-links{
    margin:15px 0;
}

.social-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    margin:0 8px;
    border-radius:50%;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.1);
    color:#aab4d6;
    font-size:18px;
    transition:0.3s ease;
    text-decoration:none;
}

.social-icon:hover{
    background:#4f8cff;
    color:#fff;
    transform:translateY(-3px);
}
.contact-icon i{
    color:#2563eb;
    font-size:24px;
}
.c-icon{
    width:50px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#0ea5e9;
    color:#fff;
    font-size:20px;
}