/* ==========================================================================
   PT PIRANTI GLOBAL SINERGI - MODERN CORE STYLESHEET
   Design System, Glassmorphism, Animations, Components & Responsive Layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Brand Color Tokens */
  --primary: #0a2540;
  --primary-rgb: 10, 37, 64;
  --primary-light: #163d6b;
  --primary-dark: #061729;
  
  --accent: #0070f3;
  --accent-rgb: 0, 112, 243;
  --accent-light: #3291ff;
  --accent-cyan: #00d4ff;
  
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-dark: #081226;
  --bg-dark-card: #0e1e38;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --border-light: rgba(226, 232, 240, 0.8);
  --border-glass: rgba(255, 255, 255, 0.18);
  --border-dark: rgba(255, 255, 255, 0.08);
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 37, 64, 0.12);
  --shadow-xl: 0 24px 60px rgba(10, 37, 64, 0.18);
  --shadow-glow: 0 0 25px rgba(0, 112, 243, 0.35);
  
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-dark: rgba(14, 30, 56, 0.75);
  
  /* Typography & Sizing */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--accent-light);
}

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

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Helper Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-alt {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(0, 112, 243, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 112, 243, 0.25);
  margin-bottom: 16px;
}

.badge-tag.light {
  background: rgba(255, 255, 255, 0.12);
  color: #38bdf8;
  border-color: rgba(255, 255, 255, 0.2);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-padding {
  padding: 90px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #0056c7 100%);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(0, 112, 243, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0056c7 0%, #00449e 100%);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 112, 243, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--text-white);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--border-light);
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   TOPBAR & HEADER
   ========================================================================== */
.topbar {
  background: var(--primary-dark);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
}

.topbar-item a {
  color: var(--text-light);
}

.topbar-item a:hover {
  color: #38bdf8;
}

.topbar-item i {
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-socials a {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.topbar-socials a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Main Navigation Bar */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  padding: 4px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  transition: height var(--transition-normal);
}

.site-header.scrolled .header-container {
  height: 66px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition-fast);
}

.site-header.scrolled .site-logo img {
  height: 40px;
}

.logo-fallback-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  background: rgba(0, 112, 243, 0.06);
  border: 1px solid rgba(0, 112, 243, 0.12);
}

.header-phone-box .phone-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.header-phone-box .phone-text span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.header-phone-box .phone-text a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 6px;
}

/* Mobile Drawer Navigation */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-surface);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close-btn {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.mobile-menu-list a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-list a:hover, .mobile-menu-list a.active {
  background: rgba(0, 112, 243, 0.08);
  color: var(--accent);
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO BANNER & SLIDER SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0c234a 60%, #081a38 100%);
  color: var(--text-white);
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.shape-glow-1 {
  position: absolute;
  top: -20%;
  right: 5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 112, 243, 0.25) 0%, rgba(0, 212, 255, 0.05) 50%, transparent 70%);
  filter: blur(50px);
}

.shape-glow-2 {
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.18) 0%, transparent 70%);
  filter: blur(40px);
}

.shape-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
}

.hero-slider-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-slide.active {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  opacity: 1;
}

.hero-content {
  padding-right: 20px;
}

.hero-title {
  font-size: 3.25rem;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 34px;
  line-height: 1.7;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper img {
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.4));
  animation: floatSlow 6s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.hero-slider-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  width: 32px;
  border-radius: var(--radius-full);
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
}

.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.slider-arrow-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.slider-prev { left: 15px; }
.slider-next { right: 15px; }

/* ==========================================================================
   ABOUT / TENTANG KAMI SECTION
   ========================================================================== */
.about-section {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-left .about-heading {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.about-left p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 24px;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}

.about-feature-item {
  display: flex;
  gap: 16px;
}

.about-feature-item .feature-icon-box {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 112, 243, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid rgba(0, 112, 243, 0.15);
}

.about-feature-item h5 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.about-feature-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* About Right Tabs Card */
.about-tabs-card {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.tab-nav-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
}

.tab-nav-btn {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-nav-btn.active {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
}

.tab-nav-btn:hover:not(.active) {
  background: rgba(0, 0, 0, 0.05);
  color: var(--primary);
}

.tab-content-panel {
  display: none;
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.75;
  animation: fadeIn 0.35s ease;
}

.tab-content-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stats Counter Row */
.stats-counter-bar {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2c54 100%);
  color: var(--text-white);
  padding: 45px 0;
  margin-top: 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item-box {
  padding: 10px 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item-box:last-child {
  border-right: none;
}

.stat-item-box .stat-icon {
  font-size: 1.8rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.stat-item-box .stat-num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--text-white);
}

.stat-item-box .stat-label {
  font-size: 0.92rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* ==========================================================================
   SERVICES / LAYANAN SECTION
   ========================================================================== */
.services-section {
  background: var(--bg-main);
}

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

.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-cyan) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 112, 243, 0.25);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 112, 243, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 22px;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.service-card .service-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card .service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.service-tag {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-muted);
  font-weight: 600;
}

.service-card .service-btn-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.service-card .service-btn-link:hover {
  color: var(--accent-light);
  gap: 10px;
}

