

/* CSS VARIABLES */
:root {
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Colors */
  --primary: #1e3a8a; /* Deep Slate Blue */
  --primary-light: #3b82f6;
  --primary-dark: #0f172a;
  --accent: #f97316; /* Construction Orange */
  --accent-hover: #ea580c;
  --success: #22c55e; /* WhatsApp Green */
  --success-hover: #16a34a;
  
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-primary: 0 10px 15px -3px rgba(30, 58, 138, 0.2);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* UTILITY CLASSES */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary-light { color: var(--primary-light); }
.section-bg-white { background-color: var(--bg-white); }

.icon-sm {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.icon-xs {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: rgba(30, 58, 138, 0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.badge-accent {
  background-color: rgba(249, 115, 22, 0.2);
  color: var(--accent);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  white-space: nowrap;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

.btn-card-bottom {
  margin-top: auto;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--bg-white);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background-color: var(--success);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--success-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

/* HEADER & NAVIGATION */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

/* PROMO BANNER */
.promo-banner {
  background-color: var(--accent);
  color: var(--bg-white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 1001;
  position: relative;
}

.promo-banner a {
  font-weight: 700;
  text-decoration: underline;
  margin-left: 0.5rem;
}

.promo-banner a:hover {
  color: var(--primary-dark);
}

.header.scrolled {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary-dark);
  white-space: nowrap;
}

.logo svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.925rem;
  white-space: nowrap;
}

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

.nav-cta {
  display: flex;
  align-items: center;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-dark);
  margin: 5px 0;
  transition: var(--transition);
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding-top: 80px; /* offset header */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: grayscale(20%) brightness(80%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero p {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
}

/* SOCIAL PROOF */
.review-summary {
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  color: #fbbf24; /* yellow for stars */
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-summary span {
  color: var(--bg-white);
  font-weight: 400;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-badge-item svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.hero-badge-item span {
  font-weight: 600;
  font-size: 0.95rem;
}

/* LAYANAN (SERVICES) */
.layanan {
  background-color: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 58, 138, 0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(249, 115, 22, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--accent);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-features svg {
  width: 16px;
  height: 16px;
  fill: var(--success);
}

/* KEUNGGULAN (WHY CHOOSE US) */
.keunggulan {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.keunggulan-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.keunggulan-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.keunggulan-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

.keunggulan-item {
  display: flex;
  gap: 1.25rem;
}

.keunggulan-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.keunggulan-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--bg-white);
}

.keunggulan-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.keunggulan-text p {
  color: var(--text-muted);
}

.keunggulan-img-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.keunggulan-img-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(30, 58, 138, 0.2), rgba(15, 23, 42, 0.6));
  z-index: 1;
}

.keunggulan-img-container img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: var(--transition-bounce);
}

.keunggulan-img-container:hover img {
  transform: scale(1.05);
}

.badge-floating {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  z-index: 2;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.floating-stat h5 {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.floating-stat p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.stat-divider {
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  padding: 0 1.5rem;
}

/* PORTFOLIO (GALLERY) */
.portfolio {
  background-color: var(--bg-white);
}

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

.portfolio-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 320px;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-bounce);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.9));
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  z-index: 2;
}

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

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

.portfolio-overlay h4 {
  color: var(--bg-white);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.portfolio-overlay p {
  color: #cbd5e1;
  font-size: 0.9rem;
}

/* TESTIMONIALS */
.testimoni {
  background-color: var(--bg-light);
}

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

.testimoni-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
}

.testimoni-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimoni-stars svg {
  width: 18px;
  height: 18px;
  fill: #fbbf24;
}

.testimoni-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.testimoni-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.author-info h5 {
  font-size: 1rem;
  color: var(--primary-dark);
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  background-color: var(--bg-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--border-color);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  padding: 0.5rem 0;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: var(--transition-bounce);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--primary-dark);
  transition: var(--transition);
}

/* Horizontal line */
.faq-icon::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}

/* Vertical line */
.faq-icon::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-icon::after {
  opacity: 0; /* hides the vertical line to form a minus, rotated 45 makes it cross or minus */
}

.faq-item.active .faq-icon::before {
  /* keep it to look like minus */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding: 1rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: var(--faq-open-height, 600px);
}

/* LEAD FORM & CONTACT SECTION */
.kontak {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  position: relative;
}

.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.kontak-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--bg-white);
}

.kontak-info p {
  color: #cbd5e1;
  margin-bottom: 2.5rem;
}

.kontak-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kontak-detail-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.kontak-detail-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kontak-detail-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.kontak-detail-text p {
  margin-bottom: 0;
  color: #94a3b8;
  font-size: 0.85rem;
}

