/*
Theme Name: William Roberts & Partners Law Firm
Theme URI: https://williamroberts-law.id
Author: William Roberts & Partners
Author URI: https://williamroberts-law.id
Description: Production-ready custom WordPress theme for William Roberts & Partners Law Firm (Advocates & Legal Consultants). Features dedicated WRP Admin Dashboard menu, dynamic Education Law articles carousel, custom post types for gallery and services carousel, WhatsApp consultation, SEO Schema.org, and mobile/tablet optimization.
Version: 1.2.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wrp-law-firm
Tags: law-firm, legal, corporate, responsive, luxury, dark-theme, custom-logo, translation-ready
*/

/* --- CSS Variables & Theme Tokens --- */
:root {
  --bg-dark-900: #080c15;
  --bg-dark-800: #0f172a;
  --bg-dark-700: #172033;
  --bg-card: rgba(19, 29, 49, 0.72);
  --bg-card-hover: rgba(28, 41, 68, 0.85);
  
  --gold-primary: #d4af37;
  --gold-light: #f6e27a;
  --gold-dark: #a37c1d;
  --gold-metallic: linear-gradient(135deg, #f7e089 0%, #d4af37 45%, #9e7514 100%);
  --gold-subtle: rgba(212, 175, 55, 0.12);
  --gold-border: rgba(212, 175, 55, 0.28);
  --gold-border-hover: rgba(212, 175, 55, 0.65);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.28);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-gold: #e6c66e;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --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.6s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.22);

  --max-width: 1240px;
  --nav-height: 84px;
}

/* --- Base Reset & Global Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark-900);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Decorative subtle background pattern */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(30, 58, 110, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --- Section Typography & Headers --- */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.09);
  border: 1px solid var(--gold-border);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 1.1rem;
}

.section-title .text-gold {
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.gold-divider {
  width: 70px;
  height: 3px;
  background: var(--gold-metallic);
  margin: 1.25rem auto 0 auto;
  border-radius: var(--radius-full);
  position: relative;
}

.gold-divider::before, .gold-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: var(--gold-light);
  border-radius: 50%;
}

.gold-divider::before { left: -14px; }
.gold-divider::after { right: -14px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-metallic);
  color: #0d131f;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.28);
  font-weight: 700;
  border: 1px solid var(--gold-light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

/* --- Header & Navigation Bar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(8, 12, 21, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  height: 72px;
  background: rgba(8, 12, 21, 0.95);
  border-bottom-color: rgba(212, 175, 55, 0.25);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: 1380px;
  padding-left: 2rem;
  padding-right: 2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.3);
  background: #000;
  transition: transform var(--transition-normal);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-name .gold-accent {
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2.5rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-metallic);
  transition: width var(--transition-normal);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 0;
  flex-shrink: 0;
}

.btn-nav-consult {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius-sm);
  background: var(--gold-metallic);
  color: #0b111e;
  border: 1px solid rgba(246, 226, 122, 0.7);
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.22);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
}

.btn-nav-consult svg {
  width: 15px;
  height: 15px;
}

.btn-nav-consult:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
  filter: brightness(1.08);
}

.hamburger-btn {
  display: none;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.4rem;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
  align-items: center;
  justify-content: center;
}

.hamburger-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold-primary);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: rgba(10, 15, 29, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1050;
  padding: 2.5rem 1.8rem;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--gold-border);
  transition: right var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

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

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding-bottom: 1.2rem;
}

.mobile-nav-close {
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.mobile-nav-link.active, .mobile-nav-link:hover {
  color: var(--gold-light);
  padding-left: 0.5rem;
  border-bottom-color: var(--gold-border);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1040;
}

.mobile-overlay.active {
  display: block;
}

/* --- Hero Section & Carousel --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

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

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  background-size: cover;
  background-position: 75% 25%;
  background-repeat: no-repeat;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Background overlay gradients for legibility */
.carousel-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    rgba(8, 12, 21, 0.96) 0%, 
    rgba(8, 12, 21, 0.86) 45%, 
    rgba(8, 12, 21, 0.42) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 4rem;
  padding-bottom: 4rem;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
  animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.9s ease forwards;
}

.hero-title .text-gold {
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 680px;
  animation: fadeInUp 1.1s ease forwards;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease forwards;
}

