/* ============================================
   UTOPIA BORNEO - MAIN STYLESHEET
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@400;500;600;700;800&display=swap');

:root {  
  --navy:        #f0f0f0;
  --navy-mid:    #1E8FFF;
  --navy-light:  #005A85;
  --blue-deep:   #081428;
  --blue:        #1E8FFF;
  --blue-bright: #1E8FFF;
  --blue-glow:   #3AABFF;
  --cyan:        #00D4FF;
  --steel:       #8BA8CC;
  --white:       #F0F5FF;
  --off-white:   #e7e7e7;
  --off-black:   #333333;
  --black:       #000000;
  --gold:        #E8B84B;
  --border:      rgba(30, 143, 255, 0.18);
  --border-glow: rgba(0, 212, 255, 0.35);

  --font-display: 'Bebas Neue', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-blue: 0 8px 48px rgba(17, 87, 200, 0.35);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--navy); color: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* HEADER */
#site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: var(--transition); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 48px; height: 80px; border-bottom: 1px solid transparent; transition: var(--transition); }
#site-header.scrolled .header-inner { background: rgba(5, 13, 26, 0.97); backdrop-filter: blur(20px); border-bottom-color: var(--border); height: 68px; }

.logo { display: flex; align-items: center; gap: 14px; z-index: 2; }
.logo-mark { width: 44px; height: 44px; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 16px; color: var(--white); flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-display); font-size: 22px; letter-spacing: 3px; color: var(--white); }
.logo-tagline { font-family: var(--font-cond); font-size: 13px; letter-spacing: 2.5px; color: var(--steel); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-family: var(--font-cond); font-size: 16px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--off-white); padding: 8px 16px; position: relative; transition: color var(--transition); }
.nav-links a::after { content: ''; position: absolute; bottom: 4px; left: 16px; right: 16px; height: 1px; background: var(--blue-bright); transform: scaleX(0); transition: transform var(--transition); transform-origin: left; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%) !important; color: var(--white) !important; padding: 10px 24px !important; clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: linear-gradient(135deg, var(--blue-bright) 0%, var(--cyan) 100%) !important; transform: translateY(-1px); box-shadow: var(--shadow-blue); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; position: fixed; inset: 0; background: var(--blue); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.mobile-nav.open { display: flex; padding-top: 90px;}
.mobile-nav a { font-family: var(--font-display); font-size: 42px; letter-spacing: 3px; color: var(--off-white); transition: color var(--transition); }
.mobile-nav a:hover { color: var(--gold); }

/* FOOTER */
#site-footer { background: var(--blue-deep); border-top: 1px solid var(--border); padding: 80px 0 0; position: relative; overflow: hidden; }
#site-footer::before { content: 'UTOPIA BORNEO'; position: absolute; bottom: 20px; right: -20px; font-family: var(--font-display); font-size: 160px; color: rgba(40, 109, 221, 0.1); line-height: 1; pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; max-width: 1280px; margin: 0 auto; padding: 0 48px 64px; }
.footer-brand p { font-size: 16px; color: var(--off-white); line-height: 1.8; max-width: 300px; margin: 20px 0 24px; }
.footer-certs { display: flex; flex-direction: column; gap: 8px; }
.cert-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(48, 127, 255, 0.2); border: 1px solid var(--border); padding: 6px 14px; font-family: var(--font-cond); font-size: 16px; font-weight: 600; letter-spacing: 1px; color: var(--blue-glow); width: fit-content; }
.cert-badge::before { content: '✓'; display: inline-block; }
.footer-col h4 { font-family: var(--font-cond); font-size: 17px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--off-white); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 16px; color: var(--off-white); opacity: 0.7; transition: all var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-col ul li a:hover { opacity: 1; color: var(--blue-glow); padding-left: 6px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.contact-icon { width: 36px; height: 36px; background: rgba(17, 87, 200, 0.15); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.footer-contact-item span { font-size: 16px; color: var(--off-white); opacity: 0.8; line-height: 1.6; }
.footer-contact-item strong { display: block; font-family: var(--font-cond); font-size: 16px; font-weight: 600; letter-spacing: 1px; color: var(--off-white); margin-bottom: 2px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 24px 48px; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 14px; color: var(--off-white); opacity: 0.8; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 14px; color: var(--off-white); opacity: 0.8; transition: opacity var(--transition); }
.footer-bottom-links a:hover { opacity: 1; }

/* UTILITIES */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.section-label { 
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-cond);
  font-size: 16px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--navy); background:var(--blue); border: 1px solid var(--blue);
  padding: 6px 18px; border-radius: 100px; margin-bottom: 28px;
}
.section-label::before { content: ''; width: 6px; height: 6px; background: var(--navy); border-radius: 50%;  }
.section-title { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); letter-spacing: 2px; line-height: 0.95; color: var(--off-black); margin-bottom: 20px; }
.section-title span { color: var(--blue); }
.section-subtitle { font-size: 18px; color: var(--off-black); line-height: 1.7; max-width: 640px; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-cond); font-weight: 700; font-size: 16px; letter-spacing: 2px; text-transform: uppercase; padding: 16px 36px; transition: all var(--transition); }
.btn-primary { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%); color: var(--white); clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%); }
.btn-primary:hover { background: linear-gradient(135deg, var(--blue-bright) 0%, var(--cyan) 100%); transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.btn-outline { border: 1px solid var(--border-glow); color: var(--blue-glow); clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%); }
.btn-outline:hover { background: rgba(0, 212, 255, 0.08); border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-arrow::after { content: '→'; font-size: 16px; transition: transform var(--transition); }
.btn-arrow:hover::after { transform: translateX(4px); }

.stat-card { text-align: center; padding: 32px 24px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--blue), transparent); }
.stat-number { font-family: var(--font-display); font-size: 52px; letter-spacing: 2px; line-height: 1; background: linear-gradient(135deg, var(--white), var(--blue-glow)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px; }
.stat-label { font-family: var(--font-cond); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--steel); }