.kontak-detail-text h5 {
  font-size: 1.1rem;
  font-family: var(--font-primary);
  font-weight: 600;
}

.lead-form-container {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-lg);
}

.lead-form-container h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.lead-form-container p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

/* FLOATING WHATSAPP */
.floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--success);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
  z-index: 1000;
  transition: var(--transition-bounce);
}

.wa-tooltip {
  position: fixed;
  bottom: 3.5rem;
  right: 5rem;
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border-bottom-right-radius: 0;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  white-space: nowrap;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 0;
  height: 0;
  border-top: 15px solid var(--bg-white);
  border-left: 15px solid transparent;
}

.floating-wa:hover + .wa-tooltip,
.wa-tooltip:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-wa:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
}

.floating-wa svg {
  width: 32px;
  height: 32px;
  fill: var(--bg-white);
}

.mobile-lead-bar {
  display: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* FOOTER */
.footer {
  background-color: #0b0f19;
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand h4 {
  color: var(--bg-white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h5 {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  .keunggulan-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .keunggulan-img-container img {
    height: 400px;
  }
  .kontak-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  /* Tighten navbar spacing on tablet/small laptop screens */
  .nav-links {
    gap: 0.75rem;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
  .logo {
    font-size: 1.2rem;
  }
  .logo svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  body {
    padding-bottom: 72px;
  }

  .container {
    padding: 0 1rem;
  }

  .section-padding {
    padding: 3.75rem 0;
  }
  
  .hero h1 {
    font-size: 2.35rem;
  }

  .hero {
    min-height: auto;
    padding: 8rem 0 3.5rem 0;
  }

  .hero p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-badges {
    gap: 1rem;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 2rem 1.5rem;
    transition: var(--transition);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    background-color: var(--bg-light);
    color: var(--primary-dark);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-cta {
    display: none; /* Hide standard CTA button on tablet/mobile menu */
  }
  
  .hamburger {
    display: block;
  }
  
  /* Hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .services-grid,
  .portfolio-grid,
  .testimoni-grid,
  .blog-grid {
    gap: 1.25rem;
  }

  .service-card,
  .testimoni-card,
  .lead-form-container {
    padding: 1.5rem;
  }

  .blog-card {
    height: auto;
    min-height: 390px;
  }

  .keunggulan-content h2,
  .kontak-info h2,
  .section-title {
    font-size: 2rem;
  }

  .badge-floating {
    position: static;
    margin-top: -0.25rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    gap: 0.75rem;
    padding: 1rem;
  }

  .keunggulan-img-container {
    overflow: visible;
  }

  .keunggulan-img-container img {
    height: 300px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .stat-divider {
    padding: 0 0.75rem;
  }

  .kontak-detail-item {
    align-items: flex-start;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .floating-wa {
    display: none;
  }

  .mobile-lead-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
  }

  .mobile-lead-bar a {
    min-height: 46px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
  }

  .mobile-lead-call {
    color: var(--primary);
    border: 1px solid var(--primary);
    background-color: var(--bg-white);
  }

  .mobile-lead-wa {
    color: var(--bg-white);
    background-color: var(--success);
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.15rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .service-card,
  .testimoni-card,
  .lead-form-container {
    padding: 1.25rem;
  }

  .badge-floating {
    flex-direction: column;
  }

  .stat-divider {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
  }
}

@media (max-width: 768px) {
  .article-container {
    margin: 100px auto 40px auto !important;
    padding: 0 1rem !important;
  }

  .article-title {
    font-size: 2rem !important;
  }

  .article-meta {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  .article-image img {
    height: 240px !important;
  }

  .article-body {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }

  .article-body table {
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap;
  }

  .article-body .math-box {
    overflow-x: auto;
  }
}

/* BLOG / ARTIKEL STYLING */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 420px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 58, 138, 0.2);
}

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

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-bounce);
}

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

.blog-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-tag {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.blog-title {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}

.blog-title a:hover {
  color: var(--accent);
}

.blog-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-link {
  margin-top: auto;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.925rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-link:hover {
  color: var(--accent);
}

.blog-link svg {
  transition: var(--transition);
}

.blog-link:hover svg {
  transform: translateX(4px);
}

/* WORKSHOP MAP STYLING */
.workshop-map {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.workshop-map iframe {
  border: 0;
  display: block;
  width: 100%;
  height: 250px;
}

@media (max-width: 768px) {
  .services-grid,
  .portfolio-grid,
  .testimoni-grid,
  .blog-grid {
    gap: 1.25rem;
  }

  .blog-card {
    height: auto;
    min-height: 390px;
  }
}

@media (max-width: 480px) {
  .blog-card {
    min-height: 0;
  }
}