/* Carousel Nav Controls */
.carousel-controls {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.carousel-btn:hover {
  background: var(--gold-primary);
  color: #0d131f;
  transform: scale(1.08);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 2.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.carousel-dot.active {
  width: 32px;
  background: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* --- Trust & Stats Bar --- */
.trust-bar {
  position: relative;
  z-index: 15;
  background: var(--bg-dark-800);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding: 2.2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

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

.trust-icon-box {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.trust-icon-box svg {
  width: 26px;
  height: 26px;
}

.trust-text h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold-light);
  line-height: 1.2;
}

.trust-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* --- Section Padding --- */
.section {
  padding: 3.75rem 0;
  position: relative;
}

/* --- Tentang Kami Section --- */
.about-section {
  background: var(--bg-dark-900);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
  padding-bottom: 1.25rem;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--gold-border);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(212, 175, 55, 0.15);
  background: var(--bg-dark-800);
}

.about-image-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  max-height: 580px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform var(--transition-slow);
}

.about-image-card:hover img {
  transform: scale(1.02);
}

.about-floating-badge {
  position: absolute;
  bottom: 0;
  right: 1.25rem;
  background: rgba(10, 15, 29, 0.95);
  border: 1.5px solid var(--gold-primary);
  backdrop-filter: blur(14px);
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 290px;
  z-index: 10;
}

.about-floating-badge .badge-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--gold-primary);
  flex-shrink: 0;
}

.about-floating-badge h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--gold-light);
  line-height: 1.2;
}

.about-floating-badge span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1.4rem;
  line-height: 1.8;
  border-left: 3px solid var(--gold-primary);
  padding-left: 1.2rem;
}

.about-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 2.2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 1.8rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition-normal);
}

.value-card:hover {
  border-color: var(--gold-border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 22px;
  height: 22px;
}

.value-info h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.value-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- Layanan Jasa Hukum Section with Dynamic Moving Carousel --- */
.services-section {
  background: var(--bg-dark-800);
  position: relative;
  overflow: hidden;
}

.services-carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.services-header-text {
  max-width: 720px;
}

.services-carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.service-nav-btn:hover {
  background: var(--gold-primary);
  color: #0d131f;
  border-color: var(--gold-primary);
  transform: scale(1.08);
}

.service-nav-btn svg {
  width: 20px;
  height: 20px;
}

.services-carousel-viewport {
  overflow: hidden;
  position: relative;
  padding: 1rem 0.25rem 2rem 0.25rem;
  cursor: grab;
}

.services-carousel-viewport:active {
  cursor: grabbing;
}

.services-carousel-track {
  display: flex;
  gap: 1.75rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.service-slide {
  flex: 0 0 calc((100% - 3.5rem) / 3);
  min-width: 0;
  display: flex;
  box-sizing: border-box;
}

.service-slide .service-card {
  width: 100%;
}

@media (max-width: 1024px) {
  .service-slide {
    flex: 0 0 calc((100% - 1.75rem) / 2);
  }
}

@media (max-width: 768px) {
  .service-slide {
    flex: 0 0 100%;
  }
}

.service-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.service-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.service-dot.active {
  width: 32px;
  background: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-metallic);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-gold);
}

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

.service-header {
  margin-bottom: 1.5rem;
}

.service-icon-wrapper {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  background: var(--gold-metallic);
  color: #0b111e;
  transform: rotate(-4deg) scale(1.05);
}

.service-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.service-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
  display: inline-block;
  font-weight: 600;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.service-body {
  margin-bottom: 1.8rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.service-feature-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-primary);
  flex-shrink: 0;
}

.service-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light);
  transition: gap var(--transition-fast);
}

.service-action-link:hover {
  color: #ffffff;
  gap: 0.8rem;
}

/* --- Komitmen Kami Section --- */
.commit-section {
  background: var(--bg-dark-900);
  position: relative;
}