/* ==========================================================================
   PORTFOLIO / PROYEK SECTION
   ========================================================================== */
.portfolio-section {
  background: #ffffff;
}

.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 45px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--bg-main);
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.35);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.portfolio-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 112, 243, 0.3);
}

.portfolio-thumb {
  position: relative;
  height: 220px;
  background: #f1f5f9;
  overflow: hidden;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.portfolio-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.portfolio-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-client {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.portfolio-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.portfolio-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.portfolio-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.portfolio-detail-btn {
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.portfolio-detail-btn:hover {
  gap: 10px;
}

/* ==========================================================================
   CALL TO ACTION & CONSULTATION STRIP
   ========================================================================== */
.cta-banner-section {
  background: linear-gradient(135deg, var(--primary) 0%, #09203f 100%);
  color: var(--text-white);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text-area {
  max-width: 680px;
}

.cta-text-area h2 {
  font-size: 2.25rem;
  color: var(--text-white);
  margin-bottom: 14px;
}

.cta-text-area p {
  color: #cbd5e1;
  font-size: 1.08rem;
}

.cta-action-area {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   CONTACT / KONTAK SECTION
   ========================================================================== */
.contact-section {
  background: var(--bg-main);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 30px 0;
}

.contact-info-item {
  display: flex;
  gap: 18px;
}

.contact-info-item .info-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(0, 112, 243, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-info-item h6 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-info-item p, .contact-info-item a {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.5;
}

.contact-map-box {
  margin-top: 25px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 220px;
}

.contact-map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Form Styling */
.contact-form-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 28px;
}

.form-header h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: var(--text-main);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 112, 243, 0.12);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col img {
  height: 46px;
  margin-bottom: 20px;
}

.footer-brand-col p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.footer-social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.footer-social-links a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.15rem;
  color: var(--text-white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-cyan);
}

.footer-menu-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-menu-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-info-list li {
  display: flex;
  gap: 12px;
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-contact-info-list i {
  color: var(--accent-cyan);
  margin-top: 4px;
}

.footer-bottom {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   FLOATING BUTTONS & TOAST NOTIFICATIONS & MODALS
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1500;
}

.whatsapp-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-fast);
  animation: pulseGreen 2.5s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  color: #fff;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.admin-float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.admin-float-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08);
}

.back-to-top-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

/* Dynamic Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 37, 64, 0.75);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 34px;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: #e2e8f0;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  padding: 14px 22px;
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.35s ease;
  min-width: 280px;
}

.toast.success { background: #059669; }
.toast.error { background: #dc2626; }
.toast.info { background: #0284c7; }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-slide.active {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    padding-right: 0;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image-wrapper {
    margin-top: 30px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .nav-menu, .header-phone-box {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item-box:nth-child(2) {
    border-right: none;
  }
  .about-features-grid {
    grid-template-columns: 1fr;
  }
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   REALTIME INDICATOR — Shows when polling is active
   ========================================================================== */
.realtime-badge {
  position: fixed;
  bottom: 90px;
  left: 20px;
  background: rgba(10, 37, 64, 0.88);
  backdrop-filter: blur(10px);
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  animation: fadeInBadge 1s ease 2s forwards;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.realtime-badge .pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  50%       { opacity: 0.85; transform: scale(1.15); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
}

@keyframes fadeInBadge {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ENHANCED SERVICE CARDS
   ========================================================================== */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 0%, rgba(0,112,243,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

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

/* ==========================================================================
   PORTFOLIO CARDS — overlay effect
   ========================================================================== */
.portfolio-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,37,64,0.45) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.portfolio-card:hover .portfolio-thumb::after {
  opacity: 1;
}

/* ==========================================================================
   CTA BANNER — Improved glassmorphism
   ========================================================================== */
.cta-banner-section {
  position: relative;
  overflow: hidden;
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   CONTACT FORM — Better input focus states
   ========================================================================== */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.12);
  background: #fff;
}

.form-input, .form-select, .form-textarea {
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

/* ==========================================================================
   STAT COUNTER — Enhanced style
   ========================================================================== */
.stat-item-box {
  transition: transform var(--transition-normal);
}

.stat-item-box:hover {
  transform: translateY(-4px);
}

.stat-item-box .stat-num {
  background: linear-gradient(135deg, #fff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   FOOTER — Subtle top border gradient
   ========================================================================== */
.site-footer {
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.3), transparent);
}

/* ==========================================================================
   FLOATING BUTTONS — Enhanced glow
   ========================================================================== */
.whatsapp-float-btn {
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}

.back-to-top-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   LOADING SKELETON
   ========================================================================== */
@keyframes shimmer {
  0%   { background-position: -800px 0; }
  100% { background-position: 800px 0; }
}

.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
  background-size: 800px 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   ADDITIONAL RESPONSIVE IMPROVEMENTS
   ========================================================================== */
@media (max-width: 768px) {
  .cta-banner-content {
    flex-direction: column;
    text-align: center;
  }
  .cta-action-area {
    justify-content: center;
  }
  .realtime-badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.85rem;
  }
  .hero-title {
    font-size: 1.9rem;
  }
}