.project-card { background: var(--off-white); border: 1px solid var(--border); overflow: hidden; transition: all var(--transition); }
.project-card:hover { border-color: var(--border-glow); transform: translateY(-4px); box-shadow: var(--shadow-blue); }
.project-card-img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .project-card-img { transform: scale(1.05); }
.project-card-body { padding: 24px; }
.project-card-value { font-family: var(--font-display); font-size: 26px; letter-spacing: 1px; color: var(--gold); margin-bottom: 4px; }
.project-card-title { font-family: var(--font-cond); font-size: 20px; font-weight: 700; color: var(--off-black); margin-bottom: 8px; line-height: 1.3; }
.project-card-meta { font-size: 14px; color: var(--off-black); display: flex; gap: 16px; margin-bottom: 16px; }
.project-card-link { font-family: var(--font-cond); font-size: 16px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-glow); display: flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.project-card:hover .project-card-link { gap: 12px; }

.service-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 40px 32px; position: relative; overflow: hidden; transition: all var(--transition); }
.service-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 8px 40px rgba(0,212,255,0.08); }
.service-icon { width: 56px; height: 56px; background: rgba(17, 87, 200, 0.15); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 24px; clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); }
.service-card h3 { font-family: var(--font-cond); font-size: 25px; letter-spacing: 0px; line-height: 1.2; font-weight: 700; color: var(--off-black); margin-bottom: 12px; }
.service-card p { font-size: 16px; color: var(--off-black); line-height: 1.5; }

.page-hero { padding: 160px 0 80px; background: var(--blue-deep); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(17,87,200,0.2) 0%, transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-label { 
  /*font-family: var(--font-cond); font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--navy); display: flex; align-items: center; gap: 12px; margin-bottom: 16px; */
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-cond);
  font-size: .8rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--navy); background:var(--blue); border: 1px solid var(--blue);
  padding: 6px 18px; border-radius: 100px; margin-bottom: 28px;
}
.page-hero-label::before { 
  content: ''; width: 6px; height: 6px; background: var(--navy); border-radius: 50%; 
  /*content: ''; display: block; width: 32px; height: 2px; background: var(--cyan);*/ }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(52px, 7vw, 96px); letter-spacing: 3px; line-height: 0.9; margin-bottom: 24px; }
.page-hero p { font-size: 0.8rem; color: var(--navy); max-width: 640px; line-height: 1.7; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(17,87,200,0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(17,87,200,0.05) 1px, transparent 1px); background-size: 80px 80px; pointer-events: none; }
.divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--blue-glow), transparent); }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.stagger-children > * { opacity: 0; transform: translateY(30px); }
.stagger-children.visible > *:nth-child(1) { animation: fadeUp 0.6s 0.0s ease forwards; }
.stagger-children.visible > *:nth-child(2) { animation: fadeUp 0.6s 0.1s ease forwards; }
.stagger-children.visible > *:nth-child(3) { animation: fadeUp 0.6s 0.2s ease forwards; }
.stagger-children.visible > *:nth-child(4) { animation: fadeUp 0.6s 0.3s ease forwards; }
.stagger-children.visible > *:nth-child(5) { animation: fadeUp 0.6s 0.4s ease forwards; }
.stagger-children.visible > *:nth-child(6) { animation: fadeUp 0.6s 0.5s ease forwards; }
.stagger-children.visible > *:nth-child(7) { animation: fadeUp 0.6s 0.6s ease forwards; }
.stagger-children.visible > *:nth-child(8) { animation: fadeUp 0.6s 0.7s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) { .container { padding: 0 32px; } .footer-grid { grid-template-columns: 1fr 1fr; } .header-inner { padding: 0 32px; } }
@media (max-width: 768px) { .nav-links { display: none; } .hamburger { display: flex; } .container { padding: 0 24px; } .section { padding: 80px 0; } .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 24px 48px; } .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 24px; } .header-inner { padding: 0 24px; } }
@media (max-width: 480px) { .section-title { font-size: 36px; } .btn { padding: 14px 24px; font-size: 12px; } }