.commit-wrapper {
  background: linear-gradient(135deg, rgba(23, 32, 51, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 4rem 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.commit-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.commit-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.commit-text-col .commit-lead {
  font-size: 1.12rem;
  color: var(--text-primary);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.commit-text-col .commit-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.commit-quote-box {
  background: rgba(8, 12, 21, 0.6);
  border-left: 3px solid var(--gold-primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.95rem;
}

/* Workflow Steps */
.workflow-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.workflow-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: rgba(8, 12, 21, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  transition: all var(--transition-normal);
}

.workflow-card:hover {
  border-color: var(--gold-border-hover);
  transform: translateX(6px);
  background: rgba(8, 12, 21, 0.8);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
  flex-shrink: 0;
}

.step-content h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Education Law / Edukasi Hukum Articles Carousel --- */
.education-section {
  background: var(--bg-dark-900);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.education-carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.education-header-text {
  max-width: 720px;
}

.education-carousel-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-edu-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-border);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-edu-all:hover {
  background: var(--gold-primary);
  color: #080c15;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.edu-nav-arrows {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.education-carousel-viewport {
  overflow: hidden;
  position: relative;
  padding: 0.75rem 0.25rem 2rem 0.25rem;
  cursor: grab;
}

.education-carousel-viewport:active {
  cursor: grabbing;
}

/* Floating Navigation Arrows on Viewport */
.edu-floating-arrow {
  position: absolute;
  top: calc(50% - 0.75rem);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(8, 12, 21, 0.88);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.edu-floating-arrow svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.edu-floating-arrow:hover {
  background: var(--gold-primary);
  color: #080c15;
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.edu-float-prev {
  left: 10px;
}

.edu-float-next {
  right: 10px;
}

@media (max-width: 640px) {
  .edu-floating-arrow {
    width: 36px;
    height: 36px;
  }
  .edu-floating-arrow svg {
    width: 16px;
    height: 16px;
  }
  .edu-float-prev {
    left: 4px;
  }
  .edu-float-next {
    right: 4px;
  }
}

.education-carousel-track {
  display: flex;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 1.25rem;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.education-slide {
  flex: 0 0 calc((100% - 3 * 1.25rem) / 4);
  min-width: 0;
  flex-shrink: 0;
  display: flex;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .education-slide {
    flex: 0 0 calc((100% - 2 * 1.15rem) / 3);
  }
  .education-carousel-track {
    gap: 1.15rem;
  }
}

@media (max-width: 768px) {
  .education-slide {
    flex: 0 0 calc((100% - 0.75rem) / 2);
  }
  .education-carousel-track {
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .education-slide {
    flex: 0 0 calc(82% - 0.5rem);
  }
}

.education-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

/* --- Edu Image Card (Only Image, Compact & Side-by-Side) --- */
.edu-img-card {
  width: 100%;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  background: #080c15;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  aspect-ratio: 16 / 10;
  display: block;
}

.edu-img-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--gold-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 18px rgba(212, 175, 55, 0.28);
}

.edu-img-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.edu-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.edu-img-card:hover .edu-img-link img {
  transform: scale(1.08);
}

.edu-img-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.edu-img-card:hover .edu-img-glow {
  opacity: 1;
}

/* --- Edu Article Card --- */
.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: relative;
}

.edu-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-metallic);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 2;
}

.edu-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(212, 175, 55, 0.18);
  background: var(--bg-card-hover);
}

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

.edu-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #080c15;
}

.edu-media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.edu-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.edu-card:hover .edu-media img {
  transform: scale(1.08);
}

.edu-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8, 12, 21, 0.88);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
  z-index: 2;
}

.edu-body {
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.edu-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.edu-meta svg {
  color: var(--gold-primary);
  display: inline-block;
  vertical-align: middle;
  margin-right: 3px;
}

.edu-divider {
  color: rgba(255, 255, 255, 0.2);
}

.edu-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  line-height: 1.45;
  color: #fff;
  margin: 0 0 0.65rem 0;
  font-weight: 600;
}

.edu-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.edu-title a:hover {
  color: var(--gold-light);
}

.edu-excerpt {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.edu-footer {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.edu-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-primary);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.edu-read-btn svg {
  transition: transform var(--transition-fast);
}

.edu-read-btn:hover {
  color: var(--gold-light);
}

.edu-read-btn:hover svg {
  transform: translateX(4px);
}

/* --- Galeri Section & Lightbox --- */
.gallery-section {
  background: var(--bg-dark-800);
}

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.filter-btn:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.filter-btn.active {
  background: var(--gold-metallic);
  color: #0b111e;
  border-color: var(--gold-light);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: all var(--transition-slow);
}

.gallery-item.hidden {
  display: none;
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(8, 12, 21, 0.95) 0%, rgba(8, 12, 21, 0.3) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-tag {
  font-size: 0.72rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.gallery-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.gallery-expand-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.85);
  color: #0b111e;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
}

.gallery-item:hover .gallery-expand-icon {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 15, 0.95);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  max-height: 70vh;
}

.lightbox-img-wrapper img {
  max-height: 70vh;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1.2rem;
  text-align: center;
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}

.lightbox-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.lightbox-close {
  position: absolute;
  top: -3.5rem;
  right: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--gold-light);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--gold-primary);
  color: #0b111e;
}

.lightbox-prev { left: -4rem; }
.lightbox-next { right: -4rem; }

/* --- Consultation & Contact Section --- */
.contact-section {
  background: var(--bg-dark-900);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  transition: all var(--transition-normal);
}

.contact-card:hover {
  border-color: var(--gold-primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-details h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.contact-details p, .contact-details a {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-details a:hover {
  color: var(--gold-light);
}

/* Contact Social Media Grid & Buttons */
.contact-social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-icon-btn svg {
  color: var(--gold-primary);
  transition: transform var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.social-icon-btn:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.social-icon-btn:hover svg {
  transform: scale(1.1);
  color: #ffffff;
}

/* Consultation Form */
.consultation-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.8rem;
  box-shadow: var(--shadow-lg);
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group label span {
  color: var(--gold-primary);
}

.form-control {
  background: rgba(10, 15, 29, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  color: #ffffff;
  font-size: 1rem; /* 16px prevents iOS Safari automatic page zooming */
  min-height: 48px;
  box-sizing: border-box;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
  background: rgba(14, 21, 38, 0.95);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background-color: var(--bg-dark-800);
  color: #fff;
}

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

.form-action-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Consultation Popup Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--bg-dark-800);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: zoomIn 0.3s ease;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--gold-light);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  cursor: pointer;
  transition: transform var(--transition-normal);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulseRipple 2s infinite;
  z-index: -1;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2.2rem;
  left: 2.2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
}

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

.back-to-top:hover {
  background: var(--gold-primary);
  color: #0b111e;
  transform: translateY(-4px);
}

/* --- Footer --- */
.site-footer {
  background: #05080f;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 3.5rem 0 2rem 0;
  position: relative;
}

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

.footer-brand .brand-logo-img {
  width: 54px;
  height: 54px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 1rem 0 1.2rem 0;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-social-btn:hover {
  background: var(--gold-primary);
  color: var(--bg-dark-900);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.6rem;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

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

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulseRipple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* --- Responsive Media Queries (Mobile & Tablet Ergonomics) --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item:nth-child(2) {
    border-right: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .commit-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-visual {
    padding-bottom: 0;
  }
  .about-floating-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1.25rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
  }
  .nav-links {
    gap: 1.25rem;
    margin-right: 1.5rem;
  }
  .nav-link {
    font-size: 0.88rem;
  }
}

/* Tablet Portrait & Large Mobile Switch to Mobile Drawer */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .mobile-nav {
    display: flex;
  }
  .btn-nav-consult {
    padding: 0.55rem 1.15rem;
    font-size: 0.82rem;
  }
}

/* Mobile & Small Tablets */
@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .hero-section {
    padding-top: calc(var(--nav-height) + 1rem);
  }
  .section {
    padding: 2.75rem 0;
  }
  .section-header {
    margin-bottom: 1.5rem;
  }
  .services-carousel-header,
  .education-carousel-header {
    margin-bottom: 1.25rem;
  }
  .hero-section {
    min-height: 85vh;
    min-height: 85dvh;
    padding-bottom: 4.5rem;
  }
  .hero-title {
    font-size: clamp(1.85rem, 6.8vw, 2.75rem);
    line-height: 1.22;
  }
  .hero-description {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 2rem;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
  }
  .trust-item:last-child {
    border-bottom: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-action-group {
    flex-direction: column;
  }
  .form-action-group .btn {
    width: 100%;
    justify-content: center;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .commit-wrapper {
    padding: 2rem 1.25rem;
  }
  .consultation-form-wrapper {
    padding: 2rem 1.25rem;
  }
  .lightbox-prev {
    left: 0.5rem;
    width: 44px;
    height: 44px;
  }
  .lightbox-next {
    right: 0.5rem;
    width: 44px;
    height: 44px;
  }
  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
  }
  .carousel-controls {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .carousel-btn {
    width: 44px;
    height: 44px;
  }
  .mobile-nav {
    width: 88%;
    max-width: 340px;
    height: 100dvh;
  }
  .floating-whatsapp {
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    right: 1.25rem;
    width: 54px;
    height: 54px;
  }
  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }
  .back-to-top {
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    left: 1.25rem;
    width: 44px;
    height: 44px;
  }
  .gallery-filters {
    gap: 0.5rem;
  }
  .filter-btn {
    padding: 0.5rem 0.95rem;
    font-size: 0.82rem;
  }
}

/* Compact Mobile Phones (<480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .brand-logo-img {
    width: 38px;
    height: 38px;
  }
  .brand-name {
    font-size: 1.02rem;
  }
  .brand-tagline {
    font-size: 0.62rem;
    letter-spacing: 0.8px;
  }
  .btn-nav-consult {
    display: none; /* Accessible in mobile drawer, hero CTA & floating WA */
  }
  .modal-box {
    padding: 1.75rem 1.15rem;
    width: 95%;
  }
  .trust-text h4 {
    font-size: 1.75rem;
  }
  .service-card {
    padding: 1.6rem 1.2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .site-footer {
    padding: 3.5rem 0 2rem 0;
  }
  .floating-whatsapp {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    right: 1rem;
    width: 50px;
    height: 50px;
  }
  .back-to-top {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    left: 1rem;
    width: 40px;
    height: 40px;
  }
}

/* ==================== SUBPAGE & WORDPRESS TEMPLATES ==================== */
.subpage-hero {
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: 3.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(8, 12, 21, 0.98) 0%, rgba(15, 23, 42, 0.85) 100%);
  border-bottom: 1px solid var(--gold-border);
  position: relative;
}

.subpage-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 2px;
  background: var(--gold-metallic);
}

.subpage-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  color: #ffffff;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.subpage-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.subpage-content {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.page-content-wrapper {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

/* Entry content typography */
.entry-content {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: var(--font-serif);
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.entry-content h2 {
  font-size: 1.75rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 0.5rem;
}

.entry-content h3 {
  font-size: 1.4rem;
  color: var(--gold-light);
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content blockquote {
  border-left: 3px solid var(--gold-primary);
  background: rgba(212, 175, 55, 0.06);
  padding: 1.25rem 1.75rem;
  margin: 1.75rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-light);
}

.entry-content a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content a:hover {
  color: #ffffff;
}

.entry-content img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  border: 1px solid var(--gold-border);
}

/* Post Card Grid (Blog / Index) */
.post-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-border-hover);
  box-shadow: var(--shadow-gold);
}

.post-card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

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

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

.post-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.meta-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.meta-category a {
  color: var(--gold-primary);
}

.post-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.post-card-title a {
  color: #ffffff;
  transition: color var(--transition-fast);
}

.post-card-title a:hover {
  color: var(--gold-light);
}

.post-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.post-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.post-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-primary);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.post-read-more:hover {
  color: var(--gold-light);
  gap: 0.65rem;
}

/* Pagination */
.posts-pagination {
  margin-top: 3.5rem;
  text-align: center;
}

.posts-pagination .nav-links {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.posts-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.posts-pagination .page-numbers:hover,
.posts-pagination .page-numbers.current {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--bg-dark-900);
}

/* Tags */
.tag-item a {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  transition: all var(--transition-fast);
}

.tag-item a:hover {
  background: var(--gold-primary);
  color: var(--bg-dark-900);
  border-color: var(--gold-primary);
}

/* No Posts */
.no-posts-found {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  max-width: 600px;
  margin: 0 auto;
}

.no-posts-icon {
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
}

.no-posts-found h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.no-posts-found p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* WordPress Core Alignment & Helper Classes */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.wp-caption {
  max-width: 100%;
  margin-bottom: 1.5rem;
  text-align: center;
}

.wp-caption-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

@media (max-width: 1024px) {
  .post-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .post-card-grid {
    grid-template-columns: 1fr;
  }
  .page-content-wrapper {
    padding: 2rem 1.25rem;
  }
}
